WIX:如何使用WIX卸载ISAPI筛选器?

时间:2010-04-28 19:27:01

标签: iis wix isapi

在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时删除取消配置

1 个答案:

答案 0 :(得分:0)

我的错误。我在卸载时无意中设置了SKIPCONFIGUREIIS,因此未卸载过滤器。

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

相关问题