[英]Web setup (MSI) project to install in two different AppPool
I have a web setup project created with the following structure 我有一个使用以下结构创建的Web安装项目
In the above structure I have the RootNode configured to have the application pool as "RootNode". 在上面的结构中,我将RootNode配置为将应用程序池作为“ RootNode”。
I have the VirtualApp1 and VirtualApp2 to be on the other application pool (VirtualApp). 我将VirtualApp1和VirtualApp2放在另一个应用程序池(VirtualApp)中。 On Installing the MSI, we choose the installation address as the RootNode but we can choose only one of the application pool listed. 在安装MSI上,我们选择安装地址作为RootNode,但是我们只能选择列出的应用程序池之一。 Is it possible to have MSI to install for two different application pool under the same roof. 是否可以在同一屋顶下为两个不同的应用程序池安装MSI。
I don't know exactly what tool you are using to build the package. 我不知道您使用什么工具来构建软件包。 Advanced Installer (Professional edition) can do this very easily, when creating an installer for IIS applications . 在为IIS应用程序创建安装程序时,高级安装程序(专业版)可以非常轻松地完成此操作。
In the IIS page you can define the App Pools, web sites, web applications and virtual directories you want your installer to create, as shown in the above linked tutorial. 在IIS页面中,您可以定义要安装程序创建的应用程序池,网站,Web应用程序和虚拟目录,如以上链接的教程所示。 For each web site and virtual application you can then select from itw own "Application Pool" view the corresponding application pool. 然后,对于每个网站和虚拟应用程序,您都可以从其各自的“应用程序池”中选择相应的应用程序池。 Virtual directories do not support having different application pools from their parents. 虚拟目录不支持使用与其父目录不同的应用程序池。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.