如果最终用户不具有安装.NET 4.0,我不希望他们去到微软网页手动下载并安装它。我倒希望他们只需单击确定,并设置去我的网站,并下载webinstaller文件,并开始自动安装。
If the end user dont have .net 4.0 installed , i dont want them to go to a microsoft page to download manually and install it. I rather want them to just click "ok" and the setup goes to my website and downloads the webinstaller file and start installing automatically.
在我的解决方案,我有2个项目,1窗项目和1个安装项目。我注意到,如果我去的属性在任一项目,然后prerequisites,在那里,我可以在这3个选项中进行选择:
In my solution i have 2 project, 1 windows project and 1 setup project. I have noticed that if i go to properties on either of the projects and then Prerequisites, there i can choose between these 3 options :
Download prerequisites from the component vendor's website ( default )
Download prerequisites from the same location as my application
Download prerequisites from the following location ( with a textbox )
我想最后的选择权?但我链接到一个文件夹在我的网站,它会在那里寻找合适名来安装?然后,我要安装程序添加到该文件夹?
I should want the last option right? But do i link to a folder in my website and it will look there for the right "name" to install ? Then i have to add the installers to that folder?
,我不知道如果我只应该这样做窗户上的项目或安装项目或两者兼而有之?
And i dont know if i only should do this on the windows project or the setup project or both?
我使用视觉工作室默认安装程序。
I am using visual studios default installer.
真的很困惑。
谢了你。
如果它是确定为您的程序分发.NET框架可以使用的指令从回答这个帖子:
If it is ok for you to distribute the .NET framework with the program you can use the instructions from the answer to this post:
沉默的.NET Framework的安装项目安装
这些设置必须安装.NET Framework,而无需任何用户输入。
The setup should install the .NET framework without requiring any user input.