This sounds like the Properties for your ip:port:header is not found during uninstall. There are lots of discussions on the mailing list about how the Windows Installer does not persist Property values so you can use something like a registry key and a RegistrySearch to read it during uninstall.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christophe Laumond Sent: Sunday, June 01, 2008 08:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Failed to read IIsWebSite table Hello, I'm a newbie in Wix. I have an existing web application for which I try to create an msi file using Wix. the first msi I have produced was based on the sample found at : http://davesquared.blogspot.com/2007/08/example-of-deploying-web-apps-using-wix.html and it worked like a charm ! The msi file has been correctly built and I have installed the application through "double-click". The web application was deployed on IIS without any error. Then I uninstall using the msi file, did a small change in the wix source file, built again, install using double-click : I got the error "Failed to read IIsWebSite table" :( As if the install / uninstall process broke something... I tried aspnet_regiis -u \ aspnet_regiis -i for .NET framework 2.0; removing II6 compatibility features, and installing them again; but it didn't changed anything. Following the post on the forum IIS extension failed on Vista SP1. http://sourceforge.net/mailarchive/forum.php?thread_name=b5927a150805300828h43b2581bqa92119d57c4a2620%40mail.gmail.com&forum_name=wix-users I used the console running in administrator mode, and it worked again. I have been able to install / change / uninstall several times. The I tried the following snippet from http://www.strangelights.com/blog/archive/2004/10/08/179.aspx : <iis:WebSite Id="DefaultWebSite" Description="[WEBSITENAME]"> <iis:WebAddress Id="WebsiteIdentity" Port="[WEBSITEPORT]" Header="[WEBSITEHEADER]" IP="[WEBSITEIP]" /> </iis:WebSite> Once again, I got the error message "Failed to read IIsWebSite table" :( I revert back to the previous WebSite tag : <iis:WebSite Id='DefaultWebSite' Description='Default Web Site'> <iis:WebAddress Id='AllUnassigned' Port='80' /> </iis:WebSite> But it has definitely stopped to work :( I would be gratefull if you can help me for solving this issue. Thanks in advance for your feedback Best regards, Christophe ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users