Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iis WIX:如何使用WIX卸载ISAPI过滤器?_Iis_Wix_Isapi - Fatal编程技术网

Iis WIX:如何使用WIX卸载ISAPI过滤器?

Iis WIX:如何使用WIX卸载ISAPI过滤器?,iis,wix,isapi,Iis,Wix,Isapi,在WIX中,我可以使用以下元件安装ISAPI过滤器: 当我运行生成的MSI时,它会在给定的网站中安装给定的ISAPI过滤器 如何在卸载MSI时删除或取消配置该过滤器 我的错误。我无意中在卸载时设置了SkipConfigureIs,因此没有卸载筛选器 当我修复这个条件时,它按预期工作 <Component Id='C.Filter1' Guid="6781xxxx-xxxx-4893-xxxx-aaaabbbbdddd"> <!-- CreateFolder - incl

在WIX中,我可以使用以下元件安装ISAPI过滤器:


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


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

我的错误。我无意中在卸载时设置了SkipConfigureIs,因此没有卸载筛选器

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

<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>