PDA

View Full Version : MSI - retrieving ProductNumber/Name



Bartuniek
08-02-2004, 08:47 AM
Is there an easy way to retireve the Product Names and Versions of the products which are found to have the matching Upgrade Code and Version Numbers when FindRelatedProducts executes?

The example from the documentation shows dow to enter values in the Upgrade table that will return via ActionProperty the list of GUIDs of products which match the upgrade criteria. Can the same action create a list of Product Names and Version Numbers?

Or do I have to write some special InstallScript code to do that?

Bart

luke_s
08-02-2004, 11:00 PM
I think the only way to do this is to use the MSI SDK and some of the functions in here that take in an upgrade code, and return a product code.
You can then use this product code to grab other types of information.