Hi Greg,
I have used this wix element and currently have no issues. I had something similar problem when doing the development that one of the installations did not uninstall services correctly and the later uninstalls did not work correctly. Probably you could try your installation in new cleaner machine. My services is installing and uninstalling correctly and I do not have "Start="install" Stop="both"" mentioned in the wix ServiceControl element. One other reason could be that installer may not have administrative privilages to remove a service. Thanks -----Original Message----- From: Greg Edwards [mailto:gedwa...@polariswireless.com] Sent: 06 September 2013 14:33 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Service Uninstall not Removing Service I didn't receive any updates from the group on this. Are there issues with uninstalling a service? I see a number of postings on the web regarding this, but no real resolutions. One again, the uninstaller stops the service, removes the program from the installed programs list, but does not remove the service from the Services list. If you have any suggestions, I would like to hear them. Thanks again. -Greg -----Original Message----- From: Greg Edwards [mailto:gedwa...@polariswireless.com] Sent: Thursday, September 05, 2013 10:30 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Service Uninstall not Removing Service WIX Users, I have created a simple windows service installer with the following configuration: <Component Id="C__082DF38F8BE3C98E690ECA979BEBD98F" Guid="{980F0B9A-9F25-B729-7225-F24075392C80}"> <File Id="_082DF38F8BE3C98E690ECA979BEBD98F" Name="AltusService.exe" KeyPath="yes" ShortName="ALTUSC1.EXE" DiskId="1" Source="$(var.AltusService)\Service.exe" /> <ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes" Name="AltusService" DisplayName="Altus Service" Description="Altus Service" Start="auto" Account="LocalSystem" ErrorControl="ignore" Interactive="no" /> <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="AltusService" Wait="yes" /> </Component> It installs correctly and starts the service as expected. When I uninstall the service it stops it correctly, but it does not remove the service from the service list. Is there something that I am missing in my configuration that may be hindering the service from being removed? Thank you. -Greg ------------------------------------------------------------------------ ------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clk trk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clk trk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential or prohibited from disclosure or unauthorised use. You are hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message or its attachments other than by it's intended recipient is strictly prohibited by the sender. If you have received this email in error, please notify the system manager by email at ad...@ifdspercana.com Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, this email has been scanned for the presence of viruses. The recipient should also check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email ______________________________________________________________________________________ IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce Way, Park West Business Park, Dublin 12, Ireland. Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil (UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) IFDS Percana International Managed Services Limited, no. 368022, is regulated by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park West Business Park, Dublin 12, Ireland. IFDS Percana International Managed Services Limited is a wholly owned subsidiary of IFDS Percana Group Limited and provides support services to the life and pensions industry. Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul O'Neil (UK). www.ifdspercana.com ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users