目前还没有官方翻译。

[en] Installing Web Printing site

[en] Web Printing Site is the Web application to which the Web users log in and get their assigned solution from. See section Deployment for details about the usual installation scenarios and which server should be used to host this application.

注意

[en] You must be logged on the server with administrative rights to be able to perform the software installation.

[en] To install the Web Printing site, do the following:

  1. [en] The Web Printing site will connect to the Control Center database using SQL user authentication. Before you begin with the installation, make sure that you know the user name and password for the SQL user with sufficient privileges for the Control Center database.

  2. [en] To ensure a complete installation, close all open applications before you start.

  3. [en] Download the software package or insert the NiceLabel DVD in your DVD-ROM drive. Web Printing application installation checks the installation package content.

    注意

    [en] If the installation wizard doesn't start automatically, go to the main directory on the DVD and double-click the NiceLabelWebPrinting10.exe file.

    WPIG10_Insallation_Wizard.png

    [en] Before the actual installation starts, the wizard verifies if the following prerequisite components are installed on the server:

    • [en] Microsoft IIS

    • [en] Microsoft .NET Framework 4.5

    [en] If the .NET component is not present on your system, it will be installed automatically before the wizard continues.

  4. [en] Select installation language from the drop-down list and click OK.

    Setup Language Selection.png
  5. [en] Follow the setup wizard prompts.

  6. [en] Define the IIS settings for the Web Printing site and define how the users will access the page:

    • [en] It can be installed as virtual directory below the default web site, and the virtual folder name can be configured. For example, the site can be accessible at http://<server>/PowerFormsWeb.

    • [en] It can be installed as a new web site. Be careful when providing the port number. You can only use ports that are not in use by any other service on this computer. For example, the site can be accessible as http://<server>:81/PowerFormsWeb if you have defined the port 81.

    • [en] You can also define the host header values, so your site responds with a friendly name. For example, if you define a friendly name ‘mypowerformswebserver’ and define the host header value for Web Printing site, it will also respond at the address http://mypowerformswebserver.

      提示

      [en] See NiceLabel Knowledge Base article for more information on how to set up friendly names.

      注意

      [en] You can install the Web Printing site as a new site (1st level), or as a virtual directory within the selected Web site (2nd level). You cannot install it in the 3rd level.

    • [en] Activate HTTPS support if you wish to establish a secure client–server connection. This option automatically sets the port number to 443.

      注意

      [en] HTTPS site binding and X.509 (SSL) certificate must be manually added to the selected site in IIS manager. Details are available in this section.

    WPIG10_Activating_HTTPS.png

    [en] Click Next.

  7. [en] When the Web Printing site setup is completed, you can leave the Run Web Printing site check box selected. Click the Finish button and the Login page for Web Printing site will open in a browser.

[en] Installing Web Printing site with HTTPS/SSL support

[en] Typically, the Web Printing site will be accessed by an external Web printing user. The users will not connect from an internal (trusted) network, but from the Internet.

[en] Because the data exchanged online can contain confidential information, not just user names and passwords for login, but also company-confidential information, it is vitally important to protect the data flow. Web Printing site supports SSL data encryption and it can be accessed over the HTTPS protocol.

[en] During the Web Printing site's installation, you can define the virtual directory and virtual site where the site will respond to requests. However, just normal non-protected configuration can be set up during the installation.

[en] To enable SSL support in Windows Server 2012 R2, do the following:

注意

[en] Take similar steps if you have other supported Windows Server operating system.

  1. [en] Create a Certificate Signing Request (CSR) and order the certificate from a certificate provider. Complete further steps after receiving the SSL certificate.

  2. [en] Open the .zip file containing your certificate. Save the file named your_domain_name.cer to the desktop of the web server you are securing.

  3. [en] Open the IIS manager.

  4. [en] Click the server name in IIS connections field (left side of the window).

  5. [en] Double-click Server Certificates in the IIS group of the central field of the window.

    IIS Manager Server Certificates.png
  6. [en] Click Complete Certificate Request... in the Actions field on the right side of the window.

    Complete Certification Request.png
  7. [en] Browse to certificate file (.cer). Define a nter a friendly name. The friendly name is not part of the certificate itself, but is used by the server administrator to easily distinguish the certificate. Choose to place the new certificate in the Personal certificate store.

    Complete Certification Request Personal.png
  8. [en] Click OK to install the certificate to the server.

  9. [en] Once the SSL Certificate has been installed on the server, assign the certificate to the appropriate website using IIS.

  10. [en] Select the name of the server to which the certificate was installed in the IIS connections field.

    Default Web Site Bindings.png
  11. [en] In the Site Bindings window click Add.... The Add Site Binding window opens.

  12. [en] Select https under Type. The IP address should be the IP address of the site or All Unassigned, and the port over which traffic will be secured by SSL is usually 443.

    Demo Certificate.png
  13. [en] Click OK.

    [en] Your SSL certificate has been installed.

    SSL Installed.png
  14. [en] Open Windows Explorer (or any other file manager).

  15. [en] Go to the NiceLabel Web Printing site folder. By default, the folder is located at:

    [en] c:\Program Files\NiceLabel\NiceLabel Web Printing\Web\

  16. [en] Create a backup of existing file web.config, or rename it. You want to keep the original file just in case you want to revert to original configuration.

  17. [en] If you haven't enabled HTTPS support during the installation, then uncomment a line in the web.config file to enable HTTPS protocol:

    [en] <!--<security mode="Transport" />-->

[en] Install command-line parameters

[en] NiceLabel installer can be controlled using command-line parameters.

注意

[en] Make sure to use the upper-case syntax exactly as shown. Most of the parameters are used without the leading slash, there are two exceptions: /s (for silent install) and /l (for logging).

[en] The following command-line switches can be used if you want to perform a silent installation. This is the installation mode when a user does not have to provide any information for the installation and no dialog boxes are shown to the user. But you have to provide all required information through these command-line switches.

注意

[en] The switches below work only when you use the silent install switch /s.

[en] Parameter

[en] Description

[en] /s

[en] Silent install. No dialog boxes are displayed. The installer executes in the background.

[en] /l="folder_and_file_name"

[en] Logging the installation process in the provided file name. Make sure the user account performing the installation has the access permissions to the folder.

[en] SELECTEDSERVER

[en] This switch defines the SQL Server name and optional instance.

[en] SELECTEDSERVER=ServerName\InstanceName

[en] DATABASENAME

[en] This switch defines the name of the database for Control Center.

[en] Default name: NiceAN

[en] SQLUSER/

[en] SQLPASSWORD

[en] These switches define the SQL user name and password to connect to Control Center database. The configured SQL user must already exist in the SQL Server and must have the necessary access to the Control Center database.

[en] SQLUSER=sa SQLPASSWORD=saPassword