- PEBakery Build - Built by PEBakery 0.9.7 beta7 Exported by PEBakery 0.9.7 beta7 Started at 2020-04-26 01:15:47 PM +03:00 Finished at 2020-04-26 01:15:49 PM +03:00 Took 0:00:01 Success : 139 Warning : 1 Overwrite : 0 Error : 1 Info : 20 Ignore : 6 Muted : 0 - [1] Error in script [DriverSod] (Win10XPE\Apps\Tweaks\DriverSod_XPE.Script) [Error] Error - Syntax error (Line 345) - [1] Warning in script [DriverSod] (Win10XPE\Apps\Tweaks\DriverSod_XPE.Script) [Warning] Build stopped by error [ 1/ 2] Win10XPE v2 | 0.4s | Win10XPE\script.project [ 2/ 2] DriverSod v93 | 0.9s | Win10XPE\Apps\Tweaks\DriverSod_XPE.Script [ Macro ] Macro v4 | Win10XPE\Macro.script - Fixed Variables %BaseDir% = D:\Oven %EngineVersion% = 096 %PEBakery% = True %PEBakeryVersion% = 0.9.7 %ProcessorType% = 8664 %ProgramFilesDir% = C:\Program Files %ProgramFilesDir_x86% = C:\Program Files (x86) %ProjectTitle% = Win10XPE %TempDir% = C:\Users\Moshe\AppData\Local\Temp %UserName% = Moshe %UserProfile% = C:\Users\Moshe %Version% = 082 %WindowsDir% = C:\Windows %WindowsVersion% = 10.0.18362.778 - Global Variables %API% = D:\Oven\Projects\Win10XPE\Macro.script %APIDEF% = XPEMacro %APISUBDEF% = AddShortcut,AddPin,Associate,DirDeleteQ,FileDeleteQ,Download,ExtractListFiles,ExtractSectionFiles,ExtractWimFile,EchoExtended,HiveLoadALL,RegCopyKey,RegImportFile,ACLRegKey,HiveUnLoadALL,OpenDir,RunFromRAM,Start %APIVAR% = ApiVar %Architecture% = x64 %DisplayName% = Windows 10 Pro %EditionID% = Professional %FallBackLanguage% = en-US %FullSoftware% = True %GCustom% = %BaseDir%\Custom %GISO% = D:\Oven\ISO_x64 %GSource% = E:\M\1909_x64 %GTarget% = D:\Oven\Target_x64 %GTarget_Sys% = %GTarget%\Windows\System32 %GTarget_Win% = %GTarget%\Windows %GTemp% = %BaseDir%\Temp %GTools% = %BaseDir%\Projects\Tools %HostOSArch% = x64 %Image% = 6 %Language% = en-US %OS% = Win10 %OpenHideOutput% = Open %PE_Programs% = X:\Program Files %ProgCache% = %BaseDir%\ProgCache %ProjectDir% = %BaseDir%\Projects\Win10XPE %ProjectName% = MosesPE %RegComponents% = %GTarget_Sys%\config\Components %RegDefault% = %GTarget_Sys%\config\Default %RegDrivers% = %GTarget_Sys%\config\Drivers %RegSoftware% = %GTarget_Sys%\config\Software %RegSystem% = %GTarget_Sys%\config\System %Shell% = Explorer %SourceBuild% = 18362 %SourceVersion% = 10.0.18362.418 %Target_Prog% = D:\Oven\Target_x64\Program Files %WoW64Support% = True %XPECache% = D:\Oven\ProgCache\10.0.18362.418_Professional_x64_en-US [1/2] Processing section [Process] of script [Win10XPE\script.project] -------------------------------------------------------------------------------- [Info] Import Variables from [Variables] [Success] Global variable [%ProjectName%] set to [MosesPE] [Success] Global variable [%GSource%] set to [E:\M\1909_x64] [Success] Global variable [%GTools%] set to [%BaseDir%\Projects\Tools] [Success] Global variable [%GTarget%] set to [D:\Oven\Target_x64] [Success] Global variable [%GTemp%] set to [%BaseDir%\Temp] [Success] Global variable [%GISO%] set to [D:\Oven\ISO_x64] [Success] Global variable [%GTarget_Win%] set to [%GTarget%\Windows] [Success] Global variable [%GTarget_Sys%] set to [%GTarget%\Windows\System32] [Success] Global variable [%GCustom%] set to [%BaseDir%\Custom] [Success] Global variable [%ProgCache%] set to [%BaseDir%\ProgCache] [Success] Global variable [%XPECache%] set to [D:\Oven\ProgCache\10.0.18362.418_Professional_x64_en-US] [Success] Global variable [%Target_Prog%] set to [D:\Oven\Target_x64\Program Files] [Success] Global variable [%PE_Programs%] set to [X:\Program Files] [Success] Global variable [%Shell%] set to [Explorer] [Success] Global variable [%WoW64Support%] set to [True] [Success] Global variable [%FullSoftware%] set to [True] [Success] Global variable [%RegSystem%] set to [%GTarget_Sys%\config\System] [Success] Global variable [%RegSoftware%] set to [%GTarget_Sys%\config\Software] [Success] Global variable [%RegDefault%] set to [%GTarget_Sys%\config\Default] [Success] Global variable [%RegComponents%] set to [%GTarget_Sys%\config\Components] [Success] Global variable [%RegDrivers%] set to [%GTarget_Sys%\config\Drivers] [Success] Global variable [%OS%] set to [Win10] [Success] Global variable [%Image%] set to [6] [Success] Global variable [%DisplayName%] set to [Windows 10 Pro] [Success] Global variable [%EditionID%] set to [Professional] [Success] Global variable [%SourceVersion%] set to [10.0.18362.418] [Success] Global variable [%SourceBuild%] set to [18362] [Success] Global variable [%Architecture%] set to [x64] [Success] Global variable [%Language%] set to [en-US] [Success] Global variable [%FallBackLanguage%] set to [en-US] [Success] Global variable [%HostOSArch%] set to [x64] [Success] Global variable [%OpenHideOutput%] set to [Open] [Success] Global variable [%API%] set to [%ProjectDir%\Macro.script] [Success] Global variable [%APIDEF%] set to [XPEMacro] [Success] Global variable [%APIVAR%] set to [ApiVar] [Success] Global variable [%APISUBDEF%] set to [AddShortcut,AddPin,Associate,DirDeleteQ,FileDeleteQ,Download,ExtractListFiles,ExtractSectionFiles,ExtractWimFile,EchoExtended,HiveLoadALL,RegCopyKey,RegImportFile,ACLRegKey,HiveUnLoadALL,OpenDir,RunFromRAM,Start] [Info] Imported 36 variables -------------------------------------------------------------------------------- [Info] Import Variables from [Interface] [Success] Local variable [%TechBench_TextLabel%] set to [Download Windows 10 Original ISO (Final) From ] [Success] Local variable [%Mount_TextLabel%] set to [Mount Windows 10 ISO or Extract the ISO in a Folder] [Success] Local variable [%SourceTab_TextLabel%] set to [* No Need To Use The Source Tab, Source Directory] [Success] Local variable [%Source_Value%] set to [E:\M\1909_x64] [Success] Local variable [%Image_TextLabel%] set to [Choose Image] [Success] Local variable [%Image_Value%] set to [6 - Windows 10 Pro] [Success] Local variable [%EditionID_TextLabel%] set to [EditionID] [Success] Local variable [%Version_TextLabel%] set to [Version] [Success] Local variable [%Build_TextLabel%] set to [Build] [Success] Local variable [%Architecture_TextLabel%] set to [Architecture] [Success] Local variable [%Language_TextLabel%] set to [Language] [Success] Local variable [%FBLanguage_TextLabel%] set to [FallBack Language] [Success] Local variable [%EditionID_Value%] set to [Professional] [Success] Local variable [%Version_Value%] set to [10.0.18362.418] [Success] Local variable [%Build_Value%] set to [18362] [Success] Local variable [%Architecture_Value%] set to [x64] [Success] Local variable [%Language_Value%] set to [en-US] [Success] Local variable [%FBLanguage_Value%] set to [] [Success] Local variable [%Play_TextLabel%] set to [Start Building By Using The Big Blue Arrow 'Play' Button On Top] [Success] Local variable [%Donate_TextLabel%] set to [Support Win10XPE Dev] [Success] Local variable [%SupportLog_CheckBox%] set to [False] [Info] Imported 21 variables -------------------------------------------------------------------------------- [Info] Processing Section [process] [Success] If - File [D:\Oven\Projects\Win10XPE\Macro.script] exists (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Info] AddVariables - Import Global Macro from [ApiVar] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [AddShortcut] set to [Run,%API%,MAddShortcut] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [AddPin] set to [Run,%API%,MAddPin] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [Associate] set to [Run,%API%,MAssociate] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [DirDeleteQ] set to [Run,%API%,MDirDeleteQ] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [FileDeleteQ] set to [Run,%API%,MFileDeleteQ] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [Download] set to [Run,%API%,MDownload] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [ExtractListFiles] set to [Run,%API%,MExtractListFiles] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [ExtractSectionFiles] set to [Run,%API%,MExtractSectionFiles] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [ExtractWimFile] set to [Run,%API%,MExtractWimFile] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [EchoExtended] set to [Run,%API%,MEchoExtended] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [HiveLoadALL] set to [Run,%API%,MHiveLoadALL] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [RegCopyKey] set to [Run,%API%,MRegCopyKey] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [RegImportFile] set to [Run,%API%,MRegImportFile] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [ACLRegKey] set to [Run,%API%,MACLRegKey] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [HiveUnLoadALL] set to [Run,%API%,MHiveUnLoadALL] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [OpenDir] set to [Run,%API%,MOpenDir] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [RunFromRAM] set to [Run,%API%,MRunFromRAM] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] AddVariables - Global macro [Start] set to [Run,%API%,MStart] (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Info] AddVariables - Imported 18 Global Macro (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) AddVariables - -------------------------------------------------------------------------------- (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Info] If - End of CodeBlock (If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL) [Success] System - OnBuildExit callback registered (System,ONBUILDEXIT,Exec,%ProjectDir%\script.project,WinXPE_OnBuildExit) [Info] End of Section [process] End of Script [Win10XPE\script.project] -------------------------------------------------------------------------------- - Local Variables of Script [Win10XPE] %Architecture_TextLabel% = Architecture %Architecture_Value% = x64 %Build_TextLabel% = Build %Build_Value% = 18362 %Donate_TextLabel% = Support Win10XPE Dev %EditionID_TextLabel% = EditionID %EditionID_Value% = Professional %FBLanguage_TextLabel% = FallBack Language %FBLanguage_Value% = %Image_TextLabel% = Choose Image %Image_Value% = 6 - Windows 10 Pro %Language_TextLabel% = Language %Language_Value% = en-US %Mount_TextLabel% = Mount Windows 10 ISO or Extract the ISO in a Folder %Play_TextLabel% = Start Building By Using The Big Blue Arrow 'Play' Button On Top %SourceTab_TextLabel% = * No Need To Use The Source Tab, Source Directory %Source_Value% = E:\M\1909_x64 %SupportLog_CheckBox% = False %TechBench_TextLabel% = Download Windows 10 Original ISO (Final) From %Version_TextLabel% = Version %Version_Value% = 10.0.18362.418 -------------------------------------------------------------------------------- [2/2] Processing section [Process] of script [Win10XPE\Apps\Tweaks\DriverSod_XPE.Script] -------------------------------------------------------------------------------- [Info] Import Variables from [Variables] [Success] Local variable [%ProgramTitle%] set to [DriverSod] [Success] Local variable [%ProgramCmd%] set to [DriverSod.cmd] [Success] Local variable [%ProgramFolder%] set to [DriverSod] [Success] Local variable [%CabPackFile%] set to [CabPck14.zip] [Success] Local variable [%IconFile%] set to [DriverSod.ico] [Success] Local variable [%CabsCache%] set to [%ProgCache%\%ProgramFolder%_%Architecture%] [Success] Local variable [%ProvideCabx86%] set to [%ProgCache%\%ProgramFolder%_x86] [Success] Local variable [%ProvideCabx64%] set to [%ProgCache%\%ProgramFolder%_x64] [Success] Local variable [%FileContainer%] set to [%ScriptDir%\DriverSod_XPE_File.Script] [Success] Local variable [%DriverSodini%] set to [%GTemp%\%ProgramFolder%\DriverSod.ini] [Info] Imported 10 variables -------------------------------------------------------------------------------- [Info] Import Variables from [Interface] [Success] Local variable [%pTextLabel1%] set to [-=DriverS On Demand=-] [Success] Local variable [%pTextLabel2%] set to [Creates Shortcuts to install Included Driver Packs] [Success] Local variable [%StartMenu_CheckBox%] set to [True] [Success] Local variable [%StartMenuFolder_TextBox%] set to [PE DriverS On Demand] [Success] Local variable [%CBox1%] set to [True] [Success] Local variable [%CBox2%] set to [True] [Success] Local variable [%CBox3%] set to [False] [Success] Local variable [%CBox4%] set to [True] [Success] Local variable [%CBox5%] set to [True] [Success] Local variable [%CBox6%] set to [True] [Success] Local variable [%CBox7%] set to [False] [Success] Local variable [%CBox8%] set to [True] [Success] Local variable [%CBox9%] set to [True] [Success] Local variable [%CBox10%] set to [False] [Success] Local variable [%CBox11%] set to [False] [Success] Local variable [%CBox12%] set to [False] [Success] Local variable [%CBox13%] set to [False] [Success] Local variable [%CBox14%] set to [False] [Success] Local variable [%CBox15%] set to [False] [Success] Local variable [%CBox16%] set to [False] [Success] Local variable [%CBox17%] set to [False] [Success] Local variable [%CBox18%] set to [False] [Success] Local variable [%CBox19%] set to [True] [Info] Imported 23 variables -------------------------------------------------------------------------------- [Info] Processing Section [Process] [Success] Echo - Processing DriverSod... (Echo,"Processing %ProgramTitle%...") [Ignore] [C] Comment (//--) [Info] Run - Processing Section [Extract] (run,%ScriptFile%,Extract) [Success] Echo - Extracting DriverSod... (Echo,"Extracting %ProgramTitle%...") [Success] If - Directory [D:\Oven\Temp\DriverSod] does not exist (If,Not,ExistDir,%GTemp%\%ProgramFolder%,DirMake,%GTemp%\%ProgramFolder%) [Success] DirMake - Created Directory [D:\Oven\Temp\DriverSod] (If,Not,ExistDir,%GTemp%\%ProgramFolder%,DirMake,%GTemp%\%ProgramFolder%) [Info] If - End of CodeBlock (If,Not,ExistDir,%GTemp%\%ProgramFolder%,DirMake,%GTemp%\%ProgramFolder%) [Success] ExtractFile - Encoded file [DriverSod.ico] was extracted to [D:\Oven\Temp\DriverSod] (ExtractFile,%FileContainer%,Folder,%IconFile%,%GTemp%\%ProgramFolder%) [Success] ExtractFile - Encoded file [Cmd.lnk~] was extracted to [D:\Oven\Temp\DriverSod] (ExtractFile,%FileContainer%,Folder,Cmd.lnk~,%GTemp%\%ProgramFolder%) [Success] ExtractFile - Encoded file [PECmd_x86.7z] was extracted to [D:\Oven\Temp\DriverSod] (ExtractFile,%FileContainer%,Folder,PECmd_x86.7z,%GTemp%\%ProgramFolder%) [Success] ExtractFile - Encoded file [PECmd_x64.7z] was extracted to [D:\Oven\Temp\DriverSod] (ExtractFile,%FileContainer%,Folder,PECmd_x64.7z,%GTemp%\%ProgramFolder%) [Success] ExtractFile - Encoded file [DISM_x86.7z] was extracted to [D:\Oven\Temp\DriverSod] (ExtractFile,%FileContainer%,Folder,DISM_x86.7z,%GTemp%\%ProgramFolder%) [Success] ExtractFile - Encoded file [DISM_x64.7z] was extracted to [D:\Oven\Temp\DriverSod] (ExtractFile,%FileContainer%,Folder,DISM_x64.7z,%GTemp%\%ProgramFolder%) [Success] ShellExecute - Executed [D:\Oven\Projects\Tools\7z.exe x "D:\Oven\Temp\DriverSod\PECmd_x86.7z" -y -o"D:\Oven\Temp\DriverSod\Bin\x86"], returned exit code [0], took [0s] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\PECmd_x86.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x86#$q") [Success] ShellExecute - Exit code [0] saved into variable [%ExitCode%] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\PECmd_x86.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x86#$q") [Success] ShellExecute - [Standard Output] 7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 Scanning the drive for archives: 1 file, 1026576 bytes (1003 KiB) Extracting archive: D:\Oven\Temp\DriverSod\PECmd_x86.7z -- Path = D:\Oven\Temp\DriverSod\PECmd_x86.7z Type = 7z Physical Size = 1026576 Headers Size = 322 Method = LZMA2:1536k LZMA:20 BCJ2 Solid = + Blocks = 2 Everything is Ok Files: 5 Size: 1100836 Compressed: 1026576 (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\PECmd_x86.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x86#$q") [Success] ShellExecute - Executed [D:\Oven\Projects\Tools\7z.exe x "D:\Oven\Temp\DriverSod\PECmd_x64.7z" -y -o"D:\Oven\Temp\DriverSod\Bin\x64"], returned exit code [0], took [0s] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\PECmd_x64.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x64#$q") [Success] ShellExecute - Exit code [0] saved into variable [%ExitCode%] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\PECmd_x64.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x64#$q") [Success] ShellExecute - [Standard Output] 7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 Scanning the drive for archives: 1 file, 912206 bytes (891 KiB) Extracting archive: D:\Oven\Temp\DriverSod\PECmd_x64.7z -- Path = D:\Oven\Temp\DriverSod\PECmd_x64.7z Type = 7z Physical Size = 912206 Headers Size = 229 Method = LZMA2:1536k LZMA:20 BCJ2 Solid = - Blocks = 2 Everything is Ok Files: 2 Size: 1383381 Compressed: 912206 (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\PECmd_x64.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x64#$q") [Success] ShellExecute - Executed [D:\Oven\Projects\Tools\7z.exe x "D:\Oven\Temp\DriverSod\DISM_x86.7z" -y -o"D:\Oven\Temp\DriverSod\Bin\x86"], returned exit code [0], took [0s] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\DISM_x86.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x86#$q") [Success] ShellExecute - Exit code [0] saved into variable [%ExitCode%] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\DISM_x86.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x86#$q") [Success] ShellExecute - [Standard Output] 7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 Scanning the drive for archives: 1 file, 1412062 bytes (1379 KiB) Extracting archive: D:\Oven\Temp\DriverSod\DISM_x86.7z -- Path = D:\Oven\Temp\DriverSod\DISM_x86.7z Type = 7z Physical Size = 1412062 Headers Size = 688 Method = LZMA2:23 LZMA:20 BCJ2 Solid = + Blocks = 2 Everything is Ok Files: 26 Size: 6670643 Compressed: 1412062 (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\DISM_x86.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x86#$q") [Success] ShellExecute - Executed [D:\Oven\Projects\Tools\7z.exe x "D:\Oven\Temp\DriverSod\DISM_x64.7z" -y -o"D:\Oven\Temp\DriverSod\Bin\x64"], returned exit code [0], took [0s] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\DISM_x64.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x64#$q") [Success] ShellExecute - Exit code [0] saved into variable [%ExitCode%] (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\DISM_x64.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x64#$q") [Success] ShellExecute - [Standard Output] 7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 Scanning the drive for archives: 1 file, 1722373 bytes (1683 KiB) Extracting archive: D:\Oven\Temp\DriverSod\DISM_x64.7z -- Path = D:\Oven\Temp\DriverSod\DISM_x64.7z Type = 7z Physical Size = 1722373 Headers Size = 691 Method = LZMA2:12m LZMA:20 BCJ2 Solid = + Blocks = 2 Everything is Ok Files: 26 Size: 8473891 Compressed: 1722373 (ShellExecute,Hide,%GTools%\7z.exe,"x #$q%GTemp%\%ProgramFolder%\DISM_x64.7z#$q -y -o#$q%GTemp%\%ProgramFolder%\Bin\x64#$q") [Ignore] [C] Comment (//--) [Info] Run - End of Section [Extract] (run,%ScriptFile%,Extract) [Ignore] [C] Comment (//--) [Info] Run - Processing Section [Write_Cmd] (run,%ScriptFile%,Write_Cmd) [Success] Echo - Writing DriverSod.cmd... (Echo,"Writing %ProgramCmd%...") [Success] Set - Local variable [%W%] set to [D:\Oven\Temp\DriverSod\DriverSod.cmd] (Set,%W%,%GTemp%\%ProgramFolder%\%ProgramCmd%) [Success] Set - Local variable [%U%] set to [D:\Oven\Temp\DriverSod\x.cmd] (Set,%U%,%GTemp%\%ProgramFolder%\x.cmd) [Ignore] If - File [D:\Oven\Temp\DriverSod\DriverSod.cmd] does not exist (If,ExistFile,%W%,FileDelete,%W%) [Ignore] If - File [D:\Oven\Temp\DriverSod\x.cmd] does not exist (If,ExistFile,%U%,FileDelete,%U%) [Success] FileCreateBlank - Created blank text file [D:\Oven\Temp\DriverSod\DriverSod.cmd] (FileCreateBlank,%W%) [Success] FileCreateBlank - Created blank text file [D:\Oven\Temp\DriverSod\x.cmd] (FileCreateBlank,%U%) [Ignore] [C] Comment (//--) [Success] TXTAddLineOp - Lines appended to [D:\Oven\Temp\DriverSod\x.cmd] : @cls @dir %1 %2 %3 %4 %5 %6 %7 %8 %9 /O:G /W (TXTaddLine,%U%,"@cls",append TXTaddLine,%U%,"@dir %1 %2 %3 %4 %5 %6 %7 %8 %9 /O:G /W",append TXTaddLine,%U%,"",append) [Success] TXTAddLineOp - Lines appended to [D:\Oven\Temp\DriverSod\DriverSod.cmd] : @Echo off cd /D "%~dp0" setlocal enabledelayedexpansion Set "Params=%1" Echo. > "%TEMP%\DriverSod.ini" For /f "tokens=* USEBACKQ" %%v IN (`ver`) Do (Set OsVer=%%v) Call :SetArch If "%Params%"=="" Goto :Help If "%Params%"=="/?" Goto :Help Set "Opt=%Params:~0,1%" If /i not "%Opt%"=="/" Goto :Help set "vrf=%Params%" If "%Params%"=="/all" Set "ins=$" && Set "ext=cab" && Set "pat=%~dp0Drivers_%Arch%\" && Set "Action=Searching and Installing All Missing Drivers from" && goto :all If "%2"=="" Goto :Help If "%Params%"=="/inst" Set "ins=$" && Set "ext=cab" && Set "pat=%~dp0Drivers_%Arch%\" && Set "Action=Searching and Installing Drivers from Selected" && Goto :Multi If "%Params%"=="/copy" Set "ins=" && Set "ext=cab" && Set "pat=%~dp0Drivers_%Arch%\" && Set "Action=Searching and Copying Missing Drivers from" && Goto :Multi If "%Params%"=="/infi" Set "ins=$" && Set "ext=inf" && Set "pat=%Windir%\inf\" && Set "Action=Loading Drivers from Copied" && Goto :Multi If "%Params%"=="/load" Set "pat=%2" && Set "Action=Loading Drivers from" && Goto :Load If "%Params%"=="/genx" Set "ins=$" && Set "CmdFile=%2.cmd" && Set "ext=cab" && Set "pat=%~dp0Drivers_%Arch%\" && Set "IniFile=%~dp0%2.ini" && Set "Action=Creating Auto-install from Selected" && Goto :Create If "%Params%"=="/gen" Set "ins=$" && Set "CmdFile=%2.cmd" && Set "ext=cab" && Set "pat=%~dp0Drivers_%Arch%\" && Set "Action=Creating Cmd File from Selected" && Goto :Batch If "%Params%"=="/exp" Set "pat=%~dp0Drivers_%Arch%\%2" && Set "Action=Exporting Host Drivers to folder Drivers_%Arch%\%2" && Goto :Export If "%Params%"=="/imp" Set "pat=%~dp0Drivers_%Arch%\%2" && Set "Action=Importing Host Drivers from folder Drivers_%Arch%\%2" && Goto :Import If "%Params%"=="/off" Set "src=%2" && Set "pat=%3" && Set "Action=Installing OffLine Host Drivers from folder %2" && Goto :OffLine Goto :Help :Multi Shift If "%~1" Equ "" Goto :Run IF Not Exist %pat%%1.%ext% Echo. && Echo DriverSod: %vrf:~1%: Could not find %1.%ext%... && Goto:eof Echo DEVI %ins%%pat%%1.%ext% >> "%TEMP%\DriverSod.ini" && Goto :Multi Goto :eof :Load Echo. Echo %Action% %ext% for: Echo %OsVer% %Arch% Echo Please Wait... Echo. If Not Exist %pat% Echo DriverSod: %vrf:~1%: Could not find %pat%... && Goto:eof For /f "delims=" %%y in ('dir "%pat%\*.inf" /b /s /a-d') do (%WinDir%\System32\pnputil.exe /add-driver "%%y" /subdirs /install) goto :Eof :all If Not Exist %pat%*.%ext% Echo. && Echo DriverSod: %vrf:~1%: Could not find %pat%*.%ext%... && Goto:eof For /f %%f in ('dir /b "%pat%*.%ext%"') do Echo DEVI %ins%%pat%%%f >> "%TEMP%\DriverSod.ini" goto :Run :Create if exist "%IniFile%" Del "%IniFile%" /Q :Add shift If "%~1" Equ "" goto :Write Echo DEVI %ins%%pat%%1.%ext% >> "%IniFile%" && Goto :Add Goto :eof :Write Echo. Echo %Action% %ext% for: Echo %OsVer% %Arch% Echo Please Wait... Echo @Echo Off > %CmdFile% Echo Echo. >> %CmdFile% Echo Echo Searching and Installing Drivers from Selected %ext% for: >> %CmdFile% Echo Echo %OsVer% %Arch% >> %CmdFile% Echo Echo Please Wait... >> %CmdFile% Echo "%~dp0\Bin\%Arch%\Pecmd.exe" load "%IniFile%" >> %CmdFile% move "%IniFile%" "%IniFile%~" > nul more +1 "%IniFile%~" > "%IniFile%" && Del /Q "%inifile%~" Goto :eof :Batch Echo. Echo %Action% %ext% for: Echo %OsVer% %Arch% Echo Please Wait... Shift && shift Echo @DriverSod /inst %1 %2 %3 %4 %5 %6 %7 %8 %9 > %CmdFile% Goto :eof :Export Echo. Echo %Action% for: Echo %OsVer% %Arch% Echo Please Wait... md %pat% "%~dp0\Bin\%Arch%\Dism.exe" /online /Export-Driver /Destination:"%pat%" Goto :eof :Import Echo. Echo %Action% for: Echo %OsVer% %Arch% Echo Please Wait... Echo. If Not Exist %pat%\ Echo DriverSod: %vrf:~1%: Could not find %pat%... && Goto:eof "%WinDir%\System32\pnputil.exe" /add-driver "%pat%\*.inf" /subdirs /install Goto :eof :OffLine Set "drv=%src:~0,2%" Echo. Echo %Action% for: Echo %OsVer% %Arch% Echo Please Wait... If Not Exist %src%\ Echo. && Echo DriverSod: %vrf:~1%: Could not find %src%... && Goto :eof If /i "%4"=="/go" if Exist "%pat%" RmDir "%pat%" /s /q If Exist "%pat%\" Echo. && Echo DriverSod: %vrf:~1%: %pat% Already Exist... && Goto :eof Call :SetOlArch If /i Not "%OlArch%"=="%Arch%" Echo. && Echo DriverSod: %vrf:~1%: Architecture Mismatch... && Goto :eof md %pat% "%~dp0\Bin\%Arch%\Dism.exe" /image:%drv% /Export-Driver /destination:"%pat%" Echo. set /a count1=-1 set /a count2=0 (TXTaddLine,%W%,"@Echo off",append TXTaddLine,%W%,"cd /D #$q%~dp0#$q",append TXTaddLine,%W%,"setlocal enabledelayedexpansion",append TXTaddLine,%W%,"Set #$qParams=%1#$q",append TXTaddLine,%W%,"Echo. > #$q%TEMP%\DriverSod.ini#$q",append TXTaddLine,%W%,"For /f #$qtokens=* USEBACKQ#$q %%v IN (`ver`) Do (Set OsVer=%%v)",append TXTaddLine,%W%,"Call :SetArch",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q#$q Goto :Help",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/?#$q Goto :Help",append TXTaddLine,%W%,"Set #$qOpt=%Params:~0,1%#$q",append TXTaddLine,%W%,"If /i not #$q%Opt%#$q==#$q/#$q Goto :Help",append TXTaddLine,%W%,"set #$qvrf=%Params%#$q",append TXTaddLine,%W%,"",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/all#$q Set #$qins=$#$q && Set #$qext=cab#$q && Set #$qpat=%~dp0Drivers_%Arch%\#$q && Set #$qAction=Searching and Installing All Missing Drivers from#$q && goto :all",append TXTaddLine,%W%,"If #$q%2#$q==#$q#$q Goto :Help",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/inst#$q Set #$qins=$#$q && Set #$qext=cab#$q && Set #$qpat=%~dp0Drivers_%Arch%\#$q && Set #$qAction=Searching and Installing Drivers from Selected#$q && Goto :Multi",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/copy#$q Set #$qins=#$q && Set #$qext=cab#$q && Set #$qpat=%~dp0Drivers_%Arch%\#$q && Set #$qAction=Searching and Copying Missing Drivers from#$q && Goto :Multi",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/infi#$q Set #$qins=$#$q && Set #$qext=inf#$q && Set #$qpat=%Windir%\inf\#$q && Set #$qAction=Loading Drivers from Copied#$q && Goto :Multi",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/load#$q Set #$qpat=%2#$q && Set #$qAction=Loading Drivers from#$q && Goto :Load",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/genx#$q Set #$qins=$#$q && Set #$qCmdFile=%2.cmd#$q && Set #$qext=cab#$q && Set #$qpat=%~dp0Drivers_%Arch%\#$q && Set #$qIniFile=%~dp0%2.ini#$q && Set #$qAction=Creating Auto-install from Selected#$q && Goto :Create",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/gen#$q Set #$qins=$#$q && Set #$qCmdFile=%2.cmd#$q && Set #$qext=cab#$q && Set #$qpat=%~dp0Drivers_%Arch%\#$q && Set #$qAction=Creating Cmd File from Selected#$q && Goto :Batch",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/exp#$q Set #$qpat=%~dp0Drivers_%Arch%\%2#$q && Set #$qAction=Exporting Host Drivers to folder Drivers_%Arch%\%2#$q && Goto :Export",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/imp#$q Set #$qpat=%~dp0Drivers_%Arch%\%2#$q && Set #$qAction=Importing Host Drivers from folder Drivers_%Arch%\%2#$q && Goto :Import",append TXTaddLine,%W%,"If #$q%Params%#$q==#$q/off#$q Set #$qsrc=%2#$q && Set #$qpat=%3#$q && Set #$qAction=Installing OffLine Host Drivers from folder %2#$q && Goto :OffLine",append TXTaddLine,%W%,"Goto :Help",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":Multi",append TXTaddLine,%W%,"Shift",append TXTaddLine,%W%,"If #$q%~1#$q Equ #$q#$q Goto :Run",append TXTaddLine,%W%,"IF Not Exist %pat%%1.%ext% Echo. && Echo DriverSod: %vrf:~1%: Could not find %1.%ext%... && Goto:eof",append TXTaddLine,%W%,"Echo DEVI %ins%%pat%%1.%ext% >> #$q%TEMP%\DriverSod.ini#$q && Goto :Multi",append TXTaddLine,%W%,"Goto :eof",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":Load",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"Echo %Action% %ext% for: ",append TXTaddLine,%W%,"Echo %OsVer% %Arch%",append TXTaddLine,%W%,"Echo Please Wait...",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"If Not Exist %pat% Echo DriverSod: %vrf:~1%: Could not find %pat%... && Goto:eof",append TXTaddLine,%W%,"For /f #$qdelims=#$q %%y in ('dir #$q%pat%\*.inf#$q /b /s /a-d') do (%WinDir%\System32\pnputil.exe /add-driver #$q%%y#$q /subdirs /install)",append TXTaddLine,%W%,"goto :Eof",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":all",append TXTaddLine,%W%,"If Not Exist %pat%*.%ext% Echo. && Echo DriverSod: %vrf:~1%: Could not find %pat%*.%ext%... && Goto:eof",append TXTaddLine,%W%,"For /f %%f in ('dir /b #$q%pat%*.%ext%#$q') do Echo DEVI %ins%%pat%%%f >> #$q%TEMP%\DriverSod.ini#$q",append TXTaddLine,%W%,"goto :Run",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":Create",append TXTaddLine,%W%,"if exist #$q%IniFile%#$q Del #$q%IniFile%#$q /Q",append TXTaddLine,%W%,":Add",append TXTaddLine,%W%,"shift",append TXTaddLine,%W%,"If #$q%~1#$q Equ #$q#$q goto :Write",append TXTaddLine,%W%,"Echo DEVI %ins%%pat%%1.%ext% >> #$q%IniFile%#$q && Goto :Add",append TXTaddLine,%W%,"Goto :eof",append TXTaddLine,%W%,":Write",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"Echo %Action% %ext% for:",append TXTaddLine,%W%,"Echo %OsVer% %Arch%",append TXTaddLine,%W%,"Echo Please Wait...",append TXTaddLine,%W%,"Echo @Echo Off > %CmdFile%",append TXTaddLine,%W%,"Echo Echo. >> %CmdFile%",append TXTaddLine,%W%,"Echo Echo Searching and Installing Drivers from Selected %ext% for: >> %CmdFile%",append TXTaddLine,%W%,"Echo Echo %OsVer% %Arch% >> %CmdFile%",append TXTaddLine,%W%,"Echo Echo Please Wait... >> %CmdFile%",append TXTaddLine,%W%,"Echo #$q%~dp0\Bin\%Arch%\Pecmd.exe#$q load #$q%IniFile%#$q >> %CmdFile% ",append TXTaddLine,%W%,"move #$q%IniFile%#$q #$q%IniFile%~#$q > nul",append TXTaddLine,%W%,"more +1 #$q%IniFile%~#$q > #$q%IniFile%#$q && Del /Q #$q%inifile%~#$q",append TXTaddLine,%W%,"Goto :eof",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":Batch",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"Echo %Action% %ext% for: ",append TXTaddLine,%W%,"Echo %OsVer% %Arch%",append TXTaddLine,%W%,"Echo Please Wait...",append TXTaddLine,%W%,"Shift && shift",append TXTaddLine,%W%,"Echo @DriverSod /inst %1 %2 %3 %4 %5 %6 %7 %8 %9 > %CmdFile% ",append TXTaddLine,%W%,"Goto :eof",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":Export",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"Echo %Action% for: ",append TXTaddLine,%W%,"Echo %OsVer% %Arch%",append TXTaddLine,%W%,"Echo Please Wait...",append TXTaddLine,%W%,"md %pat%",append TXTaddLine,%W%,"#$q%~dp0\Bin\%Arch%\Dism.exe#$q /online /Export-Driver /Destination:#$q%pat%#$q",append TXTaddLine,%W%,"Goto :eof",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":Import",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"Echo %Action% for: ",append TXTaddLine,%W%,"Echo %OsVer% %Arch%",append TXTaddLine,%W%,"Echo Please Wait...",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"If Not Exist %pat%\ Echo DriverSod: %vrf:~1%: Could not find %pat%... && Goto:eof",append TXTaddLine,%W%,"#$q%WinDir%\System32\pnputil.exe#$q /add-driver #$q%pat%\*.inf#$q /subdirs /install",append TXTaddLine,%W%,"Goto :eof",append TXTaddLine,%W%,"",append TXTaddLine,%W%,":OffLine",append TXTaddLine,%W%,"Set #$qdrv=%src:~0,2%#$q",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"Echo %Action% for:",append TXTaddLine,%W%,"Echo %OsVer% %Arch%",append TXTaddLine,%W%,"Echo Please Wait...",append TXTaddLine,%W%,"If Not Exist %src%\ Echo. && Echo DriverSod: %vrf:~1%: Could not find %src%... && Goto :eof",append TXTaddLine,%W%,"If /i #$q%4#$q==#$q/go#$q if Exist #$q%pat%#$q RmDir #$q%pat%#$q /s /q",append TXTaddLine,%W%,"If Exist #$q%pat%\#$q Echo. && Echo DriverSod: %vrf:~1%: %pat% Already Exist... && Goto :eof",append TXTaddLine,%W%,"Call :SetOlArch",append TXTaddLine,%W%,"If /i Not #$q%OlArch%#$q==#$q%Arch%#$q Echo. && Echo DriverSod: %vrf:~1%: Architecture Mismatch... && Goto :eof",append TXTaddLine,%W%,"md %pat%",append TXTaddLine,%W%,"#$q%~dp0\Bin\%Arch%\Dism.exe#$q /image:%drv% /Export-Driver /destination:#$q%pat%#$q",append TXTaddLine,%W%,"Echo.",append TXTaddLine,%W%,"set /a count1=-1",append TXTaddLine,%W%,"set /a count2=0",append) [Error] Error - Syntax error (Line 345) [Info] Run - End of Section [Write_Cmd] (run,%ScriptFile%,Write_Cmd) [Info] End of Section [Process] End of Script [Win10XPE\Apps\Tweaks\DriverSod_XPE.Script] -------------------------------------------------------------------------------- [Warning] Build stopped by error - Local Variables of Script [DriverSod] %CBox1% = True %CBox10% = False %CBox11% = False %CBox12% = False %CBox13% = False %CBox14% = False %CBox15% = False %CBox16% = False %CBox17% = False %CBox18% = False %CBox19% = True %CBox2% = True %CBox3% = False %CBox4% = True %CBox5% = True %CBox6% = True %CBox7% = False %CBox8% = True %CBox9% = True %CabPackFile% = CabPck14.zip %CabsCache% = %ProgCache%\%ProgramFolder%_%Architecture% %DriverSodini% = %GTemp%\%ProgramFolder%\DriverSod.ini %ExitCode% = 0 %FileContainer% = %ScriptDir%\DriverSod_XPE_File.Script %IconFile% = DriverSod.ico %ProgramCmd% = DriverSod.cmd %ProgramFolder% = DriverSod %ProgramTitle% = DriverSod %ProvideCabx64% = %ProgCache%\%ProgramFolder%_x64 %ProvideCabx86% = %ProgCache%\%ProgramFolder%_x86 %StartMenuFolder_TextBox% = PE DriverS On Demand %StartMenu_CheckBox% = True %U% = D:\Oven\Temp\DriverSod\x.cmd %W% = D:\Oven\Temp\DriverSod\DriverSod.cmd %pTextLabel1% = -=DriverS On Demand=- %pTextLabel2% = Creates Shortcuts to install Included Driver Packs --------------------------------------------------------------------------------