There is another MSI Wrapper (exemsi.com) that generates MSI that returns only after the EXE setup ends, but for using that you must use another unique option of InstallAware: InstallAware has the option to generate the EXE setup using their own native engine, and not based on Windows Installer engine. InstallShield Setup.exe Command-Line Parameters InstallShield setup.exe files can accept a number of command-line parameters. Using these parameters, administrators can specify details like where to install, if it should reboot the system, or what (if anything) should be displayed during installation. The MSI Wrapper will look in the registry’s uninstall information to get the values for the configuration. Executable – Setting the Detect attribute to Executable will make the MSI Wrapper look in the installer executable for the values. I have a MSI package that I need to install if the package is not already installed. Also I need to install it silently. The package prompts user for: Installation location (C: Program Files Foobar) Install type: minimal and full (minimal) I need to override these two parameters using command line parameters or some other method.
-->Msi Wrapper Install Arguments For One
The executable program that interprets packages and installs products is Msiexec.exe.
Note
Msiexec also sets an error level on return that corresponds to System Error Codes.
Msi Wrapper Install Arguments For Dummies
The following table identifies the standard command-line options for this program. Command-line options are case insensitive.
Windows Installer 2.0: The command-line options that are identified in this topic are available beginning with Windows Installer 3.0. The Windows Installer Command-Line Options are available with Windows Installer 3.0 and earlier versions.
Msi Wrapper Download
Option | Parameters | Meaning |
---|---|---|
/help | Help and quick reference option. Displays the correct usage of the setup command including a list of all switches and behavior. The description of usage can be displayed in the user interface. Incorrect use of any option invokes this help option. Example: msiexec /help [!Note] | |
/quiet | Quiet display option. The installer runs an installation without displaying a user interface. No prompts, messages, or dialog boxes are displayed to the user. The user cannot cancel the installation. Use the /norestart or /forcerestart standard command-line options to control reboots. If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. Examples: msiexec /package Application.msi /quiet Msiexec /uninstall Application.msi /quiet Msiexec /update msipatch.msp /quiet Msiexec /uninstall msipatch.msp /package Application.msi / quiet [!Note] | |
/passive | Passive display option. The installer displays a progress bar to the user that indicates that an installation is in progress but no prompts or error messages are displayed to the user. The user cannot cancel the installation. Use the /norestart or /forcerestart standard command-line options to control reboots. If no reboot option is specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. Example: msiexec /package Application.msi /passive [!Note] | |
/norestart | Never restart option. The installer never restarts the computer after the installation. Example: msiexec /package Application.msi /norestart [!Note] | |
/forcerestart | Always restart option. The installer always restarts the computer after every installation. Example: msiexec /package Application.msi /forcerestart [!Note] | |
/promptrestart | Prompt before restarting option. Displays a message that a restart is required to complete the installation and asks the user whether to restart the system now. This option cannot be used together with the /quiet option.[!Note] | |
/uninstall | Uninstall product option. Uninstalls a product.[!Note] | |
/uninstall | /package |