JSI Tip 1446. How do I do a silent uninstall with SMS 2.0?

Jerold Schulman

July 5, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When a program is no longer advertised, you can do an uninstall, if the program was created with uninstall support. Unfortuneatley, this prompts the user to select between an Automatic or Custom uninstall.

To cause the uninstaller to not offer the prompt, edit the clients registry at:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall

Edit the UninstallString value, inserting a /S between the EXE and the install log.

Example: Change

"C:Program FilesJSITTARHUNINSTAL.EXE "C:Program FilesJSITTARHINSTALL.LOG""

                  to

"C:Program FilesJSITTARHUNINSTAL.EXE /S "C:Program FilesJSITTARHINSTALL.LOG""

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like