Installer command line options and properties
When running the installer, you can use the command line option to change the installer to install certain parameters of the application, such as the display settings and default values of the installer properties. The installer and Windows installer use properties to control the application installation process. The default value of the installer property is specified in the Windows Installation Package (MSI file). You can specify a new attribute value in the command line or installer setting file (Setup.ini). Note that in most cases, the command line option overwrites the repetition custom customization in the Setup Setup file (Setup.ini) or the conversion file (MST file). All MSI files do not support command line options and properties. / A / F / I / J / L / NOREBOOT / P / Q / SETTINGS / XPERTY = VALUE /?
/ a [msifile]
Create a management installation path for the specified package (MSI file). The package must be located in the same folder as setup.exe, and both must be in the root directory of the management installation path. Example: / a my.msi / a "Subfolder1 / my.msi"
/ f [Options] [msifile]
Forced repair applications related to the specified package (MSI file). The package must be located in the same folder as setup.exe, and both must be in the root directory of the management installation path. In addition, you can specify product code for the package, product code can be represented by [Product] sessions from the installer setting file. Note You must specify that the same package initially used to install the application. Options i> Valid values include:
A regardless of the verification or version, forcibly reinstall all files. c Reinstall the lost or damaged file. D Reinstall missing or currently having different versions of files. E Reinstall the lost file or replace the currently the same or older version of the file. m Rewote all the necessary HKEY_LOCAL_MACHINE registry entries. o Reinstall the lost or current files with older versions. p Reinstall only the lost file. s Reinstall all shortcuts and override the current shortcut. u Rewind all the necessary HKEY_CURRENT_USER registry entries. v Retrieve the package from the original source and reaches it on the local computer.
The detect and the repair command in the application execute the same function as / focus. Run the installer and select "Reinstall" to perform the same function as / fecums. When installing, the Windows Installer saves the MSI file to the local computer. The Windows installer retrieves the MSI file from the original source when using the / FVM option to reach and reset, and re-cache it on the local computer. After the Patch is applied to the Manage Path, you can update the client computer using the / FVM option.
Important If the user applies the client repair (double byte) to the computer, you cannot use / f on the computer to re-cache and reinstall from the updated management installation path. In this case, the user must uninstall and reinstall from the updated management image.
Example:
/ fpiwae my.msi
/ FVM {12345678-1234-1234-1234-123456789123}
/ i [msifile]
Install the application using a specific package. The package must be in the same folder with Setup.exe. Note By default, setup.exe guides the Windows installer to perform the same function as / i. Example: / i my.msi / i "subsfolder1 / my.msi"
/ j [option] [msifile] [/ t mstfile]
An application is published on the computer and installs the first time; you must specify an option to publish the application to your computer or user. You can use / J when you run the installer from the management installation path or disc image on the network. If the package is not specified, the installer will use the package specified in Setup.ini. To apply for the published application, use the option / t and specify the MST file. The valid values for the option include: M publish all users on your computer. u announced the current user.
Note In addition to / t, you can use the following three command line options: / l, / q, and / settings when you use the / J publishing the app.
Example:
/ jm my.msi / t custom.mst
/ l [options] logfile
Create a log file for the installer and create a log file for each Windows installer task. The / l option overwrites the default settings specified in the setup.ini [Logging] section. The valid value of the option includes the following and captures the corresponding data:
A Operation Notification of the initial User Interface Parameter E Error Message I Pure Information Message M Memory Flat Message O disk Space Insufficient Message Pproperty = Value Form List R Operation Data Record; Contains Specific Operation Information U User Request Messages v Detailed include debug messages W Warning message * Open all log options (except V) append to existing log files
Logfile indicates the name and path of the log file to be created. When the log file name includes (*), the installer will create a unique file name for each installer instance.
Example:
/ lv * "% TEMP% / myApp setup (*). TXT"
This command line creates the following log files:
Setup.exe log file
"% temp% / myappsetup (0001) .Text"
Core package Windows installer log file
"% temp% / myapp (0001) _task (0001) .txt"
/ Noreboot
Do not restart your computer or display the restart dialog before the end of the installation. The / noreboot option is set to ReallySuppress for each package included in the installation (except for the last one).
/ p [mspfile]
Application Management Update (MSP file) to the client installation. You can also use / P to use / P to use / P to use / P to use / P to use / P to use / P to apply to management installation. To apply packages, you need to include / QB in the command line; if you want to generate a log file, you need to include / L. Example: msiexec / p [mspfile] / qb / l [options] msiexec / p [mspfile] / a [msifile] / QB / L [options]
/ q [option]
Set the installer user interface display level. The valid values for options include:
b shows only simple progress instructions and error messages (basic). f Display all dialogs and messages; equivalent to ignoring the / q option (complete). N does not display the user interface; it is equivalent to specifying / q without an option (none). r Displays all progress instructions and error messages, but does not collect user information (reduction). - Cancel all mode dialogs; use only with B. Add completion information to the N or B option.
Note that when the installer does not need to restart your computer after the installation is complete, only the completion information is displayed.
/ settings file
Specify a custom installation setting file for Setup.exe for use in place of Setup.ini. The setting file must be located in the same folder as setup.exe, or the path must be included in the command line. Example: / settings myapp.ini / x [msifile]
Delete applications related to the specified package. The package must be in the same folder as setup.exe, both of which must be in the root directory of the management installation path. Note You must specify the same package that initially used to install the application. Example: / x my.msi
Property = Value
Specify the attribute value on the command line. If this value contains space, you need to include it in dual quotation marks ("). To specify multiple attribute values, you need to separate with spaces.
AllUsers = [String] For all users of the computer, or just install the application for the current user. By default, the Windows installer installs the application for all users of your computer. Set allUsers to null ("") override this default behavior and install an application for each user. 1 = Install an application for all users of the computer; need to manage privileges. 2 = Install the application for all users of the computer. "" = Use only users who run the installer to install the application. Alluser = "" CDCache = [String] Specifies the cache level. Auto = Based on the available disk space cache 1 = Cache only the installed content 2 = Cache Overall Source 0 = Disable Cache CDCache = AutoCompanyName = [String] Specify the unit name. CompanyName = My BusinessInstallLocation = [String] Specifies the installation location. InstallLocation = C: / Program Files / MyApplocalcachedrive = [String] Specifies the drive of the cache target as the installation file. Localcachedrive = cpidKey = [string] On the command line or enter a batch license key for 25 characters in the installer settings file. When setting the PIDKey property, the user does not need to enter the product key when installing. PidKey = 123467890123456789012345TransForms = [string] Specifying conversion to be applied to the installation. Transforms = // server / share / myapp / custom.mstuserName = [string] Specifies the default user. Username = DON DUNK