Note: These command line install options are only available on Windows.
If you launch the Desktop client installer via command line, you can specify which features will be installed. The syntax for the command line options is:
msiexec -i /quiet <installer.msi> ADDLOCAL=Feature1,Feature2
where:
msiexec: The default Windows installer. It’s included by default in all Windows installations, and you can call it from any console command window.
/quiet: When this command line option is used, the installation is executed quietly (i.e. without any user interaction).
<installer.msi>: Placeholder representing the msi installer that you download when you choose to download SAFR Desktop. The actual msi installer will look something like this:
SAFRDesktop_win_1_8_442_10_18_19.msi
ADDLOCAL: Whichever features you add here will be installed during the Desktop client installation.
The command line options listed below control which features are turned on in the feature selection tree during installation.
Note: Only one VMS (Milestone, Genetec, GenetecFR, Digifort, or Avigilon) may be selected during installation. If more than one VMS is selected, an error is generated and the installation fails.
The default features are: VIRGO, no VMS, and no Ximea camera extension.
Defaults are cleared when any features are specified on the command line. If you set any features on the command line, then you must set all the features you want. In other words, even though VIRGO is enabled by default, you must still specify VIRGO on the command line if you specify any other features.
Examples:
Action | Sample Commands |
---|---|
Milestone VMS integration, VIRGO for Windows, quiet install | msiexec -i /quiet SAFRDesktop_win_1_8_442_10_18_19.msi ADDLOCAL=Milestone,VIRGO |
VIRGO for Windows without VMS | msiexec -i SAFRDesktop_win_1_8_442_10_18_19.msi |
Genetec VMS integration without VIRGO for Windows | msiexec -i SAFRDesktop_win_1_8_442_10_18_19.msi ADDLOCAL=Genetec |
You’re also able to configure the following properties:
SAFR_ENVIRONMENT
Updates the Argus.exe.config ‘Environment’ setting.
Typical environment values are:
Example:
msiexec -x installer.msi SAFR_ENVIRONMENT=PROD
SAFR_USERID
Updates the Argus.exe.config ‘UserId’ setting.
Example:
msiexec -x installer.msi SAFR_USERID=argusrn
SAFR_USERPASSWORD
Updates the Argus.exe.config ‘UserPassword’ setting.
Example:
msiexec -x installer.msi SAFR_USERPASSWORD=OpenSesame
SAFR_USERDIRECTORY
Updates the Argus.exe.config ‘UserDirectory’ setting.
Example:
msiexec -x installer.msi SAFR_USERDIRECTORY=main
REMOVEAPPLICATIONSETTINGS
Determines if the Desktop client’s setting folder is removed.
The default is to not remove the settings folder.
Application settings are stored in the C:\Users\user\AppData\Local\RealNetworks
folder.
Set this property to “1” to override the default behavior and delete the Local AppData folder during uninstall.
Example:
msiexec -x installer.msi REMOVEAPPLICATIONSETTINGS="1"
REMOVESAFRPLUGIN
Determines if the third party SAFRPlugin.dll is removed during uninstall.
The default is to not remove SAFRPlugin.dll
Set this property to “1” to override the default behavior and delete SAFRPlugin.dll during uninstall.
Example:
msiexec -x installer.msi REMOVESAFRPLUGIN="1"
To install logging, run the following command:
msiexec /i installer.msi /l*v installLog.txt
To uninstall logging, run the following command:
msiexec /x installer.msi /l*v uninstallLog.txt
For a list of error codes, see https://cloudywindows.io/windowsinstallererrorcodes/