Silent Quest A+ Locked Browser Installation
If you need to deploy the Locked Browser to many Windows computers, first make sure you've obtained the Lab Edition of Locked Browser from one of our contacts.
The key to deploying an InstallShield installer is the creation of an installation settings (.iss) file which is then passed to subsequent installation targets. For example:
Install once with:
This will generate the file
c:\windows\setup.iss. You can specify your own file name and location with the
/f1flag. For example:
QuestAPlus.exe /r /f1"C:\Users\John.Doe\Desktop\mysetup.iss"
- Copy both the .iss file and the installer .exe into a network-accessible folder.
Create a batch file with the following contents:
pushd \\unc\path\to\installer\folder QuestAPlus.exe /s /SMS /f1"%CD%\setup.iss" /f2"%TEMP%\setup.log" /v"/qn" popd
- Deploy the batch file and arrange for it to be executed by the system.
Pushd will dynamically assign a drive letter to the UNC path that you specify and will change the current directory to the path, making QuestAPlus.exe and setup.iss easily accessible.
Then the installer will be called. The flags tell it to follow the specific settings from the file provided in /f1 (%CD% is the current directory), to do so silently (/s), and to wait until the installer completes (/SMS) before passing control back to the batch file.
When the installer receives the /s flag, it outputs its progress to a setup.log file that we are redirecting here to the TEMP folder with the /f2 flag. If you decide to adjust this location, make sure it's set to a writeable folder, or the installation will simply fail.
Finally popd will disconnect the dynamic drive letter mapped by pushd and return to the previous directory.
Silently Uninstalling Locked Browser
When updating to a new version of Locked Browser, it is sometimes necessary to first uninstall the existing version. Automating this process is very similar to the one above: first record a manual uninstall, then use the generated .iss file to perform uninstalls in other machines.
Uninstall once with:
QuestAPlus.exe /r -removeonly /f1"c:\uninstall.iss"
Run a batch file like the one above, but add the
-removeonlyflag and the correct name for your
QuestAPlus.exe /s /SMS -removeonly /f1"%CD%\uninstall.iss" /f2"TEMP%\setup.log"
If you have any questions please contact us.