[WiX-users] Assigning WebApplication to non-existent WebAppPool doesn't fail installation, although should

2012-09-21 Thread Boyko, Ivan
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 
trackerblocked::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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ServiceInstall does NOT remove service during uninstall

2012-07-18 Thread Boyko, Ivan
Hi Guys

It seems like documentation for ServiceInstall is not correct:
http://wix.sourceforge.net/manual-wix3/wix_xsd_serviceinstall.htm

It says: 
Description
Adds and removes services for parent Component.


Actually it does NOT remove service during uninstall.
It is done by ServiceControl element (which creates DeleteServices action in 
InstallExecuteSequence).

Regards,
Ivan Boyko


_
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 Services Limited and Centrica Energy (Trading) Limited, both wholly 
owned subsidiaries of Centrica PLC, are authorised and regulated by the 
Financial Services Authority.

Registered office: Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD

Registered in England No 3141243.  

Centrica plc

Registered office: Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD

Registered in England and Wales No 3033654

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users