I'm one of the three (and currently appearently the only active) WinBuilder developers.
The title of this forum is:
Tell us what do you think that can be modified or improved about the site!
Let me expand to
Tell us what do you think that can be modified or improved by members of the site!
During development, sometimes things change.
Usually the developer has as high priority goal 'Compatibility to previous versions'
But sometimes it happens, that in a previous version there has been a bug (which may have caused somebody to write some code using this bug).
If in a later version the bug disappeared, the code, written during 'bug time' does not work any more.
Last days some issues came up:
We currently have a strange situation with code like this:
Set,%DisplayNameForWBSoftware%,"test4,5" RegHiveLoad,WB-Software,%target_sys%\config\software RegWrite,HKLM,0x1,WB-Software\PSC,DisplayName,%DisplayNameForWBSoftware% RegHiveUnLoad,WB-SoftwareAs reported, it does not work in WB 078 SP6
Tests made sure that it also does not work in older versions like WB 072, WB 074 and WB 076
It NEVER did create an entry under 'PSC' in the registry.
It has been reported that (a similar code) worked under WB 077 RC2
Also trying WB 077RC2 with the above code, on my system did not make an entry into the registry.
Now: There are complains that WB 077 RC2 has been ok, and I should rebuild the WB 077 RC2 functionality.
???????
To explain:
Set,%DisplayNameForWBSoftware%,"test4,5"is invalid, because the comma is only a separator between defferent script command arguments, and not allowed inside an argument. Inside an argument the escape #$c must be used.
BTW: For your test: Before starting, please delete the registry line in question.
If you do not do so, you'll get no error message, and maybe there is something from previous tests, and you'll assume that everything is running well.
Maybe there are some members to explain me what I'm doing wrong.
But I'm also happy if some members agree that my interpretation of comma is right.
BTW: Maybe we can find a difference of my host to the complainers' host which can explain this voodoo.
Peter