如何将整个文件夹添加到 Visual Studio 2008 中的安装项目
场景是,我想添加一个文件夹,其中包含多个包含说明的文档文件。如何选择整个文件夹及其在安装程序运行时包含的内容。
The scenario is, I want to add a folder which contains several Document files containing instructions. How can I select an entire folder and it's contents to be included when Setup is run.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以将外部文件夹拖放到安装目录结构中。然后它将使用文件夹结构添加其中的所有文件。
但是,要小心,一旦添加了带有子、文件夹、误添加的大文件夹的文件夹,就需要按文件夹逐个文件夹删除文件。
You can drag and drop the out side folder to Setup directory structure. Then it will add all files within it WITH FOLDER STRUCTURE.
But, be careful, once you add the folder with sub, folders, large folders added by mistake requires files by folder to folder delete.
您可以在 Windows 资源管理器中转到所需的内容,复制项目(包括子文件夹),然后返回到“视图”->“文件系统”中的 Visual Studio 安装项目,并将这些内容粘贴到所需的文件夹中
You can go to the contents you want in Windows Explorer, copy the items (include sub-folders), then return to visual studio setup project in View->FileSystem and paste these in your desired folder