The advantage of a silent install is that you can do it remotely. Follow the steps below:
Or you can browse to the file. The path is typically:
C:\Program Files\Milestone\XProtect Management Server\IIS\httpdocs\Admin\Recording Server Installer\[version number] [bit-version]\All Languages\en-US
To run a silent installation using the default values for all parameters, start a command prompt (cmd.exe) in the directory where the installation program is located and perform following command:
MilestoneXProtectRecordingServerInstaller_x64.exe --quiet
For example, to change the path to Management Server of the installation, run:
MilestoneXProtectRecordingServerInstaller_x64.exe --quiet --parameters=SERVERHOSTNAME:DKWS-OKR-02
These are the parameters that you may use through command line parameters:
RECORDERNAME – name of the recorder that will appear in Management Client.
--quiet --parameters=RECORDERNAME:NewRecorderName
ISFAILOVER – set this flag to True
--quiet --parameters=ISFAILOVER:True
SERVERHOSTNAME – hostname of the Management Server where Recording Server will connect to
SERVERPORT – port of the Management Server (80 by default)
--quiet --parameters=SERVERHOSTNAME:DKWS-OKR-02
RECUSERACCOUNT – flag that determines if user account is used or one of the predefined accounts
RECSERVICEACCOUNT – name of the used user or predefined service account
MilestoneXProtectRecordingServerInstaller_x64.exe --generateargsfile=C:\temp
In the specified location you will find .xml file with the parameters. So you would need to change parameters in this file and run your installation with the newly modified file.
INSTALLDIR - path where Recording Server should be installed to
TARGETDIR – should be the same as INSTALLDIR
INSTALLLOCATION – should be the same as INSTALLDIR
MEDIADBPATH – path to the Media database with all recordings
E.g. modifications in my Argements_.xml were. My new location of the installation will be %ProgramFiles(x86)%\Milestone\ and new location for recordings is C:\MD
<KeyValueParametersOfStringString>
<Value>%ProgramFiles(x86)%\Milestone\bla</Value>
<Key>INSTALLDIR</Key>
</KeyValueParametersOfStringString>
<KeyValueParametersOfStringString>
<Value>%ProgramFiles(x86)%\Milestone\bla</Value>
<Key>TARGETDIR</Key>
</KeyValueParametersOfStringString>
<KeyValueParametersOfStringString>
<Value>%ProgramFiles(x86)%\Milestone\bla</Value>
<Key>INSTALLLOCATION</Key>
</KeyValueParametersOfStringString>
<KeyValueParametersOfStringString>
<Value>C:\MD</Value>
<Key>MEDIADBPATH</Key>
</KeyValueParametersOfStringString>
Run the:
MilestoneXProtectRecordingServerInstaller_x64.exe --quiet --arguments=C:\temp\Arguments_.xml
Troubleshooting
Where can I find the log files of the installation?
The log files of the installation are located under C:\ProgramData\Milestone\Installer\
How do I see a list of default parameters that will be used during a Single Computer installation?
To see a list of parameters with all default values you can run MilestoneXProtectRecordingServerInstaller_x64.exe --generateargsfile=C:\temp
It will generate a file called Arguments.xml in the specified folder.
How do I see the parameters that were used during my customized installation?
The full list of parameters used to run the installation are in C:\ProgramData\Milestone\Installer\Milestone XProtect Recording Server (64_bit)I.log + search for ‘Command line’
How do I see a full list of possible parameters?
Run MilestoneXProtectRecordingServerInstaller_x64.exe --help
© 2018 Milestone Systems A/S