摘要:
1、使用installutil.exe部署windows service (注意权限,这里需要用Administrator用户去部署,否则会提示一些错误信息:比如An exception occurred during the Install phase.System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. 或者 access is denied) runas /user 阅读全文