Creating a Windows installer with automatic download of .NET Framework

非 Y 不嫁゛ 提交于 2020-01-06 12:49:08

问题


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?


回答1:


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.."

There you have three choices:

  • Vendors's website
  • Same location as my application
  • Download from following location

Choose the appropriate option.



来源:https://stackoverflow.com/questions/5202923/creating-a-windows-installer-with-automatic-download-of-net-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!