开发者

How can I get the data about uninstall of a program?

开发者 https://www.devze.com 2023-01-12 10:03 出处:网络
How can I get the data about uninstall of a program? this is my code: private void uninstallSoftware()

How can I get the data about uninstall of a program? this is my code:

private void uninstallSoftware() 
{ 
  Process p = new Process(); 
  p.StartInfo.FileName = "msiexec.exe"; 
  p.StartInfo.Arguments = "/x \"??????\"/qn"; 
  p.Start(); 

}

For example: I want to uninstall a Lan driver, the program currently displays in programs and features list.

How can I uninstall it fro开发者_如何转开发m c# code?

0

精彩评论

暂无评论...
验证码 换一张
取 消