Having trouble uninstalling software with msiexec quietly
By David Jones •
I want to use msiexec to uninstall some programs without going through confimation boxes.
the problem is when I use this command
msiexec.exe /x "{product id}" /quietthen nothing happens and the program does not uninstall.
when I use
msiexec.exe /x "{product id}" /passiveI see the progress bar appears and disappears quickly but the program does not actually uninstall.
21 Answer
Are you trying to do this locally only or remotely?
Unless you are doing this in the power shell consolehost, you really should not need the quotes.
Yet, I'd use this command as a try as well...
msiexec /qn /x '{ProductId}'If you are doing this in one of the editors, then you need to sue the Start-Process cmdlet.
If it is remote, see this discussion.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"