windows服务为何没有出现???
我用C#建了一个windows服务,然后用installutil.exe安装并提示成功,但我在服务及应用程序终就是找不到这个服务。而我又可以卸载成功。
那位可以帮帮忙吗??不甚感激!!!
安装时提示信息如下:
E:\temp\WinSevice\WinSericeZQJ\bin\Debug>installutil.exe winservicezqj.exe
Microsoft (R) .NET Framework Installation utility Version 1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the e:\temp\winsevice\winsericezqj\bin\debu
g\winservicezqj.exe assembly's progress.
The file is located at e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.In
stallLog.
Installing assembly 'e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe'
.
Affected parameters are:
assemblypath = e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe
logfile = e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe assembly.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the e:\temp\winsevice\winsericezqj\bin\debu
g\winservicezqj.exe assembly's progress.
The file is located at e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.In
stallLog.
Committing assembly 'e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe'
.
Affected parameters are:
assemblypath = e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe
logfile = e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe assembly.
Remove InstallState file because there are no installers.
The Commit phase completed successfully.
The transacted install has completed.
卸载提示信息如下:
E:\temp\WinSevice\WinSericeZQJ\bin\Debug>installutil.exe /u winservicezqj.exe
Microsoft (R) .NET Framework Installation utility Version 1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
The uninstall is beginning.
See the contents of the log file for the e:\temp\winsevice\winsericezqj\bin\debu
g\winservicezqj.exe assembly's progress.
The file is located at e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.In
stallLog.
Uninstalling assembly 'e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.ex
e'.
Affected parameters are:
assemblypath = e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe
logfile = e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the e:\temp\winsevice\winsericezqj\bin\debug\winservicezqj.exe assembly.
The uninstall has completed.