3

The ColdFusion 9 GUI installer doesn't work on Windows 8 (this is a known issue). To try to circumvent that, I've tried to use the "silent" installer, as detailed on the Adobe ColdFusion Blog: "Performing a silent installation of ColdFusion 9".

I have this installer.properties file:

INSTALLER_UI=SILENT
SILENT_LICENSE_MODE=developer
SILENT_INSTALLER_TYPE=jrun
SILENT_WEBROOT_FOLDER=C:\\apps\\adobe\\JRun\\4\\server\\cfusion\\cfusion-ear\\cfusion-war
SILENT_INSTALL_ODBC=true
SILENT_INSTALL_VERITY=false
SILENT_INSTALL_SOLR=true
SILENT_INSTALL_SAMPLES=true
SILENT_INSTALL_JNBRIDGE=true
SILENT_INSTALL_FOLDER=C:\\apps\\adobe\\JRun\\4
SILENT_SOLR_INSTALL_FOLDER=C:\\apps\\adobe\\ColdFusion\\9\\solr
SILENT_ADMIN_PASSWORD=123
SILENT_FLEX_ENABLED=false
SILENT_ENABLE_RDS=true
SILENT_RDS_PASSWORD=123

That all seems OK... I'm not happy about the way I have to second-guess the default installed ColdFusion instance path in the SILENT_WEBROOT_FOLDER value. But ultimately that would be where those files would go if I was using the GUI installer.

Anyway, I run the installer from the command-line (running as admin), thus:

ColdFusion_9_WWEJ_win64.exe -f installer.properties

This immediately kicks off the GUI installer, which promptly crashes due to it not being compatible with Windows 8.

My question boils down to:

  1. is my installer.properties file correct. I'm presuming the instructions on the blog are correct, but Adobe to have a habit of not being very diligent with their documentation, so I'm not 100% sure of that;
  2. why is the GUI installer still trying to run when doing a silent install;
  3. is there any other way of getting ColdFusion 9 installed on Windows 8 (I suspect "no")?

I'm happy to provide any further info that might help.

Shane Madden
  • 112,982
  • 12
  • 174
  • 248
Adam Cameron
  • 252
  • 4
  • 13

4 Answers4

2

Your installer.properties is correct. The GUI is launching because the system requirements are not met. The popup is the error window, due to the installer failure. As per current CF9 Support Matrix, ColdFusion 9 is not supported on Windows 8.

Anit Kumar
  • 368
  • 1
  • 10
  • Cheers Anit. I'm not really that fussed if I'm "supported" on CF9 or not - I'd never solicit Adobe for support anyhow - and I thought the problem vis-a-vis getting CF *installed* on Win8 was purely down to the installer app GUI not working (not CF9 itself)? Hence me trying to bypass the bit of the installer which is affected. – Adam Cameron Feb 08 '14 at 08:11
  • 1
    Am also struggling to get CF9 on Win8, Adam. Got the GUI to run interactively eventually using compat mode, run-as-admin and temp folder/jre voodoo, but not happy with the result. Next am going to try adapting Roland's suggestion for CF10 on Andy Scott's blog: http://www.andyscott.id.au/blog/coldfusion-10-will-not-install-on-windows-server-2012 – CfSimplicity Feb 08 '14 at 08:24
  • Well Adam, indeed your idea was appropriate. But, whenever the installer (both gui and silent) runs, it does a tech check (for system requirements) in the background. Thus, it was failing and displaying the GUI with errors for you, even when you chose "silent install". You may try CfSimplicity's advice. Haven't tried yet myself. Cheers. – Anit Kumar Feb 09 '14 at 02:26
1

Yes, that silent install file looks like it should work - I doubt it makes a difference, but in the automated CF installs I have set up, the path to the silent install file is a full path including the drive.. but that's probably just me.

I'm not completely sure on whether the little installer window pops up when it's running silently.. I want to say that I remember it doing so when I was setting this up (all the automatic installs now happen in a system user session that I never see). I believe the window displays status but never prompts for user input.

Your only problem might be the lack of Windows 8 support, which is probably going to be very difficult to work around. You could try running the installer in compatibility mode for an earlier OS, but since Adobe announced support for CF10 on Win8 only if it's installed with a newer, updated version of the CF10 installer, it's unlikely that CF9 will ever install under Win8.

Shane Madden
  • 112,982
  • 12
  • 174
  • 248
  • Cheers Shane, this is as I expected. Could you do me a favour? Could you pls tag the question as "coldfusion-9"? I don't have the points to create a new tag :-/ – Adam Cameron Feb 07 '14 at 22:20
1

is there any other way of getting ColdFusion 9 installed on Windows 8 (I suspect "no")?

Actually, yes. Just got it to work using the 32-bit installer for CF9.0.2. Ideally we want 64-bit, but 32-bit should run fine as a dev environment.

Run it as admin in compatibility mode (ie right-click > Troubleshoot compatibility > Troubleshoot program > The program worked...etc > Win7 > Test Program > Save settings).

The installation ran fine, but the wsconfig tool refused to work with IIS8, so you have to add the handler mappings manually for *.cfm *.cfc etc. The DLL to map to is:

<cfroot>\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll

I had to copy the file from an existing installation (in fact I just copied the whole wsconfig directory).

There were various other IIS tweaks needed, the main one being to tell it to allow 32-bit Apps under App Pools > Set App Pool defaults.

CfSimplicity
  • 146
  • 3
0

I've decided to answer this myself, as I worked through the process myself without hacking anything or going "off piste" at any point.

@Anit answered two of my questions:

1) is my installer.properties file correct. I'm presuming the instructions on the blog are correct, but Adobe to have a habit of not being very diligent with their documentation, so I'm not 100% sure of that;

Yes, it was correct.

2) why is the GUI installer still trying to run when doing a silent install;

It boils down to ColdFusion being stupid, basically. It doesn't understand what the "silent" in "silent install" means. Well OK, that's not what Anit said, but I have distilled his answer down to that.

There is the third question:

3) is there any other way of getting ColdFusion 9 installed on Windows 8 (I suspect "no")?

Julian (cfSimplicity) gave an answer to this, and I have no doubt it works, but it's not quite what I wanted.

It boils down to what I detail on my blog: "ColdFusion 9 on Windows 8":

  1. Create a .war file on another machine, not running Windows 8
  2. Run ColdFusion via Tomcat on the Win8 machine, deploying the .war file

Job done.

Adam Cameron
  • 252
  • 4
  • 13