Hello all,
I'm trying to read properties from the Property table in an MSI. I've tried using pinvoking msi.dll and using MsiGetProperty but it's not working. pinvoke is seriously confusing me so I'm just going off of code samples that I've found online and none of them are working. So I'll lay out a scenario for what I want to do.
A user pulls up a dialog that prompts him to browse for an MSI file. A file browser appears and they select it. They then click 'OK' and it shows a message box with the ProductName, ProductVersion and Manufacturer.
The dialogs are created and done, just can't get the right functionality to pull those properties. A code example would help tremendously.
Thanks!
Scott FurrPosted Dec 11, 2008, 5:16 PM
Yeah, I was working from that site in the beginning. Most of the code is correct but that page does not contain a complete solution.
I tinkered around with it a little and finally got it to work.
Jim SchubertPosted Dec 11, 2008, 12:33 PM
http://www.pinvoke.net/default.aspx/msi/MsiGetProperty.html