You should upgrade to the RTM drop of WiX v3.5 first. There were a number of
bugs taken late in the IIS custom actions so what you are seeing may have
changed... or it may have not. <smile/>  The final release of WiX v3.5 is
what is supported, in any case.

On Mon, Mar 14, 2011 at 12:56 PM, Hansel D'Ornellas <
HD'ornel...@absolute.com> wrote:

> Wix Version: Wix 3.5.1710.0
>
> I have the following element that works in IIS 6 (Win 2003 Server). I'm now
> porting to install onto Windows Server 2008 R2. I had to change IISGroup to
> reference IIS_IUSRS and the install works. However, I found that the web
> site does not reference my RootWebAppPool application pool. It references
> the Default pool. However, the sub app does reference SubWebAppPool. Why the
> difference?
>
> When I run this same code in Windows 2003 server, it works (with
> IISGroup=IIS_WPG) and the app pool is assigned to both applications.
>
> Thanks.
>
>  <Component Id="WebSitecomp"
>                    Guid="<>"
>                    >
>    <CreateFolder />
>
>    <util:User Id="MyAppPoolUserIdentity"
>                    Domain="MyDomain"
>                    Name="MyUser"
>                    Password="MyUserPassword1234
>                    CreateUser="no"
>                    FailIfExists="no"
>                    RemoveOnUninstall="no">
>      <util:GroupRef Id="IISGroup"/>
>    </util:User>
>
>    <iis:WebAppPool Id="RootWebAppPool"
>                                                    Name="RootWebAppPool"
>                                                Identity="other"
>                                              User=" MyAppPoolUserIdentity "
> />
>    <iis:WebAppPool Id="SubWebAppPool"
>                                                    Name="SubWebAppPool"
>                                                Identity="other"
>                                              User=" MyAppPoolUserIdentity
> "/>
>
>
>
>
>    <iis:WebSite Id="TheWebSite"
>                                            AutoStart="yes"
>                                            ConfigureIfExists="yes"
>                                            Description="The Web Site"
>
>  Directory="c:\installdir\wwwroot\myapp"
>                                            StartOnInstall="yes"
>                                            DirProperties="MyProperties"  >
>      <iis:WebAddress Id="MyWebAddress"
>                                                             IP="127.0.0.0"
>                                                             Port="80"
>                                                             Secure="no"
>                                                             Header=""/>
>      <iis:WebVirtualDir Id="VDir_SubWeb"
>                   Directory="c:\installdir\wwwroot\myapp\subapp1"
>                   DirProperties=" MyProperties "
>                   Alias="subapp1"  >
>        <!-- This web app gets assigned SubWebAppPool and you can verify in
> IIS manager  -->
>        <iis:WebApplication Id="SubAppApp1"
>                 Name=" SubAppApp1"
>                  WebAppPool=" SubWebAppPool "  >
>        </iis:WebApplication>
>      </iis:WebVirtualDir>
>        <!-- This web app Does NOT get assigned RootWebAppPool and you can
> see it is not listed when you look at RootWebAppPool->applications, the list
> is empty-Why??-->
>      <iis:WebApplication Id="MyRootApp"
>                                  Name="MyRootApp"
>                                  WebAppPool="RootWebAppPool" >
>      </iis:WebApplication>
>    </iis:WebSite>
>
>  </Component>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to