How Do I Deploy A MSI Patch (MSP)?

1 Comment   [ + ] Show Comment

Comments

  • I am trying to create a script using K1000 scripting that installs Lync 2010 then applies the KB2899387 for Lync 2010. The installer for Lync 2010 is a .exe. How do I install a .msp after .exe? Do I still have to call an msi?
Please log in to comment

Answers

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
1

Patch the MSI to merge the updates with the one MSI you wish to deploy:

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.

Answered 07/12/2002 by: bkelly
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity