Installing with SAPinst on Windows
This procedure tells you how to run SAPinst to install TREX on Windows.
● You are logged on as user with the required rights and privileges that authorize you to install the SAPinst tool and the SAP system. For more information, see Granting User Rights for the Installation.
● Each SAP instance requires a separate installation directory.

We recommend that you keep all installation directories until the system is completely and correctly installed.
■ ABAP: You need at least 50 MB of free space in the installation directory for each ABAP installation service. In addition, you need 60-200 MB free space for the SAPinst executables.
■ Java: You need at least 130 MB of free space in the installation directory for each Java installation service. In addition, you need 60-200 MB free space for the SAPinst executables.
■ ABAP+Java: You need at least 50 MB of free space in the installation directory for each ABAP installation service, and at least 130 MB of free space in the installation directory for each Java installation service. In addition, you need 60-200 MB free space for the SAPinst executables.
■ If you are installing a second or subsequent SAP system on an existing database, make sure that the database is up and running before starting the installation.
...
1. Log on to the installation host as a user with administrator rights.

Do not use any <sapsid>adm user for installing TREX. This means, do not use the <sapsid>admuser of another SAP System and do not use the <sapsid>adm user of an already existing TREX installation for installing TREX.
2. Start SAPinst for installing TREX.
You can start SAPInst and install TREX in the following way:
○ Start SAPinst from the Installation Master DVD.
You start SAPinst from the Installation Master DVD and install TREX thereafter using the CD containing the TREX installation files that will be part of the SAP NetWeaver delivery.
i. Insert the SAP Installation Master DVD with the installation files in your DVD drive or mount it locally.
ii. Double click sapinst.exe from <DVD_DRIVE>:\IM_WINDOWS_<platform>.
○ Start SAPinst and install TREX by software package.
You install TREX using the TREX software package that can be downloaded from SAP Service Marketplace. (For details see Installing TREX and Downloading TREX).
...
i. Change to the directory <TREX_DOWNLOAD>/ ims_sapinst_standalone_trex/<OS_DIR>, which has been created by SAPCAR.
ii. Start SAPinst from the directory <TREX_DOWNLOAD>/ ims_sapinst_standalone_trex/ <OS_DIR> by double clicking sapinst.exe.
SAPinst GUI normally starts automatically by displaying the Welcome screen. However, if there is only one component to install, SAPinst directly displays the first input dialog without the Welcome screen.

During the installation, the default ports 21200 and 21212 are used for communication between SAPinst, GUI server, and SAPinst GUI. SAPinst uses port 21200 to communicate with the GUI server. The GUI server uses port 21212 to communicate with SAPinst GUI. You get an error message if one of these ports is already in use by another service.
In this case, you must execute sapinst using the following parameters: SAPINST_DIALOG_PORT=<free_port_number_sapinst_gui_to_gui_server> GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to_sapinst_gui>.
For a list of all available SAPinst properties, enter the following command: sapinst -p.
3. In the screen Welcome to SAP Installation Master, choose the respective path.
The respective paths and necessary input parameters are listed in the section Installing TREX.
4. If SAPinst prompts you to log off from your system, log off and log on again.
5. Follow the instructions in the SAPinst input dialogs and enter the required parameters.

To find more information about each parameter during the input phase of the installation, position the cursor on the field of the respective parameter and choose F1.
6. After you have entered all required input parameters, SAPinst starts the installation and displays the installation progress during the processing phase. When the installation was successful, the screen Finished installation is displayed.

We recommend that you to delete all files in the directory <user_home>/.sdtgui/.
If errors occur during the installation, see Troubleshooting during the installation.