建立窗体项目。
在load事件中加入代码:
String ^sysroot = System::Environment::SystemDirectory; System::Diagnostics::Process::Start(sysroot + "\\msiexec.exe", "/x {41F5C4F1-F1AF-463B-8D9E-360B49887B23} /qr"); this->Close();