How do I check if Windows Installer 3.1 or higher is installed?

后端 未结 5 1680
情歌与酒
情歌与酒 2020-12-18 19:07

I need to know this since this is a pre-req for .NET 3.5 and if I\'m including the .NET bootstrapper, I should also see if Windows Installer 3.1 is needed.

Right now

相关标签:
5条回答
  • 2020-12-18 19:51

    If this is inside the MSI file itself, you can check for the VersionMsi property.

    0 讨论(0)
  • 2020-12-18 19:52

    locate the installer msi.dll with this registry path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer

    value: InstallerLocation

    then get the version information from that file.

    update: the way above is old! new way to detect the version is documented here: http://msdn.microsoft.com/en-us/library/aa368280%28VS.85%29.aspx

    0 讨论(0)
  • 2020-12-18 19:55

    If you want to check the version of the Windows Installer on your system, check the version of MSI.DLL in the Windows\System 32 folder.

    Right click on MSI.DLL , select properties -> go to Details tab and check file version.

    0 讨论(0)
  • 2020-12-18 20:12

    Please check this link may help you as already works for me for Windows 7, hopefully may work for other versions of windows as well to check Windows Installer version.

    0 讨论(0)
  • 2020-12-18 20:13

    On the "Run" window, type "msiexec". A window will come up showing the Windows Installer version on the first line.

    0 讨论(0)
提交回复
热议问题