Hi

I have create an Wix install which basically installs an WebApplicaiton. This 
installer has 2 dialog which are similar. Both of them take IIS Website, 
AppPool and Virtual Directory. In my case the AppPool and WebSite are the same. 
I always give “DefaultAppPool” during install. This installs the Application 
but the ManagedPipeline mode is changed to “Classic” after install


A bigger problem is that during the uninstall of the Application the 
appPool(“”DefaulktAppPool) is deleted from IIS. Below is my wix code
Any idea why Apppool is deleted? How can I avoid deletion


<Component Id="IisWebSiteSetup" Guid="8AB78BF1-B785-4203-B23B-2CEB31757ADA"  >
              <iis:WebAppPool Id="IisWebsiteAppPool" Name="[APPPOOL]" 
Identity="networkService" />
              <CreateFolder/>
            </Component>

            <Component Id ="IisWebSiteDir" Guid 
="1A7BD72E-161B-4071-8090-19F4C102C783" >
              <iis:WebVirtualDir  Id="IisWebSiteVirtualDir" Alias="[VDNAME]" 
Directory="WEBINSTALLDIR" WebSite="IisWebsite">
                <iis:WebApplication Id="IisWebSiteApplication" Name="WebSiteVd" 
WebAppPool="IisWebsiteAppPool" Isolation="high"/>
              </iis:WebVirtualDir>
              <CreateFolder/>
              <Condition>
                <![CDATA[VDNAME <> "/" ]]>
              </Condition>
            </Component>

            <Component Id="IisSetup" 
Guid="7A6E8BF7-B4CE-4342-B2DE-3C6E689F9D65">

              <iis:WebVirtualDir Id="IisVirtualDir" Alias="[WCFVDNAME]" 
Directory="WCFINSTALLDIR" WebSite="IisPortalsite">
                <iis:WebApplication Id="IisWebApplication" 
Name="PortalServiceVd" WebAppPool="IisAppPool" Isolation="high"/>
              </iis:WebVirtualDir>
              <iis:WebAppPool Id="IisAppPool" Name="[WCFAPPPOOL]" 
Identity="networkService" />
              <CreateFolder/>

            </Component>


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to