Deploying Little Green Button to the computers in your organisation need not necessarily require a physical visit to each workstation. Systems administrators use technologies such as Microsoft System Center Configuration Manager (SCCM), Group Policy Objects (GPO), Windows Sysinternals or an equivalent to remotely distribute software to large groups of computers around their business enterprise. If you plan to remotely distribute Little Green Button using such a technology then you may find the following tips useful.
The setup and deployment media for Little Green Button is available from the downloads page either as a .exe or as a .msi file. The .exe file performs the same installation functions as the .msi but first checks that two dependencies are installed, namely
If either of these dependencies are missing the user is prompted to download and install them before proceeding.
For remote deployment it is recommended that you ensure that these dependencies are already installed on the target workstations by some means. Once this has been accomplished, deploy Little Green Button using the .msi file.
In common with all Windows Installer files, installation of Little Green Button on a target computer using the .msi file can be controlled by command line parameters. Refer to Windows Installer’s Command-Line Options.
The first time that Little Green Button is run on the target workstation it will prompt the user for a licence activation key. However, this can be avoided by allowing the installation media to install a licence file in parallel with the software installation. To do this place a licence.dat file in the same folder as the installation media, as shown here:
When the Windows Installer file is executed, it will detect licence.dat and copy it to the correct folder on the target workstation.
Note: To find your licence.dat file. Shift-right click an activated Little Green Button and choose Find In Explorer > Application Data.
PsExec is a free utility that allows an administrator to execute processes on other systems, without having to install client software on the remote computer.
c:\PSTools\psexec \\REMOTENAME -u "DOMAIN\Username" -p "PASSWORD" cmd /c "msiexec.exe /i "\\SERVERNAME\lgbsetup-3.2.14128.msi" /quiet /forcerestart"
to the drive and folder where you unpacked PSTools.zip,
to the name of the target computer where LGB is to be installed,
to the domain name and username of an account on the target computer (must be an administrator account),
to the selected account’s password,
to the location on the network where the installation media can be found.
Tip: The instructions above demonstrate how to install on a single remote computer. However, PsExec accepts a @file parameter which directs it to run the specified process on each computer name listed in a text file. Use this feature to install Little Green Button on multiple workstations.
Tip: This method has been proven when installing LGB on remote computers running Windows XP. Getting PSExec to remotely connect to Windows 7 is certainly possible but extra consideration must be given to finding the correct user account on both the local and remote computers. Unfortunately, that’s beyond the scope of this article but there is plenty of help at the sysinternals forum
Windows Installer can generate a log file which can assist when diagnosing problems with the installation. By default, no log is created. To instruct Windows Installer to log the installation, include the
/lv* [logfilename] parameters on the command line, e.g.
msiexec /i lgbsetup-3.2.14128.msi /lv* “c:\setuplog.txt”
Additionally, during installation, Little Green Button logs the progress of custom actions to a text file named lgb3CustomActions.txt in the user’s temp folder, as shown below: