> WinBuilder 071 - beta version, Topic for discussing the new beta
Rating 5 V
Nuno Brito
post May 14 2007, 09:55 PM
Post #1


Advanced Member
***

Group: .script developer
Posts: 4,147
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Hi everyone!

This topic is meant to discuss WinBuilder.exe.

Everyone is welcome to download the latest beta and post requests of features or bug support for the newer version.

To keep this topic centered on the just the executable please post any issues regarding scripts or projects on the respective sub-forums to keep things tidy and organized (except if directly related to changes introduced by a beta).. smile.gif




Beta 11 (2007-07-12)

- Syntax errors are added on log along with the full syntax used
- some bugfixings of previously added features.
- Added quick navigation buttons to allow pressing forward and backward while browsing scripts
- Modified the unattended box for running projects - also added /debug switch to help evaluate used parameters
- Main window will automatically remember and open the last selected project in winbuilder.ini
- Modified the Interface handling when scripts are executed - it was buggy under some conditions


Attached File  WinBuilder071_Beta11.zip ( 821.02k ) Number of downloads: 139


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





Beta 10b (2007-07-09)

- more bugfixes and small improvements
- Limited treeview on main window to avoid excessive width
- Added more informations when using webget
- Changed default logo image for scripts without logo
- Added new parameter on FileCopy - using "show" as last parameter will display the advance of the file copy operation.
- Fixed ExtractAndRun - wasn't working correctly.


Attached File  WinBuilder072_Beta10b.zip ( 808.56k ) Number of downloads: 55



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


Beta 9 (2007-07-08)

- changed tab titles to be larger on script editor
- small bugfixes
- Added a better web server manager
- Added missing translation texts


Attached File  WinBuilder071_Beta9.zip ( 807.26k ) Number of downloads: 90



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



Beta 8 (2007-07-05)

- Overall bugfixing from latest changes
- Added the option to print the currently viewed page on the Help Manual
- Moved Create Script tab to be the first visible tool
- Removed the option to lock the interface - became obsolete


Attached File  WinBuilder071_Beta8.zip ( 809.93k ) Number of downloads: 86




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



Beta 7 (2007-06-25)

This beta jumped from 6 to 7 because of some testing in the script engine
to ensure more stable results.

change on beta 6:

- Removed an unneeded setting which always wrote a locked=true value on the [main] section
- Recoded interface, file search/filter and settings to load much faster.
- Bugfixed error message when selecting to show log after running a project.
- Replaced external download functions with internal IE download function
- Bugfixed open handles when scanning directories


changes on beta 7:

- run command can support up to 9 parameters
- Added a code box window to test new commands under a specific project


Attached File  WinBuilder071_Beta7.zip ( 808.73k ) Number of downloads: 189



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


Beta 5 (2007-06-14)

- Removed property on text labels that wouldn't allow using & chars
- corrected a bug on regwrite introduced on beta 4

-- Review B

- Corrected a bug found which caused shellexecute to run without parameters, introduced on beta 4

Attached File  WinBuilder071_Beta5b.zip ( 805.98k ) Number of downloads: 165


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


Beta 4 (2007-06-11)

- 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.


Attached File  WinBuilder071_Beta4.zip ( 805.95k ) Number of downloads: 81


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


Beta 3 (2007-06-09)

- Scripts can be displayed without state button - useful for scripts not meant to be run (use Selected=None) on [Main] section.
- If all scripts on a folder have no state seletect (Selected = None) then the respective folder also omits any state
- Removed right-click menu from main window (became obsolete)
- Removed MD5 calculate tool from Script Edit --> Options --> Calculate MD5 checksum
- Removed language entries: !#1519,!#1520,!#1521,!#1522 related to MD5 calculate tool inside Script Edit --> Options tab.
- Added option to use wb without Download Center, Upload and Web tab for use under restricted network conditions
- Tools tab was made a bit bigger hiding the tab title
- Script Edit tab title was also hidden along with script treeview to give more room to editor
- Corrected bug which allowed to erroneously select more than one script on main window
- Corrected minimum allowed width and height for interface checkboxes
- Moved Paths and Log tab to the scripts tab
- Added a Help tab which will hold help contents about wb, it will use a html file from %basedir%\Projects\Tools\Help\index.html
- Corrected the back colors for some objects under some XP themes.
- Recoded the Create Script tab to become more functional
- Added CopyExpand command using setupapi.dll (thanks to Peter and Smiley)
- Modified ShellExecute and ShellExecuteEx to support work directories as the 4th parameter
- Modifed ShellExecute and ShellExecuteEx to work without adding parameters, ex: ShellExecute,Open,cmd.exe
- Removed "Enter" from the keyboard shortcut list (it was being trigered after exiting windows screensaver protection )
- Corrected a bug which occured when trying to echo a section with brackets


Attached File  WinBuilder071_Beta3.zip ( 814.16k ) Number of downloads: 60





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

Beta 2 (2007-05-19)

- Added /runsingle= switch which allows to run a single script

Attached File  WinBuilder071_Beta2.zip ( 798.72k ) Number of downloads: 452



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

Beta 1 (2007-05-14)

- Removed MD5 box on the options tab inside script editor (download center always checks md5 automatically)
- Added support for running projects in unnatended mode


Attached File  WinBuilder071_beta1.zip ( 798.34k ) Number of downloads: 166


This post has been edited by Nuno Brito: Jul 12 2007, 07:57 AM
Attached File(s)
Attached File  WinBuilder071_Beta10.zip ( 808.33k ) Number of downloads: 52
 


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
Digg this topic Add to my del.icio.us 16 Pages V   1 2 3 > »   
Start new topic
Replies (1 - 9)
Nuno Brito
post May 14 2007, 09:57 PM
Post #2


Advanced Member
***

Group: .script developer
Posts: 4,147
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


As promissed to Peter and Alexei, the new beta already comes with support for unnatended project building.


Here's an example of command line syntax:

/run="%basedir%\Projects\LiveXP"
/source="C:\Documentos\SourceDir\Windows XP SP2 Portugu�s"
/target="%basedir%\Target\LiveXP2"
/ISO="%basedir%\ISO\LiveXP2.iso"
/title="My Project"
/x=10
/y=50
/log="%basedir%\log_silent.html"
/showlog
/beep

This is what I use on my case - I will write more extensive details soon.

Please add only correct values on the dir paths.

run, source, target and iso are obrigatory.


Have fun! cheers.gif


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
psc
post May 15 2007, 06:34 AM
Post #3


Guru
***

Group: .script developer
Posts: 2,971
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE(Nuno Brito @ May 14 2007, 11:57 PM) *
As promissed to Peter and Alexei, the new beta already comes with support for unnatended project building.


Here's an example of command line syntax:

/run="%basedir%\Projects\LiveXP"
/source="C:\Documentos\SourceDir\Windows XP SP2 Portugu�s"
/target="%basedir%\Target\LiveXP2"
/ISO="%basedir%\ISO\LiveXP2.iso"
/title="My Project"
/x=10
/y=50
/log="%basedir%\log_silent.html"
/showlog /beep

This is what I use on my case - I will write more extensive details soon.

Please add only correct values on the dir paths.

run, source, target and iso are obrigatory.


Have fun! cheers.gif


thumbup.gif

Does it mean that I write a myWB.cmd like
CODE
Winbuilder /source=source1 /ISO=ISO1 /....
Winbuilder /source=source2 /ISO=ISO2 /....
...


?

I need one additional switch (usable multiple)
/Option=<script>:<section>.<key>,"<value>"
e.g.
CODE
/Option=!Fundamentals.script:Interface.pScrollBox1,"B:"
/Option=!Fundamentals.script:Interface.pScrollBox3,"RAM Drive"
/Option=RAMDisk.script:Main.Selected,"True"
  /Option=BootSDI.script:Main.Selected,"False"


Peter

EDIT: See post #5

This post has been edited by psc: May 15 2007, 09:33 AM


--------------------
Let's build the house starting with the the basement rather than with the roof!
But always we must have in mind how the roof should be made!

There are never stupid questions, there can be only stupid answers
Go to the top of the page
 
+Quote Post
smiley
post May 15 2007, 07:40 AM
Post #4


Advanced Member
***

Group: .script developer
Posts: 1,011
Joined: 11-August 06
Member No.: 149


Greece


Interesting... I have a new idea. What about batch build?
It would be the same with unattended mode but a bit more organized.
The command line should be:
CODE
Winbuilder /batch=batchfile


And the contents of batchfile should be :
CODE
[BatchRun]
Number=2

[Run-1]
run="%basedir%\Projects\LiveXP"
source="C:\Documentos\SourceDir\Windows XP SP2 Portugu�s"
target="%basedir%\Target\LiveXP2"
ISO="%basedir%\ISO\LiveXP2.iso"
title="My Project"
x=10
y=50
log="%basedir%\log_silent.html"
showlog = true
beep = true

[Run-2]
run="%basedir%\Projects\NativePE"
source="C:\Documentos\SourceDir\Windows XP SP2"
target="%basedir%\Target\NativePE"
ISO="%basedir%\ISO\NativePE.iso"
title="NativePE"
x=10
y=50
log="%basedir%\log_silent.html"
showlog = true
beep = true


What do you think?


--------------------
www.ReactOS.org - ReactOS, the free Windows-compatible Operating System
Go to the top of the page
 
+Quote Post
psc
post May 15 2007, 09:32 AM
Post #5


Guru
***

Group: .script developer
Posts: 2,971
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


For first, I wrote me a program setOptions (attached) which handles the options.

Syntax:
QUOTE
setOptions {/|-}O[:]<script>:<section>.<key>=<value> {/|-}P[:]<Project Dir>) [{/|-}S[:]<typ>]


It can change the components:
QUOTE
pScrollBox
pFileBox
pTextBox
pNumberBox
pCheckBox
pRadioButton


The /P switch is only necessary if <key> does not contain a valid component name.

Sample:
QUOTE
setOptions "-O:!Fundamentals.script:Interface.pScrollBox3=RAM Drive" "-P:C:\Dokumente und Einstellungen\Peter\Desktop\WB Archiv\Beta8\Projects\nativeEx_barebone"


Peter

EDIT: New version handles 'Main.Selected', too:

Attached File  setOptions.zip ( 42.62k ) Number of downloads: 22


--------------------
Let's build the house starting with the the basement rather than with the roof!
But always we must have in mind how the roof should be made!

There are never stupid questions, there can be only stupid answers
Go to the top of the page
 
+Quote Post
Alexei
post May 15 2007, 10:23 AM
Post #6


Advanced Member
***

Group: .script developer
Posts: 531
Joined: 30-August 06
Member No.: 283



@Nuno
First of all, it's just great thumbup.gif

Let's move forward smile.gif
What about having several sections, like
[download] - what to download
[settings] - what to set in scripts (input for Peter's SetOptions)
[build] - what and how to build (that's what Nuno added)
Note, the sections are very different from smiley's proposal.

cheers.gif
Alexei

PS
WB connects to www.coolwebtoys.com any idea why?
Go to the top of the page
 
+Quote Post
psc
post May 15 2007, 11:44 AM
Post #7


Guru
***

Group: .script developer
Posts: 2,971
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


The cmd line option is great!
roll1.gif
I created just a small batch file:
CODE
set BaseDir=C:\Dokumente und Einstellungen\Peter\Desktop\WB Archiv\Beta8
set setOpt=%BaseDir%\pscProgs\setOptions\setOptions.exe
set Project=%BaseDir%\Projects\nativeEx_barebone
set WB=%BaseDir%\WinBuilder071B1.exe
set WBConst=/run="%Project%" /source="V:\BCD\cds\XPP_DE_SP2" /title="My Project" /x=10 /y=50  /showlog /beep
set tg=%BaseDir%\Target\nativeEx
set iso=%BaseDir%\ISO\nativeEx
set log=%BaseDir%\log_silent

set index=STD_R_R
REM Standard ISO, RAMDisk
"%setOpt%" "-O:!Fundamentals.script:Interface.pScrollBox1=B:" "-P:%Project%"
"%setOpt%" "-O:!Fundamentals.script:Interface.pScrollBox3=RAM Drive" "-P:%Project%"
"%setOpt%" "-O:RAMDisk.script:Main.Selected=True" "-P:%Project%"
"%setOpt%" "-O:CreateISO.script:Main.Selected=True" "-P:%Project%"
"%setOpt%" "-O:BootSDI.script:Main.Selected=False" "-P:%Project%"
"%WB%" %WBConst% /target="%tg%%index%" /ISO="%iso%%index%.iso" /log="%log%%index%.html"

set index=SDI_R_R
REM BootSDI, RAMDisk, SettingsDrive = RAM Drive
"%setOpt%" "-O:!Fundamentals.script:Interface.pScrollBox3=RAM Drive" "-P:%Project%"
"%setOpt%" "-O:CreateISO.script:Main.Selected=False" "-P:%Project%"
"%setOpt%" "-O:BootSDI.script:Main.Selected=True" "-P:%Project%"
"%WB%" %WBConst% /target="%tg%%index%" /ISO="%iso%%index%.iso" /log="%log%%index%.html"


set index=SDI_R_S
REM BootSDI, RAMDisk, SettingsDrive = System Drive
"%setOpt%" "-O:!Fundamentals.script:Interface.pScrollBox3=System Drive" "-P:%Project%"
"%WB%" %WBConst% /target="%tg%%index%" /ISO="%iso%%index%.iso" /log="%log%%index%.html"

set index=SDI_N_N
REM BootSDI, no RAMDisk
"%setOpt%" "-O:!Fundamentals.script:Interface.pScrollBox1=--" "-P:%Project%"
"%setOpt%" "-O:RAMDisk.script:Main.Selected=False" "-P:%Project%"
"%WB%" %WBConst% /target="%tg%%index%" /ISO="%iso%%index%.iso" /log="%log%%index%.html"
, and I got:
  • persistent ISO
  • persistent Target directory
  • persistent log file
for
  • Standard ISO
  • BootSDI ISO with RAM disk and settings on RAM disk
  • BootSDI ISO with RAM disk and settings on system disk
  • BootSDI ISO without RAM disk.
Next I'm going to write 'parent' batches for
  • OS
  • language
Then I have everything I wanted to have in my primary suggestion to do 'universal' tests.

Thanks, Nuno thumbsup.gif

Peter


--------------------
Let's build the house starting with the the basement rather than with the roof!
But always we must have in mind how the roof should be made!

There are never stupid questions, there can be only stupid answers
Go to the top of the page
 
+Quote Post
Nuno Brito
post May 15 2007, 04:37 PM
Post #8


Advanced Member
***

Group: .script developer
Posts: 4,147
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Sorry for the short description of syntax - I've been a bit short in time and was just online long enough to upload the beta.

Still missing to add errorlevels for winbuilder.exe whenever errors are outputed while running a project.

By default there is only support for english language (faster) - but I can add normal language translation if needed.


It is possible to add a list of locations (projects) like the one specified on a /run=

Alexei, what do you mean by a [download] section? Is it something like the download center where it would download based on a selected download profile/webserver?

coolwebtoys is the service that provides the chat box - you can click on the chat link on the top of this page to view the chat window straight from their site.

We could also host our own chat, but it's wiser this way to have an alternative external way to comunicate on those times when boot-land.net gets offline for some reason.


Smiley - will try to add an answer file similar to the one you've proposed.. smile.gif



--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post
psc
post May 15 2007, 04:47 PM
Post #9


Guru
***

Group: .script developer
Posts: 2,971
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE(Nuno Brito @ May 15 2007, 06:37 PM) *
Smiley - will try to add an answer file similar to the one you've proposed.. smile.gif

If you have a look here, everything can be done by a small batch.
It is not necessary to extend WinBuilder to a development IDE.

Peter

BTW: The only thing I'm missing is the ability to have a /runsingle.
If we have it, I can load different constellations by WBManager and then create the ISO with this constellation.
Of course it is already possible with my script, but that takes a long tome to write all the 'setOptions' statements.


--------------------
Let's build the house starting with the the basement rather than with the roof!
But always we must have in mind how the roof should be made!

There are never stupid questions, there can be only stupid answers
Go to the top of the page
 
+Quote Post
Nuno Brito
post May 15 2007, 06:17 PM
Post #10


Advanced Member
***

Group: .script developer
Posts: 4,147
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


/runsingle would also have to specify a /run= switch so that it could run script.project [variables] and [process] sections, otherwise it would output different results from the main window..

smile.gif


--------------------
Use the search tool to find all posts made by other members and help you solve any doubts quickly by yourself.
Whenever possible - place your questions including as many details as you can to help us help you - Thanks!

nuno? --> pics
Go to the top of the page
 
+Quote Post

16 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts Goto last unread WinBuilder Caption
3 psc 56 Yesterday, 11:20 AM
Last post by: Nuno Brito
No New Posts Winbuilder Licensing
8 rt10k 226 4th October 2007 - 07:50 AM
Last post by: Alexei
No New Posts Winbuilder and user account restrictions
13 psc 609 29th August 2007 - 05:11 PM
Last post by: smiley
No New Posts Winbuilder problems with UAC
4 booty#1 374 29th August 2007 - 04:33 PM
Last post by: smiley
No New Posts WINBUILDER
WINBUILDER
1 LAURELADA 989 27th July 2007 - 11:26 PM
Last post by: Giloz


 

- Lo-Fi Version Time is now: 11th October 2007 - 12:31 AM

MKPortal ©2003-2006 mkportal.it