If you put the WebSite element in a Component then the install and uninstall of 
the Component will add/remove the WebSite.  If you do not want your install to 
take over the existing WebSites then put the WebSite outside of the Component 
element.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Urban Jaroslav, 
Ing.
Sent: Tuesday, January 09, 2007 6:51 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How2:uninstall deregistr all website?

Hi 2 all,
            I've got problem with uninstall process for my website. I've got 
website, which is not directly in root in IIS. I use subdir "WS" as webservice, 
where I am used to put all my web service. So when install my web service, 
everything is oki. Website is set and is available from web. When I do 
uninstall, everything is oki too. Unfortunately it remove all website from IIS. 
They are still in file system, but all registration in IIS is gone.
Does it happen to someone before?
            I am using ver wix-2.0.4820.

Thanx for any proposal. Bye bye  Jaroslav Urban

**********wxs code********************
    <Directory Id="ROOTIIS" Name="RootBF">
        <Directory Id="idWS" Name="WS">
          <Directory Id="idServiceIISDir" Name="cip102" 
LongName="CedrInfoPublic_v102">
            <Component Id="idCompServiceIISDir" 
Guid="869809BC-7214-4832-8D08-0A4CE5E415B7">
              <CreateFolder />
              <File Id="Web.Config" LongName="Web.Config" Name="WEB.CON" 
Source="..\..\..\..\Cedr3.InfoPublic\Net\CedrInfoPublic_v102\WebService\Web.Config"
 DiskId="1" ReadOnly="no" />
              <File Id="Service.asmx" LongName="Service.asmx" 
Name="SERVICE.ASM" 
Source="..\..\..\..\Cedr3.InfoPublic\Net\CedrInfoPublic_v102\WebService\Service.asmx"
 DiskId="1" />
              <File Id="Service.wsdl" LongName="Service.wsdl" 
Name="SERVICE.WSD" 
Source="..\..\..\..\Cedr3.InfoPublic\Net\CedrInfoPublic_v102\WebService\Service.wsdl"
 DiskId="1" />
            </Component>
            <Directory Id="idBinDir" Name="Bin">
              <Component Id="idCompServiceIISBinDir" 
Guid="F96F3BEF-1260-4F95-A8DA-9BEC99003712">
                <CreateFolder />
                <File ... dll list follow />
              </Component>
            </Directory>
          </Directory>
        </Directory>
      </Directory>

      <Component Id="idCompWebDis" Guid="381020D0-1870-4483-9212-6CB62A85FD22">
        <WebVirtualDir Id="idWebVirtDirWS" Alias="ws" Directory="idWS" 
WebSite="idWeb">
          <WebVirtualDir Id="idWebVirtDirService" Alias="CedrInfoPublic_v102" 
Directory="idServiceIISDir">
            <WebApplication Id="idWebApp" Name="CedrInfoPublic_v102" />
          </WebVirtualDir>
        </WebVirtualDir>
      </Component>

    <WebSite Id="idWeb" Description="Default Web Site">
      <WebAddress Id="AllUnassigned" Port="80" />
    </WebSite>
**********wxs code********************

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to