I'm attempting to install Delphi 10.4 Community Edition on a Windows 10 machine which previously had the full version installed (that license is now expired). The previous licence was an Academic licence and these have to be renewed annually.
I've followed the instructions from activation.embarcadero.com:
Thank you for registering! The attached file (reg6072_1665758099000.txt) activates your copy of Embarcadero product.
INSTRUCTIONS:
- First place the file into any folder on your hard drive, My Documents for example.
- Then launch the product. If your copy has not been activated before, the Embarcadero Product Registration Dialog will come up.
- Click the Advanced button in the registration dialog. Click on Import. Navigate to and import the license.
If the product is already running, go to Help | License Manager... in the menu. Click on Import; navigate to and import the license.
However, after I do that, the Registration Wizard closes and I get this pop-up:
No valid licence information found for Embarcadero (r) Delphi 10.4. You must provide a valid serial number to use Embarcadero (r) Delphi 10.4. Do you want to run the registration wizard again?
Registration code 12963955
You are not licensed to use Embarcadero (r) Delphi 10.4.
In case the problem is being caused by a remnant of the previous, Academic version, I've deleted
- the whole of Program Files(x86)\Embarcadero and below
- all the registry keys and values containing 'Embarcadero'
- the Embarcadero folder below AppData\Roaming
- all references in the system path to the Embarcadero and below folders
and I still get the problem.
So I'm stuck. How to get it to accept the registration file and get the installation to proceed?
CodePudding user response:
I've figured this out for myself. The penny dropped after I added a comment to the q to explain to Uwe Raabe what I'd removed of my previous set-up.
It turns out that in addition to my own AppData\Roaming profile I also needed the delete the Embarcadero folders from the Public\Roaming and All users\Roaming folders. Then, the Licence Registration wizard ran without complaint and the installation run to a successful completion.
A word of warning: if you have more that one Delphi installation you should obviously restrict your deletions to the D10.4 one.
CodePudding user response:
The best way in dealing with expired Delphi licenses is with the use of Embarcadero License Manager that you can find in C:\Program Files (x86)\Embarcadero\Studio\22.0\bin
folder.
With Licence Manager it is possible to switch between Educational and Community Edition license without the need of reinstalling Delphi or manually deleting any files.