Installing OpenText SAST silently
A silent installation enables you to complete the installation without any user prompts. To install silently, you need to create an option file to provide the necessary information to the installer. Using the silent installation, you can replicate the installation parameters on multiple machines.
Do not install OpenText SAST in the same directory where OpenText™ Application Security Tools is installed.
When you install OpenText SAST silently, the installer does not download the Fortify Software Security Center by default. You can enable download of the Fortify security content in the options file or you can install the Fortify security content manually (see Manually Installing Fortify security content).
To install OpenText SAST silently:
- Create an options file.
-
Create a text file that contains the following line:
fortify_license_path=<license_file_location>
where <license_file_location> is the full path to your
fortify.licensefile. -
To use a LIM license server, add the following lines with your LIM license pool credentials to the options file:
lim_url=<lim_url>lim_pool_name=<license_pool_name>lim_pool_password=<license_pool_pwd>
-
To use a location for Fortify security content updates that is different than the default of
https://update.fortify.com, add the following line:update_server=<update_server_url>
-
If you require a proxy server for the Fortify security content download, add the following lines:
update_proxy_server=<proxy_server>update_proxy_port=<port_number>
-
To enable download of Fortify security content, add the following line:
update_security_content=1
-
Add more installation instructions, as needed, to the options file.
To obtain a list of installation options that you can add to your options file, open a command prompt, and then type the installer file name and the
--helpoption. This command displays each available command-line option preceded with a double dash and the available parameters enclosed in angle brackets. For example, if you want to see the progress of the install displayed at the command line, addunattendedmodeui=minimalto your options file.Notes:
-
The command-line options are case-sensitive.
-
The installation options are not the same on all supported operating systems. Run the installer with
--helpto see the options available for your operating system.
The following example Windows options file specifies the location of the license file, the location of a Fortify Software Security Center server and proxy information to obtain Fortify security content, a request to migrate from a previous release, and the location of the OpenText SAST installation directory:
fortify_license_path=C:\Users\admin\Desktop\fortify.license update_server=https://my_ssc_host:8080/ssc update_proxy_server=webproxy.abc.company.com update_proxy_port=8080 migrate_sca=1 install_dir=C:\Fortify
The following options file example is for Linux and macOS®:
fortify_license_path=/opt/Fortify/fortify.license update_server=https://my_ssc_host:8080/ssc update_proxy_server=webproxy.abc.company.com update_proxy_port=8080 migrate_sca=1 install_dir=/opt/Fortify
-
-
-
Save the options file.
-
Run the silent install command for your operating system.
You might need to run the command prompt as an administrator before you run the installer.
Windows OpenText_SAST_Fortify_windows-x64_<version>.exe --mode unattended --optionfile <full_path_to_options_file>Linux ./OpenText_SAST_Fortify_linux-x64_<version>.run --mode unattended --optionfile <full_path_to_options_file>or
./OpenText_SAST_Fortify_linux-arm64_<version>.run --mode unattended --optionfile <full_path_to_options_file>macOS® You must uncompress the ZIP file before you run the command.
OpenText_SAST_Fortify_osx-x64_<version>.app/Contents/MacOS/installbuilder.sh --mode unattended --optionfile <full_path_to_options_file>orOpenText_SAST_Fortify_osx-arm64_<version>.app/Contents/MacOS/installbuilder.sh --mode unattended --optionfile <full_path_to_options_file>AIX ./OpenText_SAST_Fortify_aix-ppc64_<version>.run --mode unattended --optionfile <full_path_to_options_file>
The installer creates an installer log file when the installation is complete. This log file is in the following location, which depends on your operating system.
| Windows | C:\Users\<username>\AppData\Local\Temp\OpenTextSASTFortify-<version>-install.log |
|---|---|
| Non‑Windows | /tmp/OpenTextSASTFortify-<version>-install.log |