2
Answers

Reading Properties from an MSI

Scott Furr

Scott Furr

16y
7.8k
1

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!

Answers (2)
0
Crish
NA 3.7k 76.4k 14y
Hi

There are many different types of jobs in computer hardware. If you like working with your hands and are interested in how computers and networks function, this may be the ideal field for you.

If you want to more detail about computer hardware than go for this below link.

http://jobs.lovetoknow.com/Jobs_in_Computer_Hardware
0
Sam Hobbs
NA 28.7k 1.3m 14y