cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shnapsi
Level 2

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.
Labels (1)
0 Kudos
1 Reply
thepeter
Level 7

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
0 Kudos