Creating a Windows installer with automatic downlo

2019-09-03 08:27发布

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条回答
孤傲高冷的网名
2楼-- · 2019-09-03 08:57

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.

查看更多
登录 后发表回答