Copy link to clipboard
Copied
When running a silent CF9 install I'm unable to remove the product, either through control panel or running the uninstaller directly. The error is "You do not have sufficient access to uninstall Adobe Coldfusion 9. Please contact your system administrator." Coldfusion works perfectly fine after the silent install, it just cannot be cleanly removed
This is being run as a local administrator on Windows 2008 R2 SP1 in both cases, from an elevated command prompt. If I run the installer interactively with the same settings it works as expected and can be removed without any trouble
My silent install parameters are:
INSTALLER_UI=SILENT
SILENT_LICENSE_MODE=full
SILENT_SERIAL_NUMBER=#LICENSE#
SILENT_INSTALLER_TYPE=standalone
SILENT_INSTALL_ODBC=true
SILENT_INSTALL_VERITY=true
SILENT_INSTALL_SAMPLES=false
SILENT_INSTALL_JNBRIDGE=false
SILENT_INSTALL_LDS=false
SILENT_INSTALL_FOLDER=C:/ColdFusion9
SILENT_WEBROOT_FOLDER=C:/ColdFusion9/wwwroot
SILENT_VERITY_INSTALL_FOLDER=
SILENT_ADMIN_PASSWORD=p4ssW0rD!
SILENT_FLEX_ENABLED=true
SILENT_ENABLE_RDS=false
SILENT_RDS_PASSWORD=p4ssW0rD!
I looked over the options in http://blogs.adobe.com/cfdoc/2009/10/performing_a_silent_installation_of_coldfusion_9.html but dont see anything else related to the user context on Windows. Is there something else I'm missing, or is this a bug?
Copy link to clipboard
Copied
Hi,
Can you go to the cf_root/uninstall/ and launch the KillJRun.exe first. After that, run the uninstaller from the same location.
Note:- Please run both the executables in Admin mode.
In case, if that doesn't work please check the logs for errors.
Regards,
Anit Kumar
Copy link to clipboard
Copied
Thanks Anit,
If I kill jrun and run the uninstaller directly I get a Fatal Application Error with this message:
java.lang.IllegalArgumentException: No product for ID=2946516b-1ec5-11b2-857c-ca3f47cb95d5
at ZeroGfq.<init>(DashoA10*..)
at ZeroGfm.d(DashoA10*..)
at ZeroGfm.b(DashoA10*..)
at ZeroGfp.<init>(DashoA10*..)
at com.zerog.ia.installer.Installer.z(DashoA10*..)
at com.zerog.ia.installer.Installer.setMetadata(DashoA10*..)
at com.zerog.ia.installer.InstallerMetaData.setInstaller(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.j(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.f(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
ProductID is defined in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe ColdFusion 9
Copy link to clipboard
Copied
Can you try the following in Command Prompt(Run As Admin) c:\Java\jdk1.7.0_10\bin java -jar cf_root/uninstall/uninstaller.jar and try to uninstall.
Regards,
Anit Kumar
Copy link to clipboard
Copied
Java was installed with CF9 so the paths are different, heres the result:
C:\ColdFusion9\runtime\jre\bin>java -jar \ColdFusion9\uninstall\uninstaller.jar
Failed to load Main-Class manifest attribute from
\ColdFusion9\uninstall\uninstaller.jar
Copy link to clipboard
Copied
Hi,
Can you try external Java, if possible and then point to the same in the above command.
Regards,
Anit Kumar
Copy link to clipboard
Copied
I installed a new JDK but get the same error:
C:\Program Files\Java\jdk1.7.0_17\bin>java -jar \ColdFusion9\uninstall\uninstaller.jar
no main manifest attribute, in \ColdFusion9\uninstall\uninstaller.jar
Copy link to clipboard
Copied
Hi,
Please try these steps
Run regedit
THIS IS IMPORTANT IN CASE SOMETHING GOES WRONG: Make a backup of your registry hives.
Beginning at the top of the regedit tree, select the computer node
Press ctl + F or select Edit/Search from the menu to open the Find dialog box
Ensure all the checkboxes are selected (probably would work with Keys only, but I'm simply duplicating the steps I took for a successful uninstall)
Type ColdFusion in the "Find What" textbox and click Find Next.
Delete the key where ColdFusion is found somewhere in it's name and/or values.
Repeatedly click Find Next (or hit F3 if your find dialog box is closed) and repeat Step 7 for each hit.
Restart your computer
Uninstall ColdFusion
Regards,
Anit Kumar
Copy link to clipboard
Copied
Thanks.
That is basically what we did on our customer's server to remove CF, but its not an ideal solution and I was hoping to find a fix for the underlying problem with the uninstall exe