cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sachit1349
Level 4

reading msi version in Installscript project

Hi everyone,

I am working on an InstallScript project. I want to read the version of msi from Script and conditionally install it depending on msi version. Is there any command or way using which i can read version of msi. I tried using msigetproperty but was not able. I used ISMSI_HANDLE. Any function using which i can get the handle to the msi and then use msigetproperty to read version.

Please if you can provide me with some example code implementing this, it will be really helpful.

Thanks,
sachit
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

For a pure InstallScript project, perhaps check the version of msi.dll in WINSYSDIR, if it's there?
0 Kudos