[Guide] How to Deploy MSI Format App with Parameters?

Modified on Thu, 29 Aug at 4:54 PM

Using parameters to install MSI files allows for automated, silent installations, reducing the need for manual intervention and minimizing user disruption. Additionally, it enables customization of the installation process, ensuring consistent configurations across multiple devices.

 

Reminder:

  1. Please evaluate and test whether there are any system or application conflicts between the parameters and your applications before you release them to all your devices.
  2. When you include one or more parameters, separate them using space.

 

Install options 

Set the install type for launching an installation package.

/iSpecifies normal installation.
/aSpecifies administrative installation.
/juAdvertise the product to the current user.
/jmAdvertise the product to all users.
/j/gSpecifies the language identifier used by the advertised package.
/j/tApplies transform to the advertised package.
/xUninstalls the package.

 

Display options

You can configure what a user sees during the installation process, based on your target environment.

/quietSpecifies quiet mode, which means there's no user interaction required.
/passiveSpecifiesSpecifies unattended mode, which means the installation only shows a progress bar.
/qnSpecifies there's no UI during the installation process.
/qn+Specifies there's no UI during the installation process, except for a final dialog box at the end.
/qbSpecifies there's a basic UI during the installation process.
/qb+Specifies there's a basic UI during the installation process, including a final dialog box at the end.
/qrSpecifies a reduced UI experience during the installation process.
/qfSpecifies a full UI experience during the installation process.

 
Restart options

If your installation package overwrites files or attempts to change files that are in use, a reboot might be required before the installation completes.

/norestartStops the device from restarting after the installation completes.
/promptrestartPrompts the user if a reboot is required.
/forcerestartRestarts the device after the installation completes.

 

Logging options

If you need to debug your installation package, you can set the parameters to create a log file with specific information.

/liTurns on logging and includes status messages in the output log file.
/lwTurns on logging and includes non-fatal warnings in the output log file.
/leTurns on logging and includes all error messages in the output log file.
/laTurns on logging and includes information about when an action started in the output log file.
/lrTurns on logging and includes action-specific records in the output log file.
/luTurns on logging and includes user request information in the output log file.
/lcTurns on logging and includes the initial UI parameters in the output log file.
/lmTurns on logging and includes out-of-memory or fatal exit information in the output log file.
/loTurns on logging and includes out-of-disk-space messages in the output log file.
/lpTurns on logging and includes terminal properties in the output log file.
/lvTurns on logging and includes verbose output in the output log file.
/lxTurns on logging and includes extra debugging information in the output log file.
/l+Turns on logging and appends the information to an existing log file.
/l!Turns on logging and flushes each line to the log file.
/l*Turns on logging and logs all information, except verbose information (/lv) or extra debugging information (/lx).

 

Update options

You can apply or remove updates using an installation package.

/pInstalls a patch. If you're installing silently, you must also set the REINSTALLMODE property to ecmus and REINSTALL to ALL. Otherwise, the patch only updates the MSI cached on the target device.
/updateInstall patches option. If you're applying multiple updates, you must separate them using a semi-colon (;).
/packageInstalls or configures a product. 

 

Repair options

You can use this command to repair an installed package.

/fpRepairs the package if a file is missing.
/foRepairs the package if a file is missing, or if an older version is installed.
/feRepairs the package if file is missing, or if an equal or older version is installed.
/fdRepairs the package if file is missing, or if a different version is installed.
/fcRepairs the package if file is missing, or if checksum does not match the calculated value.
/faForces all files to be reinstalled.
/fuRepairs all the required user-specific registry entries.
/fmRepairs all existing shortcuts.
/fsTurns on logging and includes out-of-disk-space messages in the output log file.
/fvRuns from source and re-caches the local package.

 

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article