110,568
社区成员
发帖
与我相关
我的任务
分享
string path = System.Environment.SystemDirectory + "\\msiexec.exe";
if (System.IO.File.Exists(path))
{
System.Diagnostics.Process.Start(path, "/x {70F8CF7D-7BDC-467C-93D8-29A54F8B8037}");
}
//70F8CF7D-7BDC-467C-93D8-29A54F8B8037修改成你要卸载项目的 产品ID(安装项目的ProductCode)