Installing with SAPinst
This following sections tell you how to run SAPinst to install TREX on the released platforms.
It describes an installation where SAPinst GUI and SAPinst server are running on the same host. If you want to perform a remote installation, that is, SAPinst GUI is running on another host, see Starting SAPinst on the Remote Host (Optional).
Note the following about SAPinst:
● When you start SAPinst, SAPinst GUI and the GUI server also start. SAPinst GUI connects via a secure SSL connection to the GUI server and the GUI server connects to SAPinst.
● SAPinst normally creates the installation directory sapinst_instdir where it keeps its log files, and which is located directly below the Program Files directory. If SAPinst is not able to create sapinst_instdir directly below the Program Files directory, SAPinst tries to create sapinst_instdir in the directory defined by the environment variable TEMP.
● Windows: SAPinst creates a subdirectory for each installation service, named <sapinst_instdir>\<installation_service> which is located below %ProgramFiles%\sapinst_instdir. The exact name of the subdirectory depends on the installation service chosen by you.
● UNIX: SAPinst normally creates the installation directory sapinst_instdir directly below the temporary directory. SAPinst finds the temporary directory by checking the value of the environment variables TEMP, TMP, or TMPDIR. If no value is set for these variables, SAPinst uses /tmp as default installation directory.
● The SAPinst Self-Extractor extracts the executables to a temporary directory (TEMP, TMP, TMPDIR, or SystemRoot). These executables are deleted after SAPinst has stopped running.
● Directories with the name sapinst_exe.xxxxxx.xxxx sometimes remain in the temporary directory. You can safely delete them.
● In the temporary directory you can also find the SAPinst Self-Extractor log file dev_selfex.out, which might be useful if an error occurs.

If SAPinst cannot find a temporary directory, the installation terminates with the error FCO-00058.
● Windows: If you want to terminate SAPinst and the SAPinst Self-Extractor, do one of the following:
○ Right-click the icon for the SAPinst output window located in the Windows tray and choose Exit.
○ Click the icon for the SAPinst output window located in the Windows tray and choose File à Exit.
● UNIX: If required, you can terminate SAPinst and the SAPinst Self-Extractor by pressing Ctrl+C.

Before you start the installation with the command sapinst make sure that all moint-points (UNIX) or network drives (Windows) are accessible. If this does not work you may have to temporarily unmount the unaccessible mount points or mapped network drives.
You now can start the installation with SAPinst: