Jump to content
alogrep

Delphi 12 IDE: unchecking a component is NOT SAVED

Recommended Posts

HI

I installed nexusdb into Delphi 12, and I got the error shown in the jpg attached.

Nexusdb asked me to uncheck the package in Install Packages and see what happens.

I guess that was to decide if the error was a Nexus one or a Delphi one.

But when I uncheck the package, the check mark disappears alright, I press OK, restart the 

IDE , I get the same error and the package is still CHECKED.

Somebody can help with this? Is there a  manual way to ensure the unchecked package 

remains unchecked? 

 

error3.jpg

Share this post


Link to post
Posted (edited)
11 minutes ago, alogrep said:
Is there a manual way to ensure the unchecked package remains unchecked?

You can update the "HKCU\SOFTWARE\Embarcadero\BDS\23.0\Known Packages" Registry key.  Find the entry for the package, and either:

  • modify the entry's Data value to prefix it with an underscore ("_").
  • remove the entry (optionally move it to the "HKCU\SOFTWARE\Embarcadero\BDS\23.0\Disabled Packages" key)

 

Edited by Remy Lebeau
  • Like 1

Share this post


Link to post
21 minutes ago, alogrep said:

Somebody can help with this?

 

3 minutes ago, Uwe Raabe said:

It's a case of poor or missing documentation. If you have a project open and uncheck a package, the package will not be loaded again for that project. If you uncheck a package with no project open then you should see the package unchecked if you reload the IDE.

Share this post


Link to post

Interestingly it works the other way round: When you check one of the Microsoft Office Automation Server packages it will stay checked when the IDE is restarted. Now you just can't get rid of it again by just unchecking...

Share this post


Link to post
2 minutes ago, Uwe Raabe said:

Now you just can't get rid of it again by just unchecking...

Even when no project is loaded? Then that is a bug.

Share this post


Link to post

When a project is loaded all changes are local to the project. 

When no project is loaded all changes should be permanent.

 

This has been the behavior since the beginning of Delphi, but that volatile unchecking bug crept in some time ago. Versions up to Delphi 7 even had a checkbox to make it permanent while a project is open (sorry, I only have a German D7 at hand)

image.thumb.png.c458fffb7b8fce7acf3b959120a81876.png

  • Like 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×