Hello, thank you for the links. With a lot of trial and error, could determine that the error is in the way the "locator" record works with IIS7. While in former versions you could simply search for the port number and the Description was ignored, it appears that changes were done how WiX works now. For example:
<IIS:WebSite Id="WebSiteLocator_0001" Description="LocateSite"> <IIS:WebAddress Id="WebAddressLocator_0001" Port="80"/> </IIS:WebSite> This works in former versions to locate the web site using port 80. In IIS7, the Description must match the name of the web site as well, or we get an error with WriteIIS7ConfigChanges. <IIS:WebSite Id="WebSiteLocator_0001" Description="Default Web Site"> <IIS:WebAddress Id="WebAddressLocator_0001" Port="80"/> </IIS:WebSite> With this change, one can't simply install a virtual directory into the default web site, without finding its name first - it may not be any longer "Default Web Site". I suppose there is no easy workaround, that does not involve EnumerateIISWebSitesAndAppPools? Ulrich ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users