Wednesday, 5 December 2012

Uninstalling program using C#.

Solutions:          using System.Diagnostics; // use name space                     
             Process process = new Process();
             process.Start("msiexec /x {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}");     
 where xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx represents GUID of that application that you want to uninstall.
 



 

No comments:

Post a Comment