Issue 80165 - setup /a <package.msi> shows help instead of installing
Summary: setup /a <package.msi> shows help instead of installing
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: current
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: OOo 2.4
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 07:44 UTC by joerg.skottke
Modified: 2007-07-30 10:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2007-07-30 07:44:19 UTC
Reproduction:
- Go to the directory containing the .msi package and the setup application
- enter "setup /a staroffice8.msi" (or OpenOffice....)
-> A dialog pops up displaying the help for the setup application informing you
that the syntax is correct - setup /a <package.msi>.

But we want the user to only enter "setup /a" to install the application. If the
package name is appended, setup does not work.
Comment 1 Olaf Felka 2007-07-30 09:11:12 UTC
I think you should use msiexec /a <*.msi> or setup /a. 
Comment 2 ingo.schmidt-rosbiegal 2007-07-30 09:22:26 UTC
The parameter for the setup is only "/a". Of course the Windows Installer
msiexec.exe supports many, many more parameter. For the Windows Installer
service you have to define the installation type (/a, /i, /jm, /ju, ...) and the
database. Therefore the correct syntax is "msiexec.exe /a <database.msi".
The setup is only a wrapper for the call of msiexec.exe, that only supports
selected parameter. The file "setup.exe" is part of the installation set and
reads the content of the file setup.ini, that is located next to the setup.exe.
In this setup.ini This setup.ini contains all information required by setup.exe,
also the name of the database in the installation set. Therefore you only have
to start "setup /a".
If you make the not supported call
"setup.exe /a <database.msi>, the setup.exe gives the second parameter to the
Windows Installer service, so that the wrong call is:
msiexec.exe /a <database.msi> <database.msi>
This leads to an error for the Windows Installer. Therefore you get the help
dialog for the Windows Installer service, not for our setup.
So this works fine.
Comment 3 joerg.skottke 2007-07-30 10:12:47 UTC
close as i've been convinced.