0

在 WIX 中,我可以使用iis:WebFilter元素安装 ISAPI 过滤器:

<Component Id='C.Filter1' Guid="6781xxxx-xxxx-4893-xxxx-aaaabbbbdddd">
  <!-- CreateFolder - included to avoid problem with missing KeyPath -->
  <CreateFolder/>
  <iis:WebFilter Id="WebFilter1"
                 LoadOrder="first"
                 Name="My Custom ISAPI Filter"
                 Path="[INSTALLDIR]\Filter.dll"
                 WebSite='SelectedWebSite'
                 />
</Component>

当我运行生成的 MSI 时,它会在给定的网站中安装给定的 ISAPI 过滤器。

如何在卸载 MSI 时删除取消配置该过滤器?

4

1 回答 1

0

我的错。我无意中将 SKIPCONFIGUREIIS 设置为卸载,因此未卸载过滤器。

当我修复条件时,它按预期工作。

于 2010-04-28T22:09:00.210 回答