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

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_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<Program name>

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

Example: Change

"C:\Program Files\JSITTARH\UNINSTAL.EXE "C:\Program Files\JSITTARH\INSTALL.LOG""

                  to

"C:\Program Files\JSITTARH\UNINSTAL.EXE /S "C:\Program Files\JSITTARH\INSTALL.LOG""

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish