Is there any switch for silent uninstallation? like we do /s
while installing. I tried the same with uninst,exe but didn't work.
Is there any switch for silent uninstallation?
Asked Answered
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.
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.
/SD
in the uninstaller would do. Can you shed some light on that, please? Update: I just found out that/SD
is forMessageBox
, not for the call of the uninstaller. Sorry for not reading better. – Urge