How does one use the API MsiInstallProduct to remove a product if you only have the product code? I'd like to use MsiInstallProduct as opposed to shellexecuting msiexec to remove a product but MsiInstallProduct seems to only take the path to the .msi. Msiexec can take a product code to do the uninstall, how can I make MsiINstallProduct do the same?
Thanks!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
MsiInstallPRoduct
Started by
danwise
, Feb 29 2008 17:40
2 replies to this topic
Posted 29 February 2008 - 19:48
So it looks like MSIConfigureProduct might be the one I'd want to use to uninstall a product given a product code. Trying this.
Posted 03 March 2008 - 15:17
WI exposes a fairly decent object model. Refer here for details.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.