[en] You want to automate the Control Center installation and run it from the command line.
[en] NiceLabel software uses InstallAware software installer that supports command line parameters. With these parameters, you can control options like which database server to use, enable/disable archiving, define the database username, and similar.
[en] THE COMMAND LINE SWITCHES THAT Control Center SILENT INSTALL SUPPORTS
-
[en] Change an MS SQL database instance
[en] SELECTEDSERVER=ServerName\instanceName
-
[en] Change WebDAV settings to access the files inside the Document Storage
[en] WEBDAVSITENAME=siteName WEBDAVSITEPORT=portNumber
[en] Defaults: WEBDAVSITENAME=EPMWebDAV WEBDAVSITEPORT=8080
-
[en] Change archive settings
[en] ARHMONTHLY=TRUE/FALSE ARHWEEKLY=TRUE/FALSE ARHDAILY=TRUE/FALSE
[en] Defaults: ARHMONTHLY=TRUE ARHWEEKLY=FALSE ARHDAILY=FALSE
-
[en] Database username and password
[en] The database user (SQLUSER) must have database creation permissions on the selected MS SQL server. Use this parameter to specify the MS SQL user, when your Windows user that runs the installer, does not have database creation rights.
[en] SQLUSER=sa SQLPASSWORD=saPassword
-
[en] Database computer username and password
[en] The user (NETUSERNAME) must have Windows user creation rights on the selected MS SQL server. During the database installation on a remote MS SQL server, the installer creates a Windows user account. Use this parameter, if the Windows user that runs the installer, does not have permissions to create Windows user accounts on the remote MS SQL server.
[en] NETDOMAIN=DomainName NETUSERNAME=Username NETPASSWORD=UserPassword
[en] Example: user who installed Control Center has user creation rights on the remote database server
[en] NiceLabel-Control Center6.exe /s SELECTEDSERVER=ServerName\InstanceName SQLUSER=sa SQLPASSWORD=saPassword
[en] Example: user installing Control Center does not have user creation rights on the remote database server
[en] NiceLabel-Control Center6.exe /s SELECTEDSERVER=ServerName\InstanceName SQLUSER=sa SQLPASSWORD=saPassword NETDOMAIN=domainName NETUSERNAME=Username NETPASSWORD=UserPassword
[en] INSTALL DEBUG INFO
[en] For debugging the silent mode installation, enable the logging to a text file. There is no user interface or error messages informing you about problems during the silent install.
[en] To enable Control Center silent mode install logging:
-
[en] If you run the silent install as a Windows user, create the empty text file epminstall.log in your temporary folder. Open the Command Prompt and type in the command 'cd %temp%' to access your temporary folder.
-
[en] If you run the silent install as a Local System account, create the empty text file epminstall.log in the folder c:\windows\temp.
-
[en] The Control Center installer checks if the file epminstall.log is present in the specified folders and will write debug info into it.
[en] See also the NiceLabel Control Center Installation Guide.