1

My service is a .net core Dll so I need to register it with SCM (Service Control manager" as "C:\Program Files\dotnet\dotnet.exe {path to my dll}"

Is it possible to use external exe with ServiceInstall wix element?

Xavier John
  • 8,474
  • 3
  • 37
  • 51
  • Why do you need an external EXE when WiX provides built-in elements to install the service? It is much the point to have a standard solution for such things. – Stein Åsmul Dec 12 '18 at 01:38
  • 1
    Because one way to host a .net core service is to run.. "dotnet.exe service.dll". https://github.com/dotnet/cli/issues/10465 – Xavier John Dec 12 '18 at 02:52

1 Answers1

0

WiX Service Install Samples: Whilst waiting for you to update your question with more details, I will just lob you a couple of links to good and simple samples of installing services with WiX:

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164