在安装项目中包含文件夹 [英] Include folder in setup project

查看:76
本文介绍了在安装项目中包含文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在安装项目中包括一个文件夹,以便在部署该安装程序时,也将完整的文件夹部署到安装位置.

I want to include a folder in a setup project so that when I deploy that setup the complete folder is also deployed to the install location.

推荐答案

右键单击安装项目,然后选择查看">文件系统",从那里您可以访问许多特殊文件夹,例如安装文件夹,appdata ,桌面等,并在其中添加文件,这些文件将在您安装应用程序时创建.确保将"alwayscreate"属性设置为true.

Right click the setup project, and select "View" > "File System", and from there you can access a lot of special folders like install folder, appdata, desktop etc, and add files to there, that will be created when you install the application. Make sure to set the "alwayscreate" property to true.

这篇关于在安装项目中包含文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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