如何检测是否安装了Windows Installer?

时间:2021-01-19 06:58:06

I've figured out a way to tell which version of the .NET framework is installed by reading previous SO posts, but I've not found anything about the Windows Installer.

我已经找到了一种方法,通过阅读以前的SO帖子来判断安装了哪个版本的.NET框架,但我没有找到任何关于Windows Installer的信息。

Is there a registry key or anything similar that I could verify that Windows Installer 3.01+ is installed?

是否有可以验证Windows Installer 3.01+已安装的注册表项或类似内容?

4 个解决方案

#1


"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"

“如果要检查系统上的Windows Installer版本,请检查Windows \ System 32文件夹中的MSI.DLL版本”

http://blogs.msdn.com/windows_installer_team/archive/2005/08/05/448386.aspx

#2


To find out which version of Windows Installer you have installed on your PC, do this:

要找出您在PC上安装的Windows Installer版本,请执行以下操作:

  1. Click on 'Start'
  2. 点击“开始”

  3. Then click 'Run'
  4. 然后点击“运行”

  5. In the box type " msiexec " then click OK.
  6. 在框中键入“msiexec”,然后单击“确定”。

  7. Then another box will come up and at the top of the box the first line should read which which version of Windows Installer you have installed on your PC.
  8. 然后会出现另一个框,在框的顶部,第一行应该读取您在PC上安装了哪个版本的Windows Installer。

  9. It should look something like this " Windows ® Installer. V 4.5.6001.22159 "
  10. 它应该看起来像这样的“Windows®Installer。V 4.5.6001.22159”

#3


You can just include the redistributable version of Windows Installer and not have to worry about it.

您可以只包含Windows Installer的可再发行版本,而不必担心它。

http://www.microsoft.com/downloads/details.aspx?FamilyID=889482FC-5F56-4A38-B838-DE776FD4138C&displaylang=en

#4


Check the file version of %SYS32%\msi.dll. On XP, it's in c:\windows\system32.

检查%SYS32%\ msi.dll的文件版本。在XP上,它位于c:\ windows \ system32中。

#1


"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"

“如果要检查系统上的Windows Installer版本,请检查Windows \ System 32文件夹中的MSI.DLL版本”

http://blogs.msdn.com/windows_installer_team/archive/2005/08/05/448386.aspx

#2


To find out which version of Windows Installer you have installed on your PC, do this:

要找出您在PC上安装的Windows Installer版本,请执行以下操作:

  1. Click on 'Start'
  2. 点击“开始”

  3. Then click 'Run'
  4. 然后点击“运行”

  5. In the box type " msiexec " then click OK.
  6. 在框中键入“msiexec”,然后单击“确定”。

  7. Then another box will come up and at the top of the box the first line should read which which version of Windows Installer you have installed on your PC.
  8. 然后会出现另一个框,在框的顶部,第一行应该读取您在PC上安装了哪个版本的Windows Installer。

  9. It should look something like this " Windows ® Installer. V 4.5.6001.22159 "
  10. 它应该看起来像这样的“Windows®Installer。V 4.5.6001.22159”

#3


You can just include the redistributable version of Windows Installer and not have to worry about it.

您可以只包含Windows Installer的可再发行版本,而不必担心它。

http://www.microsoft.com/downloads/details.aspx?FamilyID=889482FC-5F56-4A38-B838-DE776FD4138C&displaylang=en

#4


Check the file version of %SYS32%\msi.dll. On XP, it's in c:\windows\system32.

检查%SYS32%\ msi.dll的文件版本。在XP上,它位于c:\ windows \ system32中。