What would the command line be for installing a .msp (patch) file?

Article:HOWTO6659  |  Created: 2005-10-20  |  Updated: 2009-10-01  |  Article URL http://www.symantec.com/docs/HOWTO6659
Article Type
How To

Is it possible to run a .MSP patch file through a command line so the patch can be pushed out with Software Delivery or a Deployment Server "Run Script" job?

Yes, you should be able to run the MSP from the command line and even pass it the /qb switch without it failing.  The correct command line can contain the MSI file as well, although it's optional.  See the following examples:

msiexec /p msipatch.msp /qb

msiexec /i A:\Example.msi PATCH=msipatch.msp;msipatch2.msp /qb

msiexec /update msipatch.msp /qb

Note: if Windows does not have the MSI package already installed, then the update can fail if it doesn't include the MSI file.

Legacy ID


Article URL http://www.symantec.com/docs/HOWTO6659

Terms of use for this information are found in Legal Notices