Security Center Installation and Upgrade Guide 5.9.1.0: Date: 2020-06-10
Security Center Installation and Upgrade Guide 5.9.1.0: Date: 2020-06-10
Date: 2020-06-10
https://techdocs.genetec.com
Contact Us | Privacy Policy | Terms of Use © 2013-2020 Genetec Inc.
1. Automating Security Center installation
1.1. Silent installation in Security Center
1.2. Preparing to perform a silent installation
1.3. Silent installation options for Security Center
1.4. Security Center options
1.5. Sample Security Center Server installation commands
1.6. Sample Security Center Client installation commands
1.7. Uninstalling Security Center 5.9 in silent mode
1 | Automating Security Center installation
1.1 | Silent installation in Security Center
A silent installation is an automated way of installing software without user intervention. The silent installation is run from the command line using the Security Center setup.exe executable, and Windows Installer
commands.
You can customize the following options from the command line:
• Installation language
• Application language
• Client or Server installation path
• Client or Server features to install
• Server username and password for running the services
• Server and database name
Limitations
Take note of the following limitations before performing a silent installation:
• You cannot update your license in silent mode. You’ll need to run the Server Admin application after installing Security Center to activate the license.
• A command line is limited to a maximum of 850 characters.
Tip: One way to shorten the command line length is to reduce the installation path length. This can be achieved by copying the installation files onto a local drive.
• You cannot use mapped drives in your path specifications.
• You cannot install WinPcap (utility for capturing diagnostic data) in silent mode.
Procedure
1. Install the Security Center prerequisites.
Security Center installer automatically verifies and installs the software prerequisites on your system. This might cause your system to restart. Therefore, it is best practice to manually install the software
prerequisites before launching the silent installer.
2. Apply the latest Windows updates.
3. If you specify a different Windows user than the default (Local System) to run the services, then that user must be created before you begin the installation process.
The user must be a member of the Administrators group and must have the Log on as service user privilege.
Browse
Installing SQL Server on a separate drive
where:
<setup_exe>
This is the setup program for the Security Center Installer. You can either use the standalone version ( "Security Center Setup.exe" found in the SC Packages folder) or the web version (
SecurityCenterWebSetup.exe).
Do not use the setup.exe in the root folder of the installation package. It is an AutoRun-enabled version of the standalone installer, and does not accept command line arguments.
<setup_options>
These are the setup options. They all start with a forward slash (/) and are case sensitive.
<SecurityCenter_options>
These are the Security Center options. They are all written in capital letters.
/ISInstallDir Specifies the root folder where the product subfolder (Genetec Security Center 5.9) will be created.
EXAMPLES:
• /ISInstallDir=C:\MyFolder
• /ISInstallDir="D:\Program Files\MyFolder"
NOTE: In the second example, the ( ") are required because the value contains spaces. If not specified, the default is <ProgramFiles>, where
<ProgramFiles> is either %PROGRAMFILES% or %PROGRAMFILES(X86)%, depending on the version of your operating system.
• Server (Genetec™ Server with or without Directory, depends on the SERVER_TYPE installer option)
• Client (Security Desk and Config Tool)
• SecurityDesk (only Security Desk)
• ConfigTool (only Config Tool)
• CompPacks,CompPack4x[,CompPack4x] (Omnicast™ compatibility packs, you must specify at least one of CompPack46, CompPack47, or
CompPack48)
EXAMPLES:
• /ISFeatureInstall=Server,Client (DEFAULT)
• /ISFeatureInstall=Client,CompPacks,CompPack48
Setup option Description
/silent Sets the Security Center setup.exe program to run in silent mode with no user interaction.
/debuglog<FilePath> Enables the creation of the installation log file and specifies the file path.
NOTE: The folder path specified in <FilePath> must exist. The setup program will not create it.
EXAMPLE: /debuglog"C:\LogFiles\Install.log"
/log<FolderPath> Enables the creation of the log files and specifies the folder path.
NOTE: The <FolderPath> must exist. The setup program will not create it.
EXAMPLE: /log"C:\LogFiles\"
/language: Sets the language used by the installation program. Immediately precedes the four-digit language code. No space is allowed.
EXAMPLES
<option>=<value_list>
where <option> is an option name and <value_list> is a list of comma separated values.
No space is allowed on either side of the equal sign (=). If the value list must contain spaces, the entire value list must be included between a pair
of double quotes preceded by a backslash (\").
Browse
Security Center options
The following table lists the Installer options for Security Center. All Security Center options are written in capital letters. Unlike the setup options, none of them are preceded with a forward slash (/). All options names are
case sensitive.
IMPORTANT: All servers on the system share the same password. Therefore, for the installation of both main and expansion servers, only use the option MAINSERVER_PASSWORD to specify the password.
ACTIVATIONCODE This is the activation code required to allow System Availability Monitor Agent (SAMA) to collect system data.
AGREETOLICENSE Indicate that you agree with our software license agreement.
IMPORTANT: The only accepted value is Yes. If omitted, the installation will fail.
EXAMPLE: AGREETOLICENSE=Yes
COLLECTPOLICY Configure the data collection policy for our Product Improvement Program. The possible values are:
IMPORTANT: This option is mandatory if you are installing the main server on a clean machine. If omitted, the installation will fail.
You can also use this option to change the existing data collection setting if you are upgrading the main server. It is ignored if you are installing an
expansion server or a client workstation.
EXAMPLE: COLLECTPOLICY=Anonymous
CREATE_FIREWALL_RULES Add the installed Security Center applications to the Windows Firewall exceptions list. Possible values are 0 or 1.
EXAMPLE: CREATE_FIREWALL_RULES=1
DATABASE_AUTOBACKUP Back up the Directory database after the software upgrade, but before the database upgrade. Configuration Files are also backed up in the same
destination folder as the database. Possible values are 0 or 1. When this option is omitted, the default value is 1 if the last backup is more than one
day old. The default backup folder is C:\SecurityCenterBackup on the SQL Server machine.
EXAMPLE: DATABASE_AUTOBACKUP=0
DATABASE_SERVER Same as GLOBAL_SERVER option. This parameter maintains backward compatibility with previous silent installation scripts.
DEACTIVBASIC This is a Boolean value that specifies whether basic camera authentication should be deactivated.
EXAMPLE: DEACTIVBASIC=0
GLOBAL_SERVER Specify the database server name for all roles installed by default. When omitted, the default value is (local)\SQLEXPRESS.
Security Center option Description
EXAMPLE: GLOBAL_SERVER=BLADE32\SQLServerEnterprise
LANGUAGECHOSEN Language used by Security Center. The possible code values are:
• Arabic - 1025
• Chinese (Simplified) - 2052
• Chinese (Traditional) - 1028
• Czech - 1029
• Dutch - 1043
• English - 1033
• French - 3084
• German - 1031
• Hebrew - 1037
• Hungarian - 1038
• Italian - 1040
• Japanese - 1041
• Korean - 1042
• Norwegian - 1044
• Persian - 1065
• Polish - 1045
• Brazilian Portuguese - 2070
• Russian - 1049
• Spanish - 1034
• Swedish - 1053
• Thai - 1054
• Turkish - 1055
• Vietnamese - 1066
EXAMPLE: LANGUAGECHOSEN=3084
If the code is invalid, English will be used. If this option is omitted, the installation language (specified with the /language: setup option) will be
used.
MAINSERVER_ENDPOINT Used for expansion server installation. Specify the name or IP address of the main server.
EXAMPLE: MAINSERVER_ENDPOINT=MYMAINSERVER
EXAMPLE: MAINSERVER_PASSWORD=ServerPwd-123
PRODUCT_UPDATES Turn the automatic check for software updates ON or OFF. Possible values are:
SAMA_COLLECTPOLICY Configure the data collection policy applied by the SAMA. The possible values are:
• On: SAMA will collect data with system information (requires ACTIVATIONCODE).
• Anonymous: SAMA will collect anonymous data (DEFAULT)
• Off: SAMA will not collect data.
SECURE_COMMUNICATION This is a Boolean value that specifies whether secure communication (Directory authentication) should be enforced.
EXAMPLE: SECURE_COMMUNICATION=1
SERVER_TYPE Specify whether to install a main or an expansion server. The possible values are:
SERVERADMIN_PORT Specify the HTTP port for the web-based Server Admin.
EXAMPLE: SERVERADMIN_PORT=8080
EXAMPLE: SERVICEPASSWORD=anypassword
User and password need to be created first with the right credentials before using those properties. If not specified, the default is blank.
EXAMPLE: SERVICEUSERNAME=.\admin
SKIPSERVICESTART
Security Center option Description
Use this option to prevent the Security Center services from starting immediately after the installation (default behavior). You can use this option, if
for example, you need to install hotfixes right after the full installation. If you use this option, don’t forget to start the Security Center services (NET
START GenetecServer and NET START GenetecWatchdog) after the hotfix installation.
EXAMPLE: SKIPSERVICESTART=Y
SQL_INSTANCE_NAME This option must be specified when SQLSERVER_GROUP is set to NewServer. It specifies name of the SQL Server instance you want to create
on your local machine.
IMPORTANT: Do not add the server name to the instance name.
EXAMPLES:
• WRONG: SQL_INSTANCE_NAME=(local)\SQLEXPRESS2
• CORRECT: SQL_INSTANCE_NAME=SQLEXPRESS2
SQLSERVER_GROUP Specify if a new or an existing SQL server is silently installed. The possible values are:
• ExistingServer (DEFAULT)
• NewServer (must be used with SQL_INSTANCE_NAME)
UPGRADE_DATABASE Specify that the Directory database should be automatically upgraded. If no database exists, this option is ignored. Possible values are Y or N.
When this option is omitted, the default value is Y.
EXAMPLE: UPGRADE_DATABASE=N
WEBSERVER_PORT Specify the HTTP port for the web-based Server Admin.
Browse
Silent installation options for Security Center
Genetec™ Server with the Directory is installed in English with a specific Username and Password for the service to run under. The files are installed in C:\MyFolder. The log files are saved to C:\MyLogs. The database
server is specified. The data collection policy is set to ON. Setup runs in silent mode without any questions.
"Security Center Setup.exe" /silent /language:1033 /ISFeatureInstall=Server /ISInstallDir=C:\MyFolder /debuglog"C:\MyLogs\Intall.log" /log"C:\MyLogs" AGREETOLICENSE=Yes COLLECTPOLICY=On SERVICEUSERNAME=.\toto SERV
A standard installation of Genetec™ Server as the main server, without any questions. The data collection policy is set to anonymous. The installation path is C:\GENETEC_PATH.
"Security Center Setup.exe" /language:1033 /silent /ISInstallDir=c:\GENETEC_PATH /ISFeatureInstall=Server AGREETOLICENSE=Yes COLLECTPOLICY=Anonymous MAINSERVER_PASSWORD=ServerPwd-123
A standard installation of Genetec™ Server as an expansion server, without any questions. Only the installation path is different.
"Security Center Setup.exe" /language:1033 /silent /ISInstallDir=c:\GENETEC_PATH /ISFeatureInstall=Server AGREETOLICENSE=Yes SERVER_TYPE=Expansion MAINSERVER_PASSWORD=ServerPwd-123
A standard installation in French in silent mode, with the data collection policy set to OFF, without any questions.
A complete installation in English, with Omnicast™ compatibility packs 4.7 and 4.8, in silent mode without any questions. The default database server name, (local)\SQLExpress, is used for the Directory.
A complete installation in English, in silent mode, with the data collection policy set to anonymous, without any questions. This setup will create a log file located in C: drive.
"Security Center Setup.exe" /language:1033 /silent /ISFeatureInstall=Client,Server /log"C:\" /debuglog"C:\DebugLog.log" AGREETOLICENSE=Yes COLLECTPOLICY=Anonymous MAINSERVER_PASSWORD=ServerPwd-123
A complete installation in English, in silent mode without any questions. Security Center applications will use Arabic.
"Security Center Setup.exe" /language:1033 /silent /ISFeatureInstall=Client,Server AGREETOLICENSE=Yes COLLECTPOLICY=On LANGUAGECHOSEN=1025 MAINSERVER_PASSWORD=ServerPwd-123
Security Desk is installed in English, in silent mode without any questions. The log files are saved to C:\MyLogs.
"Security Center Setup.exe" /language:1033 /silent /ISInstallDir=c:\GENETEC_PATH /ISFeatureInstall=SecurityDesk /debuglog"C:\MyLogs\Intall.log" /log"C:\MyLogs" AGREETOLICENSE=Yes
Config Tool and Security Desk are installed in French, in silent mode without any questions.
Config Tool and Security Desk are installed in English, in silent mode without any questions.
A complete installation in English, with Omnicast™ compatibility pack 4.8, in silent mode without any questions.
A complete installation in English, in silent mode without any questions. Security Center applications will use Arabic.
Procedure
To uninstall Security Center (Client and Server components) in silent mode:
Run the following command from the SC Packages folder of the Security Center installation package: