Silent Install - /S - http://www.sbulletsupport.com/index.php?topic=83.0
When ranger is installed silently no dialog is shown to the user.
So you could embed the ranger installer within your own script, extract it and run it from your install script. To run the Ranger install silently you simply need to tack on a "/S" as a command line parameter when running the executable. For example: C:\RangerInstaller.exe /S. The command line parameter is case sensitive, so you will need to make sure that it is an upper case S.
Set Installation Folder - /D=C:\ - http://www.sbulletsupport.com/index.php?topic=267.0
In order to specify a destination directory when running the installer in silent mode, the /D switch should be used as follows:
[installer].exe /S /D=C:\Program Files\[directory]
Additional information about the NSIS command line parametershttp://nsis.sourceforge.net/Docs/Chapter3.html