jinyuttt

导航

我的卸载托管c++

建立窗体项目。

在load事件中加入代码:

 String ^sysroot = System::Environment::SystemDirectory;
     System::Diagnostics::Process::Start(sysroot + "\\msiexec.exe", "/x {41F5C4F1-F1AF-463B-8D9E-360B49887B23} /qr");
     this->Close();

posted on 2010-09-04 22:27  代码苦行僧  阅读(393)  评论(0编辑  收藏  举报