Running Delphi with an alternate registry key

I found this documentation that indicates that you can start Delphi using an alternate registry key. But I can not get it to work (using Delphi 2007, also tried 2010). The purpose of my shortcut is

"C: \ Program Files \ CodeGear \ RAD Studio \ 5.0 \ bin \ bds.exe" -pDelphi -rHKEY_CURRENT_USER \ Software \ Borland \ BDS \ 5.0

When I launch Delphi without downloading packages. Am I passing the key incorrectly? This function is not in 2007/2010? (it seems to exist since packages downloaded at startup are not loading)

What am I trying to use ?:

I have different spreads using different versions of third-party components. When I need to fix an error in an old branch, the UI (works with a later version of a third party) modifies dfm, uses the section ect. to match the version installed in the user interface. Old branch still refers to old version of third party and crash

+6
source share
1 answer

Yes, you are using the r parameter with the wrong value. The default value is "BDS", and the resulting key is "HKEY_CURRENT_USER \ Software \ Borland \ BDS \ 5.0" (for D2007). If you specify a different value, for example, "MyKey", it will use the key "HKEY_CURRENT_USER \ Software \ Borland \ MyKey \ 5.0".

+10
source

Source: https://habr.com/ru/post/908492/


All Articles