I want to uninstall a program using a C# code. I can simply do it by using msiexec.exe
but in order to use it, I need to have the GUID of the program I want to uninstall. If the only thing I've got of this program is it's name then how can I find it's GUID?
Asked
Active
Viewed 194 times
0

CodeMonkey
- 11,196
- 30
- 112
- 203
-
http://stackoverflow.com/questions/450027/uninstalling-an-msi-file-from-the-command-line-without-using-msiexec – Andreas Jun 17 '13 at 08:36
1 Answers
0
You can't do that reliably, you would need more information - applications can have the same 'name'.
Use an installer/uninstaller that is the package of the program.

Grant Thomas
- 44,454
- 10
- 85
- 129