Hi John,

I was able to create the site after including the Website in the component
as below.But Site is not getting created as intended.

<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7586241/Capture.png>
 

*<ComponentGroup Id="MyWebIssConfiguration">
      <ComponentRef Id="MyWebAppPoolCmp"/>
      <ComponentRef Id="MyWebsiteCmp"/>
      <ComponentRef Id="MyWebVirtualDirCmp"/>
</ComponentGroup>*

<DirectoryRef Id="INSTALLLOCATION">
      
       
      <Component Id="MyWebsiteCmp" Guid="" KeyPath="yes">
      <iis:WebSite Id="CoreWebservicesV3" Description='CoreWebservicesV3'
Directory='INSTALLLOCATION' >
      <iis:WebAddress Id="AllUnassigned" Port="80" />
      </iis:WebSite>  
      </Component>
      
      
<Component Id="MyWebAppPoolCmp"
Guid="{751DEB01-ECC1-48ff-869A-65BCEE9E0529}" KeyPath="yes">
                                <util:User Id="MyWebAppPoolUser"
                                                   CreateUser="no"
                                                   Name="[IDENTITY_NAME]"
                                                   Password="[IDENTITY_PWD]"  
RemoveOnUninstall="yes"
                                                   Domain="[IDENTITY_DOMAIN]" />
                       <iis:WebAppPool Id="CWSWebAppPool" 
                                                  Name="[WEB_APP_NAME]" 
                                                 
ManagedRuntimeVersion="v4.0"
                                                 
ManagedPipelineMode="Integrated"
                                                  Identity="other"
                                                  User="MyWebAppPoolUser" >
                      <iis:RecycleTime Value="00:00"/>
                      </iis:WebAppPool>
</Component>
                

<Component Id="MyWebVirtualDirCmp"
Guid="{751DEB01-ECC1-48ff-869A-65BCEE9E0528}" KeyPath="yes" >

<iis:WebVirtualDir Id="MyWebVirtualDir" Alias="[VIRTUAL_DIR_VAL]"
Directory="INSTALLLOCATION" WebSite="CoreWebservicesV3" >

<iis:WebDirProperties Id="MyWebVirtDirProperties" AnonymousAccess="no"
BasicAuthentication="no" WindowsAuthentication="yes" />

<iis:WebApplication Id="MyWebWebApplication" Name="[VIRTUAL_DIR_VAL]"
WebAppPool="CWSWebAppPool" />

</iis:WebVirtualDir>
</Component>
</DirectoryRef>

                



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-Web-app-pool-and-Site-on-on-Server-2008-R2-with-IIS-7-5-WiX-3-7-tp7586215p7586241.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to