The revered tutorial here: http://www.tramontana.co.hu/wix/lesson6.php#6.3 explains that if you want to install to an existing website, that website information should reside out of the component tag. Otherwise, the MSI thinks that it created the website and upon uninstall it will drop it.
If the non-default site uses a port or ip address that you do not know beforehand, you should probably have your installer save that port/ip-address in the registry or somewhere so you can retrieve it during an uninstallation. If that information is variable and could change after the installation completes than you should probably write a custom action to retrieve this information during the uninstall.
Dana
Hi,
We are trying to install files and folders under existing Non-Default Web Site, also need to configure that web site with an AppPool and Security settings, and facing issues in doing this.
How to configure non-default web site by taking the IP Address and Port of the web site? Not sure following one is correct.
<Directory>
----
----
<Component Id="RTSWebAppConfig" Guid="211B747B-FD91-4c14-9ADA-BDC4F3A64116">
<!-- Configure the Web Site for RTSWeb-->
<WebSite Id='RtsWeb' Description='[WEBSITE]' DirProperties="RTSWebSec" Directory="INSTALLDIR" ConfigureIfExists="yes" >
<WebAddress Id="IPAddr" Port="80" IP="[WEBSITEIP]"/>
<WebApplication Id="RTSWebApp" Name="RTSWebApp" WebAppPool="RTSAppPool">
</WebApplication>
</WebSite>
<WebAppPool Id="RTSAppPool" Name="RTSAppPool" Identity="networkService">
</WebAppPool>
</Component>
</Directory>
<WebDirProperties Id="RTSWebSec" Execute="yes" WindowsAuthentication="yes" Read="yes" DefaultDocuments="Default.aspx"/>
After installing in IIS 6.0 in a Non-Default Web Site it configures properly, but during uninstall it's uninstalling default web site not the site which was configured?
Can any please help us? This is very urgent as we have build today!!!
Thanks,
Jose
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users