Jump to content


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

MsiInstallPRoduct


2 replies to this topic

danwise

danwise
  • Full Members
  • 6 posts

Posted 29 February 2008 - 17:40

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!

danwise

danwise
  • Full Members
  • 6 posts

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.

VBScab

VBScab
  • Full Members
  • 436 posts

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.