Hi.

I can successfully deploy an application that includes a web application
among others (thanks to this list) like this:

<!-- Inside a component -->
<iis:WebVirtualDir Id="SomeWebApp" Alias="SomeAlias"
Directory="INSTALLLOCATION" WebSite="DefaultWebSite">
  <iis:WebApplication Id="SomeWebApp" Name="SomeName" />
  <iis:WebDirProperties Id="SomeDirProps" DefaultDocuments="Some.asmx" />
</iis:WebVirtualDir>
<!-- Component ends around here -->

<!-- Website reference - not in a component -->
<iis:WebSite Id='DefaultWebSite' Description='Default Web Site'
Directory='INSTALLLOCATION'>
  <iis:WebAddress Id="AllUnassigned" Port="80" />
</iis:WebSite>

This works fine, but leaves the web application in place (and a
uninstall/reinstall cycle fails, because the web application "SomeName"
exists already..). I understand that I could move the WebSite declaration
into a component, but according to my understanding so far that would remove
the default website in my case (which is shared).

Is there any workaround for that? Am I supposed (forced?) to create a
website in my component for uninstall support?

Thanks a lot in advance,
Ben
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to