0

How can I check if Windows Installer version 4.5 is installed on target machine using registry.

I need to use this info in my installer bootstrapper and quit installation if WI 4.5 is not already installed.

I've checked HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\InstallerLocation but no information about its version.

Please advice. Thanks!

Christopher Painter
  • 54,556
  • 6
  • 63
  • 100
Kim
  • 787
  • 1
  • 10
  • 19

1 Answers1

1

From the MSI team themselves:

How do detect the MSI version on the computer?

Windows Installer 3.1 Version Confusion

From Stefan Krueger ( Windows Installer MVP )

MSI Version Matrix

Christopher Painter
  • 54,556
  • 6
  • 63
  • 100
  • Thanks! I need to add this condition in dotNetINstaller bootstrapper. So i need some way to check registry. I'm not sure how can I check file version from within dotNetInstaller file. Please advice. – Kim Mar 03 '11 at 23:19
  • MSI.dll is the only way to check. I haven't used dotNetInstaller much but I'm fairly certain it'll be able to check DLL versions for you. – Christopher Painter Mar 03 '11 at 23:36
  • I am still looking to achieve this using dotnetinstaller. If it does not support this feature, then your solution is the only way to go. Anyways thanks so much for your time and suggestion. – Kim Mar 04 '11 at 15:51
  • The author of dotnetinstaller is active on this site and the WiX-Users mailing list. I'm sure he'll be able to help you with the details and/or implement the capability if needed. – Christopher Painter Mar 04 '11 at 20:42