3

I have two projects wpf and window service. I have created setup for wpf project. I want to install window service withing wpf project setup i.e once user install wpf project, window service will install automatically. Is it possible.

Please suggest.

Thanks

Tarlok
  • 171
  • 2
  • 11
  • Your installer should install both WPF application and windows service. – Suresh Jun 26 '18 at 22:58
  • You could use either use InstallUtil.exe or InstallShield to install a Windows Service: https://learn.microsoft.com/en-us/dotnet/framework/windows-services/how-to-install-and-uninstall-services – mm8 Jun 27 '18 at 12:40
  • As I understand InstallUtil.exe is command line utility for installing window service and InstallShield is used for making installer. But I want to install window service within my wpf project. Something like adding InstallUtil.exe in prerequisite, but don't know how to add. – Tarlok Jun 27 '18 at 16:50
  • 2
    Hello @Tarlok, did you find the answer to your question? if yes, then please share as I am also facing the same issue. – Manoj Pathak Feb 24 '19 at 17:11
  • @Tarlok Please share the solution if you found one. – Adil Malik Apr 01 '21 at 14:42

0 Answers0