有很多程序的,所以如果我知道它的GUID值如何卸载使用msiexec.exe的从C# public void msi(string path)
{
//get msiexec.exe /X{GUID} from path
int slash = path.IndexOf(@"/");
//get the substring as /I{GUID}
我正在使用Win7 64位系统。我有一个32位程序通过exe安装程序安装在我的电脑上,即它不是由msi安装的。让我们说它的版本是1.0。这个程序文件夹有一个uninstall.exe文件,点击卸载这个程序。 现在我已经使用wise for windows installer 5.0为下一个版本2.0制作了msi包。现在,在msi安装这些文件之前,我想从msi本身调用我的系统上的uninstall.