Hi, I have an installer which creates an Web-App under the said website. The installer installs properly. But when uninstalling the msi it deletes the entire Website under which the Web-App was hosted.
This problem is observed in IIS 7.0 and higher. Is this a bug in WixIISExtension or am I missing out something? Here is the component I am using to install the Web-App <Component Id="MyIISApp" Guid=""> <iis:WebAppPool Id="MyWebAppPoolCA" Name="MyWebAppPool" Identity="other" User="MyAppPoolUserCA" /> <iis:WebVirtualDir Id="MyVirtualDir" Alias="[ALIAS]" Directory="INSTALLLOCATION" WebSite="SelectedWebSite"> <iis:WebApplication Id="MySimpleWebAppAppCA" Name="MyWebAppPool" WebAppPool="MyWebAppPoolCA" /> <iis:WebDirProperties Id="MyWebDirPropertiesCA" DefaultDocuments="Default.aspx" Script="yes" Read="yes" /> </iis:WebVirtualDir> </Component> Here is the Website I am referencing inside the component <iis:WebSite Id="SelectedWebSite" Description="[WEBSITE_DESCRIPTION]"> <iis:WebAddress Id="MyWebAddress" Port="[WEBSITE_PORT]" IP="[WEBSITE_IP]" Header="[WEBSITE_HEADER]" /> </iis:WebSite> Here is how I am populating the properties when unistallting the msi <Property Id="WEBSITE_DESCRIPTION" Value="Visionary"> <RegistrySearch Id="WebSiteDescription" Name="WebSiteDescription" Root="HKLM" Key="SOFTWARE\MYAPP\Install" Type="raw" /> </Property> <Property Id="WEBSITE_PORT" Value="80"> <RegistrySearch Id="WebSitePort" Name="WebSitePort" Root="HKLM" Key="SOFTWARE\MYAPP\Install" Type="raw" /> </Property> <Property Id="WEBSITE_IP"> <RegistrySearch Id="WebSiteIP" Name="WebSiteIP" Root="HKLM" Key="SOFTWARE\MYAPP\Install" Type="raw" /> </Property> <Property Id="WEBSITE_HEADER"> <RegistrySearch Id="WebSiteHeader" Name="WebSiteHeader" Root="HKLM" Key="SOFTWARE\MYAPP\Install" Type="raw" /> </Property> <Property Id="ALIAS"> <RegistrySearch Id="WebAppAlias" Name="Alias" Root="HKLM" Key="SOFTWARE\MYAPP\Install" Type="raw" /> </Property> Here is the component which is installing the registry keys <Component Id="PersistWebSiteValues" Guid=""> <RegistryKey Root="HKLM" Key="SOFTWARE\MYAPP\Install"> <RegistryValue Name="WebSiteDescription" Type="string" Value="[WEBSITE_DESCRIPTION]" /> <RegistryValue Name="WebSitePort" Type="string" Value="[WEBSITE_PORT]" /> <RegistryValue Name="WebSiteIP" Type="string" Value="[WEBSITE_IP]" /> <RegistryValue Name="Website_Header" Type="string" Value="[WEBSITE_HEADER]" /> <RegistryValue Name="WebsiteAlias" Type="string" Value="[ALIAS]" /> </RegistryKey> </Component> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Website-gets-deleted-when-uninstalling-Web-App-tp5436443p5436443.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users