The project runs very well, but if I include the xyz script, the PE does not work correctly any more.
NO! Here propably the additional script overwrote some files / registry content which is used in the PE by different script items to run well.
WinBuilder 077 RC 2 will publish most of such overwrites and possible 'Voodoo creators'.
This WinBuilder feature, which is called 'Non-Cooperative Development' by Lancelot, now seems to be fully working.
Let me explain some details:
Generally a warning gives a hint, that something in the actual configuration is running different from what the script author assumed.
Because WinBuilder decides that this 'different' with high propability is harmless, it does not give an error.
But because there is a very small possibility that the statement causes some troubles, the warning is given.
When I first run nativeEx_barebone with this new WinBuilder functionality, I got a lot of warnings.
And some of them really are author's mistakes
And I have to confirm, that such an author mistake is in my hivesFactory script.
Let me enum some samples, starting with my own author's mistake:
- #1: RegWrite,HKLM,0x3,WB-Setup\ControlSet001\Control\Lsa,Bounds,"0030000000200000"
The Help tells us:
0x3 - Binary data - adds data in binary format. Each byte is specified by groups of two digits splitting each value with commas
Currently silently only the first byte is stored w/o any warning / error message.
I do not know what happens in the running PE if it uses only '00' rather than the complete data set. Maybe everything works fine, maybe some 'voodoo'
- #2: A different sample which is solved by the author very well:
In his EarlyStarter script, fxscrpt overwrites an existing REG-MULTI_SZ value.
This is done very carefully, and the new value contains the current entries.
But a small concern:
The 'current entries' are got from a 'standard' installation. What, when a different script previously added an item?
- #3: Very often it happenes that some texts (captions, tooltips etc) which are coming from the native language CD, are overwritten by a script with the script's author's text (usually english)
Tomorrow I'm going to describe the 'How To Work With This'
And a general author's rule should be:
I publish a script only if there are no warnigs with my script inside a project!