如何在Visual Studio 2008中创建Winform的安装程序

如何在Visual Studio 2008中创建Winform的安装程序

问题描述:

我要创建学校项目的设置.我在目标PC上创建快捷方式有些困惑.是否需要设置应用程序"文件夹和用户桌面的AlwaysCreate属性.

I wana create setup of my school project. I have a bit of confusions with creating shortcut on target pc. Is it necessary to set AlwaysCreate property of Application folder and User''s desktop.

AlwaysCreate确保该文件夹将存在,即使您不存在也是如此.将文件放入其中.这是更多信息的链接:

http://msdn.microsoft.com/en-us/library/e1t11k72.aspx [ ^ ]

这意味着您不需要为任何一个文件夹都设置此选项,因为它们始终将在其中包含文件.

如果您在创建安装项目时需要进一步的帮助,本文将为您提供帮助:

Visual Studio Windows应用程序安装项目 [
The AlwaysCreate makes sure that the folder will exist, even if you don''t put files into it. Here is a link with more information:

http://msdn.microsoft.com/en-us/library/e1t11k72.aspx[^]

That means that you shouldn''t need to set this for either folder, since they will always have files inside them.

If you need further help with creating a setup project, this article should help:

Visual Studio Windows Application Setup Project[^]

I know it is a bit old, but all of the setting seem to be the same as they are in 2010.