PDA

View Full Version : How to uninstall a software using msiexec.exe


Timex928
11-20-2006, 06:30 AM
Hi All,

To uninstall a software silently from the command prompt using msiexec.exe is done manually by giving the syntax as follows:
msiexecpath /qn /x "msipath"

How to handle this using Autoplay.....
I tried using Shell.Execute("AutoPlay\\Docs\\applications\\msn messenger\\MsnMsgs.msi", "open", "/qn /x", "", SW_SHOWNORMAL);
and File.Run()...but i couldnt resolve the problem...

Thanks,
Rajesh.