Hi,
I was trying to create the Site and App-pool. The site folder getting
created on [INSTALLLOCATION] Whcih was passed through command line and
webapp is getting installed. But When I go and look in inetmgr site getting
created on Default Website and not as separate site and WebApp-pool getting
created as required but not gets removed on Uninstall. Please let me know
where I am doing Wrong. Here is the code.
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="CoreWebservicesV3" >
<Directory Id="WEBSITE" Name="$(var.CWSProductVersion)" />
</Directory>
</Directory>
</Directory>
<Feature Id="MainContent" Title="CoreWebservices Website"
Description="The CWS website content"
Level="1">
* <ComponentGroupRef Id="MyWebIssConfiguration" />*
<ComponentGroupRef Id="CoreWebservices" />
</Feature>
*<ComponentGroup Id="MyWebIssConfiguration">
<ComponentRef Id="MyWebVirtualDirCmp" />
<ComponentRef Id="MyWebAppPoolCmp" />
</ComponentGroup>*
/***********************************************/
<Fragment>
<?include ConfigurationInitialize.wxi ?>
<iis:WebSite Id="CoreWebservicesV3" Description='CoreWebservicesV3'
Directory='INSTALLLOCATION' >
<iis:WebAddress Id="AllUnassigned" Port="80" />
</iis:WebSite>
<DirectoryRef Id="INSTALLLOCATION">
<Component Id="MyWebAppPoolCmp" Guid="" KeyPath="yes">
<util:User Id="MyWebAppPoolUser"
CreateUser="no"
Name="[IDENTITY_NAME]"
Password="[IDENTITY_PWD]"
RemoveOnUninstall="yes"
Domain="[IDENTITY_DOMAIN]" />
<iis:WebAppPool Id="CWSWebAppPool"
Name="CoreWebservicesV3"
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="CoreWebservicesV3"
Directory="INSTALLLOCATION" WebSite="CoreWebservicesV3" >
<iis:WebDirProperties Id="MyWebVirtDirProperties" AnonymousAccess="no"
BasicAuthentication="no" WindowsAuthentication="yes" />
<iis:WebApplication Id="MyWebWebApplication" Name="CoreWebservicesV3" />
</iis:WebVirtualDir>
</Component>
</DirectoryRef>
Thanks in Advance
Chatra
--
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-tp7586215.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users