The best way to install an MSP file in silent installation is with the following command line:
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.
You can also use following command line to install patches like for Adobe etc.:
msiexec /update patchfile.msp /qb!
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.
For installation of MSU, which is used as update in Windows Vista and above, please follow this new post on my blog:
http://msiworld.blogspot.com.au/2012/04/silent-install-and-uninstall-of-msu.html
This Blog is for all people working or related to the MSI and App-V. There are lots of issues we face in everyday work regarding the technology. The sole purpose of my blog is to help others with whatever I learn. All you people out there, please help by commenting, voting, propagating and sharing my blog with your friends and colleagues but with due credit and acknowledgement to the material posted here with my name and blog url as I still do hold the copyright of the posts here.
Subscribe to:
Post Comments (Atom)
4 comments:
I actually continued to have problems installing a patch silently (a patch which worked via dialog box). I used the flags 'amus' for REINSTALLMODE, which according to the docs neat reinstall everything, and only then did my patch work silently like it did for dialog->repair.
Hi Piyush
you can refer my article here on "Command Line switches for msi & msp installation"
http://www.msigeek.com/647/command-line-switches-for-msi-and-msp-installations
Regards
Bhuvana
Thanks Bhuvana. Read the post. It is a good insight. Thanks for the input. I hope people will benefit from it.
HI BHUVANA,
CAN U PROVIDE THE INFORMATION REGARDING THE DRIVERS
REGARDS,
RAM.
Post a Comment