Sorry some attachments did not get through.

Harvest transform files

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns:wix="http://schemas.microsoft.com/wix/2006/wi";>
        <xsl:output method="xml" encoding="UTF-8" indent="yes" />
        <xsl:template match="wix:Wix">
                <xsl:copy>
                        <xsl:apply-templates select="@*" />
                        <xsl:apply-templates />
                </xsl:copy>
        </xsl:template>
        <xsl:template match="wix:File[substring(@Source, string-length(@Source) 
- string-length('FlowCentric.EventManager.exe') + 1 , string-length(@Source)) = 
'FlowCentric.EventManager.exe']">
                <xsl:copy>
                        <xsl:apply-templates select="node()|@*"/>
                </xsl:copy>
                <ServiceInstall 
xmlns="http://schemas.microsoft.com/wix/2006/wi"; Id="EventManagerServiceInstall"
                                                Name="FlowCentric EventManager 
- [SERVICENAME]"
                                                DisplayName="FlowCentric 
EventManager - [SERVICENAME]"
                                                Type="ownProcess"
                                                Interactive="no"
                                                Start="auto"
                                                Vital="yes"
                                                ErrorControl="normal"
                                                Description="The FlowCentric 
EventManager allows you to schedule tasks on a daily, weekly, monthly or yearly 
basis. The task appears in the relevant users Action List in the FlowCentric 
Navigator at the scheduled intervals. The FlowCentric EventManager also allows 
you to start processes based on files that are placed in a specific designated 
folder."
                                                Account="[SERVICEACCOUNT]" 
Password="[SERVICEACCOUNTPASSWORD]"/>
                <ServiceControl 
xmlns="http://schemas.microsoft.com/wix/2006/wi"; Id="EventManagerServiceControl"
                                                Name="FlowCentric EventManager 
- [SERVICENAME]"
                                                Stop="both"
                                                Remove="uninstall"
                                                Wait="yes"></ServiceControl>
        </xsl:template>
        <xsl:template match="@*|node()">
                <xsl:copy>
                        <xsl:apply-templates select="@*|node()" />
                </xsl:copy>
        </xsl:template>
</xsl:stylesheet>


Heat output

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Fragment>
        <DirectoryRef Id="BINARIESINSTALLLOCATION">
            <Component Id="cmpDC5CEFA56FEBDA5ED247399E9E349E3F" Guid="*">
                <File Id="fil72FE1AFD2AC4E2EEDF877B5E6CD24588" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.Configuration.dll"
 />
            </Component>
            <Component Id="cmpEF3D7A5AC65A544EC0C630ACDE209C2A" Guid="*">
                <File Id="fil53E9DADEE5D766905766806AB1D03637" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.Configuration.pdb"
 />
            </Component>
            <Component Id="cmp62AD1D38441CB63662B40500F3BA3FAC" Guid="*">
                <File Id="fil709154CFCA7F3F8ACF6AC242D6FFC193" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.Configuration.xml"
 />
            </Component>
            <Component Id="cmpDF0C305F5DE3BC16DBDE0A5CB6F69D19" Guid="*">
                <File Id="filC230CE2B5FC0435069625E6E813735B9" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.exe" 
/><ServiceInstall Id="EventManagerServiceInstall" Name="FlowCentric 
EventManager - [SERVICENAME]" DisplayName="FlowCentric EventManager - 
[SERVICENAME]" Type="ownProcess" Interactive="no" Start="auto" 
ErrorControl="normal" Description="The FlowCentric EventManager allows you to 
schedule tasks on a daily, weekly, monthly or yearly basis. The task appears in 
the relevant users Action List in the FlowCentric Navigator at the scheduled 
intervals. The FlowCentric EventManager also allows you to start processes 
based on files that are placed in a specific designated folder." 
Account="[SERVICEACCOUNT]" Password="[SERVICEACCOUNTPASSWORD]" 
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"; /><ServiceControl 
Id="EventManagerServiceControl" Name="FlowCentric EventManager - [SERVICENAME]" 
Stop="both" Remove="uninstall" Wait="yes" 
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"; />
            </Component>
            <Component Id="cmp7673C4A91CE07827683A210C87D86E54" Guid="*">
                <File Id="filDEA5E2724094079EE8CC457900386B3D" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.exe.CodeAnalysisLog.xml"
 />
            </Component>
            <Component Id="cmpB6C8F82C73E777FD62249DE7BF351902" Guid="*">
                <File Id="filA0B6FF96E809D4F1F1B9C56EC63CEEAB" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.exe.config" />
            </Component>
            <Component Id="cmpA516A596004C93A32219B5A783643E92" Guid="*">
                <File Id="filEC95D15EAAAFEDBC61B0B75642D716D8" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.exe.lastcodeanalysissucceeded"
 />
            </Component>
            <Component Id="cmpD24004DD6B2CCFF5EED9034C65AC286D" Guid="*">
                <File Id="fil593D2008FE79FF6088D5B7F0E18C8849" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.EventManager.pdb" />
            </Component>
            <Component Id="cmp484FCED8CB0C842381749E9CEE338952" Guid="*">
                <File Id="fil2A61EA6DED16E90EDE4E263DBF1CFEB7" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.Tools.Common.dll" />
            </Component>
            <Component Id="cmp513A9018EF535F3DA9154A118FD66F4E" Guid="*">
                <File Id="fil3597E6491EA7C1C82E5DD9068094CC80" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.Tools.Common.pdb" />
            </Component>
            <Component Id="cmpEC9E15199608107253B04FD8D473E32A" Guid="*">
                <File Id="fil56C605AFEAE5C63A816B0BAB7C546072" KeyPath="yes" 
Source="$(var.BinariesBuildOutputPath)\FlowCentric.Tools.Common.xml" />
            </Component>
        </DirectoryRef>
    </Fragment>
    <Fragment>
        <ComponentGroup Id="BinariesComponentGroup">
            <ComponentRef Id="cmpDC5CEFA56FEBDA5ED247399E9E349E3F" />
            <ComponentRef Id="cmpEF3D7A5AC65A544EC0C630ACDE209C2A" />
            <ComponentRef Id="cmp62AD1D38441CB63662B40500F3BA3FAC" />
            <ComponentRef Id="cmpDF0C305F5DE3BC16DBDE0A5CB6F69D19" />
            <ComponentRef Id="cmp7673C4A91CE07827683A210C87D86E54" />
            <ComponentRef Id="cmpB6C8F82C73E777FD62249DE7BF351902" />
            <ComponentRef Id="cmpA516A596004C93A32219B5A783643E92" />
            <ComponentRef Id="cmpD24004DD6B2CCFF5EED9034C65AC286D" />
            <ComponentRef Id="cmp484FCED8CB0C842381749E9CEE338952" />
            <ComponentRef Id="cmp513A9018EF535F3DA9154A118FD66F4E" />
            <ComponentRef Id="cmpEC9E15199608107253B04FD8D473E32A" />
        </ComponentGroup>
    </Fragment>
</Wix>


Thanks

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.





-----Original Message-----
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: Tuesday, August 21, 2012 10:32 AM
To: General discussion for Windows Installer XML toolset.; chr...@iswix.com
Subject: Re: [WiX-users] ServiceInstall does NOT remove service during uninstall

Hi guys,

I'm trying to install a windows service.

 The installer files are being collected via heat. Although the service 
installs perfectly, it's not removed again upon uninstall.

I went through the log file but cannot pin point anything to be wrong can you 
guys please point me to an answer.

I've attached the log files and the heat generated output.


Thank you.

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.




-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Wednesday, July 18, 2012 4:04 PM
To: chr...@iswix.com; General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ServiceInstall does NOT remove service during uninstall

Please file a documentation bug. Improvements always welcome.

On Wed, Jul 18, 2012 at 6:20 AM, Christopher Painter <chr...@iswix.com>wrote:

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



--
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
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