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
- :
- GetDllVersion
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
Nov 15, 2008
06:10 AM
GetDllVersion
Hi,
On my Installation Application, i need to check first if Windows Installer is installed, and which version.
After searchin in goolge, i found that by checking the version of the file msi.dll unde System32 directory, i would be able to know the version.
so my question is, how can i do it? is there any Installshield API for do this? I know that there's a microsoft API that called GetDllVersion, but i can find a way to work with it.
if there's a better way to know if Windows installer is installed on a machine and to know the version, i'll be happy to learn it.
Thanks,
Gidi.
On my Installation Application, i need to check first if Windows Installer is installed, and which version.
After searchin in goolge, i found that by checking the version of the file msi.dll unde System32 directory, i would be able to know the version.
so my question is, how can i do it? is there any Installshield API for do this? I know that there's a microsoft API that called GetDllVersion, but i can find a way to work with it.
if there's a better way to know if Windows installer is installed on a machine and to know the version, i'll be happy to learn it.
Thanks,
Gidi.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 17, 2008
06:36 AM
If your release has a Setup.exe, you can target the "MSI Engine Version".
Otherwise if you only have a MSI you can use VerFindFileVersion function or VerGetFileVersion
Otherwise if you only have a MSI you can use VerFindFileVersion function or VerGetFileVersion