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
- OS: Windows 7/8/10 with .NET Framework 4.6 installed
- RAM: at least 2GB
- Hard disk space: at least 500MB available
Step by step guide
MSI Installation Package
The latest qTest Explorer MSI installation package can be downloaded HERE. After downloading, copy the file to a network share folder that can be accessed by client machines that need qTest Explorer installed.
Setting up silent installation process
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 this file in a network share folder that can be accessed 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 'Startup Properties' window, click 'Add...' button
From 'Add a Script' dialog, click 'Browse...' button, and select the file install.cmd created in Step 1. Make sure you change 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.