1
특정 웹 사이트 (또는 가상 서버)에 WebFilter를 설치하는 방법을 알고 있습니다.WIX에서 서버 레벨에서 WebFilter를 설치하는 방법은 무엇입니까?
WebService 또는 최상위 서버에 WebFilter를 어떻게 설치할 수 있습니까?
특정 웹 사이트 (또는 가상 서버)에 WebFilter를 설치하는 방법을 알고 있습니다.WIX에서 서버 레벨에서 WebFilter를 설치하는 방법은 무엇입니까?
WebService 또는 최상위 서버에 WebFilter를 어떻게 설치할 수 있습니까?
이렇게하려면 @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>