摘要:
ServiceController 类详细介绍 //如果此服务存在 if (checkService()) { ServiceController sc = new ServiceController("mysql"); //mysql服务是否已启动,是,则停止 ... 阅读全文
摘要:
Process类详细介绍 1 //用msiexec.exe执行一个安装程序 2 string fileName = setupPath + "Installer.msi"; 3 Process p = new Process(); 4 p.StartInfo.FileName = "msiexec... 阅读全文