Install the MSI file from the command line
The first step in using the command line installation utility is to copy the MSI file to your CyberArk Trust Protection Foundation server, and run it using the following procedure.
To install Trust Protection Foundation using the command line
- Log in to the Windows server where you want to install Trust Protection Foundation.
- 
                                                                Locate and extract the Trust Protection Foundation zip file(s) to a staging directory. 
- Use a text editor to create a batch file (*.bat).
- 
                                                                Inside the batch file, add the following command: Echo Installing CyberArk Trust Protection Foundation msiexec /i "[Staging_Directory]\Product\CyberArkTrustProtectionFoundationInstall-25.3.x.msi" /q /n In the previous command, the xrepresents the "dot version." Refer to your download package and use the correct filename you downloaded.NOTE To enable logging during install, add /L*VXthen the path to the logging file. For example:msiexec /i "[Staging_Directory]\Product\CyberArkTrustProtectionFoundationInstall-25.3.x.msi"" /q /n /l*vx "[Full file path]\install.log" To specify a custom installation folder, use the INSTALLDIRswitch. For example:msiexec /i "[Staging_Directory]\Product\CyberArkTrustProtectionFoundationInstall-25.3.x.msi" /q /n INSTALLDIR="[e:\Program Files\CyberArk]" When scripting an unattended installation, if you also want to install Venafi Support Console (VSC), add the following flag: INSTALL_VSC=1. For example:msiexec /i "[Staging_Directory]\Product\CyberArkTrustProtectionFoundationInstall-25.3.x.msi" /q /n INSTALL_VSC=1 For more information on the switches you can use during installation see Microsoft's documentation on How to enable Windows Installer logging. 
In the next topic, you will add the necessary commands to configure the platform in your script.