Some time ago I've been thinking about this ....
Winbuilder should be load all registry branches (writables) at the beginning, and discharged at the end of the building, or in the event of an error. That would shorten many lines in all scripts. I think this wouldn't any inconvenience.
Needed the generalisation to writing on the registry branches to allow a simpler use