使用“MS VS Installer Projects”删除应用程序添加文件夹 [英] Deploing an application with "MS VS Installer Projects" adding folders

查看:440
本文介绍了使用“MS VS Installer Projects”删除应用程序添加文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我使用 "MS VS Installer Projects"部署了一个应用程序。一切正常。问题是,现在我想添加一个文件夹和子文件夹的结构来复制到应用程序的安装目录,而我
找不到快速完成的方法。看起来我必须手动创建每个文件夹和子文件夹,然后我必须用文件填充每个文件夹和子文件夹。相反,我想选择主文件夹并自动包含所有子文件夹,因为他们
是数百。我该怎么做?

I have deployed an application using "MS VS Installer Projects" and it everything was working. The problem is that now I would like to add a structure of folders and subfolders to copy to the installation directory of the application and I can't find a way to do it quickly. It looks like I have to create each folder and subfolder manually, then I have to populate each one with the files. Instead I would like to select the main folder and include all the subfolders automatically, because they are hundreds. How can I do that?

推荐答案

您是否尝试右键单击解决方案资源管理器中的安装项目根目录并选择"查看 - >文件系统"并在那里添加文件夹?

Have you tried to Right click on your setup project root in Solution Explorer and choose "View -> File System" and add the folders there?

点击(选择)"应用程序文件夹"在打开的窗口中。

Click on (select) "Application Folder" in the window which opened.

如果您查看"属性窗格",在Visual Studio中有一个名为"DefaultLocation"的条目。将此更改为指向除"程序文件"之外的其他位置。

If you look in the "Properties Pane" in Visual Studio there is an entry called "DefaultLocation". Change this to point it somewhere besides "Program Files".

请随时让我知道上面的内容可以满足您的要求。

Please feel free to let me know it above could meet your requirement.

 

问候,

Fletcher


这篇关于使用“MS VS Installer Projects”删除应用程序添加文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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