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

Reply via email to