Is there a way to optionally declare the default website?

 

I have an install where one of the features creates a virtual directory. Do create my virtual directory I first create an association with the default website

 

<WebSite Id="DefaultWebSite" Description="Default Web Site" Directory="WWWROOT" >

    <WebAddress Id="AllUnassigned" Port="80" />

</WebSite>

 

And I reference DefaultWebsite in my WebVirtualDir declarations.

 

The problem is… if the user doesn’t choose the website feature the install still looks for IIS to declare the DefaultWebSite. But… if I declare the DefaultWebSite under a component then I am fine except that during uninstall the DefaultWebSite seems to be uninstalled as well.

 

What I would like is to be able to install on other features on machines without IIS and install virtual directories without trashing the default website on uninstall.

______________________

 

Don Tasanasanta

VIACK Corporation

425-605-7423

 

-------------------------------------------------------------------------
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

Reply via email to