在Web安装程序安装程序中包含文件夹 [英] Include folder inside web setup installer
本文介绍了在Web安装程序安装程序中包含文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我有websetup项目.在这里我可以添加.cs或aspx等.但是我想包括一个特定的文件夹.这个文件夹有一些文件.因此,安装安装程序后,除该文件夹外,所有文件都保存在C:\ Inetpub \ Wwroot \ Ourfolder中.那么如何在安装程序中也包含该文件夹?
请帮助我
Hello,
I have websetup project. Here I can add .cs or aspx and etc. But i want include one specific folder. this folder has some documents. So when setup is installed all files are saved in C:\Inetpub\Wwroot\Ourfolder except that folder. So how to include that folder also inside installer?
Please help me
推荐答案
-打开您的应用程序
-转到文件->新项目->设置和部署->选择设置或Web设置
-标记解决方案:添加到解决方案
-然后,选择安装程序项目名称,右键单击并转到查看->文件系统
-那里有应用程序文件夹,用户桌面和用户程序菜单.
-打开应用程序文件夹",您可以在其中添加任意数量的文件夹.
-在添加的每个文件夹中,右键单击可以添加另一个文件夹,项目输出,文件或程序集.
参考:
为C#创建安装程序 [
- Open your application
- Go to File -> New Project -> Setup and Deployment -> Choose Setup or Web Setup
- Mark Solution: Add to solution
- Then, select the Setup project name, right click and go to View -> File System
- There you have Application Folder, User''s Desktop, User''s Program Menu.
- Open the Application Folder, and there you can add as many folders as you want.
- In Each folder you add, with right click you can add another folder, Project output, File or Assembly.
Reference:
Creating an Installer for C#[^]
这篇关于在Web安装程序安装程序中包含文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文