Archive: how can i get the version of msiexec.exe?


how can i get the version of msiexec.exe?
hello

i need help with a problem in my nsis script.

my installer needs at beginning a check for Microsoft Installer Version 3.0 but i don´t know in which way i can do this.

i searched in the registry and found some keys but i don´t know which is useful because no ones have a value that shows as a version number.

I think it is possible to read the version number at the installer exe (msiexec.exe). "But I have no idea, about the script commands that i need.


Thx for help,
a Nsis Noob :-)


GetDllVersion can be used to get version numbers of DLLs or executables.

GetDllVersion $SYSDIR\msi.dll $0 $1
http://blogs.msdn.com/windows_installer_team/archive/2005/09/09/458528.aspx
http://nsis.sourceforge.net/GetDllVe...mand_Explained