简体   繁体   English

如何创建允许用户创建新网站和应用程序池的Web设置?

[英]How to create a web setup allowing the user to create new website and application pool?

I have to create a web setup with the user be able to create a new application pool and new website. 我必须与用户一起创建Web设置,以便能够创建新的应用程序池和新的网站。 I have been able to create new website and new application pool through custom action. 我已经能够通过自定义操作创建新的网站和新的应用程序池。 For this purpose I have a windows dialog form to take input from the user and create new or use existing application pool and website. 为此,我有一个Windows对话框表单,可以接受用户的输入并创建新的或使用现有的应用程序池和网站。

Since I am using windows dialog form, I deleted the installation address dialog from the user interface views of the setup project. 由于我使用的是Windows对话框形式,因此我从安装项目的用户界面视图中删除了安装地址对话框。 The setup creates the application pool and the website but the files are not extracted. 安装程序将创建应用程序池和网站,但不会提取文件。 So I think the installer does not extract the file since I have deleted the installation address dialog from the user interface views. 因此,我认为安装程序不会提取文件,因为我已经从用户界面视图中删除了安装地址对话框。

Can anybody please help me fix this. 谁能帮我解决这个问题。

Thanks, 谢谢,

Brijesh Gupta 布里吉什·古普塔(Brijesh Gupta)

FWIW, setup-projects have been removed in VS2012. FWIW,安装项目已在VS2012中删除。 If you switch to another windows-installer based tool such as Windows Installer XML (WiX) or InstallShield Limited Edition (Free) you can declare IIS metadata without having to write any custom actions. 如果切换到其他基于Windows安装程序的工具,例如Windows Installer XML(WiX)或InstallShield Limited Edition(免费),则可以声明IIS元数据,而不必编写任何自定义操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM