This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- reading msi version in Installscript project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 27, 2009
05:44 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 27, 2009
09:05 AM
For a pure InstallScript project, perhaps check the version of msi.dll in WINSYSDIR, if it's there?