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

Get Product Code from MSI file


3 replies to this topic

jsp

jsp
  • Members
  • 96 posts

Posted 18 September 2001 - 10:51

I would like to get the product Code of an MSI package without to install it.
Is it possible?
Did anyone succeed to perform this action?
What function may I use?
Thanks for your help.

Generous

Generous
  • Members
  • 53 posts

Posted 19 September 2001 - 15:17

See this...
http://msdn.microsof...rary....9ph.asp

Martin Aigner

Martin Aigner
  • Full Members
  • 133 posts

Posted 20 September 2001 - 21:48

You can also read the property "ProductCode" from this installation. Open the package with MsiOpenPackage and then call with the obtained handle the function MsiGetProperty.