In this article we will provide the IT administrator with detailed instructions on how to silently install qTest Explorer to multiple machines in an organization.
1. A Windows Server with Group Policy Management installed
2. For client machines
The latest qTest Explorer MSI installation package can be downloaded HERE. After downloading, make sure to copy the file to a network share folder that can be accessed by client machines that need qTest Explorer installed.
Step 1: Create installation script file
Open a text editor and create a new text file. Copy and pass the script below to the content of the file.
msiexec.exe /i "[\\path\to\MSI package]" ALLUSERS=1 /m MSISPQJA /qn /l*v "C:\explorer_install.log" APPLICATIONFOLDER="%PROGRAMFILES(X86)%\QASymphony\qTest eXplorer Integrated" LAUNCHAPPONEXIT=1 INSTALLDESKTOPSHORTCUT=1 ARPNOMODIFY=1
Note: make sure you change the [\\path\to\MSI package] portion of the script with the real UNC path to the downloaded MSI package
Below is an example of the script:
msiexec.exe /i "\\192.168.74.81\share\qTestExplorer.msi" ALLUSERS=1 /m MSISPQJA /qn /l*v "C:\explorer_install.log" APPLICATIONFOLDER="%PROGRAMFILES(X86)%\QASymphony\qTest eXplorer Integrated" LAUNCHAPPONEXIT=1 INSTALLDESKTOPSHORTCUT=1 ARPNOMODIFY=1
Save the script file and name it install.cmd. Make sure you put the file in a network share folder that can be access from client machines.
Step 2: Configure Startup script using Group Policy Management console
From Windows Server, open the 'Group Policy Management' console.
From the 'Group Policy Management' console, navigate to your domain, right click on the domain name and choose 'Create a GPO in this domain, and Link it here...' item from the pop-up menu.
The 'New GPO' dialog is now displayed. Enter eXplorerDeployment into the 'Name' text box and click 'OK.' This Group Policy Object will be created under the selected domain.
Right click on the new Group Policy Object named eXplorerDeployment and choose 'Edit...' from the context menu.
From the 'Group Policy Management Editor', browse to Computer Configuration > Policies > Windows Settings then select Scripts (Startup/Shutdown). On the right pane, right click on Startup item and choose Properties.
From the 'Startup Properties' window, click the 'Add...' button
From the 'Add a Script' dialog, click the 'Browse...' button, and select the file install.cmd created in Step 1. Make sure you change the file path portion to UNC, as shown in the example below, then click 'OK.'
Step 3: Verify
Start a client machine in your network and verify that eXplorer is installed after logging in to the system.