摘要: 设置serviceProcessInstaller1控件的Account属性为“LocalSystem”设置serviceInstaller1控件的StartType属性为"Automatic"在服务器上添加安装程序,在private void ProjectInstaller_AfterInstall(object sender, InstallEventArgs e)事件中,添加以下代码:Process p = new Process();p.StartInfo.FileName = "cmd.exe";p.StartInfo.UseShellExe 阅读全文
posted @ 2011-06-13 17:35 Yaoquan.Luo 阅读(1248) 评论(0) 推荐(0)