c# 编写卸载程序

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Unistall
{
class Program
{
static void Main(string[] args)
{
string sysroot = System.Environment.SystemDirectory;
System.Diagnostics.Process.Start(sysroot + "\\msiexec.exe ", "/x {3CFAB8D9-58D2-4815-BFCF-19BE91740C18} /qr");
}
}
}

posted on 2012-10-25 09:58  chickenrun  阅读(1325)  评论(0编辑  收藏  举报

导航