MSIEXEC Installer
The installer uses the program msiexec.exe to perform and install the VS deliveries. Installing VS in quiet mode by a console or a guided GUI is possible. The following three features, which can be installed separately or in any combination, are available:
- Video API Service
- Video API Proxy
- MediaPlayer
Location of Important Files
- Program files\Siemens\Video API: This is the default installation path. All features are selected by pressing the default button.
- %ProgramData%\Siemens\VideoApi: The log files of Video API are stored here.
- %USERPROFILE%\AppData\Local\Temp\MSI*.LOG: The installation logs are stored here.
- HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\VideoApi: The installer writes a registry entry with the current installed Video API version. The path to the key is stored here. The name of the key is the Version and the type of the value is: REG_SZ.
Running the MSI Installer as Local Administrator
The MSI installer package needs to be run with local administrator rights. Depending on OS type domain, administrators do not have local administrator rights by default.
- Open a terminal window.
- Enter the following command:
msiexec/i InstallVideoApi.msi
Enabling Logging while Installing the Video API
- The installer has been launched.
- Enter the following command:
msiexec /i InstallVideoApi.msi /l*v [path/to/file/]LogFile.txt
- Replace the value
[path/to/file]
with an existing path.
Recreating the API Token
The API will be unauthenticated until the command VideoApiService.exe generateapikey is performed. Every time this command is performed, a new token will be generated. This is the only time it will be made available. If the token is lost, you can repeat these steps.
- Open a terminal window as administrator.
- Navigate to the service installation directory. The default is C:\ProgramFiles\Siemens\Video API\Service.
- Enter the following command:
VideoApiService.exe -generateapikey.
- Write down the token.
- Restart the Video API Service to enable the API again.
- Copy the token and transfer it to Siveillance Control. For more information refer to: Creating the VMS Connection.