How can I silently install and uninstall Ranger software?

Started by wcoleman, May 21, 2008, 12:40:00 PM

Previous topic - Next topic

wcoleman

Silent Install

In order to install Ranger silently, you simply need to tack on a "/S" as a command line parameter when running the installer. The command line parameter is case sensitive, so you will need to make sure that it is an upper-case S.

C:\Program Files (x86)\Installers\RangerInstaller.exe /S

Silent Uninstall

To uninstall silently the same "/S" parameter is used.

  C:\Program Files\Silver Bullet Technology\Ranger\Scanner Plug-ins\Epson-CaptureOne\Uninstaller.exe /S
  ...Wait for uninstall to complete
  C:\Program Files\Silver Bullet Technology\Ranger\Ranger Uninstall.exe /S


Silent install that completes before returning

Please note, sometimes you may need to wait for the uninstall to complete before continuing. To force the uninstaller to wait just add _?=[path to uninstaller] to the command line. Please see example below.

"C:\Program Files\Silver Bullet Technology\Ranger\uninst_SmartSource Professional.exe" /S _?=C:\Program Files\Silver Bullet Technology\Ranger
...The folder that contains the uninstaller may need to be deleted manually after running the uninstaller.


Additional information about the NSIS command line parameters
http://nsis.sourceforge.net/Docs/Chapter3.html



Ranger® - The universal check scanner interface
Copyright © 2009 Silver Bullet Technology
www.sbullet.com



Erik Wesemann

Try using the command below to wait for the Ranger installer to complete before continuing in a script file (".bat").

start "Installing Ranger" /wait "[path to installer]\RangerFor[scanner type].exe" /S