[]
        
(Showing Draft Content)

Perform Silent Installation

A silent mode allows you to perform an installation where no user interaction is required. This method is useful when you perform repeated installations on different machines. In this section, you will learn how to use the command-line interpreter for performing a silent installation on Windows. You can also use arguments to customize the installation.

To Install Wyn Enterprise Silently

Follow these basic steps to install Wyn Enterprise silently on Windows.

  1. Download the latest version of Wyn Enterprise.

  2. Open the command-line interpreter.

  3. Navigate to the folder where the installer (.exe file) is available.

  4. Enter any of the following commands to silently install Wyn Enterprise on the system.

    WynEnterprise-x64-xxx.exe /quiet

    OR

    WynEnterprise-x64-xxx.exe /q

    Note: The command to upgrade Wyn Enterprise to the latest version is the same as above.

  5. Press Enter.

    The installation process starts. You should wait for a few minutes for the associated services, components, database, etc. of Wyn Enterprise to get properly installed on the system. A loading circle next to the mouse cursor is displayed to indicate that the installation process is running in the background.

    Once the installation is complete, Wyn Enterprise appears in the list of installed programs on the Control Panel. You can open the Wyn Enterprise portal, http://localhost:51980/, in your web browser, to get started. The default login credentials are:

    Username: admin

    Password: admin

Note:

• When installing updates on Windows Server 2008/2012, you need to restart the system to run normally.

• Unlike GUI installation, a silent installation skips the detection test for a required computer environment.

Command-Line Arguments for Custom Installation

This section describes how to use command-line arguments to customize Wyn Enterprise installation. For example, modifying the default installation directory, specifying a custom database provider, etc.


See the below table for command-line arguments for custom installation.

Argument

Description

-p

Optional: Changes the default installation directory. By default, the files for a newly installed application in a system are stored here, C:\Program Files.

WynEnterprise-x64-xxx.exe /q -p "D:\MyInstallPath"

-m

Optional: Sets the components to be installed on the system. The available values are Server, ReportingWorker, DashboardWorker, and CotWorker. By default, all these components are installed.

WynEnterprise-x64-xxx.exe /q -m "cotworker,reportingworker"

-d

Optional: Sets the custom database provider for Wyn Enterprise. The possible values are PostgreSQL, SqlServer, MySql, and Oracle. By default, Wyn Enterprise uses a built-in database for storing data.

For a successful data connection, make sure to specify a valid database connection string using the -c argument.

-c

Optional: Specifies a database configuration string for the custom database provider. Here, both the arguments, d and c are used together.

WynEnterprise-x64-xxx.exe /q -d SqlServer -c "Data Source=localhost;Integrated Security=True;"

-i

Optional: By default, Wyn sample files are not imported. You can use this argument to import the sample files.

WynEnterprise-x64-xxx.exe /q -i

-f

Optional: Use this command to change the directory for storing the Wyn sample files. You can either use an absolute or a relative path.

WynEnterprise-x64-xxx.exe /q -i -f "samplefiles.zip"

-b

Optional: Sets the IP address for the server, in case you didn't install the Server component on your system. The default value is localhost.

WynEnterprise-x64-xxx.exe /q -m "CotWorker" -b 10.32.0.1

-n

Optional: Specifies the local IP address, in case you installed the CotWorker, ReportWorker, or DashboardWorker component instead of the Server component. The default value is localhost.

WynEnterprise-x64-xxx.exe /q -m "CotWorker" -b 10.32.0.1 -n 10.32.0.5

-k

Optional: Use this argument to register the license key for Wyn Enterprise. This is valid when you install the Server component on your system.

WynEnterprise-x64-xxx.exe /q -k "xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"

-z

Optional: Creates desktop and menu shortcuts. By default, these shortcuts are not created.

WynEnterprise-x64-xxx.exe /q -z

-e

Optional: Encrypts the database connection string. It is always recommended to encrypt the database connection strings to secure the highly sensitive data in the configuration file.

WynEnterprise-x64-xxx.exe /q -e

Exit Codes

Once the installation is complete, the installer returns an exit code that represents the installation result. The exit codes are as follows -

Exit Code

Description

0

Indicates successful installation and WynService start.

1000

Indicates successful installation but the WynService start condition is unknown.

1001

Indicates successful installation with no built-in database. Due to this, Wyn Enterprise is unable to start. To resolve this issue, users can manually modify the Wyn.conf file to use a custom database and then, restart the WynService.

1002

Indicates successful installation but failed WynService start.

1003

Indicates successful installation but with a WynService start error. To resolve this issue, you need to manually restart the WynService.

1004

Indicates successful installation but needs system restart before Wyn Enterprise can be used normally.

1005

Indicates successful installation but the user-configured database connection string is unable to connect to the database. Therefore, Wyn Enterprise is unable to start successfully.

1006

Indicates successful installation and WynService start but failed license key registration. This is due to the invalid license key.

1007

Indicates successful installation and WynService start but failed license key registration. This is due to the failure of online license registration and can be fixed by registering the license offline.

1008

Indicates successful installation and WynService start but failed license key registration. The reason is unknown.

2001

Indicates unsuccessful installation due to the unsupported custom database type.

2002

Indicates unsuccessful installation due to the invalid installation directory.

3001

Indicates unsuccessful installation due to the unsupported computer environment. For example, an unsupported OS version.

OtheraCode

Indicates unsuccessful installation. The reason is unknown.

To Uninstall Wyn Enterprise Silently

Follow these commands to uninstall Wyn Enterprise silently from Windows.

  • To silently uninstall Wyn Enterprise from Windows, run any of the following commands.

    WynEnterprise-x64-xxx.exe /quiet /uninstall

    OR

    WynEnterprise-x64-xxx.exe /q /uninstall
  • If you want to uninstall the database while silently uninstalling Wyn Enterprise from your system, use any of the following commands.

    WynEnterprise-x64-xxx.exe /quiet /uninstall -r

    OR

    WynEnterprise-x64-xxx.exe /q /uninstall -r