Is there any switch for silent uninstallation?
Asked Answered
C

1

8

Is there any switch for silent uninstallation? like we do /s while installing. I tried the same with uninst,exe but didn't work.

Corrientes answered 20/1, 2012 at 19:9 Comment(0)
S
11

It is documented to work for the uninstaller also but it has to be uppercase (/S) and if you are calling the uninstaller from your installer to uninstall a older version you should also provide the special _?= uninstaller parameter. How silent it is depends on your code; a MessageBox without /SD will not be silent etc.

Stealthy answered 20/1, 2012 at 22:56 Comment(2)
Reading the documentation, I do not understand, what your mentioned /SD in the uninstaller would do. Can you shed some light on that, please? Update: I just found out that /SD is for MessageBox, not for the call of the uninstaller. Sorry for not reading better.Urge
From the MessageBox documentation: "Use the /SD parameter with one of the return_check values above to specify the option that will be used when the installer is silent." In other words, /SD means silent default. If it is left out, then the message box will still appear to ask the user for input.Anatomist

© 2022 - 2024 — McMap. All rights reserved.