I need to run the msiexec uninstall from my code:
MsiExec.exe /I{A52EEC0E-D0B7-4345-A0FF-574804C7B78A}
But this is asking for a confirmation (Yes/No). How can I avoid that?
msiexec /quiet
will avoid the userinteraction
You can use the /passive
switch to do this.
MsiExec.exe /I{A52EEC0E-D0B7-4345-A0FF-574804C7B78A} /passive
If you want to completely hide the UI, use the /quiet
switch instead of /passive
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With