インストールしてデバッグする必要がある c# で記述されたカスタム Windows サービスがあります。私が使うとき
installutil "[path].exe"
コマンドラインからサービスを検索してみてください。インストールされているサービスのリストに表示されません。インストール ログ ファイルを見ると、次のように表示されます。
Installing assembly 'myservice'.
Affected parameters are:
logtoconsole =
assemblypath = mypath
logfile = mylogfile
Installing service MyService
Service MyService has been successfully installed.
Creating EventLog source MyService in log Application...
Committing assembly 'myservice'.
Affected parameters are:
logtoconsole =
assemblypath = myservice
logfile = pathtoinstalllog
Uninstalling assembly myservice
Affected parameters are:
logtoconsole =
assemblypath = myservice
logfile = pathtoinstalllog
Removing EventLog source myservice.
Service myservice is being removed from the system...
Service myservice was successfully removed from the system.
Uninstalling assembly myservice'.
Affected parameters are:
logtoconsole =
assemblypath = myservice
logfile = pathtoinstalllog
Removing EventLog source myservice.
Service myservice is being removed from the system...
Service myservice was successfully removed from the system.
(path、myservice、pathtoinstalllog などの名前は、会社固有のものです)
とにかく、ログファイルから、サービスがインストールされ、すぐにアンインストールされているように見えます...
さらにコードや情報が必要な場合は、お知らせください。事前に感謝します。