简体   繁体   English

使用.Net 2008应用程序自动安装.NET Framework 3.5 SP1

[英]Automatically install the .NET framework 3.5 SP1 with .Net 2008 application

We have an application that needs the 3.5 SP1 framework and when we click on the prerequisite option in the setup kit we made, we only see the framework without the SP1. 我们有一个需要3.5 SP1框架的应用程序,当我们单击所制作的安装工具包中的先决条件选项时,我们只会看到没有SP1的框架。 When we install, it does not indeed install the correct one. 当我们安装时,它实际上并没有安装正确的版本。

Is there a way to make this work? 有没有办法使这项工作?

The application was made in WPF if that changes anything. 如果该应用程序发生任何更改,则在WPF中进行该应用程序。

Thanks! 谢谢!

I checked on my Visual Studio installation and the .NET Framework 3.5 SP1 prerequisite is available for selection in setup project. 我检查了Visual Studio的安装,并可以在安装项目中选择.NET Framework 3.5 SP1的必备软件。

Make sure you have Visual Studio 2008 SP1 installed. 确保已安装Visual Studio 2008 SP1

Also be aware that the installer for .NET Framework SP1 is not included in Visual Studio SP1 and because of this you will not be able to select the option (Download prerequisites from the same location as my application). 还应注意,Visual Studio SP1不包括.NET Framework SP1的安装程序,因此,您将无法选择该选项(从与我的应用程序相同的位置下载必备组件)。 If you need to have the installer locally take a look at the following blog post: 如果您需要本地安装程序,请查看以下博客文章:

How to Include .NET Framework 3.5 SP1 with Your Installer 如何在安装程序中包含.NET Framework 3.5 SP1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM