创建一个自动下载.NET Framework的Windows安装程序 [英] Creating a Windows installer with automatic download of .NET Framework

查看:423
本文介绍了创建一个自动下载.NET Framework的Windows安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio Installer项目部署 Windows Forms 应用程序。有没有办法自动下载并安装.NET Framework 4.0客户端配置文件,如有必要,可以从Internet自动进行?

I am using Visual Studio Installer project for deploying a Windows Forms application. Is there a way to set up an automatic downloading and installing .NET framework 4.0 Client profile, if necessary, automatically from the Internet?

推荐答案

p>安装程序安装程序有一个选项可以从互联网询问和下载适当的框架。它在项目中设置。

The setup installer has an option to both ask and download appropriate the framework from the Internet. It is set in the project.

单击安装项目 - >属性。在属性页面上有一个名为先决条件的按钮。

Click setup project -> properties. On the "properties page" there is a button called "Prerequisites.."

您有三个选择:


  • 供应商网站

  • 与我的应用程序相同的位置

  • 从以下位置下载

选择适当的选项。

这篇关于创建一个自动下载.NET Framework的Windows安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆