[en] NiceLabel installs using the InstallAware. This allows you to use some command-line switches that control the functionalities of your installations.
[en] For example, you can use the switches for the silent install. In this case, the installation runs in the background, and no dialog boxes are displayed. You can also enable logging of the installation process.
Nota
-
[en] For NiceLabel 2019, rename executables from NiceLabel10*.exe into NiceLabel2019.exe.
-
[en] For NiceLabel 2017, rename executables from NiceLabel10*.exe into NiceLabel2017.exe.
-
[en] Silent install
[en] The installation executes in the background without any dialog box displayed and with default settings.
NiceLabel10_PowerForms.exe /s
-
[en] Silent uninstall
[en] The uninstall executes in the background.
NiceLabel10_PowerForms.exe /s MODIFY=FALSE REMOVE=TRUE UNINSTALL=YES
-
[en] Logging the installation process
[en] To enable logging of .MSI installer, add the name of the log file after the /l parameter.
[en] To enable NiceLabel's internal logging, create an empty file with the name lblinstall.log in %temp% folder of the user, who performs the installation. This type of logging also works for Web Client.
[en] You can enable both logs.
NiceLabel10_PowerForms.exe /l="C:\InstallLog.txt"
NiceLabel10_PowerForms.exe /l
NiceLabel10_PowerForms.exe /l /l="C:\InstallLog.txt"
-
[en] Install location
[en] The target folder, where NiceLabel will be installed into.
NiceLabel10_PowerForms.exe TARGETDIR="c:\MyFolder"
-
[en] Install desktop icons
[en] Switch that controls the appearance of the desktop icons.
NiceLabel10_PowerForms.exe ICONDESKTOP=FALSE
-
[en] Installation of specific modules
[en] You can choose to install the Desktop Designer module, Print (Runtime) module, and Automation module.
-
[en] Note: if you disable Print (Runtime) module, you must also disable Desktop Designer module.
NiceLabel10_PowerForms.exe DESIGNER=FALSE RUNTIME=FALSE AUTOMATION=TRUE
-
[en] Define your license key
[en] When you provide the license key in the command line, NiceLabel doesn't prompt you during installation. The license key also determines the modules for installation. For example, installing Designer Pro doesn't install the Automation module (as it is not available in the Designer Pro product).
NiceLabel10_PowerForms.exe LICENSECODE=12345abcde12345abcde12345
-
[en] Running Automation Service under a user account
[en] You can provide the user name of the system under which the Automation service will run.
NiceLabel10_PowerForms.exe SERVICEUSER=domain\username SERVICEPASSWORD=password
-
[en] Running Automation Sevice under the Local System account
[en] Note: To have access to network shared resources, it is best practice to run Automation Service under real user account.
NiceLabel10_PowerForms.exe USERSYSTEMACCOUNT=TRUE
-
[en] The language selected for user interface strings in installer and application.
[en] The available languages are Chinese (PRC), Chinese (Taiwan), Croatian, Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hungarian, Italian, Japanese, Korean, Lithuanian, Norwegian, Polish, Portuguese (Brazil), Russian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian.
NiceLabel10_PowerForms.exe "LANGUAGE=Chinese (PRC)" NiceLabelWebClientSetup.exe LANGUAGE=French
-
[en] Changing product suffixes to the installer file name.
[en] You can add other suffixes to configure the installation process.
[en] You can add the ID of the product: "_Express" or "_Pro" to install modules belonging to the specific product. For example, you want to install the Desktop Designer and Runtime modules, but not the Automation.
NiceLabel10_Express.exe NiceLabel10_Pro.exe
-
[en] Adding partner's UID number in the installer file name.
[en] Digital marketing and OEM distributions use UID numbers to include the partner's logo in NiceLabel products.
[en] You can combine UID with other suffixes in the file name, but UID must be the last parameter in form of "_99999". Write UID as 5-digit number.
NiceLabel10_PowerForms_99999.exe
[en] Use the following Control Center switches for silent installation:
-
[en] Skip checking of IIS prerequisites.
[en] If you are sure all required IIS features are available in IIS, you can use this switch to disable checking:
NiceLabelControlCenter10.exe SKIPREQUIREMENTS
-
[en] Choose database server.
NiceLabelControlCenter10.exe SELECTEDSERVER=serverName\instanceName
-
[en] Choose database name.
[en] The default database name is NiceAn.
NiceLabelControlCenter10.exe DATABASENAME=NiceAN
-
[en] Change WebDAV settings.
[en] The default Web site name is EPMWebDav.
[en] The default port number is 8080.
NiceLabelControlCenter10.exe WEBDAVSITENAME=siteName WEBDAVSITEPORT=portNumber
-
[en] Change archiving setting.
[en] The default setting of old print history records is for monthly archiving.
NiceLabelControlCenter10.exe ARHMONTLY=TRUE ARHWEEKLY=FALSE ARHDAILY=FALSE
-
[en] Choosing the user name and password for the SQL admin user that can create Control Center's database on MS SQL server destination.
[en] You can use an SQL user account or you can use a Windows user account.
NiceLabelControlCenter10.exe SQLUSER=sq SQLPASSWORD=password
NiceLabelControlCenter10.exe NETDOMAIN=domainName NETUSERNAME=userName NETPASSWORD=password
-
[en] Choosing custom Windows and .NET folder.
[en] Usually, you do not need to change these settings.
NiceLabelControlCenter10.exe WINDIR=c:\Windows DOTNETFOLDER=C:\Windows\Microsoft.NET\Framework\v4.0.30319 DOTNETFOLDERX64=C:\Windows\Microsoft.NET\Framework64\v4.0.30319
[en] The following command-line switches are available:
-
[en] SELECTEDSERVER: The MS SQL server where Control Center database is installed.
-
[en] DATABASENAME: The name of the Control Center database (default: NiceAn)
-
[en] SQLUSER: The MS SQL user account to connect to the database
-
[en] SQLPASSWORD: The password for the MS SQL user
NiceLabelWebPrinting10.exe SELECTEDSERVER=server\sqlexpress DATABASENAME=NiceAN SQLUSER=sa SQLPASSWORD=password
[en] The following command-line switches are available:
-
[en] ALLUSERSINSTALL: Web Client installs for all users on the computer. For example, you need this switch for the Citrix environment, where you publish the Web Client for all users.
-
[en] TARGETDIR: The folder name, where your files install (optional).
NiceLabelWebClientSetup.exe ALLUSERSINSTALL TARGETDIR="C:\Program Files\NiceLabel Web Client"