Instead of creating the website you just need a reference to an existing one.
<iis:WebSite Id="DefaultWebsite" Description="Default">
<iis:WebAddress Id="DefaultWebsite" Port="80" />
</iis:WebSite>
 
I think this has to go outside of a <Directory> element. You can then reference 
this in your <WebVirtualDir> element.
 
Neil
 
Neil Sleightholm
X2 Systems Limited
n...@x2systems.com <mailto:n...@x2systems.com> 
 

________________________________

From: Kalvagadda, SivaKrishna (MLX Technology) 
[mailto:sivakrishna_kalvaga...@ml.com]
Sent: Thu 18/12/2008 06:12
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WebSite is getting deleted when msi uninstalled.



Hi,

I am facing a problem with creating virtual directories under IIS.
When I install the package Website is been created by MSI like charm.
But when I uninstall the same MSI it is deleting the website also along
with virtual directories.

But my requirement is not to delete website but only virtual directories
only.

Thanks.

Regards,
Siva,
201-671-5552.

--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.
--------------------------------------------------------------------------


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to