摘要: 问题:windows服务安装时,出错:System.ComponentModel.Win32Exception: 帐户名无效或不存在,解决:将serviceProcessInstaller1->Accout属性,设为:LocalSystem(默认是User)。运行:Installuitl程序名.exe,安装成功。卸载是Installuitl/u程序名.exe问题:如何不使用InstallUtil 安装 启动 停止 卸载 Windows服务?解决:用System.Configuration.Install.AssemblyInstaller类加载一个程序集,并运行其中的安装程序。 [C#] 阅读全文
posted @ 2012-04-02 21:33 scgw 阅读(502) 评论(0) 推荐(0) 编辑