Jump to content











pscEx's Content

There have been 1000 items by pscEx (Search limited from 28-April 14)



Sort by                Order  

#91375 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 06:02 PM in Development

**
than you should've wrote that on bug report. When you wrote fixed and flagged fixed I naturally assumed all fixed (when this bug reported there was no trash to test).

;) ;) :cheers:

Peter :cheers:



#91392 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 07:48 PM in Development

Not really an error. Maybe i'm just stupid. But ...
I think, it's time that after the functionality changed, that also the desciptions reflect that change.

Medevil, I ask you for a favour:
The current functionality is standard since ?????

Please help to publish a bug-free WB 080, and post bugs, but may I ask you, do not disturb that by posting well known behaviours which
in your opinion should be changed.

To 'Description': There are already several members which have write access to a 'DropBox' with WinBuilder help HTML's
The changes are uploaded as 'official'

Should I add you as a new responsible member?

Peter



#91121 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 03:46 PM in Development

Are you sure this is a good idea?
Shell Folders are the ones that belong to the AllUsers profile.

AllUsers is under HKLM, single user under HKCU.

Both roots have User Shell Folders AND Shell Foldrs.

Peter



#91374 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 05:56 PM in Development

I got it!

I'm going to fix.

Peter

Fixed.

New trash uploaded.

Peter



#92202 WinBuilder 080 scheduled for upload

Posted by pscEx on 22 February 2010 - 08:15 PM in Development

You know how I like (and do not) follow links in such posts.
Please write ONE explanation what you want.
Maybe in this explanation some links (SHOULD NOT BE usual) are necesary.

Peter



#91159 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 09:01 PM in Development

Those error reporting routines of WB are a great help!
It's just not possible to read through all scripts line by line. :cheers:

:cheers:

I hope my theory is correct ;) ;) :cheers:

Peter



#92104 WinBuilder 080 scheduled for upload

Posted by pscEx on 21 February 2010 - 05:47 PM in Development

Empty (acedemic) key creation (acedemic=DO NOT use unless you know what you are doing)
RegWrite,HKLM,<typ>,<Key>, ==>keys with null value
RegWrite,HKLM,<typ>,<Key>,<Value>

This will bring a "Parameter count error" if the "Check parameter count" option is activated.

Peter



#91084 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 08:39 AM in Development

Just wondering if you fixed Lancelot's issue of file extraction to desktop in scenario where user profile doesn't reside on %SystemDrive%?


I can't.

This is the code I use:
lib &#58;= GetEnvironmentVariable&#40;&#39;SystemRoot&#39;&#41; + &#39;\system32\shell32.dll&#39;;

  h &#58;= LoadLibraryEx&#40;PAnsiChar&#40;lib&#41;, 0, LOAD_LIBRARY_AS_DATAFILE&#41;;

//	21769	&#34;Desktop&#34;

  s &#58;= GetEnvironmentVariable&#40;&#39;UserProfile&#39;&#41; + &#39;\&#39; + getResString&#40;h, 21769&#41; + &#39;\&#39;;
I do not see any reason why in Lancelot's case the OS tells me the wrong desktop path.

Next Upload will have the value from registry. Maybe that helps.

Peter



#92004 WinBuilder 080 scheduled for upload

Posted by pscEx on 20 February 2010 - 08:26 PM in Development

The impair number of byte is wrong.

The first byte of them belongs to the last character in 0x2 and 0x7.

In case of non-ascii, maybe east-asian strings, it can be any value besides 00.

Peter



#91134 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 05:25 PM in Development

Only after i once changed the selected option, WB behaves like what is selected. Guess WB get's initialized with the wrong value for default.

Thanks!

I'll change.

Peter



#91996 WinBuilder 080 scheduled for upload

Posted by pscEx on 20 February 2010 - 07:49 PM in Development

With other words: in the past, wbbug + hojobug = success. Today hojobug=bug. Lets wait wb stable release to discuss this later (I need fixes too :cheers:).

:smiling9: :cheers: :(
:cheers: ?

Peter



#91324 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 08:45 AM in Development

I changed to 4 X 4.
2 X 2 is practicallly invisible.

Uploaded.

Peter



#91994 WinBuilder 080 scheduled for upload

Posted by pscEx on 20 February 2010 - 07:41 PM in Development

Since NaughtyPEs HoJoPe is not the latest version. Would someone please check, if he gets also those nonsense entries.
Somehow the use of WB080 manages to bring a bunch of new registry keys and values. :smiling9:



Those two entries should be type binary, but are type string.

:cheers:

HoJoPE 070:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\WB-Setup\ControlSet001\Services\HTTP\Security]
"Security"=hex:01,00,14,80,b8,00,00,00,c4,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,88,00,06,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,00,00,\
14,00,14,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,00,00,14,00,14,00,00,\
00,01,01,00,00,00,00,00,05,06,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00,\
01,01,00,00,00,00,00,05,12,00,00,00


Peter



#91024 WinBuilder 080 scheduled for upload

Posted by pscEx on 10 February 2010 - 05:31 PM in Development

New version on trash

added - %RegDataType% variable set on every successful RegRead operation
added - RegWriteBin command to write wide strings
added - RegReadBin command to read wide strings

Peter



#91980 WinBuilder 080 scheduled for upload

Posted by pscEx on 20 February 2010 - 06:03 PM in Development

I found a different buggy we introduced with "Empty keys"

An empty 0x7 MUST contain a 00 00!

"Official rule" for RegWrite: There is none. RegWrite writes a string coming from the script engine.
And the passed string is 'Translated' before.

%myVariable% is replaced by the content of %myVariable%
#? is replaced by the content of the parameter #?.
And like with %myVariable%, if it is not defined, it is written literally as #?.

Peter

EDIT: Might be wise to write a bug:

How output #6 literally, when input parameter #6 is defined?



#91108 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 01:27 PM in Development

@Lancelot!

Does your explanation mean, that the RegReadInternal on my system reads literally %USERPROFILE%\Desktop,
and on your system the correct path?

Than we can be satisfied, as you already explained in this case the replace code will do nothing.

BTW: If I look into my registry by regedit, I see also the complete path.

Why does Billy's API substitute with %UserProfile% on my system, but does not on yours? :cheers:

Peter



#91972 WinBuilder 080 scheduled for upload

Posted by pscEx on 20 February 2010 - 05:02 PM in Development

I think that it has been only this one bug, but he disturbed the registry a bit.

As more testers, as better.

Uploaded.

Peter



#91128 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 04:56 PM in Development

Peter are you sure that you've fixed the copyorexpand problem?

This is accepted as correct:
&#91;process&#93;

Run,%ScriptFile%,bla,ACLUI.DLL,%source_sys%,%target_win%,NOWARN,PRESERVE



&#91;bla&#93;

CopyOrExpand,#2\#1,#3,#4,#5
If one of the arguments #4 or #5 is different from NOWARN or PRESERVE, the syntax warning comes up.
(I do not know what the API delivers)

Also is it normal to get a bunch of RegHiveUnLoad - Failed after a build stops due to an error?

No that should not happen.
Do you have the log of the failing script?

Autosave reacts like on is selected in options thought ask is.

For me it works as intended.
When you have changed the source and leave by red x:
On: changes are saved automatically
Off: Changed are discarded
Ask: Dialog asking whether to save.

What do you assume how it should work?

Peter



#91874 WinBuilder 080 scheduled for upload

Posted by pscEx on 19 February 2010 - 11:22 AM in Development

Syntax update done!

RF under work

Peter



#91148 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 07:55 PM in Development

Ok, here it is.


:cheers:

Thanks Medevil!

I now understand what happens.

But it will take a while to build a test script which reproduces that...
Tomorrow!

Peter :cheers:



#91869 WinBuilder 080 scheduled for upload

Posted by pscEx on 19 February 2010 - 09:28 AM in Development

If you use the macic wand: System,REGREDIRECT,ON is not defined.

When WinBuilder runs on a x64 host:

64 causes next accesses to the 64 bit entries
32 causes accesses to the 32 bit Node
OFF lets Billy decide.

Every definition is valid from "now" for "ever"

The "Search" glitch is fixed. Thanks! :smiling9:

Peter



#91173 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 09:50 PM in Development

I've run the whole project again. Used the the option to 'not stop on error' to log all errorous load commands (or the missing unload commands :cheers:).
I did get a single error. :cheers:
How can a single double load lead to, i think 6 'can not unloads'?



:cheers:

HURRRRRRAH :rofl:

You got the erroneous script.

I think you did not understand completelly what happened before, let me try to explain with other words:

Hive X mounted > count 1
Tried to mount Hive X again. Not done because not necessary. But a bug increased count to 2
Hive X unmounted > count 1
Error: Because count > 0, loop through next script command lines / scripts searching RegHiveUnload to unmount all open hives (means until count = 0):

Found RegHiveUnload #1: Tries to unmount, error because it is not mounted. count still 1
Found RegHiveUnload #2: Tries to unmount, error because it is not mounted. count still 1
Found RegHiveUnload #3: Tries to unmount, error because it is not mounted. count still 1
Found RegHiveUnload #4: Tries to unmount, error because it is not mounted. count still 1
...

BTW: Now on second attempt an error message, no increase of count, therefore no 'unmount' loop

Peter



#91831 WinBuilder 080 scheduled for upload

Posted by pscEx on 18 February 2010 - 07:27 PM in Development

To explain for others:
Lancelot and me cleared this issue by ICQ.

And I made some slight modifications on the trash's content

Peter



#91369 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 05:21 PM in Development

The fixed bug is due to "No new file is seen when using the (standard) 'version' option".

The appearently non working MD5 and Certification options work as I intentionally designed:
They compare TWO files physically resp. logically.
Therefore the MD5 and Certification compare is skipped when one of the files is missing.
Missing files have to be (as before) detected by the 'Version' option.

I think it is too much risky to change this behaviour in the last minute. So, if that is really an issue for you, let's postpone to the next WinBuilder.

To 3rd: I never have a greyed 'Create' button. Can you explain how to reproduce?

Peter



#91808 WinBuilder 080 scheduled for upload

Posted by pscEx on 18 February 2010 - 02:56 PM in Development

@ is a value with "No name" :smiling9:

Peter



#90964 WinBuilder 080 scheduled for upload

Posted by pscEx on 09 February 2010 - 08:43 PM in Development

Request for RegWriteBinary:

RegWriteBinary,<HKEY>,<KeyType>,<Section>,<Keyname>,<Value>

Reason:
I can not write Thai localization infos to registry:

I'm sorry, I do not understand any more.

I do not know RegWriteBinary ????? Who introduced this command in the WinBuilder version under discussion ?????
And I never got some questions / requests / issues about Thai

Why now, where my question in post #1 was whether the current WB version is suited to be used for CURRENT projects ??????

Let's go to this first post 'translated to simply question': Can this (or the current trash) be used to run current projects?

Or should we wait until all currently open or suspected Thai, Chinese, Japanese, Arabic, (maybe also Greek, Russian etc. ) issues are theortically solved (inspite some of them are currently not actual).
BTW: "Theoretically solved" means that in the first actual use of such a language with high propability new issues come up, because the tests are made in the sandbox by sandbox generals.

(Remember above: Can this (or the current trash) be used to run current projects?)
If yes, I will publish.

Nobody is perfect. And I do not see ANY reason not to publish the fastest and most powerful WB version we ever have had, because it has troubles to work with Thai.
Thai should be one of the tasks for the next version.

If not, I'm waiting for a description of the demanded NECESSARY changes.
But please not simply : "Support Thai".
After that we can go on.
Until then, no more response by me in this topic.

Peter



#91806 WinBuilder 080 scheduled for upload

Posted by pscEx on 18 February 2010 - 02:48 PM in Development

RegWrite,HKCU,0x0,Software&#92;&#48;TEST\key0
I get
@=hex&#40;0&#41;&#58;
is it your design purpose :smiling9: ???? (if it is, fine for me, if it is not ... --> please confirm)

It is not designed by me. That's Billy, but it is correct.

Empty Key creation (in Billy's Regedit way, Registry Editor-->Right Click somewhere on right -->New-->Key)
RegWrite,HKLM,0x1,<Key>

Correct

Empty Value creation
RegWrite,HKLM,<typ>,<Key>,<Value>

Correct

Empty Default (@) Value creation
RegWrite,HKLM,<typ>,<Key>,<Value>,

Wrong!
Should be:
RegWrite,HKLM,<typ>,<Key>,,

Peter



#91080 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 07:36 AM in Development

Hi Peter,

There's a bug with CopyOrExpand not accepting PRESERVE and NOWARN passed as parameters.

http://www.boot-land...?...ost&p=91067

Thanks,
Galapo.


new version uploaded to trash:

fixed - bug in scriptline parameter count check

Peter

BTW: Nuno decided that next Monday the actual trash will be published as stable version WinBuilder 080.

If there are any questions left, there are 4 days to ask them.



#91796 WinBuilder 080 scheduled for upload

Posted by pscEx on 18 February 2010 - 01:37 PM in Development

Next trash already online.

I do not understand "Confirmation"

Is something missing in the "Tutorial"?

Peter



#91089 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 09:34 AM in Development

Next Upload will have the value from registry. Maybe that helps.


Uploaded

changed - improved syntax check with warnings / errors in RegWriteBin / RegReadBin command
changed - Desktop path now read from registry

BTW: The new code is
RegReadInternal&#40;&#39;HKEY_CURRENT_USER&#39;, &#39;Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders&#39;,

	&#39;Desktop&#39;, S&#41;;
But the read value is "%USERPROFILE%\Desktop"

And therefore I have to replace:
s &#58;= AnsiReplaceText&#40;s, &#39;%USERPROFILE%&#39;, GetEnvironmentVariable&#40;&#39;UserProfile&#39;&#41;&#41;;
For me no logical difference to the old solution :cheers:

Peter



#91793 WinBuilder 080 scheduled for upload

Posted by pscEx on 18 February 2010 - 01:15 PM in Development

@Lancelot!

Thanks for your "Impatience". That gave many hints to some smaller remaining glitches. :smiling9:

But now I did everything I can do.

For all data types there are two common routines:

function WriteNull&#40;dwType&#58; DWORD&#41;&#58; boolean;

  begin

	Result &#58;= &#40;RegSetValueEx&#40;

	  Registry.CurrentKey, // handle of key to set value for

	  PAnsiChar&#40;key&#41;, // address of value to set

	  0, // reserved

	  dwType, // flag for value type

	  nil,

	  0&#41; // size of value data

	  = ERROR_SUCCESS&#41;;

  end;



  function WriteEmpty&#40;dwType&#58; DWORD&#41;&#58; boolean;

  begin

	Result &#58;= &#40;RegSetValueEx&#40;

	  Registry.CurrentKey, // handle of key to set value for

	  PAnsiChar&#40;key&#41;, // address of value to set

	  0, // reserved

	  dwType, // flag for value type

	  PChar&#40;&#39;&#39;&#41;,

	  0&#41; // size of value data

	  = ERROR_SUCCESS&#41;;

  end;
Billy decides, how the individual types are written into registry.

Please compare with RC2!.
Some values are logically "Better".
And this bug of RC2 is fixed:
RegWrite,HKCU,0x1,Software&#92;&#48;TEST,1
is not written at all.

Peter



#91112 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 02:05 PM in Development

can you try on your host without using ansireplace

Not necessary. That is how I started. And then I got no result.
Going into debugger I saw the %USERPROFILE% in the Registry.ReadString result.
And then I added the replace.

on the registry of freshly installed XP-enu (and tr) (32bit, 64bit etc.) the default values are REG_EXPAND_SZ with %USERPROFILE%, example: %USERPROFILE%\Start Menu

THAT IS IT! the REG_EXPAND_SZ gave me the hint!

I looked in my lokal registry into ...\Shell Folders and found the complete path as REG_SZ.
The %USERPROFILE% path as REG_EXPAND_SZ is in ...\User Shell Folders.

I changed the WB code from User Shell Folders to Shell Folders, and it works now w/o replacement.
:cheers:

Peter



#90440 WinBuilder 080 scheduled for upload

Posted by pscEx on 03 February 2010 - 04:31 PM in Development

During you replied, I added history to first post.
So in the history you can allways see whether something changed.

Peter



#91123 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 04:12 PM in Development

Just a little annoyance, maybe you can fix it too.

This is what i type.


After closing and reopening this is what i get.


Clearly the Linefeed got correctly encoded into the line during save, however while displaying it is ignored.

:cheers:


Fixed!

Next trash.

Peter



#90539 WinBuilder 080 scheduled for upload

Posted by pscEx on 05 February 2010 - 01:09 PM in Development

Thanks, Lancelot. I now understand the difference between variables and macros: variables can never "execute", they just expand content, whereas macros execute. Previously, variables could also execute, but this functionality has been split to new macros.

Hence I think we need a new command: SetMacro. To me it seems there is little advantage in having the difference between a variable and a macro determined by using % or not. So:

Set,%var%,test would set a variable
SetMacro,%macro%,"Run,%ScriptFile%,test" or SetMacro,%macro%,Run#$c%ScriptFile%#$ctest would set a macro.

WB would then have two separate stacks, variables and macros. A variable could be turned into a macro:

&#91;variables&#93;

   %var%=Run,%ScriptFile%,test

   

   &#91;process&#93;

   SetMacro,%macro%,%var%

   %macro%,yes!

   

   &#91;test&#93;

   Echo,#1

This leads me to suggest that if WB splits variables and macros at the stack level, then logically it also needs to split this at script level. That is, we can't have macros under [variables]. Macros need to be listed under a new [macros] section. Eg:
&#91;variables&#93;

   %section%=1

   

   &#91;macros&#93;

   test=run,%scriptfile%,%section%

   

   &#91;process&#93;

   test,yes!

   

   &#91;1&#93;

   Echo,#1

What do you think?

Regards,
Galapo.


I think it is not reasonable to add this functionality right now.
It cannot be done with some lines of code (like it has been possible with if,EXISTMACRO..

Since a long time the 'macro' handling should be known:

I think that cannot.

Reason: formally text defined in [Variables] replaced this text, whenever it appeared inside a line.

That lead to several bug reports.

Therefore starting with 075 's new variables handling [Variables] without the % are only replaced when they are the first element in a script line. Then they mean some shortcuts to other commands (like used in the API) and are called 'macros'

Peter

Implicitelly this says that a macro can only be defined in the [variables] section.
When resolving the [variables] section, WinBuilder looks for the % and decides whether to put into the varables or macros list.

So let's consider as a request for a future version.

Peter

EDIT: Try this code:
&#91;variables&#93;

 test=run,%scriptfile%,%section%

 %section%=1

 

 &#91;process&#93;

 test,yes!

 Set,%section%,2

 test,great!

 

 &#91;1&#93;

 Echo,ONE&#58;#1

 

 &#91;2&#93;

 Echo,TWO&#58;#1



#91132 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 05:09 PM in Development

Also is it normal to get a bunch of RegHiveUnLoad - Failed after a build stops due to an error?

Here my test:
&#91;Process&#93;

RegHiveLoad,WB-Software,%target_sys%\config\software

RegHiveLoad,WB-Default,%target_sys%\config\default

RegHiveLoad,WB-Setup,%target_sys%\setupreg.hiv

RegRead,HKLM,%WB-Setup%\PSCC,Command0,%var%

RegHiveUnLoad,WB-Software

RegHiveUnLoad,WB-Default

RegHiveUnLoad,WB-Setup
And it works as intended. The log:

[Info] File [%BaseDir%\Projects\nativeEx_barebone\CodeBox.txt] Version [1]

[Success] AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\nativeEx_barebone\Basic\Build\Common_Api.script] into the local variable list
[Success] RegHiveLoad - File: [%BaseDir%\Target\nativeEx_barebone\I386\System32\config\software] Section [WB-Software]
[Success] RegHiveLoad - File: [%BaseDir%\Target\nativeEx_barebone\I386\System32\config\default] Section [WB-Default]
[Success] RegHiveLoad - File: [%BaseDir%\Target\nativeEx_barebone\I386\System32\setupreg.hiv] Section [WB-Setup]
[Failed] RegRead - Failed to read specified key from: [HKLM]Section: [%WB-Setup%\PSCC] Key: [Command0] to variable:: [%var%]
[Success] RegHiveUnLoad - Unloaded registry hive: [WB-Software]
[Success] RegHiveUnLoad - Unloaded registry hive: [WB-Default]
[Success] RegHiveUnLoad - Unloaded registry hive: [WB-Setup]

[Done] Finished processing script: CodeBox test

[Clock] Script time: 640 miliseconds

[Done] Script has been sucessfully processed!

I got a lot of errors, too, when I tried the same using the API.

But that is a question for API, not for WinBuilder.

Peter



#90627 WinBuilder 080 scheduled for upload

Posted by pscEx on 06 February 2010 - 04:56 PM in Development

New version uploaded to trash:

Following Nuno's suggestion, in the Download Center GUI now the red 'stop' square and the green 'go' arrow are invisible for the standard user.

They can be individually activated in the 'Options' tab of the download center.

Peter



#91762 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 10:48 PM in Development

I'm not sure that's the best idea. I think it is better that if 080 is not going to be backwards compatible,
//then we should get such things out of the way now before release.
//Then we don't have to introduce [macros] in 081 or 082 and break compatibility again and have to do a mass ...

Regards,
Galapo.

I think that tis is the current (and future related) way. And that is the way I'm trying to implement.

Peter



#90714 WinBuilder 080 scheduled for upload

Posted by pscEx on 07 February 2010 - 12:02 PM in Development

Try the new trash.
But do not worry about the version number. I agreed with Nuno, that the current 078 SP7 becomes the stable 080 when the experts agree that it is practically error free.

Let me quote a post of mine which is still valid.

In the last days with rather complicated variables the question came up that WinBuilder's variables handling sometimes fails.

Here a short explanation what can be done and what cannot be done.

First some rules:

  • WinBuilder Script Line Parameters are separated by a comma.
    If a comma is inside an argument, it must be 'escaped' by #$c
  • Besides some special cases (e.g. parameters in ShellExecute) generally enclosing quotes are not needed.
  • Enclosing quotes MUST be used if the WinBuilder Script Line Parameters contain spaces
    If the spaces are replaced by the escape #$s, the enclosing quotes should be ommitted.
In most cases user violation of that rules are accepted by WinBuilder and processed as assumed.
E.g. unnecessary enclosing quotes or a comma inside an item enclosed by quotes.

But sometimes that can bring unexpected results.


To

As far as i understand, since 0x1 can add only 1 value, than all values after 5th comma whether between quotes or not, are used as a single value by winbuilder ?????

If you use WinBuilder with the option "Check Parameter Count" (ALL developers should do that!) you'll see a warning about invalid syntax.

Never trust that invalid syntax will interpreted in the same way in different WinBuilder versions!

The above quote also explains that in the 0x7 sample the unnecessary quote will not cause different interpretation.

Peter



#91155 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 08:41 PM in Development

new version on trash

added - error in RegHiveLoad when the hive is already mounted

To explain Medevil's issue:

Anywhere in the project a hive is mounted by a script which is already mounted.

Right now winbuilder does not care, because with / without double mounting the internal status is identic.

BUT: every mount increases a 'mountedHives' counter.

When an error occurs and the 'mountedHives' counter is not zero, WB scans the following lines / scripts and does ONLY unmounting hives, until the 'mountedHives' counter is zero.

Here the 'mountedHives' counter is not zero, but there is no hive to unmount!

So every RegHiveUnload brings an error.

Solution:
It would be possible to supress the error in such a case.

But that would allow erroneous scripts.

Therefore since now:

The trial to mount an already mounted hive, fires an error.


Medevil, please try the latest trash for your project, and hopefully it will stop anywhen with the 'double mount' line.

Peter



#90784 WinBuilder 080 scheduled for upload

Posted by pscEx on 08 February 2010 - 02:52 PM in Development

New version uploaded

fixed - bug in download center: On first show tree was allways built, regardless of 'green arrow' definition

Peter



#91161 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 09:08 PM in Development

Peter you've fixed the wrong part at the autosave problem. :cheers:
The default used to be ASK. Now it is ON.

:cheers:

I was sure to default to "ASK"

Peter ;)



#90799 WinBuilder 080 scheduled for upload

Posted by pscEx on 08 February 2010 - 05:40 PM in Development

Actually sad, thought the good thing about wb is it flexibility ...

To proof the flexibility of WinBuilder (and that one of mine :cheers: ):

New version in trash ;)

added - RegAddMulti command
RegAddMulti,HKLM,Section,Key,APPEND,String

   RegAddMulti,HKLM,Section,Key,PREPEND,String

   RegAddMulti,HKLM,Section,Key,BEFORE,SubVal,String

   RegAddMulti,HKLM,Section,Key,BEHIND,SubVal,String

   RegAddMulti,HKLM,Section,Key,PLACE,Index,String

   RegAddMulti,HKLM,Section,Key,DELETE,SubVal

I'm sure that makes time consuming external autoit apps obsolete.
@JFX: Be as flexible as the WB team and replace your autoit stuff in the same time of less than 2 hours! ;)

Peter

EDIT:
Small logical addition and new upload:
When the BEFORE item does not exist, the new item is inserted as first one.
When the BEHIND item does not exist, the new item is appended.
In both cases there is a warning in the log.
(The previous version could crash in those cases)



#91280 WinBuilder 080 scheduled for upload

Posted by pscEx on 12 February 2010 - 06:38 PM in Development

A new version is uploaded.

First: One change may bring some work to adapt some lines of code:
I renamed RegAddMulti to RegMulti.
Reason: Because it also performs non-adding tasks like Delete and Index, the 'Add' in the name may be confusing.

Second: I added the first version of a syntax description to trash.zip.
Nuno suggested, from now on to have manuals which version dependent only show new / changed functionalities.
The sysntax description is the first of these 'Incremental' manuals.


Peter

Just to bump!

Maybe it is lost in the "One Pixel" discussions.

Peter



#90806 WinBuilder 080 scheduled for upload

Posted by pscEx on 08 February 2010 - 07:02 PM in Development

BEFORE and BEHIND make it possible to put a string more the once in a MULTI_SZ.

Thanks! I'll prohibit that (tomorrow)
BTW: I think that all methods make it possible, because currently I do not check the presence of the string before write.

Peter



#91362 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 04:21 PM in Development

Can you explain a bit more? I do not understand.

Peter



#90873 WinBuilder 080 scheduled for upload

Posted by pscEx on 09 February 2010 - 01:59 PM in Development

Is it feasible to check whether the string already exists and if so delete it and then write it back in to the position indicated by the command? Or is it better to just warn in the log and if a script needs a particular ordering then it should you 'DELETE' and then the other desired command, say 'PREPEND' or 'BEFORE'?

Regards,
Galapo.

I prefer the second alternity. My opinion is that ALLWAYS the programmer has to decide, never the program.
To make that possible, I did some changes:

changed - improved syntax check with warnings / errors in RegAddMulti command
added - RegAddMulti,HKLM,Section,Key,INDEX,SubVal,%Index%
added - If,EXISTREGMULTI,HKLM,Section,Key,SubVal,Command


To test the new checks / functions you can try my standard test:

&#91;process&#93;

RegHiveLoad,WB-Software,%target_sys%\config\software

RegWrite,HKLM,0x7,WB-Software\PSC,MultiInside1,one,two,three,five,six,seven

If,EXISTREGMULTI,HKLM,WB-Software\PSC,MultiInside1,three,Echo,YES

Else,Echo,NO

If,EXISTREGMULTI,HKLM,WB-Software\PSC,MultiInside1,xxx,Echo,YES

Else,Echo,NO

RegAddMulti,HKLM,WB-Software\PSC,MultiInside1,INDEX,TWO,%var%

Echo,%var%

RegAddMulti,HKLM,WB-Software\PSC,MultiInside1,APPEND,bla

RegAddMulti,HKLM,WB-Software\PSC,MultiInside1,APPEND,TWO

RegWrite,HKLM,0x7,WB-Software\PSC,MultiInside2,one,two,three,five,six,seven

RegAddMulti,HKLM,WB-Software\PSC,MultiInside2,PREPEND,bla

RegAddMulti,HKLM,WB-Software\PSC,MultiInside2,PREPEND,TWO

RegWrite,HKLM,0x7,WB-Software\PSC,MultiInside3,one,two,three,five,six,seven

RegAddMulti,HKLM,WB-Software\PSC,MultiInside3,BEFORE,TWO,bla

RegAddMulti,HKLM,WB-Software\PSC,MultiInside3,BEFORE,XXX,BLA

RegAddMulti,HKLM,WB-Software\PSC,MultiInside3,BEFORE,three,five

RegWrite,HKLM,0x7,WB-Software\PSC,MultiInside4,one,two,three,five,six,seven

RegAddMulti,HKLM,WB-Software\PSC,MultiInside4,BEHIND,TWO,bla

RegAddMulti,HKLM,WB-Software\PSC,MultiInside4,BEHIND,XXX,BLA

RegAddMulti,HKLM,WB-Software\PSC,MultiInside4,BEHIND,three,five

RegWrite,HKLM,0x7,WB-Software\PSC,MultiInside5,one,two,three,five,six,seven

RegAddMulti,HKLM,WB-Software\PSC,MultiInside5,PLACE,2,bla

RegAddMulti,HKLM,WB-Software\PSC,MultiInside5,PLACE,10,two

RegAddMulti,HKLM,WB-Software\PSC,MultiInside5,PLACE,2,two

RegAddMulti,HKLM,WB-Software\PSC,MultiInside5,PLACE,three,blabla

RegWrite,HKLM,0x7,WB-Software\PSC,MultiInside6,one,two,three,five,six,seven

RegAddMulti,HKLM,WB-Software\PSC,MultiInside6,DELETE,bla

RegAddMulti,HKLM,WB-Software\PSC,MultiInside6,DELETE,two

RegHiveUnLoad,WB-Software

BTW: New version from trash is needed!

Peter



#91371 WinBuilder 080 scheduled for upload

Posted by pscEx on 13 February 2010 - 05:33 PM in Development

To 3rd: I never have a greyed 'Create' button. Can you explain how to reproduce?

I got it!

I'm going to fix.

Peter



#91141 WinBuilder 080 scheduled for upload

Posted by pscEx on 11 February 2010 - 06:33 PM in Development

Here it is.

Thanks and sorry, I need also your actual xpe-pnp-aio.script.

I think, that is a script fault.
On the first view from the log, inside this script the hives are unloaded several lines before the error occurs.
And after the error you want to unload again.

But it is difficult to decide from the log. Therefore I need the script

Peter



#91517 WinBuilder 080 scheduled for upload

Posted by pscEx on 15 February 2010 - 05:43 PM in Development

Please post this under the HivesFactory tpoic.

This is not a WinBuilder issue

And HoJoPE I NEVER designed for x64.
It is created 2006 Mhttp://www.boot-land...?...post&p=2212
Maybe some (more) x64 changes could be done ...

Peter



#91712 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 12:37 PM in Development

This is working with 077rc2:

&#91;Process&#93;

Set,%test1%,&#34;Exec,%ScriptFile%,entry&#34;,PERMANENT

%test1%,hello



&#91;entry&#93;

Message,#1,Information

Regards,
Galapo.


It cannot work with 080!

But this works with the latest trash:
&#91;process&#93;

Set,test1,&#34;Exec#$c%ScriptFile%#$centry&#34;,PERMANENT

test1,hello



&#91;entry&#93;

Message,#1,Information

Peter



#91758 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 10:13 PM in Development

But the issue is that this produces a syntax error:

[process]
//Set,%bla%,AnyContents,PERMANENT
Set,%bla%,"",PERMANENT

That is, %bla% has to be defined as "something" before it can be given an empty value.

Regards,
Galapo.

I'll try!

Peter



#91416 WinBuilder 080 scheduled for upload

Posted by pscEx on 14 February 2010 - 09:23 AM in Development

You've change something about the 0x7 registry writes, i've read.
Is this code from 'convert files to script' still ok?

Looks ok for me.

Peter



#91745 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 08:57 PM in Development

[quote name='Galapo' date='Feb 17 2010, 09:19 PM' post='91740']
Woops -- that bug is with 077rc2, fixed with trash. So no issue anymore.
/quote]
HHHAAALLLEEELLlUUUJJJAAA!
Peter

The first "documented" feature better than RC2!

Peter



#91417 WinBuilder 080 scheduled for upload

Posted by pscEx on 14 February 2010 - 09:36 AM in Development

Winbuilder already have an internal function to open script folder (when folder selected at left, by clicking yellow icon at right )

an idea is having a syntax to use this function for anyfolder (because it works better and much proper (and I guess easier and would be faster) than using explorer.exe

just to give example:

explorefolder,%Globaltemplates%\blablaapplication\PutFilesHereFolder

You already have it
ShellExecute&#91;Ex&#93;,Explore,Folder&#91;\FileName&#93;&#91;,&#34;Parameters&#34;&#93;
Peter



#91522 WinBuilder 080 scheduled for upload

Posted by pscEx on 15 February 2010 - 05:54 PM in Development

I see you set back old design... (techinically it is not fixed, reverted back to old design). Whatever.....

Please allow me to 'explode'

In order to get your wish for 'Cntrl-F' and 'F3' to bring to run, I tried 'EVERYTHING' for at least 5 hours. That included changing the Interface area from 3D=True to 3D=False.

Sorry that I have been so stupid to deliver a 'new design' because I forgot to revert.
And I logically correct get back your "You stupid ..."

Sometimes somebody (me, too) learns something.
And here I learned: When you try to help a user to fullfill his request, suggestion, etc. : If something else is unusual after the change, the same user will box you.
Therefore: The best IS "never to try ..."

RegWrite,HKCU,0x1,Software\0Test\testkey,,

This creates

Windows Registry Editor Version 5.00



&#91;HKEY_CURRENT_USER\Software&#92;&#48;TEST\acwfile&#93;

does NOT create
Windows Registry Editor Version 5.00



&#91;HKEY_CURRENT_USER\Software&#92;&#48;TEST\acwfile&#93;

@=&#34;&#34;

Show me ONE WB version since 072 which created this entry!
IMHO @="" is Billy's kind to say "No Entry".
Take a break, try to come onto the earth again, and then enjoy the new WB 080.

Topic closed for me.

I'll publish soon.



#91444 WinBuilder 080 scheduled for upload

Posted by pscEx on 14 February 2010 - 04:29 PM in Development

OOPS!

That was a fix for ctmag. I think that I overshoot the target :cheers:

Peter



#91718 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 02:09 PM in Development

I tested, and for me the result seems logical:

RegWrite,HKLM,0x3,WB-Software\Section > Writes "Empty binary of length 0"
RegWrite,HKLM,0x3,WB-Software\Section1,, > Writes 00
RegWrite,HKLM,0x3,WB-Software\Section2,,5 > Writes 05

Peter



#91445 WinBuilder 080 scheduled for upload

Posted by pscEx on 14 February 2010 - 04:43 PM in Development

I get "Variable definition loop" errors with latest trash, tested with LiveXP Recommended

Fixed

question is, this does not work !!??
ShellExecuteEx,Explore,%scriptdir%
it opens 1 upper directory :cheers:

Fixed.

New trash uploaded.

Peter



#91751 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 09:47 PM in Development

This produces a syntax error warning with latest trash:

Set,%testvar%,&#34;&#34;,PERMANENT

How do we permanently set an empty variable?

Thanks,
Galapo.


Sorry, I think that I never have documented this feature :smiling9:

[process]
Set,%bla%,AnyContents,PERMANENT
Set,%bla%,"",PERMANENT

generates in script.project:
%bla%=

While

[process]
Set,%bla%,AnyContents,PERMANENT
Set,%bla%,NIL,PERMANENT

deletes %bla% from script.project
Peter



#91458 WinBuilder 080 scheduled for upload

Posted by pscEx on 14 February 2010 - 09:20 PM in Development

Fixed. no it was not

After 080 published, I will put on bug report with some other things, but I am not sure what will happen when it is flagged as fixed .......

shortly: Case closed for me

Thanks :cheers: !
It is currently not yet implemented, that in this case the (x86) app WinBuilder will call an x64 explorer if the host OS is x64.
I'll try for 15 minutes. If no success: Currently you can live with it, and in the next release we'll find the final solution!
There seems to be no reason to postpone WBG 080 because of this (coming up today) request.

Peter

EDIT: Wait some minutes, I have an idea for the script, I have to test.



#91760 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 10:23 PM in Development

My opinion is that Set command should be used for both, but [variables] should not be used for both anymore.

Agreed!
But NOT in last minute for WB 080!

Peter



#91460 WinBuilder 080 scheduled for upload

Posted by pscEx on 14 February 2010 - 09:29 PM in Development

EDIT: Wait some minutes, I have an idea for the script, I have to test.

My tests brought some questions to your results. Let's postpone behind WB 080, too

Peter :cheers:



#91722 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 02:54 PM in Development

The magic wand shows "0x1 New empty section".

Should that be expanded to 0x3 and 0x7?

Peter



#91477 WinBuilder 080 scheduled for upload

Posted by pscEx on 15 February 2010 - 08:46 AM in Development

Hi Peter,

Currently the WB editor wand for CopyOrExpand gives us:

CopyOrExpand,FileToCopyOrExpand,DestinationFolderOrFilename

I wonder if it could supply either

CopyOrExpand,FileToCopyOrExpand,DestinationFolderOrFilename[,PRESERVE,NOWARN]

or

CopyOrExpand,FileToCopyOrExpand,DestinationFolderOrFilename[,NOWARN,PRESERVE]

Regards,
Galapo.

Done!

Peter



#91716 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 01:55 PM in Development

Show me a registry key of a live registry, where the deafult value is binary or multi_sz :smiling9:

"Fixed before" is nonsence.

Fixed means "It is working correctly".
And what is "Correct" for something which does not exist.

Peter



#91496 WinBuilder 080 scheduled for upload

Posted by pscEx on 15 February 2010 - 02:29 PM in Development

[well, in fact I do not know how to create empty value with latest trash. :cheers:

Nobody knows that, but maybe there is a new trash or the final WB 080 version? :rofl:

BTW: That has been a (maybe not 100% fair) small test I built into the exe. I wanted to have a impression how careful the testers are.
You won! :cheers:

BTW2: The glitch with number boxes is fixed.

I think we are ready to upload tonight.

Currently I'm preparing / uploading the new documentation.

Peter :cheers:



#91738 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 07:54 PM in Development

If you add "Empty Value Creation Rules" to syntax_rules written above for 0x1 0x2 0x3 and key , we can close regwrite case for wb080 development

I wrote a short tutorial: RegWrite command, How to write "Empty" items

You can test it with:
&#91;process&#93;

RegHiveLoad,WB-Software,%target_sys%\config\software

Run,%ScriptFile%,do-work,0x1

Run,%ScriptFile%,do-work,0x2

Run,%ScriptFile%,do-work,0x3

Run,%ScriptFile%,do-work,0x7

RegHiveUnLoad,WB-Software



&#91;do-work&#93;

If,EXISTREGSECTION,HKLM,WB-Software\psc#1_1,RegDelete,HKLM,WB-Software\psc#1_1

If,EXISTREGSECTION,HKLM,WB-Software\psc#1_2,RegDelete,HKLM,WB-Software\psc#1_2

RegWrite,HKLM,#1,WB-Software\psc#1_1

RegWrite,HKLM,#1,WB-Software\psc#1_2,,

RegWrite,HKLM,#1,WB-Software\psc#1_1,Key_1

RegWrite,HKLM,#1,WB-Software\psc#1_2,Key_2,

You need the latest trash with some smaller fixes.

BTW: When you test, do not trust the entry "Value" of Regedit. To see the real value use "Change Binary Data" and cancel after viewing.

BTW2: If there are still some situations unsolved:
It looks like that there are no practical cases which are not supported.
To support all theoretical cases, can be a goal of next release:

No more general changes for WB 080 due to "Empty". The "Medusa" risks IMO is too big.

Peter



#91502 WinBuilder 080 scheduled for upload

Posted by pscEx on 15 February 2010 - 04:03 PM in Development

There occurred a new issue (from Lancelot's post about some HoJoPE warnings):
HoJoPE generates:

RegWrite,HKLM,0x3,WB-Software\Microsoft\SystemCertificates\CA\Certificates\109F1CAED645BB78B3EA2B94C0697C740733031C,Blob,03,00, ...

But WinBuilder says:

Syntax was not valid: [RegWrite,HKLM,"0x1","WB-Software\Microsoft\SystemCertificates\CA\Certificates\109F1CAED645BB78B3EA2B94C0697C740733031C","Blob","03","00", ...


I need some latin Minutes!

Peter



#91748 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 09:26 PM in Development

Hi Peter,

I'm thinking here particuarly of '9 - DefineBootsector.script'. Currently it sets a few variables, generally:

Set,%BootSector%,grldr,PERMANENT
Set,%MenuFile_GRUB%,%TargetDir%\menu.lst,PERMANENT
Set,%MenuAdd_GRUB%,"Exec,%ScriptFile%,Add-grub4dos-entry",PERMANENT

This works with 077rc2, now does not work with trash. So no backwards compatibility in this regard? There's a number of scripts which will be broken.

Thanks,
Galapo.

I see it as the demand of progress.

A macro is really different from a variable.

A macro replaces the FIRST argument of a command line, while a variable can replace any other arguments.

Any mixing is a time bomb ...

So, logic decision is:
To distinguish: A variable has the %, while a macro does not have.

Peter



#91513 WinBuilder 080 scheduled for upload

Posted by pscEx on 15 February 2010 - 04:56 PM in Development

If I overwrote the existing LiveXP's hivesFactory 069 with 070 from 2010_Jan-27 (see http://www.boot-land...?...ost&p=89898). Can be downloaded from nativeEx_server.

With this version LiveXP runs error- and warning- free (besides telling that 077 RC2 is the only correct WB version which can be used :cheers: )

No more arguments, not to publish WB 080 ! (?)

Peter



#91754 WinBuilder 080 scheduled for upload

Posted by pscEx on 17 February 2010 - 10:03 PM in Development

Ok, so if 080 is going to not be backwards compatible in this regard, why don't we just draw the line here and implement even more improved variable and macro handling like I suggested: http://www.boot-land...?...ost&p=90523

In other words, variables and macros should from now on be kept distinct. No writing macros to [variables], this just adds to the confusion. Set,test1,"Exec#$c%ScriptFile%#$centry",PERMANENT shouldn't add to script.project [variables] because it isn't thought of as a variable anymore but a macro -- it should therefore write to [macros].

Regards,
Galapo.

Right!

Due to your referenced link:
Separate stacks I already introduced in the FIRST version I worked with (maybe 072 or 074)

In between this logic came to more appearance and sometimes fires some errors or works not as intended.

To "distinguish between macros and variables":

I think the way I coded, demands lowest number of changes.

The [Variables] section, as well as the "Set" command handle both.

If there is a %, it is a variable.
If there is no %, it is a macro.

So the only thing the user has to do:
When you create new macros, do not use the % for name
If you have old macros with % in the name, please remove the %.

(BTW: Not checked, but I'm rather sure, that the new macros w/o % will also run in older WB versions)

Peter



#93243 WinBuilder 080 checkbox inconsistency

Posted by pscEx on 04 March 2010 - 07:15 PM in Development

Cathegory checkboxes should be only half-checked (crossed) when not all elements are selected inside it...

I hope I'll remember this in the next version.
To help me to remember, please write into bug tracker / requests.

Peter



#127086 winbuilder 080 - can't add drivers to iso

Posted by pscEx on 20 April 2011 - 12:29 PM in Win7PE

Your log looks ok.

I tried Driver Package installer on my system in a Win7PE_SE and it works well.

Maybe the 7z.exe has some troubles, but does not report bacause it is started hidden.

Can you try the 7.command line from the log in a cmd window?
Of course the %variables% must be resolved.

Peter



#127002 winbuilder 080 - can't add drivers to iso

Posted by pscEx on 18 April 2011 - 10:29 AM in Win7PE

In order to see what happens, we need the log.html.

Peter



#93227 WinBuilder 080

Posted by pscEx on 04 March 2010 - 05:31 PM in News

Just found myself stuck with this view of WB080 whenever i clicked on the download button. Nothing short of a restart fixed this issue.



:whistling:

For Standard Users: Delete WinBuilder.ini and start again.
After a fresh installation this never happens.

For Experienced Users: There is a flag set that the downlod tree is only build after clicking the green arrow.
You can manage this by clicking the "Options" tab and uncheck the " ...red ..." and " ... green ..." options.

But you do not have the "options" tab :cheers:
So try the only possibility you have: click green arrow.

Two remarks:
#1: This is NOT a reason for a new revision (see 'Standard users')

#2: What did you do to create this situation?
I have never had it, inspite I also use the green arrow.

Peter

BTW: Maybe you came into one of the (currently usual) situations of delayed / no access to Boot-land server.
That of course is difficult to reproduce in the debugger and find out what can be done to avoid your situation.



#93224 WinBuilder 080

Posted by pscEx on 04 March 2010 - 05:17 PM in News

You know, I was wondering when you were going to catch on and suggest that! But think about where LiveXP development prodding has got us in this regard: no scripts need to be touched and we have backwards compatibility. I think it's a win-win for both LiveXP and WB.

You do a great job Peter and Lancelot and I are both greatful for your efforts.

Thanks,
Galapo.

Thanks for your thanks! :whistling:
But this is still open:

Why not simply pass the %RunFromLoc% to a capi call and let CAPI do the rest?

And it guarantees backwards compatibility!

Peter :cheers:



#92121 WinBuilder 080

Posted by pscEx on 21 February 2010 - 07:45 PM in News

If you and ctmag weren't able to run the stupid Vbox, what would a new user do? :smiling9:

Use the script of nativeEx_barebone or nativeEx_win7 :cheers:
Both are identical and do not depend XP or Win7, and because of the %BurnISO% ctmag does not like, it does also not depend on any project internal ISOs.

Peter :cheers:



#92706 WinBuilder 080

Posted by pscEx on 27 February 2010 - 05:19 PM in News

Since the post has been removed, i state it's contensts again.



As a workaround, one can still use the search backward button.

But i really like to ask our development team the question, how it is possible that sooooooooooooooooooo many of the features that worked already fine previously, got broken in this version?
Imo, rewriting WB from scratch, couldn't have created more havoc. :exclamation:

:exclamation:


Simply because in the Interface / Edit part (one module 'Pluginedit') I (from SVN server) went back to the stage before Nuno introduced the bug with disappearing component name and tooltip entry box.
In this old module I rebuilt all the additions of the between time.

And sorry, I forgot the "search forward".

Peter



#92376 WinBuilder 080

Posted by pscEx on 24 February 2010 - 11:47 AM in News

Using Message,%version% just returns 080.

Message,%Build% :lol:

Peter :rolleyes:



#93240 WinBuilder 080

Posted by pscEx on 04 March 2010 - 07:08 PM in News

I got it! And I can reproduce it!

Thanks to our "Champ Bug Catcher" Lancelot! for giving me a "step by step" instruction how to reproduce. :whistling:

I'm sure that the issue is forgotten next WB version.

Peter



#93171 WinBuilder 080

Posted by pscEx on 04 March 2010 - 07:28 AM in News

here's an issue with LiveXP. Remember that it has been the project stuck with 077rc2 for a long while. And apart from the macro issue just solved, this was not due to scripts which needed fixing! Nothing changed in the project and now WB starts to work again. (Even the so-called incorrect syntax with macro is back working in latest release, so the scripts in question don't need to be updated in this regard either.) This can only be a good thing.

And how many miliseconds wasted time would have been to instad of nested macro calls:
StrFormat,REPLACE,%RunFromLoc%,&#34; &#34;,&#34;&#34;,%runfrom%

If,Not,%runfrom%,Equal,Rundefault,%runfrom%,True
code like this:
If,%RunFromLoc%,EQUAL,&#34;Run From RAM&#34;,Runfromram,True

If,%RunFromLoc%,EQUAL,&#34;Run From CD&#34;,Runfromcd,True
The disadvantage:
If you add e.g. "Run from WEB" in the interface, you have again to waste some milliseconds and add a line to the process part.

The whole discussion is a typical sample for lack of flexibility.

And to hold a project as 'flagship' sometimes flexibility is necesary.

Peter

EDIT: BTW: If this code is multiple used, a suggestion:

Why not simply pass the %RunFromLoc% to a capi call and let CAPI do the rest?



#92707 WinBuilder 080

Posted by pscEx on 27 February 2010 - 05:24 PM in News

just a reminder. It was found before 080 released during development, was working with "080 initial" , was working with "080 rev1" , than again not working with "080 rev2"

http://www.boot-land...?...ost&p=92706

Peter



#88605 WinBuilder 078 SP6 issues

Posted by pscEx on 10 January 2010 - 12:34 PM in Support

I love the new feature, that i can select and unselct servers before actually connecting to them.
But i had already twice WB telling me, that it can't find any servers and i should check my proxy settings.
I use no proxy and boot-land is accessable just fine.

Can you explain how to reproduce?

The other thing, i think needs 'fixing' are the new buttons.
Their position is not logical to me. Shouldn't the buttons be better next to the server list?

See next topic.

Also the overuse of the red X on the downloadpage bothers me a bit.
It means eighter, close, stop or delete. Too much variety for my taste.

Depending on where the red x-es are, they have different meaning:
  • Server List: Remove server
  • Project Tree: Stop building tree
  • Dialog Head: Leave the dialog
Peter



#88629 WinBuilder 078 SP6 issues

Posted by pscEx on 10 January 2010 - 05:44 PM in Support

I just opened the download page and imediately got the message.
Clicking on build tree though downloads just fine.
Selected servers:
update.boot-land.net
nativeex.boot-land.net
naughtype.winbuilder.net

When NONE of the selected servers are reachable, the error dialog
ShowError&#40;&#39;None of the selected Servers could be accessed!&#39;#13&#39;Perhaps you need to define Proxy access&#39;&#41;;
appears.

Please realize that there is a 'Perhaps' because this is the most propable mistake a new user can make.
I'm not willing to output a questionary containing e.g.

"Make sure that yout network cable is plugged in"
"Make sure that your router is swithed on"
...


imo, a sybol should always have only one meaning per page, preferably one meaning per program.

If you build button pictures for the two additional purposes having the red x
  • Server List: Remove server
  • Project Tree: Stop building tree
and post them here, it is no issue for me to use them in the next published WinBuilder version (provided the forum will not contradict)!

Peter :)



#88638 WinBuilder 078 SP6 issues

Posted by pscEx on 10 January 2010 - 07:59 PM in Support

It is not very nice to delegate the creation of the new (for me unnecessary) images to me.

BTW: new images should be 16 * 16 pixels, with transparent background.

Peter :)



#88527 WinBuilder 078 SP6

Posted by pscEx on 09 January 2010 - 03:34 PM in News

There is WinBuilder 078 Service Pack 06 available

  • fixed - bug: Access violation on setting interface variables
  • fixed - bug in log.html generating. Loop,BREAK can bring "Index out of bounds" and lets WinBuilder hang
  • fixed - IniRead now translates comma in value to escape (troubles with TXTAddLine)
If there are support questions, please ask them in the Development Forum, not here!

Peter



#90432 Winbuilder 078 sp6

Posted by pscEx on 03 February 2010 - 03:30 PM in Projects

The reason is:

%i% is uninitialized.

You use version 3 of autoCompress.Script, while now version 14 is actual.

In version 14 %i% is initialized:
&#91;Process-Compress&#93;

Set,%i%,0

Echo,&#34;CAB compressing files..&#34;
..

Sorry that a program reacts unpredictacle if a 'undefined' value has to be changed.

Maybe it writes into a writable place and perhaps changes a valid value, maybe it gets an 'Access Violation' exception, because the address is not writable or does not exist.

Peter



#88205 WinBuilder 078 SP5

Posted by pscEx on 01 January 2010 - 05:04 PM in News

Hi psc,

happy new year,

the link you posted redirects to Winbuilder 078 SP4.

Regards.

Fixed!

Peter



#88203 WinBuilder 078 SP5

Posted by pscEx on 01 January 2010 - 04:54 PM in News

There is WinBuilder 078 Service Pack 05 available

There are mainly Link issues and some other smaller issues coming up last days:
  • fixed - bug: Unresolved *.Link brought crash with 'invalid filename'
  • fixed - bug: Dependencies and Excludes did not work on *.Link files
  • fixed - bug: No section shown in log, when started by button
  • fixed - removed senceless "Download disabled" message when file exists on "WebGetIfNotExist" command
  • fixed - bug in syntax check of "txtAddLine"
  • added - optionally run WinBuilder only in CPU / core #1
  • fixed - bug: changed ISOFile and TargetDir are not written to script.project
If there are support questions, please ask them in the Development Forum, not here!

Peter



#83850 WinBuilder 078 SP4

Posted by pscEx on 08 November 2009 - 04:24 PM in News

There is WinBuilder 078 Service Pack 04 available

With SP3 all script engine issues seem to be solved.
But in the tests Download Manager issues seem to be overseen.
They came up after release of SP3.

I hope that they are fixed now:
  • fixed - bug: double comma when generating updates.ini
  • fixed - bug in download when path contained 'Updates'
  • fixed - bug in interpreting download levels
  • fixed - bug: no download tree on a fresh installation
If there are support questions, please ask them in the Development Forum, not here!

Peter



#83348 WinBuilder 078 SP3 Release Notes

Posted by pscEx on 02 November 2009 - 08:22 AM in Development

There is a new functionality which demands a change in one or very rare cases: RegWrite of multiple strings
The magic wand gives the syntax:
RegWrite,HKLM,0x7,Section,Key&#40;MultiString&#41;,value1,value2
Here value? can contain a comma, which would be written
RegWrite,HKLM,0x7,Section,Key&#40;MultiString&#41;,value11#$cvalue12,value21#$cvalue22
That works well.
But if you add a value to the existing list of multiple strings, you do it like this
RegRead,HKLM,Section,Key,%var%

	 RegWrite,HKLM,0x7,Section,Key&#40;MultiString&#41;,%var%#$cnewval
The issue here is that WinBuilder cannot decide whether newval should be appended as new string, or should be appended to the last string, including the comma.

To solve this, a new escape #$z is created for separating multiple strings:
RegWrite,HKLM,0x7,Section,Key&#40;MultiString&#41;,%var%#$cnewval
appends ",newval" to the last string
RegWrite,HKLM,0x7,Section,Key&#40;MultiString&#41;,%var%#$znewval
appends a new string "newval"
RegWrite,HKLM,0x7,Section,Key&#40;MultiString&#41;,%var%#$znewval1#$cnewval2
appends a new string "newval1,newval2"

In order to be compatible, it is suggested, when changing existing scripts, to write different code lines depending on the WinBuilder version.


And there is a new command AddInterface:
&#91;Process&#93;

	  //AddInterface,Filenam,Prefix

	  AddInterface,%FundamentalsScript%,fun

	  Echo,&#34;RAMDiveLetter is&#58; %fun_pScrollBox1%&#34;

Peter

EDIT: Sorry, this is still necessary:

I decide to post this new feature of wb078sp2 here since it maybe missed by some of our experienced and new users.
I thought it was a bug but it turned out to be a feature (check here)

As a result:
If you used Download at least once and want to check or download updates of new scripts,
After Clicking Download button, Also click green button upper left.

:cheers:




#83287 WinBuilder 078 SP3

Posted by pscEx on 01 November 2009 - 06:28 PM in News

There is WinBuilder 078 Service Pack 3 available

Compared with the version 078 SP2 there are only some small changes.

'Small' because
  • They appear only on very few situations
  • The changes are coded in just some lines
But really they are 'important' for some people, eg.
  • Lancelot's / fxscrpt's RegWrite MULTI_SZ issue
  • DaveXP's UserAgent issue
  • Online's RegWrite 0x3 issue
  • ...
Therefore it has been decided to publish these latest changes as Sevice Pack.

[078 SP3]
date=2009-09-25

added - AddInterface command
fixed - Bug ID #214: Deselection by keyboard produces error
changed - New Component Dialog now in center of WB window, rather than in center of desktop
fixed - Deselecting a complete folder containing a mandatory script lets build crash
fixed - Bug ID #222: wb078 sp2 - Depend not working
added - Optional log at WinBuilder exit
changed - In download center, there is an option whether selecting an additional server rebuilds the complete tree.
fixed - bug in RegRead / RegWrite multi_sz
fixed - bug in If,Online when running from command line
fixed - EmbeddedWB bug by using newer package
added - RegWrite 0x3 accepts one %Variable% as input value

Release as 078 SP3 on 2009-NOV-01

If there are support questions, please ask them in the Development Forum, not here!

Peter



#79609 WinBuilder 078 SP2

Posted by pscEx on 24 September 2009 - 11:48 AM in News

There is WinBuilder 078 Service Pack 2 available

Compared with the version 078 SP1 there are only some small changes.

'Small' because
  • They appear only on very few situations
  • The changes are coded in just some lines
But really they are 'important' for some people, eg.
  • Pedrole15's 'Long line' issue
  • Galapo's Set,%var%,NIL,PERMANENT issue
Therefore it has been decided to publish these latest changes as Sevice Pack.

[078 SP2]
date=2009-09-06

changed - separate TNodeData unit with 'read on demand'
added - Download center now can select by Version, MD5, Certification
fixed - RegWrite multiple strings with comma in argument
fixed - Bug ID #217: Set,%var%,NIL,PERMANENT
fixed - Smaller issue with resolving nested variables
fixed - Bug ID #216: Access Violation when trying to trim empty string
reanimated - CheckListBox
added - change event to ComboBox
added - change event to RadioGroup
fixed - terrible bug with strFormat cutting long lines. Changed all according AnsMidStr Delphi commands to length of MaxInt

Release as 078 SP2 on 2009-SEP-24

Remarks:

The blue marked changes are from work on 079 beta 1.
They are not fully tested yet.

You may use them, but no 'warranty':
If they work for you: fine
If they do not work for you: wait until 079 beta 1

If there are support questions, please ask them in the Development Forum, not here!

Peter



#77648 WinBuilder 078 SP1 BUGS (AGAIN)

Posted by pscEx on 08 September 2009 - 01:15 PM in Development

Sorry don't get you're drift. Do you mean a group of WB coders?

;)

Just the opposite:

Some many more members telling 'what to code' and 'whats buggy now'

Peter



#77634 WinBuilder 078 SP1 BUGS (AGAIN)

Posted by pscEx on 08 September 2009 - 12:15 PM in Development

At the time, EACH time, there was large amount of agreeing and nothing actually DONE in the right direction.

Let's see if this time something changes. ;)

;)

jaclaz

Currently I have some doubts, too.
  • In former times
    • Nuno collected the demand of users
    • Nuno translated the demand into code
    • Nuno Tested
    • Nuno decided when to deliver
  • In the near past
    • psc collected the demand of users
    • psc translated the demand into code
    • psc tested
    • psc and Nuno decided when to deliver
  • In the future
    • MedEvil collected the demand of users
    • psc translated the demand into code
    • Joshua tested
    • MedEvil decided when to deliver
As long we do not have a real active group of members to suggest, test, and make decisions suggestions, nothing will change, and Jaclaz will still have good reasons to rant.

Sorry no confrontation!
Currently I see four different group of members:
  • Consuming and accepting
  • Consuming and asking
  • Testing and accepting
  • Testing and complaining
For me the group 'active taking part on development' is still missing.

Peter



#79889 WinBuilder 078 SP1 BUGS (AGAIN)

Posted by pscEx on 26 September 2009 - 08:34 AM in Development

For me, I think I was by default declared as Beta-Tester.
As maintainer of Common_Api I think I should
Do I need ask for ?

Pedro


Thanks, Pedro!

You are #2!

Peter



#77524 WinBuilder 078 SP1 BUGS (AGAIN)

Posted by pscEx on 07 September 2009 - 04:09 PM in Development

I want to continue.
For me currently there are three main ToDos:
  • faster startup and interface drawing by 'read on demand'
  • redesign of the Ice-Age script engine (with hundreds of addons, workarounds, quotes and comma inconsistency, etc. built in)
  • raw WIM processing
I do not have a big list of bugs. I think that the bug tracker is nearly empty due to bugs.

Peter



#77616 WinBuilder 078 SP1 BUGS (AGAIN)

Posted by pscEx on 08 September 2009 - 11:34 AM in Development

Yes downloadex does not work - reports an exception and then hangs. Has to be killed off from task manager.

But because there has been no remarkable interest, I put the project into hibernating.
If you now download and test it propably will crash or fail due to the changes made to updates.ini

That proofs my opinion.
Peter



#77601 WinBuilder 078 SP1 BUGS (AGAIN)

Posted by pscEx on 08 September 2009 - 10:20 AM in Development

I have several (and varying) projects in the WB development folder. Here the actual exe is generated, and I can test with varioue projects.

But always I use the Tools from nativeEx_server.

Maybe somebody remembers that in old time I wrote a topic, that there is only ONE working 7Z function. At that time the other existing ones did something wrong. Ans since that time I only trust the tools I personally tested.

BTW: To create a shared archive:

Long time ago I created a prog with the abilities to use shared servers:
http://www.boot-land...?...ost&p=32077

But because there has been no remarkable interest, I put the project into hibernating.
And I'm rather sure that the app did not get to know latest development.

If you now download and test it propably will crash or fail due to the changes made to updates.ini

Peter