Posts in Category "Installation"

Performing a silent installation of ColdFusion 9


Introduction

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

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

The ColdFusion 9 silent installer does not automatically configure your web server for use with ColdFusion 9. You must use wsconfig to configure your web server after running the silent installer. For more information, see Configuring web servers.

The following sections explain how to install ColdFusion 9 silently:

  • Create installer Properties file
  • Name and save the installer Properties file
  • Run the installer
  • Verify the installation
  • Run the Web Server Configuration Tool

  

Create the properties file

The installer properties file is an ASCII text file that defines parameters for your installation. Specify the details as provided in the following .properties file. Note that all properties are listed in this file. Select only the ones that apply to your installation type.

 

INSTALLER_UI=SILENT

SILENT_LICENSE_MODE=full|trial|developer

# Applies only if SILENT_LICENSE_MODE is full.

SILENT_SERIAL_NUMBER=serial_number

# Serial number of the previous version of ColdFusion.

# This is required only if the serial number you specified as the SILENT_SERIAL_NUMBER is a serial number for an upgrade.

SILENT_PREV_SERIAL_NUMBER=serial_number

SILENT_INSTALLER_TYPE=standalone|jrun|ear|war

#Where to install the ColdFusion Administrator and its components (CFIDE).

#A sample path is provided.

SILENT_WEBROOT_FOLDER=F:\\ColdFusion9\\wwwroot

# Applies only for Windows.

# Whether to install ColdFusion ODBC Services.

SILENT_INSTALL_ODBC=true|false

SILENT_INSTALL_VERITY=true|false

SILENT_INSTALL_SOLR=true|false

# Whether to install the Getting Started Experience, Tutorials, and Documentation.

# Values are true and false.

# Set the value to false if you are installing in a production environment.

SILENT_INSTALL_SAMPLES=true|false

# Applies only for Windows systems with .Net Framework installed.

# Whether to install .Net Integration Services.

SILENT_INSTALL_JNBRIDGE=true|false

# Applies only to Server configuration on UNIX systems.

# Whether to start ColdFusion 9 automatically when the system boots. SILENT_CONFIGURE_SYSTEM_INIT

#Installation directory for the EAR or WAR file.

# Provided is a sample path.

SILENT_INSTALL_FOLDER=F:\\ColdFusion9

# Applies only for J2EE configuration.

# Directory in which to install the Verity search server.

SILENT_VERITY_INSTALL_FOLDER

SILENT_SOLR_INSTALL_FOLDER

 

# Applies only for J2EE configuration.

# Context root for ColdFusion.

SILENT_CONTEXT_ROOT

# Applies only for UNIX systems.

# Runtime user, typically nobody.

SILENT_RUNTIMEUSER

# The password to access ColdFusion 9 Administrator.

SILENT_ADMIN_PASSWORD

# Applies only for J2EE configuration.

# Whether to turn on Flex, if you have version 2.3 or later of the JavaServlet API.

SILENT_FLEX_ENABLED=true|false

# Whether to enable RDS.

# RDS allows the server to interact with remotely connected developers.

# Adobe recommends that you disable RDS for production servers.

# Note that Disabling RDS also disables the directory browsing applets in the ColdFusion 9 Administrator.

SILENT_ENABLE_RDS=true|false

SILENT_RDS_PASSWORD

  

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, therefore, you must specify true and false using lowercase.
  •  If you use backward slashes (\) in file paths in the Properties file on a Windows system, escape them by using double backslashes (\\).

·       Name and save the installer properties file

If you name your installer properties file installer.properties and place it in the same directory as the ColdFusion 9 installation program, when you run the installer from the installation program’s directory, the installer automatically uses the installer.properties file.

You can use a different name or save it in a different directory. If you do, you must specify the filepath to use it in an installation.

 If you require more than one installer properties file, for example, to use different properties for installing inside or outside of your organization, Adobe recommends that you give each a descriptive filename.

Run the installer

You run the silent installer by executing the installer at the command line or through a batch file or script.

 

  • UNIX: Run the command ./codfusion_installer.bin [-f propertiesFilePath] 
  •  Windows: Run the command coldfusion_installer.exe [-f propertiesFilePath] 
  • AIX: Run the command java -jar jar_name [-f propertiesFilePath]
  • Mac OS X: Extract the .zip and perform the installation.

The propertiesFilePath specifies the installer properties file that contains specific instructions for the installer. The path can be an absolute filepath or a path relative to the directory that contains the installer file.The propertiesFilePath is optional if all of the following are true:

  •  


  • The properties file is named installer.properties.

     

  • The properties file is located in the same directory as the installer file.

     

  • You are running the installer command from within this directory.

     

If all of these are true, the installer uses the installer.properties file by default.

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 installation is completed, a log file is created in the ColdFusion installation directory specified in the Properties file. Verify the log file to verify the installation details.

Running the Web Server Configuration Tool

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

For information on running the Web Server Configuration Tool, see Configuring web servers.