![]() |
![]() ![]() |
Jun 7 2006, 12:36 AM
Post
#1
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
Hi, All.
I personaly like sherpya's BuildScripts very much.. But it is not up-to-date.. So I update it personaly by adding some extra functions.. I think there are so many people who like BuildScripts..For those just download it from following lik and extract it into PEBuilder Folder(**Overwrite All), then edit options in wrapper.cmd, Build iso from PEBuilder So EnJoY... QUOTE http://rapidshare.com/files/27326160/BuildScripts2.5.3.rar http://depositfiles.com/files/791367 http://d01.megashares.com/?d01=007a872 http://www.mytempdir.com/1304711 QUOTE Build Scripts v2.5.1 by JusThinK for PEBuilder do the following Jobs.... 01 - Adding hex(a) and hex(8) Exported Registry Entry from REG Files[Idea from cyrano's PostProcessing]02 - Remove Security-keys from registry hives 03 - Sort Nu2Menu Entries 04 - ConvAscii - Converting Unicode to Ansi for saving Disk Space 05 - Compress files with upx for Saving Disk Space9[Idea from cyrano's PostProcessing] ****UPX v2.01w Included ****Download new versin of upx from : http://upx.sourceforge.net/ 06 - DEKO's Inf Reducer for reducing inf file size 07 - Delete Unnesseary INF Files 08 - InfCacheBuilder - Fixing INF files for faster PNP 09 - Filecase -allowing lowercased characters (for Old PEBuilder) 10 - Copy Hives for HD Install 11 - Isolinux Setup 12 - Easy Boot Integration 13 - Optmizing ISO - Duplicate File Once 14 - Uppercase All By Force 15 - Iso Creation HISTORY: CODE v2.5.3
- Some Minor Bug Fixed v2.5.2 by JusThinK - Added support of Removing VDS Service From Regstry or XPSP2 User... v2.5.1 by JusThinK - CleanPERegistry.exe for Remove Security-keys from registry hives v2.5 by JusThinK - Add hex(a) and hex(8) Registry Entries Import Option - Add SortMenu.exe for sorting nu2menu Entries - Add UPX Compression Option - Add DEKO's Inf Reducer support - Delete Unnesseary INF Files - Filecase -allowing lowercased characters - Update sort_pe.txt file - Update MKIsoFS.EXE (cygwin) v2.0 by JusThinK - Add ConvAscii.exe support - Add _allupper and _duponce option 20050305: - removed lain image, made a small menu using syslinux menu api (sources included) 20050321 - Update fakemkisofs to call wrapper.cmd with CreateProcess instead of using system() call 20050322 - Call wrapper.cmd using cmd.exe, also set the current directory where is located the executable - Update InfCacheBuilder.exe executable with the one versioned 1.7.0.0, no changes This post has been edited by justhink: Apr 22 2007, 09:34 AM -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Jun 8 2006, 04:56 AM
Post
#2
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
I forgot add CleanPERegistry.exe function and upx2.01w
Update.. -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Jun 13 2006, 05:41 AM
Post
#3
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
Update Again::::
Integrated into new version 01 - Adding hex(a) and hex(8) Exported Registry Entry from REG Files[Idea from cyrano's PostProcessing] 02 - Remove Security-keys from registry hives 03 - Added support of Removing VDS Service From Regstry for XPSP2 User... 04 - Sort Nu2Menu Entries 05 - ConvAscii - Converting Unicode to Ansi for saving Disk Space 06 - Compress files with upx for Saving Disk Space9[Idea from cyrano's PostProcessing] ****UPX v2.01w Included ****Download new versin of upx from : http://upx.sourceforge.net/ 07 - DEKO's Inf Reducer for reducing inf file size 08 - Delete Unnesseary INF Files 09 - InfCacheBuilder - Fixing INF files for faster PNP 10 - Filecase -allowing lowercased characters (for Old PEBuilder) 11 - Copy Hives for HD Install 12 - Isolinux Setup 13 - Easy Boot Integration 14 - Optmizing ISO - Duplicate File Once 15 - Uppercase All By Force 16 - Iso Creation -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Jun 13 2006, 07:45 AM
Post
#4
|
|
|
Member ![]() ![]() Group: Members Posts: 40 Joined: 15-May 06 Member No.: 19,329 |
Hi,
First of all thanx, great job... just less destructiv than other tools to reduce a little the ISO size, not bad! Only excuse me to be a noob, but when I compile the ISO, all goes well appart from AddReg directory parsing, had to delete the dummy file, and once i launch the ISO in VirtualServer, i get an error in LSASS.exe and.... reboot :/ did nothing excentric, no plugin apart from Ghost and Network.... What did i miss? Thanx in advance, Jaycee |
|
|
|
Jun 14 2006, 12:29 AM
Post
#5
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
Hi, First of all thanx, great job... just less destructiv than other tools to reduce a little the ISO size, not bad! Only excuse me to be a noob, but when I compile the ISO, all goes well appart from AddReg directory parsing, had to delete the dummy file, and once i launch the ISO in VirtualServer, i get an error in LSASS.exe and.... reboot :/ did nothing excentric, no plugin apart from Ghost and Network.... What did i miss? Thanx in advance, Jaycee Did you add anything via ADD_REG methods... And u also send me the pebuilder log file via PM -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Jun 14 2006, 04:58 AM
Post
#6
|
|
|
Member ![]() ![]() Group: Members Posts: 40 Joined: 15-May 06 Member No.: 19,329 |
HI!
Pm sent... btw i changed the wrapper as written to disable the regadd part. one problem less! Jaycee |
|
|
|
Jun 14 2006, 07:22 PM
Post
#7
|
|
|
Member ![]() ![]() Group: Members Posts: 55 Joined: 8-April 05 Member No.: 11,334 |
i tried your plugin and it seem to work very well but the new wrapper.cmd script fells to build an iso.
is there an easy way to correct this? |
|
|
|
| Former_sage03sxt_post |
Jun 14 2006, 08:05 PM
Post
#8
|
|
Guests |
i tried your plugin and it seem to work very well but the new wrapper.cmd script fells to build an iso. is there an easy way to correct this? I had this same issue. I fixed it by editing the wrapper.cmd and setting the _filecase to no. apparently this was setting bootsect.bin in all caps, when the script was looking for it as lower case. all fixed SaGE |
|
|
|
Jun 14 2006, 10:04 PM
Post
#9
|
|
|
Member ![]() ![]() Group: Members Posts: 55 Joined: 8-April 05 Member No.: 11,334 |
_filecase was already set to "no".
still no iso. |
|
|
|
Jun 16 2006, 12:54 AM
Post
#10
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
Sorry Guies..My mistake..... Please Change th following line in wrapper.cmd :::
QUOTE set _setupezboot=yes toQUOTE set _setupezboot=no My personal advice ::: For Better output ::: Try to avoid UPXed Part... It may cause problems... Test it then use it.. -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Jun 16 2006, 07:57 PM
Post
#11
|
|
|
Member ![]() ![]() Group: Members Posts: 55 Joined: 8-April 05 Member No.: 11,334 |
changed to set _setupezboot=no
removed upx still no iso |
|
|
|
Jun 16 2006, 10:52 PM
Post
#12
|
|
![]() Platinum Member ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,497 Joined: 20-September 03 From: Italy Member No.: 1,727 |
uh
nice so I don't need to update it As I said before my buildscripts are for reference, they do minimal things it's just a template for ppl want to add more features. Anyway I would suggest some things: - filecase.exe is not needed, infcachebuild does it - I don't recomend to upx system files, this will cause an increase of memory usage btw :: in a batch is the same of rem? I hate rem |
|
|
|
Jun 17 2006, 04:46 AM
Post
#13
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
uh nice so I don't need to update it As I said before my buildscripts are for reference, they do minimal things it's just a template for ppl want to add more features. Anyway I would suggest some things: - filecase.exe is not needed, infcachebuild does it - I don't recomend to upx system files, this will cause an increase of memory usage btw :: in a batch is the same of rem? I hate rem THANKS FOR REPLY -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Jun 17 2006, 09:34 AM
Post
#14
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 16-June 06 Member No.: 19,927 |
I had a problem with the build script 2.5.2 copied from the post earlier in the thread.
I had no sortfile, and (my)mkisofs.exe choked on the command line generated by the script, and refused to build the .iso. The problem was the _sort variable, which is used for 2 distinct purposes in the scipt: 1) it is set to yes or no in the settings, to determine whether or not to use SortMenu.exe 2) it is used to set the -sort <sortfile> switch to (my)mkisofs.exe at the end of the script. The problem was, if there is NO sortfile, _sort should be an empty string (so there will be no -sort switch), but instead it is either "yes" or "no" from use 1. The fix was to add another if after the if exist %_sortfile%, as shown below. rem existing code, near the end of the wrapper.cmd file if exist %_sortfile% ( echo ---- echo Detected sort file %_sortfile%, it will be used. set _sort=-sort %_sortfile% ) rem new code to fix the problem if not exist %_sortfile% ( echo ---- echo No sortfile detected, no sorting will be done. set _sort= ) Hope this saves someone some headscratching. -------- CypherPhreak |
|
|
|
Jun 17 2006, 12:04 PM
Post
#15
|
|
![]() Platinum Member ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 1,166 Joined: 3-April 06 From: Azores Member No.: 18,537 |
Sherpya, you can safely use :: instead of REM - back in 1996 I've done some testings on a 286 with a ~4,82Mhz CPU comparing the speed performance using a few hundred :: and then repeating the same test but using REM instead - go figure - after testing several rounds with both files, the :: always ran faster than the one with REM's.
In these days this I guess this is redundant.. -------------------- |
|
|
|
Jun 21 2006, 06:34 AM
Post
#16
|
|
![]() Silver Member ![]() ![]() ![]() Group: Members Posts: 199 Joined: 30-December 05 From: INDIA Member No.: 16,342 |
I had a problem with the build script 2.5.2 copied from the post earlier in the thread. I had no sortfile, and (my)mkisofs.exe choked on the command line generated by the script, and refused to build the .iso. The problem was the _sort variable, which is used for 2 distinct purposes in the scipt: 1) it is set to yes or no in the settings, to determine whether or not to use SortMenu.exe 2) it is used to set the -sort <sortfile> switch to (my)mkisofs.exe at the end of the script. The problem was, if there is NO sortfile, _sort should be an empty string (so there will be no -sort switch), but instead it is either "yes" or "no" from use 1. The fix was to add another if after the if exist %_sortfile%, as shown below. rem existing code, near the end of the wrapper.cmd file if exist %_sortfile% ( echo ---- echo Detected sort file %_sortfile%, it will be used. set _sort=-sort %_sortfile% ) rem new code to fix the problem if not exist %_sortfile% ( echo ---- echo No sortfile detected, no sorting will be done. set _sort= ) Hope this saves someone some headscratching. -------- CypherPhreak sort file is available under BSv2.5.3 as "sort_pe.txt" or u set ur own by using QUOTE @echo off FOR /f "tokens=1* delims== skip=1 eol=;" %%a IN (%CD%\input.inf) DO IF "%%a"=="volumeid" SET _volid=%%b IF "%_volid%"=="" SET _volid=WindowsPE set _sortfile=sort_pe.txt set _mkisofsexe=mymkisofs.exe If there is no sort file then script automatically skip that portion.. -------------------- Source code of: http://www.911cd.net/forums//index.php?showtopic=15763
My only request, after compile, post a download link and source code here.. Download Source: CODE http://technochat.in/download/11/ |
|
|
|
Apr 16 2007, 08:58 PM
Post
#17
|
|
|
Member ![]() ![]() Group: Members Posts: 33 Joined: 28-November 03 Member No.: 2,837 |
Hey Justhink,
Where can I get the latest version of your build scripts? I did something to the one I've been using 2.5.1 and now it isn't working right so I want to start over but with the latest version. The links posted earlier in this thread and also on your forums on your www don't work anymore. Or is there a later postprocessing script with even more features? Thanks much! UPDATE: Somehow the %CD% parameter is no longer being passed to wrapper.cmd so it's failing. I just added a "set CD=c:\pebuilder" and "cd /d %CD%" lines at the beginning of wrapper.cmd so that fixed it as long as I always have pebuilder in c:\pebuilder. Still hoping to get v2.5.3 for all latest features though. I had a problem with the build script 2.5.2 copied from the post earlier in the thread. I had no sortfile, and (my)mkisofs.exe choked on the command line generated by the script, and refused to build the .iso. The problem was the _sort variable, which is used for 2 distinct purposes in the scipt: 1) it is set to yes or no in the settings, to determine whether or not to use SortMenu.exe 2) it is used to set the -sort <sortfile> switch to (my)mkisofs.exe at the end of the script. The problem was, if there is NO sortfile, _sort should be an empty string (so there will be no -sort switch), but instead it is either "yes" or "no" from use 1. The fix was to add another if after the if exist %_sortfile%, as shown below. rem existing code, near the end of the wrapper.cmd file if exist %_sortfile% ( echo ---- echo Detected sort file %_sortfile%, it will be used. set _sort=-sort %_sortfile% ) rem new code to fix the problem if not exist %_sortfile% ( echo ---- echo No sortfile detected, no sorting will be done. set _sort= ) Hope this saves someone some headscratching. -------- CypherPhreak sort file is available under BSv2.5.3 as "sort_pe.txt" or u set ur own by using QUOTE @echo off FOR /f "tokens=1* delims== skip=1 eol=;" %%a IN (%CD%\input.inf) DO IF "%%a"=="volumeid" SET _volid=%%b IF "%_volid%"=="" SET _volid=WindowsPE set _sortfile=sort_pe.txt set _mkisofsexe=mymkisofs.exe If there is no sort file then script automatically skip that portion.. This post has been edited by swspjcd: Apr 16 2007, 09:41 PM |
|
|
|
Apr 16 2007, 10:19 PM
Post
#18
|
|
|
Titanium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 5,556 Joined: 29-August 03 From: NC, USA Member No.: 1,527 |
If you are using the original Sherpya fake mkisofs then the batch file has 2 parameters which you can set into environment variables by:
for %%i in (%1) do set iso=%%~i for %%i in (%2) do set pedir=%%~i -------------------- |
|
|
|
Apr 17 2007, 07:50 AM
Post
#19
|
|
|
Member ![]() ![]() Group: Members Posts: 33 Joined: 28-November 03 Member No.: 2,837 |
Thanks for the reply. I actually tried that first because both of those are already in my wrapper.cmd but "pedir" ended up pointing to "c:\pebuilder\builds". What I can't figure out is where the %cd% variable is being passed from. I added a "echo 1=%1 2=%2 3=%3 ..." to the beginning on wrapper.cmd to see what exactly was being passed to it but it looks like only "C:\pebuilder\isos\test.iso" and "c:\pebuilder\builds" are passed.
J. If you are using the original Sherpya fake mkisofs then the batch file has 2 parameters which you can set into environment variables by:
for %%i in (%1) do set iso=%%~i for %%i in (%2) do set pedir=%%~i |
|
|
|
Apr 17 2007, 10:30 AM
Post
#20
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 110 Joined: 11-April 04 Member No.: 5,253 |
Thanks for the reply. I actually tried that first because both of those are already in my wrapper.cmd but "pedir" ended up pointing to "c:\pebuilder\builds". What I can't figure out is where the %cd% variable is being passed from. I added a "echo 1=%1 2=%2 3=%3 ..." to the beginning on wrapper.cmd to see what exactly was being passed to it but it looks like only "C:\pebuilder\isos\test.iso" and "c:\pebuilder\builds" are passed. J. If you are using the original Sherpya fake mkisofs then the batch file has 2 parameters which you can set into environment variables by: for %%i in (%1) do set iso=%%~i for %%i in (%2) do set pedir=%%~i %CD% doesn't need to be passed, it's always "there" in any cmd session and points to the current working directory. Just type CODE echo %CD% in any command window to get the drift... |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 9th February 2010 - 09:39 AM |