Installation of MSP File in Silent Mode
Updated: 16 Sep 2008 | 2 comments
msiexec /p patchfile.msp REINSTALL=ALL REINSTALLMODE=omus
But if you do not give the command line options of REINSTALL and REINSTALLMODE then it will not patch the existing installation package. What it will do is update the locally cached copy of the MSI database.
If you run the MSP in UI mode then it will patch the installation and will also update the locally cached copy of the installation, because when the dialogs are run they in turn set REINSTALL and REINSTALLMODE.
blog entry Filed Under:

The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.
Comments
hmmmmm..
just wondered why not to use ....
msiexec /update name.msp /qn.
Have used it quiet a few times with success.And also have noticed that
msiexec /p patchfile.msp ...........
might require the base msi path in case the msi is not smarty authored.
equivalent to
The equivalent Windows Installer command line has PATCH = [msipatch.msp]<;PatchGuid2> set on the command line. Check this MSDN page:
http://msdn.microsoft.com/en-us/library/aa372024.aspx
Would you like to reply?
Login or Register to post your comment.