Copy link to clipboard
Copied
We are moving to a DevOps model to increase consistency and reliability accross environments. As part of this we are moving to CF2021 (Windows). The silent install seemed like a big step in the right direction, but I can't find any documentation on installing and configuring multiple instances from the cmd line. If anyone has any documentation on how to script this, it would be a huge help.
It would also be great if some of the official documentation would include some commands to go with each step that they manually describe. The manual approach lends itsself to mistakes. For example when they talk about enabling features, they could easily include some commands and save us all some time. Here is the cmd script for the features that we need for CF on IIS. Hope it helps someone.
# Install Windows Features
Install-WindowsFeature –name Web-Server
Enable-WindowsOptionalFeature -online -FeatureName IIS-WebServerRole
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServer
Enable-WindowsOptionalFeature -online -FeatureName IIS-ApplicationDevelopment
Enable-WindowsOptionalFeature -online -FeatureName IIS-HttpRedirect
Enable-WindowsOptionalFeature -Online -FeatureName IIS-HttpErrors
Enable-WindowsOptionalFeature -online -FeatureName IIS-LoggingLibraries
Enable-WindowsOptionalFeature -online -FeatureName IIS-RequestMonitor
Enable-WindowsOptionalFeature -online -FeatureName IIS-CustomLogging
Enable-WindowsOptionalFeature -online -FeatureName IIS-HttpCompressionStatic
Enable-WindowsOptionalFeature -online -FeatureName IIS-ApplicationDevelopment
Enable-WindowsOptionalFeature -online -FeatureName IIS-WindowsAuthentication
Enable-WindowsOptionalFeature -online -FeatureName IIS-IPSecurity
Enable-WindowsOptionalFeature -online -FeatureName NetFx4Extended-ASPNET45
Enable-WindowsOptionalFeature -online -FeatureName IIS-NetFxExtensibility45
Enable-WindowsOptionalFeature -Online -FeatureName IIS-HealthAndDiagnostics
Enable-WindowsOptionalFeature -Online -FeatureName IIS-HttpLogging
Enable-WindowsOptionalFeature -Online -FeatureName IIS-HttpTracing
Enable-WindowsOptionalFeature -Online -FeatureName IIS-Security
Enable-WindowsOptionalFeature -Online -FeatureName IIS-RequestFiltering
Enable-WindowsOptionalFeature -Online -FeatureName IIS-DefaultDocument
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementConsole
Enable-WindowsOptionalFeature -Online -FeatureName IIS-CGI
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ISAPIExtensions
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ISAPIFilter
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ASPNET45 -All
Copy link to clipboard
Copied
Good point, @mattInVail . The installation instructions for ColdFusion 2021 contain just a bare-bones section on silent installation.
It would be of great help to ColdFusion developers if Adobe could elaborate, in one document, all the steps involved in installation and configuration using the command-line. You should make a feature request.