Installation 在WIX中,如何在服务器级别安装WebFilter?
我知道如何将WebFilter安装到特定网站(或虚拟服务器)中Installation 在WIX中,如何在服务器级别安装WebFilter?,installation,wix,windows-installer,wix3,isapi,Installation,Wix,Windows Installer,Wix3,Isapi,我知道如何将WebFilter安装到特定网站(或虚拟服务器)中 如何将WebFilter安装到WebService或顶级服务器 若要执行此操作,请根本不指定@WebSite属性 <!-- this is installed when the Server-wide install is selected for the filter --> <Component Id='C.Filter1' Guid="YOURGUID-0556-4893-88bc-2b8ec5f3aa08"
如何将WebFilter安装到WebService或顶级服务器 若要执行此操作,请根本不指定@WebSite属性
<!-- this is installed when the Server-wide install is selected for the filter -->
<Component Id='C.Filter1' Guid="YOURGUID-0556-4893-88bc-2b8ec5f3aa08">
<Condition>WEBSITE_DESCRIPTION = "Server"</Condition>
<!-- CreateFolder - included to avoid problem with missing KeyPath -->
<CreateFolder/>
<iis:WebFilter Id="IsapiFilter1"
LoadOrder="first"
Name="My ISAPI Rewriting Filter"
Path="[INSTALLDIR]\ISAPI.dll"
/>
</Component>
<!-- this is installed when a particular site is selected for the filter -->
<Component Id='C.Filter2' Guid="YOURGUID-0556-4893-88bc-2b8ec5f3aa06">
<Condition>NOT WEBSITE_DESCRIPTION = "Server"</Condition>
<!-- CreateFolder - included to avoid problem with missing KeyPath -->
<CreateFolder/>
<iis:WebFilter Id="IsapiFilter2"
LoadOrder="first"
Name="My ISAPI Rewriting Filter"
Path="[INSTALLDIR]\ISAPI.dll"
WebSite='SelectedWebSite'
/>
</Component>
<!-- snip -->
<iis:WebSite Id="SelectedWebSite" Description="[WEBSITE_DESCRIPTION]">
<iis:WebAddress Id="AllUnassigned" Port="[WEBSITE_PORT]" IP="[WEBSITE_IP]" Header="[WEBSITE_HOSTNAME]" />
</iis:WebSite>
网站\u DESCRIPTION=“服务器”
不是网站\u DESCRIPTION=“服务器”
要执行此操作,请完全不指定@WebSite属性
<!-- this is installed when the Server-wide install is selected for the filter -->
<Component Id='C.Filter1' Guid="YOURGUID-0556-4893-88bc-2b8ec5f3aa08">
<Condition>WEBSITE_DESCRIPTION = "Server"</Condition>
<!-- CreateFolder - included to avoid problem with missing KeyPath -->
<CreateFolder/>
<iis:WebFilter Id="IsapiFilter1"
LoadOrder="first"
Name="My ISAPI Rewriting Filter"
Path="[INSTALLDIR]\ISAPI.dll"
/>
</Component>
<!-- this is installed when a particular site is selected for the filter -->
<Component Id='C.Filter2' Guid="YOURGUID-0556-4893-88bc-2b8ec5f3aa06">
<Condition>NOT WEBSITE_DESCRIPTION = "Server"</Condition>
<!-- CreateFolder - included to avoid problem with missing KeyPath -->
<CreateFolder/>
<iis:WebFilter Id="IsapiFilter2"
LoadOrder="first"
Name="My ISAPI Rewriting Filter"
Path="[INSTALLDIR]\ISAPI.dll"
WebSite='SelectedWebSite'
/>
</Component>
<!-- snip -->
<iis:WebSite Id="SelectedWebSite" Description="[WEBSITE_DESCRIPTION]">
<iis:WebAddress Id="AllUnassigned" Port="[WEBSITE_PORT]" IP="[WEBSITE_IP]" Header="[WEBSITE_HOSTNAME]" />
</iis:WebSite>
网站\u DESCRIPTION=“服务器”
不是网站\u DESCRIPTION=“服务器”