安装程序需要的框架4.0 - 但它已经安装但它、安装程序、已经安装、框架

2023-09-03 05:53:17 作者:ζ灬Mua⒈南文

我创建了我现在想安装测试服务。当运行安装程序会提示我下载并安装.NET FW 4.0,但我已经安装了它。我曾尝试只安装,我得到指着(4.0 cliet)的文件,但它不仅还是不行,它会导致VS2010抛出一个未知的错误,无法打开。

I created a service which I now want to install to test. When running the setup program it prompts me to download and install .net fw 4.0, but I already have it installed. I did try to just install the file that I get pointed to (4.0 cliet), but not only does it still not work, it causes vs2010 to throw an unknown error and can't open.

我现在已经卸载的一切,并与VS2010,框架4.0开始重新赢得7,但它仍然会提示我安装FW 4.0当我试图运行安装程序。任何人都可以请点我在正确的方向?

I've now uninstalled everything and started afresh with VS2010, framework 4.0 and win 7 but it still prompts me to install fw 4.0 when I try to run the setup. Can anyone please point me in the right direction?

感谢名单提前 威廉

推荐答案

下面是一些建议:

我假定你已经重新启动您的计算机;如果不是,这样做,然后重试。 查看此页面有关验证.NET 4.0的安装。 在使用IE浏览器,访问 http://whatsmyuseragent.com/ 并确保.NET 4.0所示。 在VS 2010中,写一个小控制台应用程序,输出 Environment.Version.ToString()。这是.NET CLR版本。从VS 2010外运行这个程序,并确保其工作正常。 在这一点上的问题是最有可能与用于创建该服务的安装程序。请添加关于它的更多信息。 I assume you have rebooted your machine; if not, do this and try again. See this page about verifying your .NET 4.0 installation. Using IE, go to http://whatsmyuseragent.com/ and ensure that .NET 4.0 is shown. In VS 2010, write a small console app that outputs Environment.Version.ToString(). This is the .NET CLR version. Run this app from outside VS 2010, and ensure it works as expected. At this point the problem is most likely with the installer used to create the service. Please add more information about it.