DPs-Build_MassStorageDrivers.script
#26
Posted 17 December 2007 - 08:44 PM
sorry, that was a typo by me! The error message stated: %GlobalTemplates%
regards
Ponzandro
#27
Posted 17 December 2007 - 10:41 PM
Thanks,
Galapo.
#28
Posted 17 December 2007 - 10:54 PM
thanks
Ponzandro
#29
Posted 17 December 2007 - 11:01 PM
Thanks for your testing.
Regards,
Galapo.
#30
Posted 17 December 2007 - 11:10 PM
Do attempt to take a look. It's actually not that hard if you know something of the basics of programming. Pedro's api makes coding quite quick and easy too for applications, although it probably requires some updated documentation.I guess i have to play around a little bit more with all that .script stuff. Coming from BartPE it looks a little bit obscure for me at the moment....
I tentitively moved from BartPE around June or July -- and within a couple of weeks I'd shifted everything across. The .script files were initially something of a mystery, but I found they weren't too hard to unravel once I devoted a couple of days to figuring it out and doing some coding and testing myself.
Regards,
Galapo.
#31
Posted 26 December 2007 - 04:33 AM
Do attempt to take a look. It's actually not that hard if you know something of the basics of programming. Pedro's api makes coding quite quick and easy too for applications, although it probably requires some updated documentation.
I tentitively moved from BartPE around June or July -- and within a couple of weeks I'd shifted everything across. The .script files were initially something of a mystery, but I found they weren't too hard to unravel once I devoted a couple of days to figuring it out and doing some coding and testing myself.
Regards,
Galapo.
downloaded fresh winbuilder 074 building nativeex from xpsp2 en source. tried 2 of your scripts - 1. hdm8 and 2. massstorage. im having trouble with some of your variables. ex: Target_Prog in HDM8 and Target_Win in massstorage. should these be changed from Target_Prog to TargetDir and from Target_Win to WindowsDir or what??? let me know what you think.
Thanks
Carfan
Merry Christmas and Happy Holidays to all!!!
#32
Posted 26 December 2007 - 05:55 AM
There shouldn't be a problem with the variables with the latest nativeEx.
script.project has %target_win%=%TargetDir%\I386 and buildmodel should add the %Target_Prog% variable on first run.
Regards,
Galapo.
#33
Posted 24 July 2008 - 11:36 PM
Regards,
Galapo.
#34
Posted 14 August 2008 - 08:42 AM
I cannot get this script to work. I keep getting the following error message.
"Error! Either DPs BASE file, a .7z mass storage DP, or both, was not supplied. Script will not be built."
I use the nativeEx project scripta. I am using WinBuilder 075b4 and have the latest DriverPacks and I point your script to my driverpacks folder.
I notice that my DP Base is called DPs_BASE.exe, I have made a copy called DPs_BASE_075.exe because I thought it was filename pattern that you check, but I still get the above error.
Do I need to place your script in a special location in the nativeEx project? Do I need any other projects as requirements to run your script eg BartPE Project or BartPE inf support?
Regards,
niche99
#35
Posted 15 August 2008 - 04:13 AM
BASE needs a name starting with 'DPs_BASE_'. I'm currently using 'DPs_BASE_805.exe'.
Mass storage pack needs a name starting with 'DP_MassStorage_wnt5_x86-32_' (and ending, of course, with .7z). I'm currently using 'DP_MassStorage_wnt5_x86-32_807a.7z'.
Point the script to a folder containing these two files and click 'build'. Alternatively, copy them to '%basedir%\Workbench\Common\DPs\MassStorage' and click 'build'.
Regards,
Galapo.
#36
Posted 15 August 2008 - 08:20 AM
I was using the unzipped DPS_BASE.exe contained in the DPS_BASE_805.exe self extracting zip package!
Working perfectly now.
Thanks Galapo,
niche99
#38
Posted 27 August 2008 - 09:23 PM
Regards,
Galapo.
#39
Posted 27 August 2008 - 10:47 PM
Regards,
Galapo.
#40
Posted 28 August 2008 - 06:10 PM
what was the problem? :-)
#41
Posted 28 August 2008 - 10:13 PM
Regards,
Galapo.
#42
Posted 12 January 2009 - 02:06 PM
This script freezes when building the driverpack and creating the script. I am using the latest DPs_BASE_8122.exe and DP_MassStorage_wnt5_x86-32_901.7z.
[img]http://boot-land.net/images/info.gif[/img] File [%BaseDir%\Projects\TaisoftPE\Drivers\4 Storage\DPs-Build_MassStorageDrivers.script] Version [43] [img]file:///J:/Taisoft/PE%20Rescue/WinBuilder/%27[/img] [img]http://boot-land.net/images/accept.gif[/img] IF - Directory exists: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression] evaluated string: [If,ExistDir,"%GlobalTemplates%\DPs\MassStorage\decompression",DirDelete,"%GlobalTemplates%\DPs\MassStorage\decompression"] [img]http://boot-land.net/images/accept.gif[/img] DirDelete - Deleted directory [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression] Run - Processing section: [Build-Script] From file: [%BaseDir%\Projects\TaisoftPE\Drivers\4 Storage\DPs-Build_MassStorageDrivers.script] Run - Processing section: [CheckFiles] From file: [%BaseDir%\Projects\TaisoftPE\Drivers\4 Storage\DPs-Build_MassStorageDrivers.script] [img]http://boot-land.net/images/accept.gif[/img] IF - File exists: [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] evaluated string: [If,ExistFile,"%ProjectTemp%\DriverPacks_Listing.ini",FileDelete,"%ProjectTemp%\DriverPacks_Listing.ini"] [img]http://boot-land.net/images/accept.gif[/img] FileDelete - Sucessfully deleted [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] [img]http://boot-land.net/images/ignore.gif[/img] IF - Directory exists: [%BaseDir%\Temp\TaisoftPE] evaluated string: [If,NotExistDir,"%ProjectTemp%",DirMake,"%ProjectTemp%"] [img]http://boot-land.net/images/accept.gif[/img] ShellExecute: [hide] using: [cmd.exe] with parameters: [/c dir "%BaseDir%\Workbench\Common\DPs\MassStorage" /b >> "%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini"] [img]http://boot-land.net/images/accept.gif[/img] TxtAddLine - Added line: [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] line: [[DriverPacks_Listing]] Option:"Prepend" [img]http://boot-land.net/images/accept.gif[/img] TXTReplace - Replaced strings in file: [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] string [DPs_BASE_] with string: [BaseVersion=] [img]http://boot-land.net/images/accept.gif[/img] TXTReplace - Replaced strings in file: [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] string [DP_MassStorage_wnt5_x86-32_] with string: [MassStorageVersion=] [img]http://boot-land.net/images/accept.gif[/img] IniRead - [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] Section [DriverPacks_Listing] Key [BaseVersion] to variable: [%Base_Version%] with value [8122.exe] [img]http://boot-land.net/images/accept.gif[/img] IniRead - [%BaseDir%\Temp\TaisoftPE\DriverPacks_Listing.ini] Section [DriverPacks_Listing] Key [MassStorageVersion] to variable: [%MassStorage_Version%] with value [901.7z] [img]http://boot-land.net/images/ignore.gif[/img] IF - [8122.exe] is not equal to: [] evaluated string: [If,%Base_Version%,Equal,,Run,%ScriptFile%,PossibleHalt] [img]http://boot-land.net/images/ignore.gif[/img] IF - [901.7z] is not equal to: [] evaluated string: [If,%MassStorage_Version%,Equal,,Run,%ScriptFile%,PossibleHalt] Run - Processed section [CheckFiles] in file: [%BaseDir%\Projects\TaisoftPE\Drivers\4 Storage\DPs-Build_MassStorageDrivers.script] [img]http://boot-land.net/images/ignore.gif[/img] IF - [] is not equal to: [rerun] evaluated string: [If,%rerun%,Equal,"rerun",Run,%ScriptFile%,CheckFiles] [img]http://boot-land.net/images/accept.gif[/img] SetVar - Sucessfuly changed the value of [%Base_File%] to: [DPs_BASE_8122.exe] [img]http://boot-land.net/images/accept.gif[/img] SetVar - Sucessfuly changed the value of [%MassStorage_File%] to: [DP_MassStorage_wnt5_x86-32_901.7z] [img]http://boot-land.net/images/ignore.gif[/img] IF - [075] is not smaller than [075] evaluated string: [If,%version%,SMALLER,075,System,RefreshVars] [img]http://boot-land.net/images/ignore.gif[/img] IF - File does not exist: [%BaseDir%\Projects\TaisoftPE\Drivers\4 Storage\DPs-MassStorageDrivers.script] evaluated string: [If,ExistFile,"%ScriptDir%\DPs-MassStorageDrivers.script",FileDelete,"%ScriptDir%\DPs-MassStorageDrivers.script"] [img]http://boot-land.net/images/ignore.gif[/img] IF - Directory does not exist: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression] evaluated string: [If,ExistDir,"%GlobalTemplates%\DPs\MassStorage\decompression",DirDelete,"%GlobalTemplates%\DPs\MassStorage\decompression"] [img]http://boot-land.net/images/accept.gif[/img] DirMake - Created directory: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\plugin] [img]http://boot-land.net/images/accept.gif[/img] IF - Directory exists: [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles] evaluated string: [If,ExistDir,"%GlobalTemplates%\DPs\MassStorage\ScriptFiles",DirDelete,"%GlobalTemplates%\DPs\MassStorage\ScriptFiles"] [img]http://boot-land.net/images/accept.gif[/img] DirDelete - Deleted directory [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles] [img]http://boot-land.net/images/accept.gif[/img] DirMake - Created directory: [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles] [img]http://boot-land.net/images/accept.gif[/img] DirMake - Created directory: [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles\common] [img]http://boot-land.net/images/accept.gif[/img] DirMake - Created directory: [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles\xp] [img]http://boot-land.net/images/accept.gif[/img] DirMake - Created directory: [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles\2003] [img]http://boot-land.net/images/accept.gif[/img] DirMake - Created directory: [%BaseDir%\Workbench\Common\DPs\MassStorage\ScriptFiles\temp] [img]http://boot-land.net/images/ignore.gif[/img] IF - File exists: [%BaseDir%\Workbench\Common\DPs\MassStorage\DPs_BASE_8122.exe] evaluated string: [If,NotExistFile,"%GlobalTemplates%\DPs\MassStorage\%Base_File%",FileCopy,"%pFileBox1%\%Base_File%","%GlobalTemplates%\DPs\MassStorage"] [img]http://boot-land.net/images/ignore.gif[/img] IF - File exists: [%BaseDir%\Workbench\Common\DPs\MassStorage\DP_MassStorage_wnt5_x86-32_901.7z] evaluated string: [If,NotExistFile,"%GlobalTemplates%\DPs\MassStorage\%MassStorage_File%",FileCopy,"%pFileBox1%\%MassStorage_File%","%GlobalTemplates%\DPs\MassStorage"] [img]http://boot-land.net/images/accept.gif[/img] ShellExecute: [Hide] using: [%BaseDir%\Workbench\Common\DPs\MassStorage\DPs_BASE_8122.exe] with parameters: [x -o"%BaseDir%\Workbench\Common\DPs\MassStorage\decompression" -y] [img]http://boot-land.net/images/accept.gif[/img] FileCopy - Copied [%BaseDir%\Workbench\Common\DPs\MassStorage\DP_MassStorage_wnt5_x86-32_901.7z] to: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\DriverPacks] [img]http://boot-land.net/images/accept.gif[/img] FileCreateBlank - Created a new file: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\BartPE.exe] [img]http://boot-land.net/images/ignore.gif[/img] IF - File does not exist: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\DPs_BASE.ini] evaluated string: [If,ExistFile,"%GlobalTemplates%\DPs\MassStorage\decompression\DPs_BASE.ini",FileDelete,"%GlobalTemplates%\DPs\MassStorage\decompression\DPs_BASE.ini"] [img]http://boot-land.net/images/accept.gif[/img] ExtractFile - [CreateMassStorageScript.exe] to: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression] [img]http://boot-land.net/images/accept.gif[/img] ExtractFile - [DPs_BASE.ini] to: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression] [img]http://boot-land.net/images/accept.gif[/img] IniWrite - Wrote INI key in file: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\DPs_BASE.ini] Section [Settings] Key [location=%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\plugin] [img]http://boot-land.net/images/ignore.gif[/img] IF - [jraid|L4symmpi|lsi*|MegaI*|mraid*|msas*|nvgts*|SiS*] is not equal to: [] evaluated string: [If,%pTextBox2%,Equal,,Begin] [img]http://boot-land.net/images/ignore.gif[/img] [If,%pTextBox1%,Equal,,ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","#$q%MassStorage_Version%^%Base_Version%#$q#$s#$q%GlobalTemplates%\DPs\MassStorage\decompression\DPs_BASE.exe#$q"] [img]http://boot-land.net/images/ignore.gif[/img] [If,%pTextBox1%,NotEqual,,ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","#$q%MassStorage_Version%^%Base_Version%#$q#$s#$q%GlobalTemplates%\DPs\MassStorage\decompression\DPs_BASE.exe#$q#$s#$q%pTextBox1%#$q"] [img]http://boot-land.net/images/ignore.gif[/img] [End] [img]http://boot-land.net/images/accept.gif[/img] ELSE - executing command: [Begin] [img]http://boot-land.net/images/accept.gif[/img] IF - [] is equal to: [] evaluated string: [If,%pTextBox1%,Equal,,ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","#$q%MassStorage_Version%^%Base_Version%#$q#$s#$q%GlobalTemplates%\DPs\MassStorage\decompression\DPs_BASE.exe#$q#$snone#$s#$q%pTextBox2%#$q"] [url=""][/url][img]http://boot-land.net/images/warning.gif[/img] STOP [img]http://boot-land.net/images/accept.gif[/img] ShellExecute: [Hide] using: [%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\CreateMassStorageScript.exe] with parameters: ["901.7z^8122.exe" "%BaseDir%\Workbench\Common\DPs\MassStorage\decompression\DPs_BASE.exe" none "jraid|L4symmpi|lsi*|MegaI*|mraid*|msas*|nvgts*|SiS*"] Run - Processed section [Build-Script] in file: [%BaseDir%\Projects\TaisoftPE\Drivers\4 Storage\DPs-Build_MassStorageDrivers.script] [img]http://boot-land.net/images/app.gif[/img] Finished processing script: Build DPs Mass Storage Drivers script (DPs-Build_MassStorageDrivers.script) [img]file:///J:/Taisoft/PE%20Rescue/WinBuilder/%27[/img] [img]http://boot-land.net/images/clock.gif[/img] Script time: 21 minutes, 21 seconds and 243 miliseconds [img]http://boot-land.net/images/app.gif[/img] Script has been sucessfully processed!
Regards,
niche99
#43
Posted 12 January 2009 - 03:23 PM
#44
Posted 12 January 2009 - 10:29 PM
Note: DP_MassStorage_wnt5_x86-32_901.7z is still buggy and it is advised not to use it outside of testing.
Regards,
Galapo.
#45
Posted 13 January 2009 - 12:10 AM
New script has now been uploaded.
Regards,
Galapo.
#46
Posted 13 January 2009 - 01:50 AM
Sorry, not true. 901 is now released as final. Happened just the last couple of days.Note: DP_MassStorage_wnt5_x86-32_901.7z is still buggy and it is advised not to use it outside of testing.
Regards,
Galapo.
#47
Posted 13 January 2009 - 12:58 PM
DP_MassStorage_wnt5_x86-32_901.7z
and everything seems working nice now
#48
Posted 13 January 2009 - 03:34 PM
Cos it stopped while building, and the log gives a big STOP
nvm, just saw the update, will try it, thanks.
#49
Posted 16 February 2009 - 11:00 AM
I've been attempting to use the DPs-Build_MassStorageDrivers.script(version 49) on LiveXP and ran into some problems.
The way i use the script is to select it and click the Build button. No other changes are made to the script.
The scripts runs fine and completes successfully, however the drivers aren't integrated into the Target correctly.
Instead the %GlobalTemplates%\DPs\MassStorage\ScriptFiles contain three folders as such
1. 2003\disabled
2. common\disabled
3. xp\disabled
All the drivers are actually present within the disabled folder and are copied into the target folder as
"Target\LiveXP\I386\SYSTEM32\DRIVERS\disabled"
If i run the PE, i get the following error "The file siside.sys could not be found. Press any key to continue".
I retrieved the DPs-Build_MassStorageDrivers.script(version 47) and that script works just fine.
There was no disabled folder and the drivers integrated with the LiveXP target correctly.
This was retrieved from the zip archive at http://winbuilder.ne...oad.php?view.35
I did a diff between the two versions and found that three lines are different:
version 47
line 84 : ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","uppercase #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\common#$q #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\temp#$q"
line 85 : ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","uppercase #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\xp#$q #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\temp#$q"
line 86 : ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","uppercase #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\2003#$q #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\temp#$q"
version 49
line 87 : ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","uppercaseNdisable_check #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\common#$q #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\temp#$q #$q%pTextBox1%#$q"
line 88 : ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","uppercaseNdisable_check #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\xp#$q #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\temp#$q #$q%pTextBox1%#$q"
line 89 : ShellExecute,Hide,"%GlobalTemplates%\DPs\MassStorage\decompression\CreateMassStorageScript.exe","uppercaseNdisable_check #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\2003#$q #$q%GlobalTemplates%\DPs\MassStorage\ScriptFiles\temp#$q #$q%pTextBox1%#$q"
version 47 : does not do a check for problematic drivers in the command line to CreateMassStorageScript.exe.
version 49 : adds the problematic drivers at the end of the command line to CreateMassStorageScript.exe.
In, my case the problematic drivers is empty resulting in a command like
CreateMassStorageScript.exe uppercaseNdisable_check <dir> <tmpdir> ""
everything get's moved to a disabled folder for the 2003, common and xp folders.
If i add a simple "*.*" to the problematic drivers test box, the scripts works fine and this is the work around i am using.
I don't know what is wrong here and was trying to figure this out for a while. I even did a search on the forums with no success.
Perhaps, I'm doing something wrong.
Thanks for any help on this. I am using the latest winbuilder version 076
whosane
#50
Posted 16 February 2009 - 11:02 AM
Thanks,
Galapo.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users