For some items this needs a long time, for shell32.dll on my PC e.g. 20 seconds.
(BTW: These 20 seconds are moved from every boot to build by using OLESupport!)
To increase this speed, I now cache the install / register results as *.reg files in %ProjectCache%\Registry.
If a request is made to register an item, OLESupport.Scripts checks whether the cached *.reg exitst. If not, it is createad.
Then the *.reg is read into the hive.
New '7 - OLESupport.Script' version 11 on the nativeEx server.
The cached *.regs are locale dependent. But currently they do not have a 'locale' index in their name. As a result:
If you build the cache with English, you'll use this cache also, if you do a new build with a German source CD.
The current external and time consuming
ShellExecute,Hide,regedit.exe,"/s #$q%ProjectCache%\Registry\#1.reg#$q"should be replaced by an internal 'RegImport',"ImportFile"