Управление установкой/удалением

1) installutil
C:\Windows\Microsoft.NET\Framework\<version>
installutil <ServiceFile>
installutil /u <ServiceFile>

2) sc
sc create "[YOUR SERVICE NAME]" binpath= "[PATH_TO_YOUR_SERVICE_EXE]" start= auto
sc delete "[YOUR SERVICE NAME]"

https://metanit.com/sharp/tutorial/21.1.php
https://metanit.com/sharp/tutorial/21.2.php

Теги:
Создал(а) Alexandr Fokin 2020/02/06 17:34