True, the ServiceInstall element ( which becomes the ServiceInstall table 
)  doesn't actually do the work, it describes the work to be done by the 
underlying standard actions.

This is a subtle difference and I think it's an excellent opportunity to 
point out how the WiX documentation about be bettter.   IMO (and many 
others) the MSI SDK doco is a horrible read.   The WiX help topics that 
reference the MSI help topics could do a better job of helping to teach MSI 
(and therefore WiX)  by explaining that section of MSI in plain english and 
giving tips on the gotchas that can hurt you.   Right now there is often 
very little context of the attributes and remarks section.

----------------------------------------
 From: "Boyko, Ivan" <ivan.bo...@centrica.com>
Sent: Wednesday, July 18, 2012 8:02 AM
To: "WiX-users@lists.sourceforge.net" <WiX-users@lists.sourceforge.net>
Subject: [WiX-users] ServiceInstall does NOT remove service during 
uninstall

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


------------------------------------------------------------------------------
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

Reply via email to