Previous Topic: Additional Properties for msiexecNext Topic: Installation of Client Automation Using the Command Line in Linux or UNIX


Options for msiexec for Uninstall, Repair, and Administrative Installation

You can also use the MSI command line interface to initiate uninstall, repair, or administrative installation tasks:

/x msi_install_package | productcode

Uninstalls a product.

/f [p|o|e|d|c|a|u|m|s|v] msi_install_package | productcode

Repairs a product. This option ignores any property values entered at the command line. The default argument list for this option is “omus”. This option shares the same argument list as the REINSTALLMODE property.

 

Option

Description

 

p

Reinstalls only if file is missing.

 

o

Reinstalls if file is missing or an older version is installed.

 

e

Reinstalls if file is missing or an equal or older version is installed.

 

d

Reinstalls if file is missing or a different version is installed.

 

c

Reinstalls if file is missing or the stored checksum does not match the calculated value. Repairs only files that have msidbFileAttributesChecksum in the Attributes column of the File table.

 

a

Forces all files to be reinstalled.

 

u

Rewrites all required user-specific registry entries.

 

m

Rewrites all required computer-specific registry entries.

 

s

Overwrites all existing shortcuts.

 

v

Runs from source and re-caches the local package. Do not use the v reinstall option for the first installation of an application or feature.

/a msi_install_package

Administrative install option. Installs a product to a network share from where it can be installed to the net.