To launch an unattended installation, the following environment variables need to be set:
Once these environment variables are set, you can launch the installer PlayServer.exe. It will then proceed with a silent, unattended installation mode. Note that the installer has to be launched in elevated / system mode (make sure you set the above environment variables in the same context as the elevated installer).
Custom server settings can be passed to the installer via the registry. These settings are optional; settings which are not defined are assigned default values.
Windows Registry Editor Version 5.00
The installer updates the numeric registry value "InstallStatus" with the installation progress. Upon success, it contains 10. String value "Warn" will contain any warnings issued during the installation. If the installation failed, string value "Err" will indicate the error message.
Values which were not defined prior to the installation and which were assigned by default will be written back to this same registry key.
Sample registry values after a successful installation:
The following illustrates an example of unattended installation script you can build for automating server setup. It has to be executed as elevated or local system:
Logs are written into the temporary directory into a file named RapInst.log. You can delete the log file after the installation.
You can view the installation's progress using a debug tracer; make sure to launch it in elevated mode too.