Installing DevTest Solutions with a Silent Install

A silent installation allows for unattended installation and does not prompt you for any input. Use a silent installation when there are similar installations to be performed on more than one computer.
dts103
A silent installation allows for unattended installation and does not prompt you for any input. Use a silent installation when there are similar installations to be performed on more than one computer.
DevTest Solutions
uses install4j 6.0.3.
To perform a silent install on Windows:
  1. Consult the install4j documentation for detailed information about unattended installations.
  2. Consult the
    DevTest
    installation instructions for installation options to use in the
    response.varfile
    .
  3. Perform one of the following actions:
    • Install
      DevTest Solutions
      and locate the response file in
      LISA_HOME\.install4j\response.varfile
      . Store this file in a location where you can retrieve it later. The
      response.varfile
      is used during the silent install process when 
      DevTest
       is installed on another system.
    • Create a
      response.varfile
      , using the following example, and changing the values as necessary.
      If you do not specify the lisaDataDir in the response.varfile, we assume the data directory will be the same as the install directory.
  4. To initiate a silent installation, execute the following command (the example assumes a Windows system):
devtest_win_x86.exe –q –varfile response.varfile
To perform a silent install on Linux:
  1. Consult the install4j documentation for detailed information about unattended installations.
  2. Consult the ldt installation instructions for installation options to use in the
    response.varfile
    .
  3. Install
    DevTest
    manually on a Linux system. The following steps assume that the installer, demo server, and license file are located in
    /home/user123/DevTest
    and that
    DevTest
    is installed to
    /opt/CA/DevTest
    .
  4. Navigate to the
    /opt/CA/DevTest/.install4j
    folder and copy the response.varfile to a new virtual machine.
  5. On the new Linux virtual machine, navigate to
    /home/user123/DevTest
    . The response.varfile, devtest_linux_x64.sh, devtestlic.xml, and DevTestDemoServer.zip files will be in this directory. Also, the devtest_linux_x64.sh file must have executable permissions (chmod +x devtest_linux_x64.sh).
  6. Run the following command in the
    /home/user123/DevTest
    directory to install
    DevTest
    silently:
    ./devtest_linux_x64.sh -q -varfile response.varfile
To perform a silent install on OS x:
  1. Consult the install4j documentation for detailed information about unattended installations.
  2. Consult the ldt installation instructions for installation options to use in the 
    response.varfile
    .
  3. Install 
    DevTest
     manually on an OS X system. The following steps assume that the installer, demo server, and license file are located in 
    /Users/user123/DevTest
     and that 
    DevTest
     is installed to 
    /Applications/CA/DevTest
    .
  4. Navigate to the 
    /Applications/CA/DevTest/.install4j
     folder and copy the response.varfile to a new OS X machine.
  5. On the new OS X machine, navigate to 
    /Users/user123/DevTest
    . The response.varfile, devtest_osx_x64.dmg, devtestlic.xml, and DevTestDemoServer.zip files will be in this directory.
  6. Run the following commands in the
    /Users/user123/DevTest
    directory to install
    DevTest
     silently:
    hdiutil attach devtest_osx_x64.dmg
    /Volumes/DevTest/DevTest\ Solutions\ Installer.app/Contents/MacOS/JavaApplicationStub -q -varfile response.varfile
    hdiutil detach /Volumes/DevTest
Sample Response File (Windows)
# install4j response file for DevTest Solutions 10.2.3 (build 0.0.0.0)
autostartServices$Boolean=false
caAgreementChoice=2
createDesktopLinkAction$Boolean=true
installDemoServer=No
installEnterpriseDashboard=Yes
installServer=Yes
installServices$Boolean=true
installWorkstation=Yes
licenseXmlFile=C\:\\license\\devtestlic.xml
# If installing SERVER COMPONENTS, we strongly recommend that the lisaDataDir is BLANK or is the same as the install directory.
# If installing WORKSTATION ONLY, the lisaDataDir is used to define the data directory location. 
# When an administrator is installing WORKSTATION ONLY on behalf of another user, it is recommended to use %userprofile%\\DevTest or ~/DevTest. Note, the end user needs to have write permission for the data directory.
# Workstation data directory components: _local.properties, logging.properties, de-identify.xml, hotdeploy, library for customizations, projects with assets, example folders
lisaDataDir=
serviceAccount=system
serviceAccountName=S-1-5-18
serviceAccountPassword=
steAssociation$Boolean=true
stgAssociation$Boolean=true
sys.adminRights$Boolean=true
sys.component.15004$Boolean=false
sys.installationDir=C\:\\Program Files\\CA\\DevTest
sys.languageId=en
sys.programGroupAllUsers$Boolean=true
sys.programGroupDisabled$Boolean=false
sys.programGroupName=DevTest Solutions
tstAssociation$Boolean=true
vsiAssociation$Boolean=true
vsmAssociation$Boolean=true
Sample Response File (Linux)
# install4j response file for DevTest Solutions 10.2.3 (build 0.0.0.0)
caAgreementChoice=2
createDesktopLinkAction$Boolean=false
enterpriseDashboardServer=
ins