[project] New Make Script
#51
Posted 31 October 2006 - 03:51 PM
By this way we can see the process
#52
Posted 31 October 2006 - 04:37 PM
- make main
- make short cut
- make association
- encode files
- enciktangankidal likes this
#53
Posted 31 October 2006 - 05:24 PM
Before change script to project can you tell me if it is better to have more than one window and separate in 3 or 4 script like this :
- make main
- make short cut
- make association
- encode files
Great idea!
Jonh
#54
Posted 31 October 2006 - 09:59 PM
Before change script to project can you tell me if it is better to have more than one window and separate in 3 or 4 script like this :
- make main
- make short cut
- make association
- encode files
I like that Idea too.
How about:
- Making new Script Layout
- Adding Shortcut Options
- File Associations
- Encoding Files to New Script
- Create New Script
#56
Posted 31 October 2006 - 10:22 PM
I'm noticing that there a lot of excellent scripts I'd like to include on the next WB release, but this would mean an excessive increase in download size of the main package.
A good solution would be to include these scripts inside the main application and allow the scripts to download their needed binary files from each developer webspace (or a common place if needed to create) for the first time they are run.
I can do manually do this on my scripts, but would be awesome to see this process fully automated for others to use it as well..
This way the main package is small, and users can still download the files for the scripts whenever needed.
Something like:
1. Run process
2. Script checks if a needed file is found, if found goto to 6
3. If not found go download a .7z file from somewhere, if not online output an error
4. Uncompress all files from this archive on script's dir
5. go back to 2
6. Execute all commands found on script and continue
7. finish
#58
Posted 31 October 2006 - 10:34 PM
I also like the idea of a separate project to allow expanding more options..
I'm noticing that there a lot of excellent scripts I'd like to include on the next WB release, but this would mean an excessive increase in download size of the main package.
A good solution would be to include these scripts inside the main application and allow the scripts to download their needed binary files from each developer webspace (or a common place if needed to create) for the first time they are run.
I can do manually do this on my scripts, but would be awesome to see this process fully automated for others to use it as well..
This way the main package is small, and users can still download the files for the scripts whenever needed.
Something like:
1. Run process
2. Script checks if a needed file is found, if found goto to 6
3. If not found go download a .7z file from somewhere, if not online output an error
4. Uncompress all files from this archive on script's dir
5. go back to 2
6. Execute all commands found on script and continue
7. finish
I like that idea but with an added ability to download and embed those files so that the user wont have to keep downloading files over and over.
#59
Posted 31 October 2006 - 10:48 PM
Perhaps it is issue of FileCreatBlankI dont fully understand the explanation.
I have a bug to report. Winbuilder seems to report the following at the end of the Process of building the Script. I was building the Opera Script and there is no Progress meter of anykind that tells the user that the script is being created. Winbuilder appears as if it is frozen. Any way to add a progress bar of somekind while building the Script.
Look at the file Mkscript.txt in the Temp folder , if it is not deleted when you make an other time script, line are added in it a second time.
Check the case "Delete Temp" for resolve this
#61
Posted 01 November 2006 - 05:33 PM
Script description to something like: "Quickly make a new script for your PE compilation"
Add a small help file (like peter has done in autoUPX) for others to quickly understand the interface options for each group - I also have some troubles in understanding what they'll do, so I imagine this will help everyone to quickly get the hang of your project.
Also noticed the issues when selecting the source file - it only allowed to select images whenever the user previously selected an image on another filebox - this is fixed on 052 beta 8.
Don't know if you've noticed, but wbzip.exe can be used to encode all needed files inside the newly created scripts - this should allow to have a more responsive script when encoding files.
There are few more details like the interface disapearing whenever a user inputs text that I'll be working to see solved..
Very usefull script!!
btw: it would also be great if you added an update center on your site to allow automated updates for this script..
Thanks!
#62
Posted 01 November 2006 - 06:53 PM
Must make an other projectInfo.ini ?
It is not so easy to separate in several script
#63
Posted 01 November 2006 - 07:06 PM
How must I do for making variables for all the project ?
Must make an other projectInfo.ini ?
It is not so easy to separate in several script
No, you can also store variables in script.project file
#64
Posted 01 November 2006 - 07:08 PM
projectInfo.ini is not the right place.How must I do for making variables for all the project ?
Must make an other projectInfo.ini ?
It is not so easy to separate in several script
It is created everytimes you build the project.
If you want to have variables as constants for the current project, include them inside script.project.
If you want to have variables as constants for all, include them inside winbuilder.ini.
If you want to have variables as constants for the current running build, ????
I'm searching for the solution since a while
Peter
#65
Posted 15 November 2006 - 10:45 PM
Work with latest SandBox WinBuilder 052-Beta10
#66
Posted 16 November 2006 - 06:08 AM
Great and complex!Update to Version 7
Work with latest SandBox WinBuilder 052-Beta10
#67
Posted 16 November 2006 - 08:39 AM
Smiley suggested to process a section inside the script.project whenever a it is run - I will work on this soon, since I notice it should be quite usefull for projects with few scripts inside.
Excellent work!
#68
Posted 17 November 2006 - 01:55 PM
I changed the 'Screen Capture' script built by the hive using your script.
The screen capture script did not run on my German system.
Here is the code to let it run on foreign systems, too (using buildModel and autoLocalization)
[Variables] %ProgramMenu%= %ProgDir%=PROGDIR %ShC%=#$pSystemDrive#$p %StartMenu%= [Process] Iniread,"%ProjectInfo%","TargetPaths","Program_Files",%ProgDir% If,NotExistDir,"%TargetDir%\%ProgDir%",DirMake,"%TargetDir%\%ProgDir%" DirMake,"%TargetDir%\%ProgDir%\FSCapture47" Echo,"Extracting ...FSCapture47 to %ProgDir%\FSCapture47\" ExtractAllFiles,"%ScriptFile%","FSCapture47","%TargetDir%\%ProgDir%\FSCapture47" If,NotExistDir,"%TargetDir%\I386",DirMake,"%TargetDir%\I386" Echo,"Extracting ...To_I386 " ExtractAllFiles,"%ScriptFile%","To_I386","%TargetDir%\I386" If,NotExistDir,"%TargetDir%\I386\System32",DirMake,"%TargetDir%\I386\System32" Echo,"Extracting ...To_System32 " ExtractAllFiles,"%ScriptFile%","To_System32","%TargetDir%\I386\System32" If,%CheckBoxShorcutStart%,Equal,True,Run,%ScriptFile%,ShorcutStart If,%CheckBoxShortcutDesktop%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"DE","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" If,%CheckBoxShorcutStart%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"SM%ProgramMenu%","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" If,%CheckBoxShorcutQL%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"QL","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" If,%CheckBoxSendTo%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"ST","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" Run,%ScriptLog%,Process-log [ShorcutStart] If,%CheckBoxStartFolder%,Equal,True,Run,%ScriptFile%,StartFolder [StartFolder] Set,"%ProgramMenu%","\%pTextBox2%" Iniread,"%ProjectInfo%","TargetPaths","Startmenu_Programs",%StartMenu% [interface component removed by psc] CheckBoxRunFromCD="Run this program from CD",1,3,33,25,168,18,False pBevel1=pBevel1,1,12,21,13,171,39
I think you can change your script to generate the above code.
When adapting the screen capture script to foreign languages, I also made some (minor) changes to autoLocalization.Script and buildModel.Script.
To run scripts made by your 'new Make Script' you need these changed versions of autoLocalization and buildModel
Peter
#69
Posted 17 November 2006 - 03:29 PM
#70
Posted 17 November 2006 - 03:54 PM
Comparing 051 to 052 there's a whooping difference, but there are still a few stonemarks that need to be reached like network support and worldwide compatibility to avoid these codepage issues, not to mention a whole lot of work/debug that needs to be done on winbuilder.exe.
When this is satisfatory, it would be good to see it reviewed on digg..
#71
Posted 17 November 2006 - 04:15 PM
When this is satisfatory, it would be good to see it reviewed on digg..
I hate abbs!
What is digg?
Peter
#72
Posted 17 November 2006 - 05:02 PM
Digg is all about user powered content. Every article on digg is submitted and voted on by the digg community. Share, discover, bookmark, and promote the news that's important to you!
Yorn posted about a PE build sized on 16Mb some time ago and the result was a very big flood of people going into the forums and websites after reading this story:
http://www.911cd.net...&...st&p=110159
There was a lot of confusion because the forum posts of microPE and batcher were huge and information was not acessible - not to mention that the steps to produce these results were somewhat difficult to achieve for most users that tried it out.
Here's yorn's post:
http://digg.com/soft...g_ISO_(MicroPE)
Will we be ready for the next round?
#73
Posted 17 November 2006 - 05:08 PM
http://digg.com/soft...g_ISO_(MicroPE)
There are a few hundred thousand people that read that website daily. It generates millions of clicks. It's mostly blog authors and nobodies, but a few users are really cool. Anyway, when we first posted about Batcher (which became openbuilder then became winbuilder), it was being used to do all sorts of little things, one of which was MicroPE by draugen. I don't think draugen's really around, he stops by every now and then, but his latest project was ModPE, and I don't know how well it's been going for him, he's been doing most of it on his own.
Anyway, where we're at now is people taking the best ideas from some of the old scripts and making them work. As long as people don't get too possessive about their scripts and people that use other individuals scripts aren't jerks and give credit where credit is due, we'll probably continue to have good contributions.
#74
Posted 17 November 2006 - 05:21 PM
Will we be ready for the next round?
Sounds crazy but currently I have the feeling that the queue of issues is growing as longer you are waiting with the release.
Nevertheless: As an ingeneer i recommend
There are so many issues mentioned anywhen but forgotten because of 'more interesting topics', 'higher priority topics' etc.
Open a new topic to collect 'items prohibiting a release' in 'Development' where all developers have the right to edit this topic and write their concerns, problems etc.
The users should not write new stories (wich cause new replies etc) but only the link to an open issue.
(In case of a new issue the user should open a new topic for that and post the link here)
Let's close this topic maybe next Tuesday.
After closing, Nuno works on the open issues and after solving (or after the knowledge that currently no easy solution can be made) he 'Strikes Through' this issue.
When all issues are striked through the release is ready.
Peter
#75
Posted 17 November 2006 - 08:32 PM
Ok@Pedrole:
I changed the 'Screen Capture' script built by the hive using your script.
The screen capture script did not run on my German system.
Here is the code to let it run on foreign systems, too (using buildModel and autoLocalization)[Variables] %ProgramMenu%= %ProgDir%=PROGDIR %ShC%=#$pSystemDrive#$p %StartMenu%= [Process] Iniread,"%ProjectInfo%","TargetPaths","Program_Files",%ProgDir% If,NotExistDir,"%TargetDir%\%ProgDir%",DirMake,"%TargetDir%\%ProgDir%" DirMake,"%TargetDir%\%ProgDir%\FSCapture47" Echo,"Extracting ...FSCapture47 to %ProgDir%\FSCapture47\" ExtractAllFiles,"%ScriptFile%","FSCapture47","%TargetDir%\%ProgDir%\FSCapture47" If,NotExistDir,"%TargetDir%\I386",DirMake,"%TargetDir%\I386" Echo,"Extracting ...To_I386 " ExtractAllFiles,"%ScriptFile%","To_I386","%TargetDir%\I386" If,NotExistDir,"%TargetDir%\I386\System32",DirMake,"%TargetDir%\I386\System32" Echo,"Extracting ...To_System32 " ExtractAllFiles,"%ScriptFile%","To_System32","%TargetDir%\I386\System32" If,%CheckBoxShorcutStart%,Equal,True,Run,%ScriptFile%,ShorcutStart If,%CheckBoxShortcutDesktop%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"DE","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" If,%CheckBoxShorcutStart%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"SM%ProgramMenu%","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" If,%CheckBoxShorcutQL%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"QL","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" If,%CheckBoxSendTo%,Equal,True,Run,%BuildModelScript%,Add-Shortcut,"ST","%ShC%\%ProgDir%\FSCapture47\FSCapture.exe","%TextBoxShortcutname%" Run,%ScriptLog%,Process-log [ShorcutStart] If,%CheckBoxStartFolder%,Equal,True,Run,%ScriptFile%,StartFolder [StartFolder] Set,"%ProgramMenu%","\%pTextBox2%" Iniread,"%ProjectInfo%","TargetPaths","Startmenu_Programs",%StartMenu% [interface component removed by psc] CheckBoxRunFromCD="Run this program from CD",1,3,33,25,168,18,False pBevel1=pBevel1,1,12,21,13,171,39
I think you can change your script to generate the above code.
When adapting the screen capture script to foreign languages, I also made some (minor) changes to autoLocalization.Script and buildModel.Script.
To run scripts made by your 'new Make Script' you need these changed versions of autoLocalization and buildModel
Peter
Thank you
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users