Installation of MSP File in Silent Mode
Filed under:
Wise Package Studio
Packaging
Submitted by piyushnasa on 16 September, 2008 - 11:38.
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.
(14 votes)
- Login or register to post comments
- 2346 reads
- Printer-friendly version
















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.a...