Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Finding Version

1 reply to this topic


  • Members
  • 8 posts

Posted 05 April 2002 - 12:09

I have written a C++ program that launches several windows installer installs and also does many other bits (which is why I wrote it in c++).  I would like to know if there is a way of checking what version of windows installer is installed so that I can (if needed) run instmsiW.exe (i.e. update Windows Installer).  Is there a registry key that will tell me this info.


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 05 April 2002 - 13:35

The registry key
has a value "InstallerLocation"  this contains the path where msi is installed.  If this key is absent msi is not installed.

In the directory indicated there is a file MSI.DLL the version of this dll can be obtained by MsiGetFileVersion or DllGetVersion. This is the version of the currently installed MSI.

see Msi help
-Windows Installer
--Using Windows Installer
---How do I determine the Windows Installer Version?
Ian Blake
(Currently Unemployed)