1

I want to install a Windows Service. With installutil.exe it is running fine but with WIX it stands still at "starting service"

<Component Id="CMP_Service" Feature="Core">
        <File Source="$(var.Service.TargetPath)" KeyPath="yes"/>
        <ServiceInstall Id="Service"
                        Name="Service"
                        Description="..."
                        Start="auto"
          Account="[SERVICEACCOUNT]" 
          Password="[SERVICEPASSWORD]"
                        ErrorControl="normal"
                        Type="ownProcess"/>
        <ServiceControl Id="ServiceControllELS"
                        Name="Service"
                        Start="install"
                        Stop="both"
                        Remove="uninstall"
                        Wait="yes" />
      </Component>

I think it is installing the wrong service but don´t know. May someone help me?

phd
  • 82,685
  • 13
  • 120
  • 165
Felix Arnold
  • 839
  • 7
  • 35

0 Answers0