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.