Dear All
I use the following code to create a WebApplication in IIS and assign it to a
specific Application Pool.
<iis:WebAppPool Id="AppPool_Wcf" Name="$(var.WCF_APP_POOL)" />
<iis:WebSite Id="Web_site" Description="$(var.WEB_SITE_DESCRIPTION)"
SiteId="[SITEID]">
<iis:WebAddress Id="Web_Address" Port="*"/>
</iis:WebSite>
<DirectoryRef Id="TARGETDIR">
<Directory Id="SITEPATH">
<Directory Id="WCF_VIRT_DIR"
Name="$(var.WCF_VIRT_DIR)">
<Component Id="IIS_Wcf"
Guid="$(var.deploy.wcf.guid)" KeyPath="yes">
<iis:WebVirtualDir Id="Wcf_VirtualDir" Alias="$(var.WCF_VIRT_DIR)"
WebSite="Web_site" Directory="WCF_VIRT_DIR">
<iis:WebApplication Id="Wcf_Application" Name="$(var.WCF_VIRT_DIR)"
WebAppPool="AppPool_Wcf" />
</iis:WebVirtualDir>
</Component>
</Directory>
</Directory>
</DirectoryRef>
App Pool should already exist, as it's shared with some other applications.
If it doesn't exist, setup succeeds, assigning Web Application to a mysterious
<Invalid Application Pool> (can be seen in web app Properties).
The application even works!
How can I make installation fail if App Pool is not found?
Regards,
Ivan Boyko
Software Build Manager
UK, Staines, Riverside House, Ground Floor, North.
Phone: +44 1753 488-108
- Need help from SCM team? Raise a
tracker<blocked::http://s280r2:8011/mwiki/index.php/How_To_Raise_a_Tracker>
_____________________________________________________________________
The information contained in or attached to this email is intended only for the
use of the individual or entity to which it is addressed. If you are not the
intended recipient, or a person responsible for delivering it to the intended
recipient, you are not authorised to and must not disclose, copy, distribute,
or retain this message or any part of it. It may contain information which is
confidential and/or covered by legal professional or other privilege (or other
rules or laws with similar effect in jurisdictions outside England and Wales).
The views expressed in this email are not necessarily the views of Centrica
plc, and the company, its directors, officers or employees make no
representation or accept any liability for its accuracy or completeness unless
expressly stated to the contrary.
British Gas Trading Limited (company no: 03078711) British Gas Services Limited
(company no: 3141243) and Centrica Energy (Trading) Limited (company no:
02877397), are all wholly owned subsidiaries of Centrica PLC (company no:
3033654). Each company is registered in England and Wales with a registered
office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
British Gas Services Limited (BGS) and Centrica Energy (Trading) Limited are
both authorised and regulated by the Financial Services Authority (FSA
registration numbers are 490568 and 232514, respectively). BGS is authorised
and regulated by the FSA for insurance mediation services. British Gas Trading
Limited is an appointed representative of BGS for insurance mediation services
(FSA registration number: 439467).
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users