gpt4 book ai didi

.net - 使用 Installshield 2010 检查 .NET Framework 4.5 是否安装

转载 作者:行者123 更新时间:2023-12-01 19:12:16 25 4
gpt4 key购买 nike

我正在使用InstallShield 2010。我想检查计算机上是否安装了.NET Framework 4.5。

我可以从注册表中检查 .NET Framework 4.0 是否安装,但我无法找到 .NET Framework 4.5 的任何注册表项。

最佳答案

根据此处的 MSDN 文章:http://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

To find the installed .NET Framework versions manually (versions 4.5 and later)

  • On the Start menu, choose Run.
  • In the Open box, enter regedit.exe. (You must have administrative credentials to run regedit.exe.)
  • In the Registry Editor, open the following subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\FullCheck for a DWORD value named Release. The existence of the Release DWORD indicates that the .NET Framework 4.5 or newer hasbeen installed on that computer.

换句话说,在 InstallShield 下,检查注册表位置 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full 是否存在 Release DWORD

关于.net - 使用 Installshield 2010 检查 .NET Framework 4.5 是否安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19265017/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com