iisiis-7wixwix-iisextension

WIX and IIS7: Cannot connect to Internet Information Server. (-2147221164)


I have seen
WiX and iis (cannot connect to internet information server)

This question is different.

I have Windows7, IIS is installed. I'm trying to run an MSI installer built with WIX v3.0 to install an ISAPI filter.

When I run the MSI I get

Cannot connect to Internet Information Server.  (-2147221164         )

...in the msi log file, and an accompanying error message like Error 26001.

In his response to the other WIX/IIS7 question, Yan Sklyarenko said:

the WiX IIsExtension (the one which defines WebSite element) uses the API of IIS component to actually do its job. For WiX v3.0 it even requires IIS 6 compatibility to be turned ON in IIS 7 in order to work correctly.

I suppose the reason that I saw the error message is that the IIS6 compat stuff is not installed.

Is this pre-requisite still present in Wix v3.5? In other words, using Wix3.5, must I still have the IIS6 compatibility stuff installed, to use IisExtension ?


Solution

  • No, WiX v3.5 supports IIS7 directly.