Install ColdFusion silently

This document lists all the silent installer properties for ColdFusion (2023 release). 

Overview

You can install Adobe ColdFusion silently. A silent installation does not interact with the user. A silent installation is useful when you install ColdFusion on multiple computers with the same installation options and configuration.

You can use the silent installer to install the ColdFusion server configuration, multiserver configuration, or J2EE configuration. The silent installer runs on all the platforms that ColdFusion supports.

The silent installer does not automatically configure your web server for use with ColdFusion. Use the wsconfig tool to configure your web server after running the silent installer. For more information, see Configuring your system.

Creating the properties file

The silent.properties file is an ASCII text file that defines the installation parameters. Specify the details as provided in the file. Select only the ones that apply to your installation type.

Примечание.

The properties file below represents that of ColdFusion (2023 release).

#Silent properties for ColdFusion 2023

INSTALLER_UI=SILENT

#Valid Values are full/trial/developer 
SILENT_LICENSE_MODE=full

SILENT_SERIAL_NUMBER=

#Use when it is upgrade

SILENT_PREV_SERIAL_NUMBER=

#Valid values are ear/war/standalone

SILENT_INSTALLER_TYPE=standalone

SILENT_INSTALL_JNBRIDGE=true

#Remote administrator component for server remote start/stop
SILENT_INSTALL_ADMIN=true

SILENT_INSTALL_SOLR=true

SILENT_INSTALL_PDFG=true

#For Linux it would be as /opt/coldfusion2023 (Change it as per your path)
SILENT_INSTALL_FOLDER=C:\\ColdFusion2023

#Enable one of Prod(secure/prod)/dev profile. These 3 are mutually exclusive and only one of them can be ture and others are false.

SILENT_ENABLE_PROD_SECURE_PROFILE=true

SILENT_ENABLE_PROD_DEFAULT_PROFILE=false

SILENT_ENABLE_DEV_PROFILE=false

#IP addresses from which Administrator can be accessed.
SILENT_ADMIN_IP=

#IP address of the CF installed machine through which PDFG/Solr service would be accessed remotely.
SILENT_JETTY_IP=

SILENT_ADMIN_USERNAME=admin

SILENT_ADMIN_PASSWORD=Adm1n$12

SILENT_ENABLE_RDS=true

SILENT_RUNTIME_USER=

#Provide password when enable RDS is true

SILENT_RDS_PASSWORD=Adm1n$12

#username/password of remote administrator component for server remote start/stop

SILENT_JETTY_USERNAME=admin

SILENT_JETTY_PASSWORD=Adm1n$12

#Context Root for J2ee Installation

SILENT_CONTEXT_ROOT=

SILENT_AUTO_ENABLE_UPDATES=true

#For Linux it would be as /opt/coldfusion11 (Change it as per your path)
SILENT_PREV_CF_MIGR_DIR=C:\\ColdFusion11

#Enable/Disable the servlets depending on if they are not used by your application or not.

#Applicable only if production OR Production+Secure profile is enabled. For Dev profile, all are enabled by default.

ENABLE_RDS=false

ENABLE_WSRP=false

ENABLE_JSDEBUG=false

ENABLE_CFR=false

ENABLE_CFSWF=false

ENABLE_CFFORMS=false

The following rules apply to the properties file:

  • To insert a comment, prefix a hash (#) to the line
  • To place a multiline comment in the file, prefix a hash before each line of the comment
  • The values are case-sensitive. Use lowercase true or false
  • If you use backward slashes (\) in file paths in the Properties file on a Windows system, escape them by using double backslashes (\\)

Description

Property

Description

INSTALLER_UI

Tells the installer that the type of installation is silent.

SILENT_LICENSE_MODE

Specifies if the ColdFusion installation is in full, trial, or developer mode.

SILENT_SERIAL_NUMBER

Specify if the ColdFusion installation is a new one.

SILENT_PREV_SERIAL_NUMBER

Specify only if you are upgrading ColdFusion.

SILENT_INSTALLER_TYPE

Specifies the type of installer – ear, war, or stand-alone.

SILENT_INSTALL_JNBRIDGE

Specify whether to install JNBridge (Java and .NET interop) with the installation. Valid value is TRUE or FALSE.

SILENT_INSTALL_ADMIN

Specify whether to install remote administrator component for server remote start/stop. Valid value is TRUE or FALSE.

SILENT_INSTALL_SOLR

Specify whether to install Solr search service with the installation. Valid value is TRUE or FALSE.

SILENT_INSTALL_PDFG

Specify whether to install PDF generator service with the installation. Valid value is TRUE or FALSE.

SILENT_INSTALL_FOLDER

Specify the ColdFusion installation folder. For Linux it would be as /opt/coldfusion2023.

  • SILENT_ENABLE_PROD_SECURE_PROFILE
  • SILENT_ENABLE_PROD_DEFAULT_PROFILE
  • SILENT_ENABLE_DEV_PROFILE

Enable one of Prod (secure/prod)/dev profile. These three are mutually exclusive and only one of them can be True and the rest can be False.

SILENT_ADMIN_IP

Specify the IP addresses from where you want to access ColdFusion Administrator.

SILENT_JETTY_IP

Specify IP address of the ColdFusion installed machine through which you can remotely install PDFG/Solr service.

SILENT_ADMIN_USERNAME

Set the user name for ColdFusion Administrator.

SILENT_ADMIN_PASSWORD

Set the password for ColdFusion Administrator.

SILENT_ENABLE_RDS

Specify whether to enable RDS access. Valid value is True or False.

SILENT_RUNTIME_USER

Specify the Runtime user. Default is nobody. Ensure your RUNTIME_USER exists before running the installer

SILENT_RDS_PASSWORD

Provide RDS password when SILENT_ENABLE_RDS is true.

SILENT_JETTY_USERNAME

Specify user name of remote administrator component for server remote start/stop.

SILENT_JETTY_PASSWORD

Specify password of remote administrator component for server remote start/stop.

SILENT_CONTEXT_ROOT

Specify the context root for JEE installation.

SILENT_AUTO_ENABLE_UPDATES

Specify whether you want to be notified of ColdFusion updates. Valid value is True or False.

SILENT_PREV_CF_MIGR_DIR

Specify the installation directory of the previous ColdFusion version in silent mode installation if $MIGRATE_COLDFUSION$ is true.

The following properties are applicable only if Production OR Production+Secure profile is enabled. For Developer profile, all are enabled by default.

ENABLE_RDS

Specify whether to enable RDS. Valid value is True or False. Remote Development Services (RDS) uses HTTP to enable the Query Builder and Chart Wizard to access database data through a ColdFusion data source.

ENABLE_WSRP

Specify whether to enable access to remote portlets. Valid value of True or False.

ENABLE_JSDEBUG

Specify whether to enable JavaScript debugger. Valid value is True or False.

ENABLE_CFR

Specify whether to enable ColdFusion Report Builder.  The Report Builder stores report definition information in a ColdFusion Report (CFR) file. This file contains field definitions, formatting, database SQL statements, CFML, and other information. Valid value is True or False.

ENABLE_CFSWF

Specify whether to enable ColdFusion Flash Forms. Valid value is True or False.

ENABLE_CFFORMS

Specify whether to enable ColdFusion Forms. Valid value is True or False.

Saving the properties file

If you name your installer properties file silent.properties and save it in the same directory as the ColdFusion installation program, the installer automatically uses the file.

You can use a different name or save it in a different directory. Specify the filepath to use it in an installation.

If you require more than one installer properties file, give each file a descriptive name.

Running the installer

You run the silent installer in one of the following ways:

  • Through the command line.
  • Through a batch file or script.

The following table lists the command line options of running the installer on different operating systems.

OS

Command

UNIX

./coldfusion_installer.bin [-f propertiesFilePath]

Windows

coldfusion_installer.exe [-f propertiesFilePath]. For example, if you want to install ColdFusion (2023 release) silently, run the command, ColdFusion_2023_WWEJ_win64.exe -f silent.properties.

Solaris

java -jar jar_name [-f propertiesFilePath]

Mac OS X

Extract the .zip and install.

After the silent installer completes the installation, open the ColdFusion Administrator to run the configuration wizard. Adobe recommends that you make sure the silent installer has installed the appropriate edition by clicking System Information. If the edition is not correct, enter the serial number in the New License text box and click Submit Changes.

Verifying the installation

After the ColdFusion installation completes, open the log file (Adobe_ColdFusion_2023_Install*) in the installation directory to verify the installation. The silent.properties file specifies the destination of the log file.

Примечание.

If you use an external web server, run the Web Server Configuration Tool after running the silent installer.

Silently install .NET add-on

The following are the properties that you must set in the silent.properties file for the .NET installer.

INSTALLER_UI=SILENT
SILENT_JNBRIDGE_INSTALL_FOLDER=C:\\ColdFusion2023DotNetService
SILENT_CF_ROOT=C:\\ColdFusion2023\\cfusion
SILENT_JNBSTANDALONE=false

Use the command below to run the silent installer for .NET add-on.

dotnet_installer.exe -f silent.properties

Set SILENT_JNBSTANDALONE=false/true.

If the value is False, it edits the file cfusion/lib/neo-dotnet.xml.

Install ColdFusion update silently

In the file hotfix.properties, you can use both values - blank and ALL in the property INSTANCE_LIST.

INSTALLER_UI=silent 
USER_INSTALL_DIR=C:$/$ColdFusion<version> 
DOC_ROOT=C:$/$ColdFusion<version>$/$cfusion$/$wwwroot$/$ 
#The following applies only to multi-server scenarios. 
INSTANCE_LIST=ALL

Use the command below to the run the silent installer for the update:

java.exe -jar hotfix.jar -i silent -f hotfix.properties

 Adobe

Получайте помощь быстрее и проще

Новый пользователь?