KBEC-00174 - Being prompted for a new Windows install when you expect an upgrade

Article ID:360032830632
1 minute readKnowledge base

Description

CloudBees CD (CloudBees Flow) is installed on a Windows server or agent. When you run the CloudBees CD (CloudBees Flow) installer you expect an upgrade, but you are prompted for a new install.

Diagnosis

This may occur if the previous Windows CloudBees CD (CloudBees Flow) install or upgrade failed during the install/upgrade process before the Windows registry updates completed.

Recovering the Windows Registry Entry

  1. Check whether the following registry entry exists:

     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\6F794CA6-8574-4E60-8B1F-DBA21AEB9765and whether has anything underneath.
  2. If it is missing, the installer is not aware of the prior installation, and does not offer the upgrade option.

  3. As a workaround, you can manually create the necessary registry entries.

    1. Back up your registry by doing File -> Export (it is sufficient to just export HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall).

    2. Edit -> New -> Key to create 6F794CA6-8574-4E60-8B1F-DBA21AEB9765 under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

    3. Create the following entries under 6F794CA6-8574-4E60-8B1F-DBA21AEB9765 (Edit -> New -> String Value):

      1. DataDirectory C:/Documents and Settings/All Users/Application Data/Electric Cloud/ElectricCommander

      2. InstallLocation C:\Program Files\Electric Cloud\ElectricCommander

      3. DisplayVersion 3.7.0.34410
        Adjust the values as necessary to reflect your actual previous version and directories.

To understand the cause of the missing register entries, provide support@cloudbees.com with the install log from your previous upgrade or install.