Installing Control Center in silent mode

Problem

You want to automate the Control Center installation and run it from the command line.

Solution

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.

THE COMMAND LINE SWITCHES THAT Control Center SILENT INSTALL SUPPORTS

  • Change an MS SQL database instance

    SELECTEDSERVER=ServerName\instanceName

  • Change WebDAV settings to access the files inside the Document Storage

    WEBDAVSITENAME=siteName WEBDAVSITEPORT=portNumber

    Defaults: WEBDAVSITENAME=EPMWebDAV WEBDAVSITEPORT=8080

  • Change archive settings

    ARHMONTHLY=TRUE/FALSE ARHWEEKLY=TRUE/FALSE ARHDAILY=TRUE/FALSE

    Defaults: ARHMONTHLY=TRUE ARHWEEKLY=FALSE ARHDAILY=FALSE

  • Database username and password

    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.

    SQLUSER=sa SQLPASSWORD=saPassword

  • Database computer username and password

    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.

    NETDOMAIN=DomainName NETUSERNAME=Username NETPASSWORD=UserPassword

    Example: user who installed Control Center has user creation rights on the remote database server

    NiceLabel-Control Center6.exe /s SELECTEDSERVER=ServerName\InstanceName SQLUSER=sa SQLPASSWORD=saPassword

    Example: user installing Control Center does not have user creation rights on the remote database server

    NiceLabel-Control Center6.exe /s SELECTEDSERVER=ServerName\InstanceName SQLUSER=sa SQLPASSWORD=saPassword NETDOMAIN=domainName NETUSERNAME=Username NETPASSWORD=UserPassword

INSTALL DEBUG INFO

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.

To enable Control Center silent mode install logging:

  1. 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.

  2. If you run the silent install as a Local System account, create the empty text file epminstall.log in the folder c:\windows\temp.

  3. The Control Center installer checks if the file epminstall.log is present in the specified folders and will write debug info into it.

See also the NiceLabel Control Center Installation Guide.