I'm trying to save some Delphi setup info to speed up Delphi installation and I'm getting very confused with registry key value order behaviour. I exported my Delphi XE2 registry key:
HKEY_CURRENT_USER\Software\Embarcadero\BDS\9.0\Known Packages
to the *.reg file. After deleting it from the registry, and reloading the reg file, Delphi complains about missing bpl's. When I look at the key list, it is now all in alphabetical order - it is NOT in that order in the reg file. I presume that where packages depend on another, the depended package must be listed first. Am I right?
I then used Inno Setup to create three key values in this order - B,A,D. After running it, the registry displays A,B,D key order.
As a component installer I've rarely had dependent packages. What method can I use to leave the keys in the order I chose? Something must have done that because I have a reg file in the order that Delphi requires. It seems crazy that an export followed by an import is not symmetrical.