摘要:
使用.Net编写好了WindowsService以后,不安装到系统里就没有任何作用。[添加Installer]在服务的设计器画面,属性页面里,选择[Add Installer]链接。如此便会生成两个新的组件,ServiceProcessInstaller和ServiceInstaller。ServiceProcessInstaller组件用来保持服务运行时的账户类型和凭证信息(LocalSystem,LocalUser,User等)。ServiceInstaller组件用来保持注册表(HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services)中服 阅读全文