C #: creating an installer that installs a WPF application (ClickOnce) and a Windows service

I currently have a VS solution with two projects: a WPF application and a Windows service.

Now I managed to get ClickOnce to work with installing my WPF application, but I also want to install the Windows Service (the one in the project) during this installation.

I found ways how to programmatically start a Windows service with C # code, but is there a way to include this in my ClickOnce installation (because I need to take advantage of ClickOnce for automatic updates, etc.)?

+3
source share
3 answers

, DDay Update , ClickOnce , , .

+2

ClickOnce? , Topshelf, MyService.exe/install ClickOnce.

0
source

Source: https://habr.com/ru/post/1706671/


All Articles