“Unhandled Extension Element” in WIX (Windows Installer XML)

I’m using WIX to create an MSI for a web application, part of the installer needs to create the IIS settings, so i’m using the WIX IIS extensions. I started off by adding the namespace:

xmlns:iis=’http://schemas.microsoft.com/wix/IIsExtension’

Everything looked good, i was getting Intellisense within VS 2010, but then when i tried to build the MSI package, i got this error:

The Component element contains an unhandled extension element ‘iis:WebSite’.  Please ensure that the extension for elements in the ‘http://schemas.microsoft.com/wix/IIsExtension’ namespace has been provided.

I took a while to figure it out…in order to fix this issue, i had to add a reference to WixIisExtension.dll to my WIX project.  You add the reference just like you would add one for any other project. 

Scroll to Top