It could be a services dependency - you'd see that in the services applet.
Make sure that there isn't something in the ServiceControl table even if it's just spaces that might not show. I've noticed that spaces can affect this kind of thing. It might literally be trying to stop a service that's one blank space in the table. Phil W -----Original Message----- From: Richard Martin [mailto:rsmart8...@gmail.com] Sent: Tuesday, February 07, 2012 9:37 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Odd Service Stop Error I have an installer that stops three services, but get an error: MSI (s) (90:44) [12:11:17:558]: Executing op: ActionStart(Name=StopServices,Description=Stopping services,Template=Service: [1]) Action 12:11:17: StopServices. Stopping services MSI (s) (90:44) [12:11:17:558]: Executing op: ProgressTotal(Total=4,Type=1,ByteEquivalent=1300000) MSI (s) (90:44) [12:11:17:558]: Executing op: ServiceControl(,Name=GGUpstreamProcessor,Action=2,Wait=1,) StopServices: Service: SMS|GlobalGuest Upstream Processor MSI (s) (90:44) [12:11:18:574]: Executing op: ServiceControl(,Name=PsmsGrmcLegacyReader,Action=2,Wait=1,) MSI (s) (90:44) [12:11:18:574]: Executing op: ServiceControl(,Name=PsmsGGLegacyReader,Action=2,Wait=1,) MSI (s) (90:44) [12:11:18:574]: Executing op: ServiceControl(,,Action=2,Wait=1,) StopServices: Service: Error 1921. Service '' () could not be stopped. Verify that you have sufficient privileges to stop system services. The three services I want to stop are listed in the log as the first three ServiceControl ops above, but it looks like a fourth was thrown in for free. I have looked at the ServiceControl table in Orcas and there are only the three rows I expect to see. Can anyone give me a clue what I should look for to track down this fourth ServiceControl op? Thanks! Rick Martin <Component Id="C.U.LegacyEventReaderService" Guid="{73579CDF-DAC9-4814-9306-584D33768825}"> <File Id = "F.U.LegacyEventReaderService" Source = "$(var.PSMS.CRMBridge.LegacyEventReaderService.TargetPath)" Vital = "yes" Checksum = "yes" KeyPath = "yes" /> <ServiceInstall Id="S.LegacyEventReaderService" Name="!(loc.UpstreamServiceId)" DisplayName="!(loc.UpstreamServiceName)" Type="ownProcess" Start="auto" ErrorControl="normal" Description="!(loc.UpstreamServiceDescription)" Account="[SERVICEACCOUNT]" Password="[SERVICEPASSWORD]" Vital="yes" > <ServiceDependency Id="Netman"/> </ServiceInstall> <ServiceControl Id="S.Stop.LegacyEventReaderService" Name="!(loc.UpstreamServiceId)" Stop="both" Wait="yes" Remove="both" /> <ServiceControl Id="S.Stop.OldLegacyEventReaderService" Name="!(loc.UpstreamServiceOldId1)" Stop="both" Wait="yes" Remove="both" /> <ServiceControl Id="S.Stop.Old2LegacyEventReaderService" Name="!(loc.UpstreamServiceOldId2)" Stop="both" Wait="yes" Remove="both" /> </Component> ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users