How Do I Deploy A MSI Patch (MSP)?

msiexec /p [path\name of update MSP file]/a
[path\name of MSI file] SHORTFILENAMES=TRUE /qb
/L* [path\name of log file]

If an update contains multiple MSP files, you will need to run the command line separately for each MSP file that you apply to the administrative installation point — you cannot reference multiple MSP files on the same command line. The command-line options are described below:

Msiexec
Executable file name for Windows Installer.

/p
Enables Windows Installer to apply an update to an existing installation.

[path\name of update MSP file]
Path and file name of the MSP file for the update.

/a
Enables Windows Installer to perform an administrative installation of a product on a network share.

[path\name of MSI file]
Path and file name of the Windows Installer package for your original administrative image.

SHORTFILENAMES=TRUE
Directs Windows Installer to create all file names and folders with MS-DOS–compatible file names. Required when you run Windows Installer from the command line.

/qb
Sets the user interface to the basic level (simple progress and error handling).

/L*
Turns on logging and sets a path for the log file. The * flag causes the switch to log all information.

[path\name of log file]
Path and file name of the Windows Installer log file.


  Printer Friendly Version
Problem? Question? Comment? Please, let us know!
 

Return to the MSI FAQ or the FAQ Home.