在 w7 上安装程序,需要 .NET 版本 2.0
我正在尝试在 Windows 7 上安装程序,但是当我运行安装程序时,我收到一条错误消息:请在安装该工具之前安装 .NET Framework 版本 2.0。 据我所知,.NET 2.0 应该与 w7 一起安装。那么可能是什么问题呢?也许有一种方法可以绕过安装检查..或提取它或执行某些操作。
只是为了了解更多信息,我认为它是一个 installshield 设置启动器。我尝试提取它,但不可能,出现 .net 2.0 丢失错误。所以我设法做的是从exe中提取msi。现在,当我从 cmd 运行带有 /passive 选项的 -msi 时,它确实绕过了 .net 检查,并且所有内容都已安装。现在的问题是我在应用程序中遇到了各种错误,所以看起来它仍然没有正确安装。
I am tryng to install a program on windows 7 but when i run tha installer i get a error message sayng: Please install .NET Framework Version 2.0 before installing the tool.
As i know the .NET 2.0 should be installed with w7 allready. So what might be the problem? Maybe there is a way passbye the checking in the installation.. or extract it or do something.
Just for more info i think its a installshield setup launcher. I tried to extract it but its not possible, getting the .net 2.0 missing error. So what i managed to do is to extract the msi from exe. And now when i run the -msi with /passive option from cmd the it indeed bypasses the .net check and everything gets installed. Now the problem is that im getting all kind of errors in the application so looks like its still not installed correctly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的第一个猜测是您安装的程序没有正确检测.NET 2.0。正如您正确提到的,.NET 2.0 已预装在 Windows 7 上。请参阅 本文 了解完整图片。
My first guess is the program you install doesn't detect .NET 2.0 correctly. As you correctly mentioned, .NET 2.0 is pre-installed on Windows 7. See this article for complete picture.
虽然 .NET 是 Windows 7 的一部分,但它是一个可选组件 - 您可以将其关闭。
打开“Windows 功能”对话框(通过按“开始”并键入/选择“打开或关闭 Windows 功能”),并确保确实安装了“Microsoft .NET Framework 3.5.1”。
如果您在应用程序中看到错误,则可能是您的 .NET 安装有问题,或者您的客户端配置文件或部分安装有问题。您正在安装的应用程序是什么 - 它是服务器应用程序吗?
While .NET is part of Windows 7, it's an optional component, though - you can turn it off.
Open the "Windows features" dialogue (by pressing start and typing/selecting "Turn Windows features on or off"), and make sure the "Microsoft .NET framework 3.5.1" is indeed installed.
If you're seeing errors in your app then maybe there's a problem with your .NET installation, or you have a client profile or partial install. What's the application you're installing - is it a server application?