View Source

It is possible to install Windows Agent and Server via the command line interface. This option is useful for companies that have hundreds of machines, as automated installation does not require you to log into each machine in order to install the software.

The *"Silent" installation* option allows you to skip the graphical wizard. All options are defined in the Command Line. The installer displays no prompts, messages, or dialog boxes. The user cannot cancel the installation.


h5. Starting a Windows Command Prompt

Go to Start !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! Programs Accessories !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! Command Prompt.

!http://wiki.r1soft.com/download/attachments/22184477/assessories.png!

Alternatively, you can go to Start !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! Run !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! type "cmd" (without quotes) and click <Enter>.

!http://wiki.r1soft.com/download/attachments/22184477/cmd.png!

h5. Command Line Options

The {{cdp-installer.exe}} Windows CDP Server installer supports a number of options. The following list identifies the standard command-line options for this program:
* /HTTP_PORT
* /HEAP_SIZE
* /HTTPS_PORT
* /SERVER_USER_NAME (Required)
* /SERVER_USER_PASS (Required)
* /LOCAL_ACCOUNT
* /ACCOUNT_NAME
* /ACCOUNT_PATH
* /ACCOUNT_SCHEMA
* /ACCOUNT_PASSWORD
* /INCOMPATIBLE
* /ENTERPRISE_EDITION
* /ADVANCED_EDITION
* /STANDARD_EDITION
* /UPGRADE
* /D
* /S

h5. Extracting the Installer

1. Extract the installer to the {{tmp}} directory:

{code}
C:\R1Soft-CDP-Standard-Edition-win64-4.2.0.exe /S /D=C:\tmp
{code}

!cli_420.png!

{{/D}}&nbsp;specifies the destination directory. In our example, it is&nbsp;{{C:\tmp,}}&nbsp;but it can be any temporary directory.

{{/S}}&nbsp;makes the command run silently, extracting the compressed file in "silent" mode, with no dialog boxes.

This command will not return any output.


2. The destination directory will contain the following:

* {{cdp-agent-win64-4.2.0.exe}}
* {{cdp-server-win64-4.2.0.exe}}
* {{CubicOrangeAD.dll}}
* {{Interop.ActiveDs.dll}}
* {{R1SoftCoreInstall.exe}}
* {{dotnetfx.exe}}
* {{conf}} (folder)
* {{pages}} (folder)
* {{install.exe}}
* {{setup.exe}}

!ffolder_420.png|border=1!

h5. Installing CDP Server

1. Go into the {{tmp}} directory where you extracted the installer.

2. To install CDP Server Standard Edition, use the {{cdp-server-win64-4.2.0.exe}} installer with command-line options. Here is an example:
{code}
C:\tmp\cdp-server-win64-4.2.0.exe /HTTP_PORT=”80” /HEAP_SIZE=”1024” /HTTPS_PORT=”443” /SERVER_USER_NAME=”admin” /SERVER_USER_PASS=”r1soft” /LOCAL_ACCOUNT=”FALSE” /ACCOUNT_NAME=”” /ACCOUNT_PATH=”” /ACCOUNT_SCHEMA=”” /ACCOUNT_PASSWORD=”” /INCOMPATIBLE=”FALSE” /STANDARD_EDITION=”TRUE” /UPGRADE=”” /D=C:\Program Files\R1Soft CDP Standard Edition

{code}

3. Once the installation is done, find the&nbsp;{{config-standard.conf}} file in the directory where CDP Standard Edition is installed. Rename it to&nbsp;{{server.conf}}.


h5. Installing CDP Agent

Go into the {{tmp}} directory where you extracted the installer, and use the following command to install CDP Agent:
{code}
C:\tmp\cdp-agent-win64-4.2.0.exe /D=C:\Program Files\R1Soft CDP Standard Edition
{code}









{newversion}
It is possible to install Windows Agent and Server via the command line interface. This option is useful for companies that have hundreds of machines, as automated installation does not require you to log into each machine in order to install the software.

The *"Silent" installation* option allows you to skip the graphical wizard. All options are defined in the Command Line. The installer displays no prompts, messages, or dialog boxes. The user cannot cancel the installation.


h5. Starting a Windows Command Prompt

Go to Start !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! Programs Accessories !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! Command Prompt.

!http://wiki.r1soft.com/download/attachments/22184477/assessories.png!

Alternatively, you can go to Start !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! Run !http://wiki.r1soft.com/download/attachments/22184477/arrow-transparent.gif! type "cmd" (without quotes) and click <Enter>.

!http://wiki.r1soft.com/download/attachments/22184477/cmd.png!

h5. Command Line Options

The {{cdp-installer.exe}} Windows CDP Server installer supports a number of options. The following list identifies the standard command-line options for this program:
* /HTTP_PORT
* /HEAP_SIZE
* /HTTPS_PORT
* /SERVER_USER_NAME (Required)
* /SERVER_USER_PASS (Required)
* /LOCAL_ACCOUNT
* /ACCOUNT_NAME
* /ACCOUNT_PATH
* /ACCOUNT_SCHEMA
* /ACCOUNT_PASSWORD
* /INCOMPATIBLE
* /ENTERPRISE_EDITION
* /ADVANCED_EDITION
* /STANDARD_EDITION
* /UPGRADE
* /D
* /S

h5. Extracting the Installer

1. Extract the installer to the {{tmp}} directory:

{code}
C:\R1Soft-CDP-Standard-Edition-win64-4.2.0.exe /S /D=C:\tmp
{code}

!cli_420.png!

{{/D}}&nbsp;specifies the destination directory. In our example, it is&nbsp;{{C:\tmp,}}&nbsp;but it can be any temporary directory.

{{/S}}&nbsp;makes the command run silently, extracting the compressed file in "silent" mode, with no dialog boxes.

This command will not return any output.


2. The destination directory will contain the following:

* {{cdp-agent-win64-4.2.0.exe}}
* {{cdp-server-win64-4.2.0.exe}}
* {{CubicOrangeAD.dll}}
* {{Interop.ActiveDs.dll}}
* {{R1SoftCoreInstall.exe}}
* {{dotnetfx.exe}}
* {{conf}} (folder)
* {{pages}} (folder)
* {{install.exe}}
* {{setup.exe}}

!ffolder_420.png|border=1!

h5. Installing CDP Server

1. Go into the {{tmp}} directory where you extracted the installer.

2. To install CDP Server Free Edition, use the {{cdp-server-win64-4.2.0.exe}} installer with command-line options. Here is an example:
{code}
C:\tmp\cdp-server-win64-4.2.0.exe /HTTP_PORT=”80” /HEAP_SIZE=”1024” /HTTPS_PORT=”443” /SERVER_USER_NAME=”admin” /SERVER_USER_PASS=”r1soft” /LOCAL_ACCOUNT=”FALSE” /ACCOUNT_NAME=”” /ACCOUNT_PATH=”” /ACCOUNT_SCHEMA=”” /ACCOUNT_PASSWORD=”” /INCOMPATIBLE=”FALSE” /STANDARD_EDITION=”TRUE” /UPGRADE=”” /D=C:\Program Files\R1Soft CDP Free Edition

{code}

3. Once the installation is done, find the&nbsp;{{config-standard.conf}} file in the directory where CDP Free Edition is installed. Rename it to&nbsp;{{server.conf}}.


h5. Installing CDP Agent

Go into the {{tmp}} directory where you extracted the installer, and use the following command to install CDP Agent:
{code}
C:\tmp\cdp-agent-win64-4.2.0.exe /D=C:\Program Files\R1Soft CDP Free Edition
{code}{newversion}