Jump to content











Photo
* * * * * 3 votes

WinBuilder 071 - beta version


  • Please log in to reply
157 replies to this topic

#26 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 June 2007 - 12:56 PM

Downloaded nativeEx to test your results properly and was surprised to see that your server under the minimum download level is less than 1Mb in size - Excellent!! :thumbup: (I'm a happy dialup user..)

Only one detail: script.project from nativeEx also needs to get adjusted the download level set to minimum.

------------------------

Tested the latest nativeEx and no errors were outputed, have a look on my log at the bottom.

Haven't managed to reproduce.. :1st:

Will also look on the issue you've reported - thanks for the very quick testing! :thumbup:

The issue #1 did not appear with the 'original' from the server, but with a changed version I made to test.:
Attached File  5___CopyAndExpand.Script   19.2KB   444 downloads

Peter

#27 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 09 June 2007 - 01:25 PM

:1st:

Everything is perfect except tow things:
  • The select project frame in the paths tab can now be removed
  • The rules tab should be moved under the edit script tab. A normal user would never need to change these settings


#28 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 June 2007 - 02:11 PM

4 first issues with beta 3:

CopyExpand,%SourceDir%\I386\ACPI.DLL,%TargetDir%\i386\system32
brings error:

Systax problem of me?

Do
  • Start project build
  • Click Download tab
  • Download single file
  • Watch what happens
Do
  • Start project build
  • Choose single script
  • Click 'Edit'
  • Watch what happens
Do
  • Choose singel project
  • Click the green 'run' arrow
  • Watch what happens
To complete my remarks with some good news: I like the new designs of tabs, missing tree in edit etc. (inspite it will need some time to become familar)

Peter

Item #1 has gone. That has been my fault.

But now there's additional new item #5:

After successful built of a project, I see:
beta3.gif
and the Progress tab does not disappear.
To restart build is not possible. I have to restart WinBuilder before.

Peter

#29 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 June 2007 - 04:18 PM

Peter, it might be a bug on a System command, can you please try to debug to see where it cause this error message - I'd like to reproduce this same issue on my machine and it get it solved for good.. :1st:



1. The select project frame in the paths tab can now be removed


I also wanted to remove it and get some extra space to make the edit boxes a bit bigger, but then I remembered that some people made a lot of confusion when selecting a right source. At least this way I think it will be easier for newcomers to understand that each project uses it's own definitions. (along with a small description of what the project does to avoid misunderstandings)

2. The rules tab should be moved under the edit script tab. A normal user would never need to change these settings


I would really like to acomplish your request, but I don't think it would be an appropriate place since this is a project wide definition and scripts should only deal with their own definitions and settings. This could be considered as extra information since it allows to understand which files are supposed to exist on a valid source. Whish there was some space to place a small description on the reason why it exists in the first place but it's already too crowded, sorry.. :thumbup:

#30 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 June 2007 - 04:26 PM

Peter, it might be a bug on a System command, can you please try to debug to see where it cause this error message - I'd like to reproduce this same issue on my machine and it get it solved for good.. :1st:





I also wanted to remove it and get some extra space to make the edit boxes a bit bigger, but then I remembered that some people made a lot of confusion when selecting a right source. At least this way I think it will be easier for newcomers to understand that each project uses it's own definitions. (along with a small description of what the project does to avoid misunderstandings)



I would really like to acomplish your request, but I don't think it would be an appropriate place since this is a project wide definition and scripts should only deal with their own definitions and settings. This could be considered as extra information since it allows to understand which files are supposed to exist on a valid source. Whish there was some space to place a small description on the reason why it exists in the first place but it's already too crowded, sorry.. :thumbup:


Sorry, Nuno, I'm little bit confused.
I cannot find a corresponding post to the Quotes you made.
And I also do not understand the personal answer (because I'm also do not know to which post)

Peter

#31 Max_Real Qnx

Max_Real Qnx

    Gold Member

  • Patrician
  • 1382 posts
  • Location:Istanbul
  • Interests:To be or not to be that is the question.
  •  
    Turkey

Posted 09 June 2007 - 05:04 PM

Beta3 in this is three tab support turkish word characters :1st:

I'm thank you very much Nuno for support & interest :thumbup:

thanks_a_lot.jpg

#32 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 June 2007 - 05:34 PM

Thank you for testing!

These are good news.. :1st:

#33 Max_Real Qnx

Max_Real Qnx

    Gold Member

  • Patrician
  • 1382 posts
  • Location:Istanbul
  • Interests:To be or not to be that is the question.
  •  
    Turkey

Posted 09 June 2007 - 05:37 PM

Thank you for testing!

These are good news.. :thumbup:


Hi Nuno :1st:

But :thumbup:

http://www.boot-land...t=10#entry15433

Good job :thumbup:

#34 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4199 posts

Posted 10 June 2007 - 12:06 AM

Just by reading the updates:

- Create a folder called Help under the Tools folder
- Place an html file named as: "index.html"

If this file is detected when wb starts up then a new tab called "Help" will appear and load this index.html page. This way I hope that this system can grow with the help of everyone and progressively contain syntax information and informations as needed.



Current features include the hability to browse and add code snippets onto the script that is being created. I've followed a similar method used by the help system, so a new folder is also placed inside the Tools folder.


Excellent implementation to allow others to contribute to make it easier for people to contribute to Winbuilders growth.


I've also been testing MakeScript by Pedrole15 and started adding direct support for this program so that it can work along with this new tool.
Besides browsing text and script files, you can also include exe files wich will be executed when the user clicks on them.


Congrats Pedrole15.

#35 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4199 posts

Posted 10 June 2007 - 12:19 AM

I like the placement of the tabs. :1st:

Winbuilder comes up faster also. The previouse beta 2 was taking a long time to show up.

#36 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 June 2007 - 08:56 AM

New beta uploaded.. :thumbup:


Here are the changes since last beta:

- Recoded script engine to improve performance
- Removed words !#2057 and !#2060
- Fixed Refresh button - wasn't updating correctly the Paths Tab
- FileDelete is now based on Win32API for code efficiency
- ShellExecute was improved to be (much) less CPU intensive while waiting for launched program to finish
- Added an error handler on the script engine - now it won't abort when invalid syntax is found.


Worked on the issues reported since last time and discussed on some other topics, also added an error handler which won't abort the project building when it occurs and will also display a text box with faulty syntax.

Next step should be also adding this faulty command on the log box and gives the option to either continue or quit the project processing.

Also been working on the help html pages and drag and drop support for the attachements..

I'm having some doubts in properly implementing the delphi registry enumeration function - Peter, can you help on this matter? :1st:

:thumbup:

#37 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 11 June 2007 - 10:09 AM

- Recoded script engine to improve performance


I don't think that it is optimazed enough. I have encoded in a script a 30MB file. The result was that while processing the memory of winbuilder was going from 15 MB to 100 MB and agin to 15MB 10 times. If my computrer had only 256 MB ram it would REALLY suffer.

Again I think that GetPrivateProfileSection is the best solution. For example when winbuilder needs to run a section it will read only this, or when winbuilder wants to read the interface, it will read only the Interface section and not the whole file. And finally the same should be for extracting files.

While testing I found two more bugs. When I selected the script I mentioned above, the memory from 15 MB went to 100 MB and then to 54MB and took 20 seconds to build the interface

Second, while encoding this big file, winbuilder took ages to complete and couldn't react.

I did some real real tests with GetPrivateProfileSection, and my program could read the main, the interface and the process section in less than one second :1st: . And finally it read the section with the big encoded file in 5 sconds. What do you think?

#38 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 11 June 2007 - 11:50 AM

There is something extremely wrong with the Beta 4.
When I got the first troubles, I used old scripts (with Expand rather then CopyOrExpand).

Here a boot built by beta 3 (same as built with 070):
WB070.gif
When building the same project with beta 4, during boot I saw:
WB071_4_1.gif
And finally:
WB071_4_2.gif

I think 'To show or not to show' of 'My Computer' is anywhere in registry.
Is registry work changed?

Peter

#39 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 11 June 2007 - 11:56 AM

I think 'To show or not to show' of 'My Computer' is anywhere in registry.
Is registry work changed?

Peter


I suspect that the default hive wasn't created properly. Can you post a log to invetigate it?

#40 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 11 June 2007 - 12:26 PM

I suspect that the default hive wasn't created properly. Can you post a log to invetigate it?


The default hive is the hive cached by nativeEx.
Therefore both builds are based on the same default hive.

Peter

#41 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 11 June 2007 - 12:39 PM

The default hive is the hive cached by nativeEx.
Therefore both builds are based on the same default hive.

Peter


Can you try a clean build?

#42 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 June 2007 - 12:53 PM

Hi..

There was a reorganization on the script engine to optimize it - unfortunately I see that some bugs were also produced along the way.. :thumbup:

The vast majority of the commands was left untouched, but here's a list of changed ones:

IF - added a separate TStringlist
ShellExecute - added the new code discussed before
FileByteExtract - added a separate TStringlist*
Strformat - added a separate TStringList*
FileDelete - is now based on the same Win32 API as DirDelete


Items with * are not properly releasing the memory after being used - I've corrected this while verifying the changes, will soon upload a small test beta for checking this behavior.

I wish you good luck debugging where is the difference in behavior from one beta to the previous - I sincerely haven't yet spotted the reason why.. :1st:

#43 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 11 June 2007 - 12:59 PM

Nuno, what method do you use to read scripts?
did you read my post here?

#44 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 11 June 2007 - 01:22 PM

Can you try a clean build?


I did two clean builds:
  • delete Temp directory
  • delete Workbench directory
  • do the build
Beta 4: As before missing 'My Computer' etc.
Beta 3: As before showing 'My Computer' etc.

Peter

#45 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 11 June 2007 - 01:33 PM

I did two clean builds:

  • delete Temp directory
  • delete Workbench directory
  • do the build
Beta 4: As before missing 'My Computer' etc.
Beta 3: As before showing 'My Computer' etc.

Peter

Were the logs identically the same?

#46 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 11 June 2007 - 01:58 PM

Were the logs identically the same?


With beta4 many regwrites are missing. Sample:
difference.gif

@Nuno:
Following line is processed by beta3, but not by beta4:

Does beta4 see a syntax error?

RegWrite,"HKLM",0x3,"WB-Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop",
"Taskbar","0c","00","00","00","08","00","00","00","02","00","00","00","00","00","00","00","b0","e2","2b","d8","64","57",
"d0","11","a9","6e","00","c0","4f","d7","05","a2","22","00","1c","00","0a","10","00","00","1a","00","00","00","01","00","00",
"00","00","00","00","00","00","00","00","00","00","00","00","00","4c","00","00","00","01","14","02","00","00","00","00","00",
"c0","00","00","00","00","00","00","46","81","00","00","00","11","00","00","00","80","f3","5d","ea","f2","35","c4","01","00",
"c0","3b","92","58","35","c4","01","00","32","58","eb","f2","35","c4","01","00","00","00","00","00","00","00","00","01","00",
"00","00","00","00","00","00","00","00","00","00","00","00","00","00","53","02","14","00","1f","50","e0","4f","d0","20","ea",
"3a","69","10","a2","d8","08","00","2b","30","30","9d","19","00","2f","42","3a","5c","00","00","00","00","00","00","00","00",
"00","00","00","00","00","00","00","00","00","00","00","4c","00","31","00","00","00","00","00","a9","30","27","93","11","00",
"54","45","4d","50","00","00","20","00","03","00","04","00","ef","be","a9","30","61","92","a9","30","00","00","14","00","00",
"00","54","00","65","00","6d","00","70","00","00","00","14","00","18","00","00","00","06","00","ef","be","53","00","59","00",
"53","00","54","00","45","00","4d","00","00","00","14","00","66","00","31","00","00","00","00","00","a9","30","61","92","10",
"00","44","4f","4b","55","4d","45","7e","31","00","00","4e","00","03","00","04","00","ef","be","a9","30","61","92","a9","30",
"00","00","14","00","00","00","44","00","6f","00","6b","00","75","00","6d","00","65","00","6e","00","74","00","65","00","20",
"00","75","00","6e","00","64","00","20","00","45","00","69","00","6e","00","73","00","74","00","65","00","6c","00","6c","00",
"75","00","6e","00","67","00","65","00","6e","00","00","00","18","00","48","00","31","00","00","00","00","00","a9","30","61",
"92","10","00","44","45","46","41","55","4c","7e","31","00","00","30","00","03","00","04","00","ef","be","a9","30","61","92",
"a9","30","00","00","14","00","00","00","44","00","65","00","66","00","61","00","75","00","6c","00","74","00","20","00","55",
"00","73","00","65","00","72","00","00","00","18","00","4e","00","31","00","00","00","00","00","a9","30","19","93","10","00",
"41","4e","57","45","4e","44","7e","31","00","00","36","00","03","00","04","00","ef","be","a9","30","19","93","a9","30","00",
"00","14","00","00","00","41","00","6e","00","77","00","65","00","6e","00","64","00","75","00","6e","00","67","00","73","00",
"64","00","61","00","74","00","65","00","6e","00","00","00","18","00","42","00","31","00","00","00","00","00","a9","30","1a",
"93","10","00","4d","49","43","52","4f","53","7e","31","00","00","2a","00","03","00","04","00","ef","be","a9","30","1a","93",
"a9","30","00","00","14","00","00","00","4d","00","69","00","63","00","72","00","6f","00","73","00","6f","00","66","00","74",
"00","00","00","18","00","52","00","31","00","00","00","00","00","a9","30","1a","93","10","00","49","4e","54","45","52","4e",
"7e","31","00","00","3a","00","03","00","04","00","ef","be","a9","30","1a","93","a9","30","00","00","14","00","00","00","49",
"00","6e","00","74","00","65","00","72","00","6e","00","65","00","74","00","20","00","45","00","78","00","70","00","6c","00",
"6f","00","72","00","65","00","72","00","00","00","18","00","48","00","31","00","00","00","00","00","a9","30","1a","93","11",
"00","51","55","49","43","4b","4c","7e","31","00","00","30","00","03","00","04","00","ef","be","a9","30","1a","93","a9","30",
"00","00","14","00","00","00","51","00","75","00","69","00","63","00","6b","00","20","00","4c","00","61","00","75","00","6e",
"00","63","00","68","00","00","00","18","00","00","00","10","00","00","00","05","00","00","a0","1a","00","00","00","75","01",
"00","00","00","00","00","00","00","00","00","00","e0","06","00","00","00","00","00","00","16","00","00","00","00","00","00",
"00","00","00","00","00","16","00","00","00","00","00","00","00","01","00","00","00","01","00","00","00","aa","4f","28","68",
"48","6a","d0","11","8c","78","00","c0","4f","d9","18","b4","0c","03","00","00","e0","0c","00","00","00","00","00","00","16",
"00","00","00","00","00","00","00","00","00","00","00","16","00","00","00","00","00","00","00","01","00","00","00"


Peter
Attached File  logs.zip   224.67KB   312 downloads

#47 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 June 2007 - 02:09 PM

I don't think that it is optimized enough. I have encoded in a script a 30MB file. The result was that while processing the memory of winbuilder was going from 15 MB to 100 MB and again to 15MB 10 times. If my computer had only 256 MB ram it would REALLY suffer.


I'm testing these projects on a 256Mb laptop with the delphi IDE and Firefox open at the same - haven't tried yet with a 30Mb file but I also think it would be very inconvenient, let's hope to see this solved soon - it's not yet a priority until the script engine is back into a stable behavior.

I did some real real tests with GetPrivateProfileSection, and my program could read the main, the interface and the process section in less than one second :thumbup: . And finally it read the section with the big encoded file in 5 seconds. What do you think?


These sound very good results, but how long would it take on your machine to read the same script with the present wb?

As booty#1 as referred - the open and reset file seems a viable option for further expansion - not just for reading key/values from section but also to obtain all lines from a specific section or later write lines on these sections - I also prefer something that I can modify as needed.

At the moment we still need to see what makes beta 3 different from beta 4.. :1st:

#48 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 11 June 2007 - 02:15 PM

At the moment we still need to see what makes beta 3 different from beta 4.. :1st:


For me currently the answer seems to be:

0x3 and 0x7 writes with a list of hex numbers.
In a quick overview I found no other differences.

Peter

#49 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 11 June 2007 - 02:21 PM

Can you replace these faulty hives with previously created hives and still boot your project?

I assume that at least one issue is related to the hives then.. :1st:

#50 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 11 June 2007 - 02:28 PM

Can you replace these faulty hives with previously created hives and still boot your project?

I do not understand what to do.

Even I use cached old hives, the following RegWrite-s fail with 0x3 and 0x7

The result is the same, if I generate the (correct) hives with beta3, do not delete them and build the project by beta4, based on the beta3 hives.

Compare my logs from post #46 and you can see all differences.

Peter




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users