Build Core |
File [%BaseDir%\Projects\Win10XPE\Core.script] Version[2]
Processing Build Core...
AddInterface - Added section [InterfaceMain] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
AddInterface - Added section [InterfaceOption] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
AddInterface - Added section [InterfacePENetwork] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
AddInterface - Added section [InterfaceBuild] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//Run,%scriptfile%,PreCheck_RootDrive]
|
Run - Processing section: [PreCheck_Build] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [17763] is not smaller than [16299] evaluated string: [If,%SourceBuild%,Smaller,16299,EchoExtended,"The Build is prepared for Windows 10 Build 16299 and maybe Following.
Download and choose a suitable Windows 10 Source.",Warn,,Message,,Halt]
Run - Processed section [PreCheck_Build] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
|
Run - Processing section: [PreCheck_Tools] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
SetVar - Sucessfuly changed the value of [%ToolsOK%] to: [Yes]
IF - File exists: [%BaseDir%\Projects\Tools\7z.dll] evaluated string: [If,Not,ExistFile,%GTools%\7z.dll,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\7z.exe] evaluated string: [If,Not,ExistFile,%GTools%\7z.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\CopyRegKey.cmd] evaluated string: [If,Not,ExistFile,%GTools%\CopyRegKey.cmd,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\GWT.exe] evaluated string: [If,Not,ExistFile,%GTools%\GWT.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\HiveUnload.exe] evaluated string: [If,Not,ExistFile,%GTools%\HiveUnload.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\libwim-15.dll] evaluated string: [If,Not,ExistFile,%GTools%\libwim-15.dll,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\mkisofs.exe] evaluated string: [If,Not,ExistFile,%GTools%\mkisofs.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\SetACL.exe] evaluated string: [If,Not,ExistFile,%GTools%\SetACL.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\wiminfo.exe] evaluated string: [If,Not,ExistFile,%GTools%\wiminfo.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] evaluated string: [If,Not,ExistFile,%GTools%\wimlib-imagex.exe,Set,%ToolsOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\aria2c.exe] evaluated string: [If,Not,ExistFile,%GTools%\aria2c.exe,Set,%ToolsOK%,No]
IF - [yes] is not equal to: [no] evaluated string: [If,%ToolsOK%,Equal,No,EchoExtended,"Error: Some Required Programs are Missing in the Tools Folder.",Warn,,MessageError,,Halt]
Run - Processed section [PreCheck_Tools] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
|
Run - Processing section: [PreCheck_CodeBox] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Projects\Win10XPE\CodeBox.txt]
IF - File exists: [%BaseDir%\Projects\Win10XPE\CodeBox.txt] evaluated string: [If,Not,ExistFile,%w%,Begin]
[FileCreateBlank,%w%]
[TXTAddLine,%w%,"[main]",Append]
[TXTAddLine,%w%,"Title=CodeBox test",Append]
[TXTAddLine,%w%,"Description=Running custom commands",Append]
[TXTAddLine,%w%,"",Append]
[TXTAddLine,%w%,"[variables]",Append]
[TXTAddLine,%w%,"",Append]
[TXTAddLine,%w%,"[process]",Append]
[TXTAddLine,%w%,"If#$cExistFile#$c#$pAPI#$p#$cAddVariables#$c#$pAPI#$p#$cApiVar#$cGLOBAL",Append]
[TXTAddLine,%w%,"//-",Append]
[End]
Run - Processed section [PreCheck_CodeBox] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
|
Run - Processing section: [CheckWaikTool] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
SetVar - Sucessfuly changed the value of [%WaikToolOK%] to: [Yes]
IF - Directory exists: [%BaseDir%\Projects\Tools\x86] evaluated string: [If,Not,ExistDir,%GTools%\x86,Set,%WaikToolOK%,No]
IF - Directory exists: [%BaseDir%\Projects\Tools\x64] evaluated string: [If,Not,ExistDir,%GTools%\x64,Set,%WaikToolOK%,No]
IF - [yes] is equal to: [yes] evaluated string: [If,%WaikToolOK%,Equal,Yes,Begin]
IF - File exists: [%BaseDir%\Projects\Tools\x86\BCDBoot\bcdedit.exe] evaluated string: [If,Not,ExistFile,%GTools%\x86\BCDBoot\bcdedit.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x64\BCDBoot\bcdedit.exe] evaluated string: [If,Not,ExistFile,%GTools%\x64\BCDBoot\bcdedit.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x86\DISM\dism.exe] evaluated string: [If,Not,ExistFile,%GTools%\x86\DISM\dism.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] evaluated string: [If,Not,ExistFile,%GTools%\x64\DISM\dism.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x64\DISM\imagex.exe] evaluated string: [If,Not,ExistFile,%GTools%\x64\DISM\imagex.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x64\DISM\imagex.exe] evaluated string: [If,Not,ExistFile,%GTools%\x64\DISM\imagex.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x86\Oscdimg\oscdimg.exe] evaluated string: [If,Not,ExistFile,%GTools%\x86\Oscdimg\oscdimg.exe,Set,%WaikToolOK%,No]
IF - File exists: [%BaseDir%\Projects\Tools\x64\Oscdimg\oscdimg.exe] evaluated string: [If,Not,ExistFile,%GTools%\x64\Oscdimg\oscdimg.exe,Set,%WaikToolOK%,No]
[End]
IF - [yes] is not equal to: [no] evaluated string: [If,%WaikToolOK%,Equal,No,Begin]
[Set,%answer%,No]
[If,Question,"%ProjectName% needs some Windows ADK files (8.50 MB)#$x#$x Download now ?",10,True,Set,%answer%,Yes]
[If,%answer%,Equal,Yes,Begin]
[Run,%ScriptFile%,GetWaikTool]
[Run,%ScriptFile%,CheckWaikTool]
[End]
[Else,Halt,"You did not download the Windows ADK files required for %ProjectName%."]
[End]
Run - Processed section [CheckWaikTool] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
|
Run - Processing section: [PreCheck_Image_Exist] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - File exists: [E:\sources\install.wim] evaluated string: [If,Not,ExistFile,%GSource%\sources\install.wim,EchoExtended,"install.wim image was Not Found in the Windows 10 Source Folder.
Select the Root of the Windows 10 Source Folder.",Warn,,Message,,Halt]
IF - File exists: [E:\sources\boot.wim] evaluated string: [If,Not,ExistFile,%GSource%\sources\boot.wim,EchoExtended,"boot.wim image was Not Found in the Windows 10 Source Folder.
Select the Root of the Windows 10 Source Folder.",Warn,,Message,,Halt]
Run - Processed section [PreCheck_Image_Exist] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [%NbLang%] with result: [2]
|
Loop - Processing section: [Check_sr-Latn_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2]
|
Iteration - Processing section: [Check_sr-Latn_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
IF - [fr-fr] is not equal to: [sr-latn-cs] evaluated string: [If,#9,Equal,sr-Latn-CS,Set,%sr-Latn%,Yes]
IF - [fr-fr] is not equal to: [sr-latn-rs] evaluated string: [If,#9,Equal,sr-Latn-RS,Set,%sr-Latn%,Yes]
IF - [no] is not equal to: [yes] evaluated string: [If,%sr-Latn%,Equal,Yes,Begin]
[EchoExtended,"Win10XPE does not support sr-Latn-CS and sr-Latn-RS languages.",Warn,,Message,,Halt]
[//If,ExistFile,%ProjectDir%\Features\Explorer_AddFiles.txt,TXTReplace,%ProjectDir%\Features\Explorer_AddFiles.txt,\??-??\,\*\]
[Loop,BREAK]
[End]
Iteration - Processed section [Check_sr-Latn_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [Check_sr-Latn_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [],[],[],[],[],[],[],[],[fr-FR]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
IF - [en-us] is not equal to: [sr-latn-cs] evaluated string: [If,#9,Equal,sr-Latn-CS,Set,%sr-Latn%,Yes]
IF - [en-us] is not equal to: [sr-latn-rs] evaluated string: [If,#9,Equal,sr-Latn-RS,Set,%sr-Latn%,Yes]
IF - [no] is not equal to: [yes] evaluated string: [If,%sr-Latn%,Equal,Yes,Begin]
[EchoExtended,"Win10XPE does not support sr-Latn-CS and sr-Latn-RS languages.",Warn,,Message,,Halt]
[//If,ExistFile,%ProjectDir%\Features\Explorer_AddFiles.txt,TXTReplace,%ProjectDir%\Features\Explorer_AddFiles.txt,\??-??\,\*\]
[Loop,BREAK]
[End]
Iteration - Processed section [Check_sr-Latn_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [Check_sr-Latn_Loop] in file: [Loop,%ScriptFile%,Check_sr-Latn_Loop,1,%NbLang%]
|
|
Run - Processing section: [CheckInput] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [false] is not equal to: [true] evaluated string: [If,%WinXShell_RadioButton%,Equal,True,Begin]
[If,%Admin_CheckBox%,Equal,True,EchoExtended,"Do Not Use Switch to Admin with WinXShell.",Warn,,Message,,Halt]
[If,%IE11_CheckBox%,Equal,True,EchoExtended,"Do Not Use IE11 with WinXShell.",Warn,,Message,,Halt]
[If,%DotNET_CheckBox%,Equal,True,EchoExtended,"Do Not Use DotNET with WinXShell.",Warn,,Message,,Halt]
[If,%FullSoftware_CheckBox%,Equal,True,EchoExtended,"WinXShell is Designed to be Light, it is not intended for using the Full Software hive.",Warn,,Message,,Halt]
[End]
[//If,%IE11_CheckBox%,Equal,True,Begin]
[//If,%Architecture%_%WoW64_CheckBox%,Equal,x64_False,EchoExtended,"IE11 x64 run in hybrid-mode. It needs WoW64 basic",Warn,,Message,,Halt]
[//End]
Run - Processed section [CheckInput] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
|
Run - Processing section: [SaveConfig] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [true] is equal to: [true] evaluated string: [If,%Explorer_RadioButton%,Equal,True,Set,%Shell%,Explorer,Permanent]
SetVar - Sucessfuly changed the value of [%Shell%] to: [Explorer]
ELSE - [Set,%Shell%,WinXShell,Permanent]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%TargetArch_CheckBox%,Equal,True,Begin]
[Set,%GTarget%,%BaseDir%\Target_%Architecture%,Permanent]
[Set,%GISO%,%BaseDir%\ISO_%Architecture%,Permanent]
[End]
ELSE - executing command: [Begin]
SetVar - Sucessfuly changed the value of [%GTarget%] to: [%BaseDir%\Target]
SetVar - Sucessfuly changed the value of [%GISO%] to: [%BaseDir%\ISO]
[End]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%AllInRam_CheckBox%,Equal,True,Begin]
[Set,%Target_Prog%,"%GTarget%\Program Files",Permanent]
[Set,%PE_Programs%,"X:\Program Files",Permanent]
[End]
ELSE - executing command: [Begin]
SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\ISO\Programs]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [Y:\Programs]
[End]
[// Switch to Admin and Microsoft.NET require Full Software Hive]
IF - [false] is not equal to: [true] evaluated string: [If,%Admin_CheckBox%,Equal,True,Set,%FullSoftware%,True,Permanent]
ELSE - executing command: [Begin]
IF - [false] is not equal to: [true] evaluated string: [If,%DotNET_CheckBox%,Equal,True,Set,%FullSoftware%,True,Permanent]
ELSE - executing command: [Set,%FullSoftware%,%FullSoftware_CheckBox%,Permanent]
SetVar - Sucessfuly changed the value of [%FullSoftware%] to: [False]
[End]
|
Run - Processing section: [IniWriteFeatures] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [TargetArch]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [AllInRam]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [AllCatalogs]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [SetupFiles]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [VCRuntime]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [DisplayDrivers]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [WoW64basic]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Msi]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [ImDisk]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Network]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [NetDrivers]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [PENetwork]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Audio]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [SoundEvents]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Accessibility]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [WinApps]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Admin]: False
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script] evaluated string: [If,Not,ExistFile,%ProjectDir%\Features\IE11.Script,IniWrite,%ProjectDir%\Script.Project,Features,IE11,False]
ELSE - executing command: [IniWrite,%ProjectDir%\Script.Project,Features,IE11,%IE11_CheckBox%]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [IE11]: True
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script] evaluated string: [If,Not,ExistFile,%ProjectDir%\Features\DotNET.Script,IniWrite,%ProjectDir%\Script.Project,Features,DotNET,False]
ELSE - executing command: [IniWrite,%ProjectDir%\Script.Project,Features,DotNET,%DotNET_CheckBox%]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [DotNET]: False
[// Tip for not doing "System,RebuildVars" with PEBakery. It is not required, variables are refreshed and it does not work well in beta5]
IF - [%BaseDir%\win10xpe.exe] is not equal to: [%wbexe%] evaluated string: [If,Not,%WBExe%,Equal,%WBExe%,System,RebuildVars]
System - Refreshing all variables
Run - Processed section [IniWriteFeatures] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Run - Processed section [SaveConfig] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
[//-]
Deleting Target & Temp folders...
|
Run - Processing section: [ClearMakeFolder] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory exists: [%BaseDir%\Target] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\Target]
IF - Directory does not exist: [%BaseDir%\Target] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\Target] evaluated string: [If,ExistDir,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistDir,#1,DirDelete,#1]
[If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q#1#$q"]
[If,ExistDir,#1,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END DirDeleteQ Macro ------------------------------]
Run - Processed section [MDirDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
DirMake - Created directory: [%BaseDir%\Target]
[// Set the NTFS permissions on target folder to Full Control to everyone - this avoids the black screen on boot problem]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [ -ot "file" -on "%BaseDir%\Target" -actn ace -actn setprot -op "dacl:p_nc" -ace "n:S-1-1-0;p:full;s:y"]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,Echo,"SetAcl - NTFS permission on Target folder FAIL -> Black Screen on boot",Warn]
[//-]
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory exists: [%BaseDir%\Temp] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\Temp]
IF - Directory does not exist: [%BaseDir%\Temp] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\Temp] evaluated string: [If,ExistDir,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistDir,#1,DirDelete,#1]
[If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q#1#$q"]
[If,ExistDir,#1,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END DirDeleteQ Macro ------------------------------]
Run - Processed section [MDirDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
DirMake - Created directory: [%BaseDir%\Temp\Install.hives]
[//-]
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\ISO]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\iso-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory exists: [%BaseDir%\ISO] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\ISO]
IF - Directory does not exist: [%BaseDir%\ISO] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\ISO] evaluated string: [If,ExistDir,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistDir,#1,DirDelete,#1]
[If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q#1#$q"]
[If,ExistDir,#1,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END DirDeleteQ Macro ------------------------------]
Run - Processed section [MDirDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
DirMake - Created directory: [%BaseDir%\ISO]
Run - Processed section [ClearMakeFolder] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
IF - File does not exist: [%BaseDir%\Temp\WimInfo.ini] evaluated string: [If,Not,ExistFile,%GTemp%\WimInfo.ini,Run,%ScriptFile%,Run_WimInfo]
|
Run - Processing section: [Run_WimInfo] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - Directory exists: [%BaseDir%\Temp] evaluated string: [If,Not,ExistDir,%GTemp%,DirMake,%GTemp%]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\WimInfo.exe] with parameters: [-wim:"E:\sources\install.wim" -ini:"%BaseDir%\Temp\WimInfo.ini"]
IF - File exists: [%BaseDir%\Temp\WimInfo.ini] evaluated string: [If,Not,ExistFile,%GTemp%\WimInfo.ini,EchoExtended,"Error: Wim file information missing. A problem occurred to Get Image Information.
Try using official MS sources.",Warn,,MessageError,,Halt]
IniRead - [%BaseDir%\Temp\WimInfo.ini] Section [Attributes] Key [ImageCount] to variable: [%ImageCountVar%] with value [11]
IF - [11] is not smaller than [1] evaluated string: [If,%ImageCountVar%,Smaller,1,EchoExtended,"Error: Wim file information missing. A problem occurred to Get Image Information.
Try using official MS sources.",Warn,,MessageError,,Halt]
Run - Processed section [Run_WimInfo] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
[//-]
Extract Winre.wim image file from install.wim
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 \Windows\System32\Recovery\Winre.wim --dest-dir="%BaseDir%\Temp" --no-globs --no-acls]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract Winre.wim image file from install.wim return: %ExitCode%"]
Wimlib extract Winre.wim image file from install.wim return: 0
ELSE - [EchoExtended,"Error: Wimlib extract Winre.wim image file from install.wim return: %ExitCode%",Warn,,MessageError,,Halt]
[//-]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Begin]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [FullSoftware] to variable: [%FullSoftwareIni%] with value []
IF - [] is not equal to: [true] evaluated string: [If,%FullSoftwareIni%,Equal,True,Begin]
[If,ExistFile,%XPECache%\FullSOFTWARE,FileCopy,%XPECache%\FullSOFTWARE,%GTemp%\Install.hives\SOFTWARE]
[End]
[End]
IF - File does not exist: [%BaseDir%\Temp\Install.hives\SOFTWARE] evaluated string: [If,Not,ExistFile,%GTemp%\Install.hives\SOFTWARE,Begin]
Extract Software hive from install.wim
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 \Windows\System32\config\SOFTWARE --dest-dir="%BaseDir%\Temp\Install.hives" --no-globs --no-acls]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract Software hive from install.wim return: %ExitCode%"]
Wimlib extract Software hive from install.wim return: 0
ELSE - [EchoExtended,"Error: Wimlib extract Software hive from install.wim return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//-]
Extract System & Drivers hive from install.wim
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 \Windows\System32\config\SYSTEM \Windows\System32\config\DRIVERS --dest-dir="%BaseDir%\Temp\Install.hives" --no-globs --no-acls]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract System & Drivers hive from install.wim return: %ExitCode%"]
Wimlib extract System & Drivers hive from install.wim return: 0
ELSE - [EchoExtended,"Error: Wimlib extract System & Drivers hive from install.wim return: %ExitCode%",Warn,,MessageError,,Halt]
[//-]
IF - [1] is not equal to: [0] evaluated string: [If,%Buildtype_RadioButton%,Equal,0,Begin]
[Run,%ScriptFile%,ExtractWimFiles]
[If,ExistFile,%GTarget_Sys%\WallpaperHost.exe,FileDelete,%GTarget_Sys%\WallpaperHost.exe]
[End]
ELSE - executing command: [Begin]
|
Run - Processing section: [PrepareSmallWim] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Extract Small SxS
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Temp\ExtractSmallSxS]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\ExtractSmallSxS]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp\extractsmallsxs-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: FileDeleteQ - Missing Parameter: File",Warn,,MessageError,,Halt]
System,ErrorOff
IF - File does not exist: [%BaseDir%\Temp\ExtractSmallSxS] evaluated string: [If,ExistFile,#1,FileDelete,#1]
IF - File does not exist: [%BaseDir%\Temp\ExtractSmallSxS] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f "#1"&del /q /f /A:R /A:H /A:S /A:A "#1""]
IF - File does not exist: [%BaseDir%\Temp\ExtractSmallSxS] evaluated string: [If,ExistFile,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The File Could Not be Deleted.#$x#$x#1#$x#$x The File is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistFile,#1,FileDelete,#1]
[If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q#1#$q&del /q /f /A:R /A:H /A:S /A:A #$q#1#$q"]
[If,ExistFile,#1,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END FileDeleteQ Macro ------------------------------]
Run - Processed section [MFileDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCreateBlank - Created a new file: [%BaseDir%\Temp\ExtractSmallSxS]
|
Run - Processing section: [PrepareSmallSxSFile] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Set,%SxSArch%,x86]
ELSE - executing command: [Set,%SxSArch%,amd64]
SetVar - Sucessfuly changed the value of [%SxSArch%] to: [amd64]
[//- Language without fallback language should be enough for WinSxS]
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.c..-controls.resources_*_fr-FR*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.common-controls*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.gdiplus.systemcopy_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.gdiplus_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.isolationautomation_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.i..utomation.proxystub_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft-windows-servicingstack_*\*.* Option: Append
[//-]
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.c..-controls.resources_*_fr-FR*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.gdiplus.systemcopy_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.gdiplus_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.isolationautomation_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.i..utomation.proxystub_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-comdlg32_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-comctl32-v5.resources_*_fr-FR*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-comdlg32.resources_*_fr-FR*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.systemcompatible_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-a..core-base.resources_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-blb-engine-main_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.s...smart_card_library_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.s..rt_driver.resources_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.s..se.scsi_port_driver_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-servicingstack_*.manifest Option: Append
[//TxtAddline,%w%,"\Windows\WinSxS\manifests\x86_microsoft.windows.s..ation.badcomponents_*.manifest",Append]
Run - Processed section [PrepareSmallSxSFile] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "%BaseDir%\Temp\Winre.wim" 1 @"%BaseDir%\Temp\ExtractSmallSxS" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract WinSxS from Winre.wim return: %ExitCode%"]
Wimlib extract WinSxS from Winre.wim return: 0
ELSE - [EchoExtended,"Error: Wimlib extract WinSxS from Winre.wim return: %ExitCode%",Warn,,MessageError,,Halt]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\ExtractSmallSxS]
IF - Directory does not exist: [%BaseDir%\Target\Windows\WinSxS\Catalogs] evaluated string: [If,Not,ExistDir,%GTarget_Win%\WinSxS\Catalogs,DirMake,%GTarget_Win%\WinSxS\Catalogs]
DirMake - Created directory: [%BaseDir%\Target\Windows\WinSxS\Catalogs]
[//Extract Small SxS with 7-zip. Same file without first "\" char]
[//TXTReplace,%w%,\Windows,Windows]
[//ShellExecute,Hide,%GTools%\7z.exe,"x -y #$q%GTemp%\Winre.wim#$q -o#$q%GTarget%#$q @#$q%w%#$q"]
[//Echo,"7-Zip Extract SxS return : %ExitCode%"]
[//-]
Cleanup and reduce Winre.wim
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Temp\WimSmallUpdate]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WimSmallUpdate]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp\wimsmallupdate-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: FileDeleteQ - Missing Parameter: File",Warn,,MessageError,,Halt]
System,ErrorOff
IF - File does not exist: [%BaseDir%\Temp\WimSmallUpdate] evaluated string: [If,ExistFile,#1,FileDelete,#1]
IF - File does not exist: [%BaseDir%\Temp\WimSmallUpdate] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f "#1"&del /q /f /A:R /A:H /A:S /A:A "#1""]
IF - File does not exist: [%BaseDir%\Temp\WimSmallUpdate] evaluated string: [If,ExistFile,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The File Could Not be Deleted.#$x#$x#1#$x#$x The File is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistFile,#1,FileDelete,#1]
[If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q#1#$q&del /q /f /A:R /A:H /A:S /A:A #$q#1#$q"]
[If,ExistFile,#1,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END FileDeleteQ Macro ------------------------------]
Run - Processed section [MFileDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCreateBlank - Created a new file: [%BaseDir%\Temp\WimSmallUpdate]
|
Run - Processing section: [WimSmallUpdate] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
[// If Add Windows Installer files done > delete '\sources' folder]
IF - [false] is not equal to: [true] evaluated string: [If,%SetupFiles_CheckBox%,Equal,True,TxtAddline,%w%,"delete '\sources' --force --recursive",Append]
IF - [true] is equal to: [true] evaluated string: [If,%DelSpeech_CheckBox%,Equal,True,TxtAddline,%w%,"delete '\Windows\Speech' --force --recursive",Append]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Speech' --force --recursive Option: Append
[// Pure 64 bit, without WoW64 support): Program Files (x86) is not required]
IF - [true] is equal to: [true] evaluated string: [If,%DelSysWOW64_CheckBox%,Equal,True,Begin]
IF - [x64true] is not equal to: [x64false] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64False,TxtAddline,%w%,"delete '\Windows\SysWOW64' --force --recursive",Append]
[End]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,TxtAddline,%w%,"delete '\Program Files (x86)' --force --recursive",Append]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Program Files (x86)' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\WinSxs' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\WallpaperHost.exe' --force Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\Journal' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\RegBack' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\systemprofile' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\TxR' --force --recursive Option: Append
|
Run - Processing section: [WimSmallUpdateMui] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [\Windows\System32]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\ar-SA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\bg-BG' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\cs-CZ' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\da-DK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\de-DE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\el-GR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\en-GB' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\en-US' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\es-ES' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\es-MX' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\et-EE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\fi-FI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\fr-CA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\fr-FR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\he-IL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\hr-HR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\hu-HU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\it-IT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\ja-JP' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\ko-KR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\lt-LT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\lv-LV' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\nb-NO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\nl-NL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\pl-PL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\pt-BR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\pt-PT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\qps-ploc' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\ro-RO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\ru-RU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\sk-SK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\sl-SI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\sr-Latn-CS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\sr-Latn-RS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\sv-SE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\th-TH' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\tr-TR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\uk-UA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\zh-CN' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\zh-HK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\zh-TW' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMui_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\System32]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\System32]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\System32\fr-FR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\System32],[],[],[],[],[],[],[],[fr-FR]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\System32\en-US' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMui_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMui_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMui] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Run,%ScriptFile%,WimSmallUpdateMui,\Windows\SysWOW64]
|
Run - Processing section: [WimSmallUpdateMui] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [\Windows\SysWOW64]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ar-SA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\bg-BG' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\cs-CZ' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\da-DK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\de-DE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\el-GR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\en-GB' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\en-US' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\es-ES' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\es-MX' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\et-EE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\fi-FI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\fr-CA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\fr-FR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\he-IL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\hr-HR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\hu-HU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\it-IT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ja-JP' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ko-KR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\lt-LT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\lv-LV' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\nb-NO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\nl-NL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\pl-PL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\pt-BR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\pt-PT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\qps-ploc' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ro-RO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ru-RU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sk-SK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sl-SI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sr-Latn-CS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sr-Latn-RS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sv-SE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\th-TH' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\tr-TR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\uk-UA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\zh-CN' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\zh-HK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\zh-TW' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMui_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\SysWOW64]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\SysWOW64]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\SysWOW64\fr-FR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\SysWOW64],[],[],[],[],[],[],[],[fr-FR]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\SysWOW64\en-US' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMui_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMui_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMui] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [WimSmallUpdateMui] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [\Windows\Boot\EFI]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\ar-SA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\bg-BG' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\cs-CZ' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\da-DK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\de-DE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\el-GR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\en-GB' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\en-US' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\es-ES' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\es-MX' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\et-EE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\fi-FI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\fr-CA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\fr-FR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\he-IL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\hr-HR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\hu-HU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\it-IT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\ja-JP' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\ko-KR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\lt-LT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\lv-LV' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\nb-NO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\nl-NL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\pl-PL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\pt-BR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\pt-PT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\qps-ploc' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\ro-RO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\ru-RU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\sk-SK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\sl-SI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\sr-Latn-CS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\sr-Latn-RS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\sv-SE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\th-TH' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\tr-TR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\uk-UA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\zh-CN' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\zh-HK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\EFI\zh-TW' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMui_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\Boot\EFI]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\EFI]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\EFI\fr-FR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\Boot\EFI],[],[],[],[],[],[],[],[fr-FR]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\EFI\en-US' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMui_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMui_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMui] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [WimSmallUpdateMui] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [\Windows\Boot\PCAT]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\ar-SA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\bg-BG' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\cs-CZ' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\da-DK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\de-DE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\el-GR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\en-GB' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\en-US' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\es-ES' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\es-MX' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\et-EE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\fi-FI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\fr-CA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\fr-FR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\he-IL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\hr-HR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\hu-HU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\it-IT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\ja-JP' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\ko-KR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\lt-LT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\lv-LV' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\nb-NO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\nl-NL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\pl-PL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\pt-BR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\pt-PT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\qps-ploc' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\ro-RO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\ru-RU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\sk-SK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\sl-SI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\sr-Latn-CS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\sr-Latn-RS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\sv-SE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\th-TH' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\tr-TR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\uk-UA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\zh-CN' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\zh-HK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PCAT\zh-TW' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMui_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\Boot\PCAT]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\PCAT]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\PCAT\fr-FR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\Boot\PCAT],[],[],[],[],[],[],[],[fr-FR]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\PCAT\en-US' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMui_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMui_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMui] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [WimSmallUpdateMui] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [\Windows\Boot\PXE]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\ar-SA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\bg-BG' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\cs-CZ' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\da-DK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\de-DE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\el-GR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\en-GB' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\en-US' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\es-ES' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\es-MX' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\et-EE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\fi-FI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\fr-CA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\fr-FR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\he-IL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\hr-HR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\hu-HU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\it-IT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\ja-JP' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\ko-KR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\lt-LT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\lv-LV' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\nb-NO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\nl-NL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\pl-PL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\pt-BR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\pt-PT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\qps-ploc' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\ro-RO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\ru-RU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\sk-SK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\sl-SI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\sr-Latn-CS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\sr-Latn-RS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\sv-SE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\th-TH' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\tr-TR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\uk-UA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\zh-CN' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\zh-HK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\Boot\PXE\zh-TW' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMui_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\Boot\PXE]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\PXE]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\PXE\fr-FR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\Boot\PXE],[],[],[],[],[],[],[],[fr-FR]
StrFormat - converted [SPLIT(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\PXE\en-US' --force --recursive]
Iteration - Processed section [WimSmallUpdateMui_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMui_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMui_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMui] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Run - Processed section [WimSmallUpdate] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C wimlib-imagex.exe update "%BaseDir%\Temp\Winre.wim" 1 < "%BaseDir%\Temp\WimSmallUpdate"]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Cleanup and reduce Winre.wim return : %ExitCode%"]
Wimlib Cleanup and reduce Winre.wim return : 0
ELSE - [Echo,"Wimlib Cleanup and reduce Winre.wim return : %ExitCode%",Warn]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WimSmallUpdate]
Run - Processed section [PrepareSmallWim] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [1] is equal to: [1] evaluated string: [If,%Buildtype_RadioButton%,Equal,1,Run,%ScriptFile%,ExtractWimFiles]
|
Run - Processing section: [ExtractWimFiles] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Apply Winre.wim in Target Folder. Be patient...
ShellExecute: [Open] using: [cmd.exe] with parameters: [/C Echo Apply Winre.wim in Target Folder. Be patient...&Echo.&wimlib-imagex.exe apply "%BaseDir%\Temp\Winre.wim" 1 "%BaseDir%\Target" --no-acls]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Apply Winre.wim in Target Folder return : %ExitCode%"]
Wimlib Apply Winre.wim in Target Folder return : 0
ELSE - [Begin]
[Echo,"Wimlib Apply Winre.wim in Target Folder return : %ExitCode%",Warn]
[EchoExtended,"Error: Winre.wim image files were not successfully applied in Target Folder.",Warn,,MessageError,,Halt]
[End]
[// Possible FallBack by First Extract Winre.wim in Temp folder than Xcopy]
Run - Processed section [ExtractWimFiles] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [1] is not equal to: [2] evaluated string: [If,%Buildtype_RadioButton%,Equal,2,Begin]
[If,Not,ExistFile,%ProjectDir%\CoreListFiles.txt,Begin]
[Echo,"\Project\CoreListFiles.txt does not exist! continue with the Lightened Winre.wim",Warn]
[Run,%ScriptFile%,ExtractWimFiles]
[End]
[Else,Run,%ScriptFile%,ExtractWimListFiles]
[End]
[End]
IF - [false] is not equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Begin]
[FileDeleteQ,%GTarget_Sys%\config\SOFTWARE]
[Filecopy,%GTemp%\Install.hives\SOFTWARE,%GTarget_Sys%\config]
[End]
[// Additional folder for pins]
IF - Directory does not exist: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu] evaluated string: [If,Not,ExistDir,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu",DirMake,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu"]
DirMake - Created directory: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu]
IF - Directory does not exist: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar] evaluated string: [If,Not,ExistDir,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar",DirMake,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"]
DirMake - Created directory: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar]
ShellExecute: [Hide] using: [Attrib.exe] with parameters: [+A +H +S +R "%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned"]
ShellExecute: [Hide] using: [Attrib.exe] with parameters: [+S "%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned"]
[//-]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Exec,%ProjectDir%\Features\Config.Script,Process]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Config...
|
Run - Processing section: [RegConfig] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,CheckHiveCacheINI]
|
Run - Processing section: [CheckHiveCacheINI] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [Version] to variable: [%CacheVersionIni%] with value [4]
IF - [4] is equal to: [4] evaluated string: [If,Not,%CacheVersion%,Equal,%CacheVersionIni%,DirDeleteQ,%XPECache%]
ELSE - executing command: [Begin]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\SOFTWARE] evaluated string: [If,Not,ExistFile,%XPECache%\SOFTWARE,IniWrite,%XPECache%\HiveCache.ini,Cache,Software,False]
IF - File does not exist: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\FullSOFTWARE] evaluated string: [If,Not,ExistFile,%XPECache%\FullSOFTWARE,IniWrite,%XPECache%\HiveCache.ini,Cache,FullSoftware,False]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [FullSoftware]: False
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\SYSTEM] evaluated string: [If,Not,ExistFile,%XPECache%\SYSTEM,IniWrite,%XPECache%\HiveCache.ini,Cache,System,False]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\DEFAULT] evaluated string: [If,Not,ExistFile,%XPECache%\DEFAULT,IniWrite,%XPECache%\HiveCache.ini,Cache,Default,False]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\DRIVERS] evaluated string: [If,Not,ExistFile,%XPECache%\DRIVERS,IniWrite,%XPECache%\HiveCache.ini,Cache,Drivers,False]
[//--]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [Software] to variable: [%SoftwareIni%] with value [True]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [FullSoftware] to variable: [%FullSoftwareIni%] with value [False]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [System] to variable: [%SystemIni%] with value [True]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [Default] to variable: [%DefaultIni%] with value [True]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [Cache] Key [Drivers] to variable: [%DriversIni%] with value [True]
[End]
Run - Processed section [CheckHiveCacheINI] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
ELSE - [Begin]
[If,ExistDir,%XPECache%,DirDeleteQ,%XPECache%]
[End]
[//--]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,RestoreOrPrepareRegConfig]
|
Run - Processing section: [RestoreOrPrepareRegConfig] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
[//--- Check Software or FullSoftware ---]
IF - [false] is not equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Begin]
[If,%FullSoftwareIni%,Equal,True,Begin]
[Echo,"Restore the Full Software registry from cache..."]
[FileCopy,%XPECache%\FullSOFTWARE,%GTarget_Sys%\Config\SOFTWARE,NoWarn]
[End]
[Else,Run,%ScriptFile%,PrepareRegConfigSoftware]
[End]
ELSE - executing command: [Begin]
IF - [true] is equal to: [true] evaluated string: [If,%SoftwareIni%,Equal,True,Begin]
Restore the Software registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\SOFTWARE] to: [%BaseDir%\Target\Windows\System32\Config\SOFTWARE]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigSoftware]
[End]
[//--- Check System ---]
IF - [true] is equal to: [true] evaluated string: [If,%SystemIni%,Equal,True,Begin]
Restore the System registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\SYSTEM] to: [%BaseDir%\Target\Windows\System32\Config\SYSTEM]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigSystem]
[//--- Check Default ---]
IF - [true] is equal to: [true] evaluated string: [If,%DefaultIni%,Equal,True,Begin]
Restore the Default registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\DEFAULT] to: [%BaseDir%\Target\Windows\System32\Config\DEFAULT]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigDefault]
[//--- Check Drivers ---]
IF - [true] is equal to: [true] evaluated string: [If,%DriversIni%,Equal,True,Begin]
Restore the Drivers registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\DRIVERS] to: [%BaseDir%\Target\Windows\System32\Config\DRIVERS]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigDrivers]
[//-]
The registry Cache has been Restored
Run - Processed section [RestoreOrPrepareRegConfig] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
ELSE - [Begin]
[If,Not,ExistDir,%XPECache%,DirMake,%XPECache%]
[Run,%ScriptFile%,WriteIniCacheInformation]
[Run,%ScriptFile%,PrepareRegConfigALL]
[End]
Run - Processed section [RegConfig] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [ChangeReg] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
[// Start Services in RS5!]
IF - [17763] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,If,%SourceBuild%,Smaller,18000,Begin]
IF - [17763] is smaller than [18000] evaluated string: [If,%SourceBuild%,Smaller,18000,Begin]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\System] Section [Tmp_System]
System,ErrorOff
RegWrite - Overwrote existing key "%systemroot%\system32\svchost.exe -k LocalServiceNoNetwork -p" with different data
RegWrite - Type: [0x2] Section [HKLM\Tmp_System\ControlSet001\Services\BFE] Key [ImagePath]: %systemroot%\system32\svchost.exe -k LocalServiceNoNetworkFirewall -p
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\BFE] Key [SvcHostSplitDisable]: 1
RegWrite - Type: [0x3] Section [HKLM\Tmp_System\ControlSet001\Services\BFE\Security] Key [Security]: 01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,00,1c,00,01,00,00,00,02,80,14,00,ff,00,0f,00,01,01,00,00,00,00,00,01,00,00,00,00,02,00,60,00,04,00,00,00,00,00,14,00,85,00,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,00,14,00,9f,00,0e,00,01,01,00,00,00,00,00,05,12,00,00,00,00,00,18,00,9d,00,0e,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,00,00,18,00,85,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,21,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
[// In pecmd.ini EXEC @!%WinDir%\System32\Net.exe Start Wlansvc - EXEC @!%WinDir%\System32\Net.exe Start WinHttpAutoProxySvc]
[// LanmanWorkstation,DNSCache,NlaSvc Does Not Start Alone on Windows 10 1809]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\LanmanWorkstation]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\DNSCache]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\NlaSvc]
RegHiveUnLoad - Unloaded registry hive: [Tmp_System]
[End]
Run - Processed section [ChangeReg] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
ELSE - [Exec,%ProjectDir%\Features\ConfigX.Script,Process]
[//-]
|
Run - Processing section: [AddProjectFiles] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Copy Project Folder...
IF - Directory exists: [%BaseDir%\Projects\Include\x64\AdditionalFiles] evaluated string: [If,ExistDir,%AdditionalFiles%,DirCopy,%AdditionalFiles%\*,%GTarget%]
DirCopy - Copied directory [%BaseDir%\Projects\Include\x64\AdditionalFiles\*] to: [%BaseDir%\Target]
Run - Processed section [AddProjectFiles] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
IF - [false] is not equal to: [true] evaluated string: [If,%Custom_CheckBox%,Equal,True,Run,%ScriptFile%,AddCustomFiles]
IF - File does not exist: [%BaseDir%\Custom\Pecmdini\pecmd.ini] evaluated string: [If,ExistFile,%GCustom%\Pecmdini\pecmd.ini,Begin]
[If,ExistFile,%GTarget_Sys%\pecmd.ini,FileDeleteQ,%GTarget_Sys%\pecmd.ini]
[Filecopy,%GCustom%\Pecmdini\pecmd.ini,%GTarget_Sys%]
[End]
IF - File does not exist: [%BaseDir%\Custom\Pecmdini\PecmdAdmin.ini] evaluated string: [If,ExistFile,%GCustom%\Pecmdini\PecmdAdmin.ini,Begin]
[If,ExistFile,%GTarget_Sys%\PecmdAdmin.ini,FileDeleteQ,%GTarget_Sys%\PecmdAdmin.ini]
[Filecopy,%GCustom%\Pecmdini\PecmdAdmin.ini,%GTarget_Sys%]
[End]
IF - File exists: [%BaseDir%\Custom\Wallpaper\img0.jpg] evaluated string: [If,ExistFile,%GCustom%\Wallpaper\img0.jpg,Begin]
IF - Directory does not exist: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows] evaluated string: [If,Not,ExistDir,%GTarget_Win%\Web\Wallpaper\Windows,DirMake,%GTarget_Win%\Web\Wallpaper\Windows]
DirMake - Created directory: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows]
FileCopy - Copied [%BaseDir%\Custom\Wallpaper\img0.jpg] to: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows\img0.jpg]
[End]
IF - File exists: [%BaseDir%\Custom\UserAccountPicture\user-200.png] evaluated string: [If,ExistFile,%GCustom%\UserAccountPicture\user-200.png,Begin]
IF - Directory does not exist: [%BaseDir%\Target\ProgramData\Microsoft\User Account Pictures] evaluated string: [If,Not,ExistDir,"%GTarget%\ProgramData\Microsoft\User Account Pictures",DirMake,"%GTarget%\ProgramData\Microsoft\User Account Pictures"]
DirMake - Created directory: [%BaseDir%\Target\ProgramData\Microsoft\User Account Pictures]
FileCopy - Copied [%BaseDir%\Custom\UserAccountPicture\user-200.png] to: [%BaseDir%\Target\ProgramData\Microsoft\User Account Pictures\user-200.png]
[End]
IF - [true] is equal to: [true] evaluated string: [If,%Audio_CheckBox%,Equal,True,Begin]
IF - File exists: [%BaseDir%\Custom\StartupMP3\startup.mp3] evaluated string: [If,ExistFile,%GCustom%\StartupMP3\startup.mp3,Begin]
IF - Directory does not exist: [%BaseDir%\Target\Windows\media] evaluated string: [If,Not,ExistDir,%GTarget_Win%\media,DirMake,%GTarget_Win%\media]
DirMake - Created directory: [%BaseDir%\Target\Windows\media]
FileCopy - Copied [%BaseDir%\Custom\StartupMP3\startup.mp3] to: [%BaseDir%\Target\Windows\media\startup.mp3]
[End]
[End]
[//-]
[//-----------------------------------------------------------------------------]
[// Add Features]
[//-----------------------------------------------------------------------------]
[// International Section use dism /Get-Intl -> dism /Set-InputLocale... Hives should not be mounted]
IF - [hostoshostoshostos] is not equal to: [defaultdefaultdefault] evaluated string: [If,Not,%Keyboard_ScrollBox%%Format_ScrollBox%%TimeZone_ScrollBox%,Equal,DefaultDefaultDefault,Exec,%ProjectDir%\Features\International.Script,Process]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\International.Script]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing International...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfaceMain,""]
AddInterface - Added section [InterfaceMain] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//--]
StrFormat - converted: [%BaseDir%\Target\Windows\Logs\DISM\dism.log] to variable: [%DismLogPath%] with result: [%BaseDir%\Target\Windows\Logs\DISM\]
IF - Directory does not exist: [%BaseDir%\Target\Windows\Logs\DISM\] evaluated string: [If,Not,ExistDir,%DismLogPath%,DirMake,%DismLogPath%]
DirMake - Created directory: [%BaseDir%\Target\Windows\Logs\DISM\]
IF - [x64] is not equal to: [x86] evaluated string: [If,%HostOSArch%,Equal,x86,Set,%DismExe%,%GTools%\x86\DISM\dism.exe]
StrFormat - converted: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] to variable: [%DismExePath%] with result: [%BaseDir%\Projects\Tools\x64\DISM\]
[//--]
|
Run - Processing section: [International] From file: [%BaseDir%\Projects\Win10XPE\Features\International.Script]
Set Keyboard, Format and Timezone...
[//Message,"Keyboard: %Keyboard_ScrollBox%#$xFormat: %Format_ScrollBox%#$xTimeZone: %TimeZone_ScrollBox%"]
[//-]
[// Format Input Locale (Keyboard)]
StrFormat - converted [POS(HostOS,|)] to variable: [%Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%Pos%,Equal,0,Set,%InputLocale%,%Keyboard_ScrollBox%]
SetVar - Sucessfuly changed the value of [%InputLocale%] to: [HostOS]
ELSE - [StrFormat,LTRIM,%Keyboard_ScrollBox%,%Pos%,%InputLocale%]
StrFormat - converted [CTRIM(HostOS)] to variable: [%InputLocale%] with result: [HostOS]
[// Format User Locale (Format). It could also be for System Locale (Location) but it cannot be set for Unicode-only languages]
StrFormat - converted [POS(HostOS,|)] to variable: [%Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%Pos%,Equal,0,Set,%UserLocale%,%Format_ScrollBox%]
SetVar - Sucessfuly changed the value of [%UserLocale%] to: [HostOS]
ELSE - [StrFormat,LTRIM,%Format_ScrollBox%,%Pos%,%UserLocale%]
StrFormat - converted [CTRIM(HostOS)] to variable: [%UserLocale%] with result: [HostOS]
[// Format TimeZone]
StrFormat - converted [POS(HostOS,))] to variable: [%Pos%] with result: [0]
StrFormat - converted [LTRIM(HostOS,%TimeZone%)] to variable: [%TimeZone%] with result: [HostOS]
StrFormat - converted [CTRIM(HostOS)] to variable: [%TimeZone%] with result: [HostOS]
[//-]
[// Get Hots OS international information by using dism /online /Get-Intl]
SetVar - Sucessfuly changed the value of [%Get-Intl%] to: [False]
IF - [hostos] is equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Set,%Get-Intl%,True]
SetVar - Sucessfuly changed the value of [%Get-Intl%] to: [True]
IF - [hostos] is equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,Set,%Get-Intl%,True]
SetVar - Sucessfuly changed the value of [%Get-Intl%] to: [True]
IF - [hostos] is equal to: [hostos] evaluated string: [If,%TimeZone%,Equal,HostOS,Set,%Get-Intl%,True]
SetVar - Sucessfuly changed the value of [%Get-Intl%] to: [True]
IF - [true] is equal to: [true] evaluated string: [If,%Get-Intl%,Equal,True,begin]
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C Echo Get international information. Be patient...&Dism.exe /online /Get-Intl /English > "%BaseDir%\Temp\Get-Intl.ini"]
IF - File exists: [%BaseDir%\Temp\Get-Intl.ini] evaluated string: [If,ExistFile,%Gtemp%\Get-Intl.ini,Begin]
TxtAddLine - Added line: [%BaseDir%\Temp\Get-Intl.ini] line: Value: [International] Option: Prepend
TXTReplace - Replaced strings in file: [%BaseDir%\Temp\Get-Intl.ini] string [ : ] with string: [=]
IF - [hostos] is equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Begin]
IniRead - [%BaseDir%\Temp\Get-Intl.ini] Section [International] Key [Active keyboard(s)] to variable: [%InputLocale%] with value [040c:0000040c]
StrFormat - converted [Replace(040c:0000040c,, )] to variable: [%InputLocale%] with result: [040c:0000040c]
[End]
[// if user local is not defined, use LocaleName from HKCU\Control Panel\International]
IF - [hostos] is equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,IniRead,%Gtemp%\Get-Intl.ini,International,"User locale for default user",%UserLocale%]
IniRead - [%BaseDir%\Temp\Get-Intl.ini] Section [International] Key [User locale for default user] to variable: [%UserLocale%] with value []
IF - [-] is equal to: [-] evaluated string: [If,%UserLocale%-,Equal,-,RegRead,HKCU,"Control Panel\International",LocaleName,%UserLocale%]
RegRead - read specified key from: [HKCU]Section: [Control Panel\International] Key: [LocaleName] to variable:: [%UserLocale%] with value: [fr-FR]
IF - [hostos] is equal to: [hostos] evaluated string: [If,%TimeZone%,Equal,HostOS,IniRead,%Gtemp%\Get-Intl.ini,International,"Default time zone",%TimeZone%]
IniRead - [%BaseDir%\Temp\Get-Intl.ini] Section [International] Key [Default time zone] to variable: [%TimeZone%] with value [Romance Standard Time]
[End]
[// In case of trouble, Get-Intl.ini does not exist, IniRead error]
IF - [040c:0000040c] is not equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Set,%InputLocale%,Default]
IF - [fr-fr] is not equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,Set,%UserLocale%,Default]
IF - [romance standard time] is not equal to: [hostos] evaluated string: [If,%TimeZone%,Equal,HostOS,Set,%TimeZone%,Default]
IF - [040c:0000040c-] is not equal to: [-] evaluated string: [If,%InputLocale%-,Equal,-,Set,%InputLocale%,Default]
IF - [fr-fr-] is not equal to: [-] evaluated string: [If,%UserLocale%-,Equal,-,Set,%UserLocale%,Default]
IF - [romance standard time-] is not equal to: [-] evaluated string: [If,%TimeZone%-,Equal,-,Set,%TimeZone%,Default]
[End]
[//-]
[// Set international parameters]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: []
IF - [040c:0000040c] is not equal to: [default] evaluated string: [If,Not,%InputLocale%,Equal,Default,Begin]
[// Add en-US keyboard as 2nd keyboard]
StrFormat - converted [Pos(040c:0000040c,en-US)] to variable: [%Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%Pos%,Equal,0,StrFormat,Pos,%InputLocale%,0409:00000409,%Pos%]
StrFormat - converted [Pos(040c:0000040c,0409:00000409)] to variable: [%Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%Pos%,Equal,0,Set,%InputLocale%,%InputLocale%;en-US]
SetVar - Sucessfuly changed the value of [%InputLocale%] to: [040c:0000040c;en-US]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: [/Set-InputLocale:040c:0000040c;en-US]
[End]
IF - [fr-fr] is not equal to: [default] evaluated string: [If,Not,%UserLocale%,Equal,Default,Set,%Set_Intl_Parm%,"%Set_Intl_Parm% /Set-UserLocale:%UserLocale%"]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: [/Set-InputLocale:040c:0000040c;en-US /Set-UserLocale:fr-FR]
IF - [romance standard time] is not equal to: [default] evaluated string: [If,Not,%TimeZone%,Equal,Default,Set,%Set_Intl_Parm%,"%Set_Intl_Parm% /Set-TimeZone:"%TimeZone%""]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: [/Set-InputLocale:040c:0000040c;en-US /Set-UserLocale:fr-FR /Set-TimeZone:#$qRomance Standard Time#$q]
[//-]
[// Set Keyboard, Format and Timezone with dism]
IF - [/set-inputlocale:040c:0000040c;en-us /set-userlocale:fr-fr /set-timezone:"romance standard time"-] is not equal to: [-] evaluated string: [If,Not,%Set_Intl_Parm%-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] evaluated string: [If,ExistFile,%DismExe%,Begin]
StrFormat - converted [Replace(/Set-InputLocale:040c:0000040c;en-US /Set-UserLocale:fr-FR /Set-TimeZone:"Romance Standard Time",e:)] to variable: [%Set_Intl_Parm_Echo%] with result: [/Set-InputLocale: 040c:0000040c;en-US /Set-UserLocale: fr-FR /Set-TimeZone: "Romance Standard Time"]
StrFormat - converted [Replace(/Set-InputLocale: 040c:0000040c;en-US /Set-UserLocale: fr-FR /Set-TimeZone: "Romance Standard Time",/Set-)] to variable: [%Set_Intl_Parm_Echo%] with result: [&Echo InputLocale: 040c:0000040c;en-US &Echo UserLocale: fr-FR &Echo TimeZone: "Romance Standard Time"]
System,FileRedirect,OFF
ShellExecute: [Open] using: [cmd.exe] with parameters: [/C Echo Set Keyboard, Format and Timezone. Be patient...&Echo InputLocale: 040c:0000040c;en-US &Echo UserLocale: fr-FR &Echo TimeZone: "Romance Standard Time"&Dism.exe /image:"%BaseDir%\Target" /Set-InputLocale:040c:0000040c;en-US /Set-UserLocale:fr-FR /Set-TimeZone:"Romance Standard Time" /LogPath:"%BaseDir%\Target\Windows\Logs\DISM\dism.log"]
System,FileRedirect,ON
[End]
[End]
Run - Processed section [International] in file: [%BaseDir%\Projects\Win10XPE\Features\International.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\International.Script]
|
[//-]
|
Run - Processing section: [MHiveLoadALL] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN HiveLoadALL Macro ------------------------------]
RegHiveLoad - File: [%BaseDir%\Temp\Install.hives\SYSTEM] Section [Tmp_Install_System]
RegHiveLoad - File: [%BaseDir%\Temp\Install.hives\SOFTWARE] Section [Tmp_Install_Software]
RegHiveLoad - File: [%BaseDir%\Temp\Install.hives\DEFAULT] Section [Tmp_Install_Default]
RegHiveLoad - File: [%BaseDir%\Temp\Install.hives\DRIVERS] Section [Tmp_Install_Drivers]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\System] Section [Tmp_System]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\Software] Section [Tmp_Software]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\Default] Section [Tmp_Default]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\Drivers] Section [Tmp_Drivers]
[//---------- END HiveLoadALL Macro ------------------------------]
Run - Processed section [MHiveLoadALL] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
|
Run - Processing section: [WinPE_StartUp] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - File exists: [%BaseDir%\Target\Windows\System32\startnet.cmd] evaluated string: [If,ExistFile,%GTarget_Sys%\startnet.cmd,TXTDelLine,%GTarget_sys%\startnet.cmd,wpeinit]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Target\Windows\System32\startnet.cmd] string [wpeinit]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Target\Windows\System32\winpeshl.ini]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target\Windows\System32\winpeshl.ini]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target\windows\system32\winpeshl.ini-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: FileDeleteQ - Missing Parameter: File",Warn,,MessageError,,Halt]
System,ErrorOff
IF - File exists: [%BaseDir%\Target\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Windows\System32\winpeshl.ini]
IF - File does not exist: [%BaseDir%\Target\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f "#1"&del /q /f /A:R /A:H /A:S /A:A "#1""]
IF - File does not exist: [%BaseDir%\Target\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The File Could Not be Deleted.#$x#$x#1#$x#$x The File is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistFile,#1,FileDelete,#1]
[If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q#1#$q&del /q /f /A:R /A:H /A:S /A:A #$q#1#$q"]
[If,ExistFile,#1,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END FileDeleteQ Macro ------------------------------]
Run - Processed section [MFileDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCreateBlank - Created a new file: [%BaseDir%\Target\Windows\System32\winpeshl.ini]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\winpeshl.ini] line: Value: [LaunchApps] Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\winpeshl.ini] line: Value: wpeinit.exe Option: Append
IF - File exists: [%BaseDir%\Target\Windows\System32\Pecmd.exe] evaluated string: [If,ExistFile,%GTarget_Sys%\Pecmd.exe,Begin]
System,ErrorOff
RegWrite - Overwrote existing key "winpeshl.exe" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Setup] Key [CmdLine]: Pecmd.exe Main %Windir%\system32\Pecmd.ini
[End]
ELSE - [Begin]
[TXTAddLine,%w%,cmd.exe,Append]
[End]
IF - File exists: [%BaseDir%\Target\Windows\System32\autorun.cmd] evaluated string: [If,ExistFile,%GTarget_Sys%\autorun.cmd,RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,Autorun,"hiderun.exe /w Autorun.cmd"]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce] Key [Autorun]: hiderun.exe /w Autorun.cmd
Run - Processed section [WinPE_StartUp] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
[//-]
IF - [truetrue] is equal to: [truetrue] evaluated string: [If,Not,%AllKeyboard_CheckBox%%AllNls_CheckBox%,Equal,TrueTrue,Exec,%ProjectDir%\Features\InternationalFiles.Script,Process,HiveLoaded]
[//-]
[// Fbwf Cache Size. Limited to 1024 Mb with x86]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,%Fbwf_ScrollBox%]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\FBWF] Key [WinPECacheThreshold]: 1024
ELSE - [Begin]
[If,%Fbwf_ScrollBox%,Bigger,1024,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,1024]
[Else,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,%Fbwf_ScrollBox%]
[End]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%SetupFiles_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\SetupFiles.Script,Process]
IF - [true] is equal to: [true] evaluated string: [If,%VCRuntime_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\VCRuntime.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing VCRuntime...
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script],[VCRuntime_x64_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] to variable: [#9] with result: [VCRuntime.Script]
IF - File does not exist: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script" VCRuntime_x64_AddFiles "%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt] to variable: [#9] with result: [VCRuntime_x64_AddFiles.txt]
Extract VCRuntime_x64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract VCRuntime_x64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IniRead - [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [WoW64basic] to variable: [%WoW64basic%] with value [True]
IF - [true] is equal to: [true] evaluated string: [If,%WoW64basic%,Equal,True,ExtractSectionFiles,%ScriptFile%,VCRuntime_x6432_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script],[VCRuntime_x6432_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] to variable: [#9] with result: [VCRuntime.Script]
IF - File does not exist: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script" VCRuntime_x6432_AddFiles "%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt] to variable: [#9] with result: [VCRuntime_x6432_AddFiles.txt]
Extract VCRuntime_x6432_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract VCRuntime_x6432_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[//-]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Install_Software,%Gtemp%\Install.hives\SOFTWARE]
[End]
[//-]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Run,%ScriptFile%,Registry_x86]
ELSE - executing command: [Begin]
|
Run - Processing section: [Registry_amd64] From file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[amd64_microsoft.vc80.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "amd64_microsoft.vc80.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[amd64_microsoft.vc90.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "amd64_microsoft.vc90.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[amd64_policy.8.0.microsoft.vc80.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "amd64_policy.8.0.microsoft.vc80.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[amd64_policy.9.0.microsoft.vc90.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "amd64_policy.9.0.microsoft.vc90.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Registry_amd64] in file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
IF - [true] is equal to: [true] evaluated string: [If,%WoW64basic%,Equal,True,Run,%ScriptFile%,Registry_x86]
|
Run - Processing section: [Registry_x86] From file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.vc80.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.vc80.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.vc90.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.vc90.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_policy.8.0.microsoft.vc80.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_policy.8.0.microsoft.vc80.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_policy.9.0.microsoft.vc90.crt_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_policy.9.0.microsoft.vc90.crt_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Registry_x86] in file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
[End]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Install_Software]
[RegHiveunLoad,Tmp_Software]
[End]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
|
[//-]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Begin]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Explorer...
|
Run - Processing section: [MRunFromRAM] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN RunFromRAM Macro ------------------------------]
SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\Target\Program Files]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [X:\Program Files]
[//---------- END RunFromRAM Macro ------------------------------]
Run - Processed section [MRunFromRAM] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [AddWinXShell] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinXShell_x64.7z] evaluated string: [If,ExistFile,%ScriptDir%\WinXShell_%Architecture%.7z,ShellExecute,Hide,%GTools%\7z.exe,"x "%ScriptDir%\WinXShell_%Architecture%.7z" -y -o"%Target_Prog%""]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\WinXShell_x64.7z" -y -o"%BaseDir%\Target\Program Files"]
Run - Processed section [AddWinXShell] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\Explorer_AddFiles.txt,ExtractListFiles,%ScriptDir%\Explorer_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt] to variable: [#9] with result: [Explorer_AddFiles.txt]
Extract Explorer_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Explorer_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[// comctl32.dll.mui Exist in All Language Folders. Use ExtractWimFileMui Macro Rather than copy into Temp and modify \xx-xx\comctl32.dll.mui in Explorer_AddFiles.txt To \%Language%\comctl32.dll.mui]
|
Run - Processing section: [MExtractWimFileMui] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\comctl32.dll]
[//---------- BEGIN ExtractWimFileMui Macro ------------------------------]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\comctl32.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\comctl32.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\System32\comctl32.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\System32\comctl32.dll] to variable: [#8] with result: [comctl32.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\comctl32.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\System32\comctl32.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
[//-]
Extract comctl32.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\System32\comctl32.dll" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract comctl32.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
StrFormat - converted: [\Windows\System32\comctl32.dll] to variable: [#9] with result: [\Windows\System32\]
IF - [\windows\system32\] is not equal to: [\] evaluated string: [If,Not,#9,Equal,\,StrFormat,CTRIM,#9,\,#9]
StrFormat - converted [CTRIM(\Windows\System32\)] to variable: [#9] with result: [Windows\System32]
StrFormat - converted: [\Windows\System32\comctl32.dll] to variable: [#8] with result: [comctl32.dll]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\comctl32.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\System32\comctl32.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#4] with result: [2]
[//-]
|
Loop - Processing section: [MExtractWimFileMuiLoop] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1],[2],[Windows\System32],[comctl32.dll],[],[6],[--no-globs --preserve-dir-structure]
|
Iteration - Processing section: [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [Windows\System32],[comctl32.dll],[],[6],[--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#3\#9]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\System32\fr-FR\comctl32.dll.mui" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
[//Echo,"Wimlib Extract #1\#9\#2.mui from Install.wim Return: %ExitCode%"]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Target\Windows\System32\fr-FR\comctl32.dll.mui] evaluated string: [If,ExistFile,%GTarget%\#1\#9\#2.mui,Loop,BREAK]
[End]
ELSE - [Begin]
[If,ExistFile,#7\#2.mui,Loop,BREAK]
[End]
Iteration - Processed section [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MExtractWimFileMuiLoop] in file: [Loop,%API%,MExtractWimFileMuiLoop,1,#4,#9,#8,#2,#6,#5]
[End]
[//---------- END ExtractWimFileMui Macro ------------------------------]
Run - Processed section [MExtractWimFileMui] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
[// In Win10 17763 shellstyle.dll(.mui) does not exist in System32]
IF - [17763] is equal to: [17763] evaluated string: [If,Not,%SourceBuild%,Equal,17763,ExtractWimFileMui,\Windows\System32\shellstyle.dll]
[//-]
IF - [17763] is bigger than [17000] evaluated string: [If,%SourceBuild%,Bigger,17000,ExtractSectionFiles,%ScriptFile%,Explorer_Bigger_17000_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script],[Explorer_Bigger_17000_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script] to variable: [#9] with result: [Explorer.Script]
IF - File does not exist: [%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\Explorer.Script" Explorer_Bigger_17000_AddFiles "%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt] to variable: [#9] with result: [Explorer_Bigger_17000_AddFiles.txt]
Extract Explorer_Bigger_17000_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Explorer_Bigger_17000_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Explorer_Bigger_17000_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [17763] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,ExtractSectionFiles,%ScriptFile%,Explorer_Bigger_17700_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script],[Explorer_Bigger_17700_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script] to variable: [#9] with result: [Explorer.Script]
IF - File does not exist: [%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\Explorer.Script" Explorer_Bigger_17700_AddFiles "%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt] to variable: [#9] with result: [Explorer_Bigger_17700_AddFiles.txt]
Extract Explorer_Bigger_17700_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Explorer_Bigger_17700_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Explorer_Bigger_17700_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [17763] is not bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,Explorer_Bigger_18300_AddFiles]
[//-]
IniRead - [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [AllCatalogs] to variable: [%AllCatalogs%] with value [False]
IF - [false] is not equal to: [true] evaluated string: [If,%AllCatalogs%,Equal,True,ExtractSectionFiles,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_All]
ELSE - executing command: [Begin]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt] evaluated string: [If,ExistSection,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_%SourceBuild%,ExtractSectionFiles,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_%SourceBuild%]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt],[Catalog_AddFiles_17763]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt] to variable: [#9] with result: [Catalog_AddFiles.txt]
IF - File does not exist: [%BaseDir%\Temp\Catalog_AddFiles_17763.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt" Catalog_AddFiles_17763 "%BaseDir%\Temp\Catalog_AddFiles_17763.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Catalog_AddFiles_17763.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Catalog_AddFiles_17763.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\Catalog_AddFiles_17763.txt] to variable: [#9] with result: [Catalog_AddFiles_17763.txt]
Extract Catalog_AddFiles_17763.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\Catalog_AddFiles_17763.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Catalog_AddFiles_17763.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Catalog_AddFiles_17763.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
ELSE - [ExtractSectionFiles,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_All]
[End]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
|
Run - Processing section: [Reg_Themes] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Themes_RegDefault.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Themes_RegDefault.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Themes_RegDefault.txt] to variable: [#9] with result: [Themes_RegDefault.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Themes_RegDefault.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Themes_RegDefault.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Direct3D]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Direct3D,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Direct3D" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectDraw]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectDraw,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectDraw" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectInput]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectInput,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectInput" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectMusic]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectMusic,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectMusic" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectPlay]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectPlay,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectPlay" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectPlay8]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectPlay8,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectPlay8" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectPlayNATHelp]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectPlayNATHelp,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectPlayNATHelp" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectShow]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectShow,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectShow" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\DirectX]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\DirectX,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\DirectX" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\RADAR]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\RADAR,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\RADAR" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Control Panel]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Control Panel,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Control Panel" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Controls Folder]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Controls Folder,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Controls Folder" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Themes]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Themes,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Themes" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\DWM]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\DWM,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\DWM" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\CoreMessagingRegistrar]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\CoreMessagingRegistrar,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\CoreMessagingRegistrar" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\Themes]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\Themes,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\Themes" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\WindowsTrustedRT]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\WindowsTrustedRT,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\WindowsTrustedRT" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\DWM] Key [OneCoreNoBootDWM]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 1
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\Themes]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\CoreMessagingRegistrar]
Run - Processed section [Reg_Themes] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [Reg_Explorer] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer_RegDefault.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer_RegDefault.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Explorer_RegDefault.txt] to variable: [#9] with result: [Explorer_RegDefault.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Explorer_RegDefault.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Explorer_RegDefault.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[// Shell New Context Menu (possible .lnk additional value)]
RegWrite - Type: [0x7] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew] Key [Classes]: [.library-ms#$z.txt#$zFolder]
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew] Key [~reserved~]: 08,00,00,00,00,00,06,00
[// PinTool must be Launched after Explorer. Seems better to Launched it in pecmd.ini]
[//If,ExistFile,%GTarget_Sys%\PinTool.exe,RegWrite,HKLM,0x2,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,PinTool,"PinTool.exe -debug #$pWindir#$p\System32\Pecmd.ini"]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Overwrote existing key "cmd.exe /k start cmd.exe" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Winlogon] Key [shell]: explorer.exe
[// Registry cached version of the Start menu + Windows.CloudStore.dll seem require Else Pintool and others does not work]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\CloudStore]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\CloudStore,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\CloudStore" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer_RegSoftware.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer_RegSoftware.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Explorer_RegSoftware.txt] to variable: [#9] with result: [Explorer_RegSoftware.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Explorer_RegSoftware.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Explorer_RegSoftware.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [AdditionalFonts] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
[// Additional Fonts, optional in addition to segoeui.ttf]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Segoe UI (TrueType)]: segoeui.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Courier 10,12,15]: coure.fon
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [MS Sans Serif 8,10,12,14,18,24]: sserife.fon
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Arial (TrueType)]: arial.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Arial Black (TrueType)]: ariblk.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Arial Bold (TrueType)]: arialbd.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Arial Bold Italic (TrueType)]: arialbi.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Arial Italic (TrueType)]: ariali.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Comic Sans MS (TrueType)]: comic.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Comic Sans MS Bold (TrueType)]: comicbd.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Courier New (TrueType)]: cour.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Courier New Bold (TrueType)]: courbd.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Courier New Bold Italic (TrueType)]: courbi.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Courier New Italic (TrueType)]: couri.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Lucida Sans Unicode (TrueType)]: l_10646.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Times New Roman Bold (TrueType)]: timesbd.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Times New Roman Bold Italic (TrueType)]: timesbi.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Times New Roman Italic (TrueType)]: timesi.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Trebuchet MS (TrueType)]: trebuc.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Trebuchet MS Bold (TrueType)]: trebucbd.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Trebuchet MS Bold Italic (TrueType)]: trebucbi.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Trebuchet MS Italic (TrueType)]: trebucit.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Verdana (TrueType)]: verdana.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Verdana Bold (TrueType)]: verdanab.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Verdana Italic (TrueType)]: verdanai.ttf
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Fonts] Key [Verdana Bold Italic (TrueType)]: verdanaz.ttf
Run - Processed section [AdditionalFonts] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
[End]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Classes\DesktopBackground\Shell\Display,RegDelete,HKLM,Tmp_Software\Classes\DesktopBackground\Shell\Display]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Classes\DesktopBackground\Shell\Personalize,RegDelete,HKLM,Tmp_Software\Classes\DesktopBackground\Shell\Personalize]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\DesktopBackground\Shell\Personalize]
IF - File exists: [%BaseDir%\Target\Program Files\WinXShell\WinXShell.exe] evaluated string: [If,ExistFile,"%GTarget%\Program Files\WinXShell\WinXShell.exe",Begin]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\DesktopBackground\Shell\Display Settings] Key [Icon]: "X:\Program Files\WinXShell\wxsUI\UI_Resolution\display.ico"
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\DesktopBackground\Shell\Display Settings\command] Key []: "X:\Program Files\WinXShell\WinXShell.exe" -ui -jcfg wxsUI\UI_Resolution\main.jcfg
[End]
[// Redirect modern Settings (eg: ms-settings:dateandtime) to: Open With - Control Panel . To note that many control panel items, such as Displays, are replaced by new modern settings]
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\ms-settings\Shell\Open\Command] Key []: %SystemRoot%\system32\control.exe
[// Remove Removable Drive Icon from Navigation Pane of This PC for not having it twice]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83},RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83},RegDelete,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
[End]
[// Remove Quick access from Navigation Pane]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer] Key [HubMode]: 1
[// Remove Libraries from this PC]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5},RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5},RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
[End]
[// Hide_Network_to_Navigation_Pane]
RegWrite - Overwrote existing key "-1341915036" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder] Key [Attributes]: -1332477852
[// Hide_3D-Objects_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Hide_Contacts_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{56784854-C6CB-462B-8169-88E350ACB882}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{56784854-C6CB-462B-8169-88E350ACB882}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{56784854-C6CB-462B-8169-88E350ACB882}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Desktop_folder]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag]
[End]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag]
[End]
[// Show_Documents_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag]
[End]
[// Show_Downloads_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag]
[End]
[// Show_Favorites_folder]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag]
[End]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag]
[End]
[// Hide_Links_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Music_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag]
[End]
[// Hide_OneDrive_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Pictures_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag]
[End]
[// Hide_Saved_Games_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Hide_Searches_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d1d3a04-debb-4115-95cf-2f29da2920da}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d1d3a04-debb-4115-95cf-2f29da2920da}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d1d3a04-debb-4115-95cf-2f29da2920da}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Videos_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag]
[End]
[// remove "Include in Library" Context Menu]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\Library Location",RegDelete,HKLM,"Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\Library Location"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\Library Location]
[// Shortcuts without 'shortcut' name and transparent icon]
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer] Key [link]: 00,00,00,00
System,ErrorOff
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons] Key [29]: %SystemRoot%\system32\transparent.ico
Run - Processed section [Reg_Explorer] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [Reg_Search] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] Key [Start_SearchFiles]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] Key [Start_SearchPrograms]: 1
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows Search]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows Search,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows Search" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\ContentIndex]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Control\ContentIndex,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Control\ContentIndex" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//RegCopyKey,HKLM,Tmp_System\ControlSet001\services\WSearch]
[//RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WSearch,Start,4]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\services\WSearchIdxPi]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\services\WSearchIdxPi,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\services\WSearchIdxPi" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
|
Run - Processing section: [Reg_VolumeInfoCache] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
[// Failed to get data VolumeInfoCache \C:,DriveType in x64 build > Delete + Write]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Microsoft\Windows Search\VolumeInfoCache",RegDelete,HKLM,"Tmp_Software\Microsoft\Windows Search\VolumeInfoCache"]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\C:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\C:] Key [VolumeLabel]:
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\D:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\D:] Key [VolumeLabel]:
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\E:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\E:] Key [VolumeLabel]:
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\F:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\F:] Key [VolumeLabel]:
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\G:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\G:] Key [VolumeLabel]:
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\H:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\H:] Key [VolumeLabel]:
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\I:] Key [DriveType]: 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows Search\VolumeInfoCache\I:] Key [VolumeLabel]:
Run - Processed section [Reg_VolumeInfoCache] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
[//Run,%ScriptFile%,Reg_Search_CLSID (CLSID already copied)]
Run - Processed section [Reg_Search] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [Reg_MMC] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[// Classes\AppID,CLSID,Interface,TypeLib already copied]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Applications\MMC.exe] Key [NoOpenWith]:
RegWrite - Type: [0x1] Section [HKLM\Tmp_software\Classes\.msc] Key []: MSCFile
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\mscfile]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\mscfile,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\mscfile" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\MMC]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\MMC,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\MMC" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
Run - Processed section [Reg_MMC] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [Reg_ShellHWDetection] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\ShellHWDetection]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\ShellHWDetection,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\ShellHWDetection" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Reg_ShellHWDetection] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [Reg_BitLocker] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\BDESVC]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\BDESVC,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\BDESVC" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\Drive\shell\unlock-bde] Key []: @%SystemRoot%\System32\bdeunlock.exe,-100
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Drive\shell\unlock-bde] Key [AppliesTo]: System.Volume.BitLockerProtection:=6
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Drive\shell\unlock-bde] Key [DefaultAppliesTo]:
RegWrite - Type: [0x1] Section [HKLM\Tmp_software\Classes\Drive\shell\unlock-bde] Key [Icon]: bdeunlock.exe
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Drive\shell\unlock-bde] Key [MultiSelectModel]: Single
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\Drive\shell\unlock-bde\command] Key []: %SystemRoot%\System32\bdeunlock.exe %1
[End]
Run - Processed section [Reg_BitLocker] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [WinUSBClassDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Drivers\DriverDatabase\DriverFiles\winusb.sys] Key []: winusb.inf
Run - Processed section [WinUSBClassDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing StartIsBack...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\StartIsBackPlusPlus_setup.exe] evaluated string: [If,Not,ExistFile,%ScriptDir%\%SetupFile%,EchoExtended,"%SetupFile% should be in the original package",Warn,,Message,,Halt]
|
Run - Processing section: [MRunFromRAM] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN RunFromRAM Macro ------------------------------]
SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\Target\Program Files]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [X:\Program Files]
[//---------- END RunFromRAM Macro ------------------------------]
Run - Processed section [MRunFromRAM] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//--]
|
Run - Processing section: [Add_StartIsBack] From file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
IF - Directory does not exist: [%BaseDir%\Target\Program Files\StartIsBack] evaluated string: [If,ExistDir,%Target_Prog%\%ProgramFolder%,DirDeleteQ,%Target_Prog%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Target\Program Files\StartIsBack]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\StartIsBackPlusPlus_setup.exe" -y -o"%BaseDir%\Target\Program Files\StartIsBack"]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Program Files\StartIsBack\UpdateCheck.exe]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,FileDelete,%Target_Prog%\%ProgramFolder%\StartIsBack64.dll]
Run - Processed section [Add_StartIsBack] in file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[End]
|
Run - Processing section: [Reg_StartIsBack] From file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt] to variable: [#9] with result: [StartIsBack_RegDefault.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File StartIsBack_RegDefault.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt] to variable: [#9] with result: [StartIsBack_RegSoftware.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File StartIsBack_RegSoftware.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Begin]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BA}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BB}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}\InprocServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x2,Tmp_Software\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F},LocalizedString,"@X:\Program Files\StartIsBack\StartIsBack32.dll,-510"]
[End]
Run - Processed section [Reg_StartIsBack] in file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Software]
[RegHiveunLoad,Tmp_Default]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
[End]
ELSE - [Exec,%ProjectDir%\Features\WinXShell.Script,Process,HiveLoaded]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%DisplayDrivers_CheckBox%,Equal,True,Begin]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Exec,%ProjectDir%\Features\DisplayDrivers.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Display Drivers...
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script],[AddFiles_Display]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] to variable: [#9] with result: [DisplayDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\AddFiles_Display.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script" AddFiles_Display "%BaseDir%\Temp\AddFiles_Display.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\AddFiles_Display.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\AddFiles_Display.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\AddFiles_Display.txt] to variable: [#9] with result: [AddFiles_Display.txt]
Extract AddFiles_Display.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\AddFiles_Display.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract AddFiles_Display.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\AddFiles_Display.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script],[AddFiles_Monitor]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] to variable: [#9] with result: [DisplayDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\AddFiles_Monitor.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script" AddFiles_Monitor "%BaseDir%\Temp\AddFiles_Monitor.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\AddFiles_Monitor.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\AddFiles_Monitor.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\AddFiles_Monitor.txt] to variable: [#9] with result: [AddFiles_Monitor.txt]
Extract AddFiles_Monitor.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\AddFiles_Monitor.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract AddFiles_Monitor.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\AddFiles_Monitor.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Drivers,%RegDrivers%]
[RegHiveLoad,Tmp_Install_Drivers,%Gtemp%\Install.hives\DRIVERS]
[RegHiveLoad,Tmp_System,%RegSystem%]
[RegHiveLoad,Tmp_Install_System,%Gtemp%\Install.hives\SYSTEM]
[End]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,%Shell%,Equal,WinXShell,ACLRegKey,Tmp_Drivers]
|
Run - Processing section: [Reg_Display] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
with parameters: [display.inf]
IF - [-display.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register display.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "display.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
with parameters: [displayoverride.inf]
IF - [-displayoverride.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register displayoverride.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "displayoverride.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
Run - Processed section [Reg_Display] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
|
Run - Processing section: [Reg_Monitor] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
Register monitor Driver...
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\monitor]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\monitor,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\monitor" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DeviceIds\Monitor]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DeviceIds\Monitor,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DeviceIds\Monitor" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x3] Section [HKLM\Tmp_Drivers\DriverDatabase\DeviceIds\*PNP09FF] Key [monitor.inf]: 01,ff,00,00
IF - Key exists [HKLM] evaluated string: [If,Not,ExistRegKey,HKLM,Tmp_Drivers\DriverDatabase\DeviceIds\{4d36e96e-e325-11ce-bfc1-08002be10318},c_monitor.inf,ShellExecute,Hide,Reg.exe,"Add "HKLM\Tmp_Drivers\DriverDatabase\DeviceIds\{4d36e96e-e325-11ce-bfc1-08002be10318}" /v "c_monitor.inf" /t REG_NONE"]
IF - Key does not exist [HKLM] evaluated string: [If,Not,ExistRegKey,HKLM,Tmp_Drivers\DriverDatabase\DeviceIds\{4d36e96e-e325-11ce-bfc1-08002be10318},monitor.inf,ShellExecute,Hide,Reg.exe,"Add "HKLM\Tmp_Drivers\DriverDatabase\DeviceIds\{4d36e96e-e325-11ce-bfc1-08002be10318}" /v "monitor.inf" /t REG_NONE"]
ShellExecute: [Hide] using: [Reg.exe] with parameters: [Add "HKLM\Tmp_Drivers\DriverDatabase\DeviceIds\{4d36e96e-e325-11ce-bfc1-08002be10318}" /v "monitor.inf" /t REG_NONE]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Drivers\DriverDatabase\DriverFiles\monitor.sys] Key []: monitor.inf
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\c_monitor.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\c_monitor.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\c_monitor.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\monitor.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\monitor.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\monitor.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[c_monitor.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "c_monitor.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[monitor.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "monitor.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//RegCopyKey,HKLM,Tmp_Drivers\ControlSet001\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}]
Run - Processed section [Reg_Monitor] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_System]
[RegHiveunLoad,Tmp_Install_System]
[RegHiveunLoad,Tmp_Install_Drivers]
[RegHiveunLoad,Tmp_Drivers]
[End]
|
Run - Processing section: [Load_At_Startup] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\basicdisplay.inf] with string: [EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\basicdisplay.inf]
Run - Processed section [Load_At_Startup] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
[End]
[//-]
SetVar - Sucessfuly changed the value of [%WoW64Support%] to: [False]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - [true] is equal to: [true] evaluated string: [If,%WoW64_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\WoW64.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
Processing WoW64 basic...
SetVar - Sucessfuly changed the value of [%WoW64Support%] to: [True]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\WoW64_AddFiles.txt,ExtractListFiles,%ScriptDir%\WoW64_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt] to variable: [#9] with result: [WoW64_AddFiles.txt]
Extract WoW64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WoW64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractWimFileMui] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\SysWOW64\comctl32.dll]
[//---------- BEGIN ExtractWimFileMui Macro ------------------------------]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\SysWOW64\comctl32.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\syswow64\comctl32.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\SysWOW64\comctl32.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\SysWOW64\comctl32.dll] to variable: [#8] with result: [comctl32.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\SysWOW64\comctl32.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\SysWOW64\comctl32.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
[//-]
Extract comctl32.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\comctl32.dll" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract comctl32.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
StrFormat - converted: [\Windows\SysWOW64\comctl32.dll] to variable: [#9] with result: [\Windows\SysWOW64\]
IF - [\windows\syswow64\] is not equal to: [\] evaluated string: [If,Not,#9,Equal,\,StrFormat,CTRIM,#9,\,#9]
StrFormat - converted [CTRIM(\Windows\SysWOW64\)] to variable: [#9] with result: [Windows\SysWOW64]
StrFormat - converted: [\Windows\SysWOW64\comctl32.dll] to variable: [#8] with result: [comctl32.dll]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\SysWOW64\comctl32.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\SysWOW64\comctl32.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#4] with result: [2]
[//-]
|
Loop - Processing section: [MExtractWimFileMuiLoop] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1],[2],[Windows\SysWOW64],[comctl32.dll],[],[6],[--no-globs --preserve-dir-structure]
|
Iteration - Processing section: [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [Windows\SysWOW64],[comctl32.dll],[],[6],[--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#3\#9]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\fr-FR\comctl32.dll.mui" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
[//Echo,"Wimlib Extract #1\#9\#2.mui from Install.wim Return: %ExitCode%"]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Target\Windows\SysWOW64\fr-FR\comctl32.dll.mui] evaluated string: [If,ExistFile,%GTarget%\#1\#9\#2.mui,Loop,BREAK]
[End]
ELSE - [Begin]
[If,ExistFile,#7\#2.mui,Loop,BREAK]
[End]
Iteration - Processed section [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MExtractWimFileMuiLoop] in file: [Loop,%API%,MExtractWimFileMuiLoop,1,#4,#9,#8,#2,#6,#5]
[End]
[//---------- END ExtractWimFileMui Macro ------------------------------]
Run - Processed section [MExtractWimFileMui] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractWimFileMui] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\SysWOW64\comdlg32.dll]
[//---------- BEGIN ExtractWimFileMui Macro ------------------------------]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\SysWOW64\comdlg32.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\syswow64\comdlg32.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\SysWOW64\comdlg32.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\SysWOW64\comdlg32.dll] to variable: [#8] with result: [comdlg32.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\SysWOW64\comdlg32.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\SysWOW64\comdlg32.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
[//-]
Extract comdlg32.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\comdlg32.dll" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract comdlg32.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
StrFormat - converted: [\Windows\SysWOW64\comdlg32.dll] to variable: [#9] with result: [\Windows\SysWOW64\]
IF - [\windows\syswow64\] is not equal to: [\] evaluated string: [If,Not,#9,Equal,\,StrFormat,CTRIM,#9,\,#9]
StrFormat - converted [CTRIM(\Windows\SysWOW64\)] to variable: [#9] with result: [Windows\SysWOW64]
StrFormat - converted: [\Windows\SysWOW64\comdlg32.dll] to variable: [#8] with result: [comdlg32.dll]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\SysWOW64\comdlg32.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\SysWOW64\comdlg32.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#4] with result: [2]
[//-]
|
Loop - Processing section: [MExtractWimFileMuiLoop] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1],[2],[Windows\SysWOW64],[comdlg32.dll],[],[6],[--no-globs --preserve-dir-structure]
|
Iteration - Processing section: [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [Windows\SysWOW64],[comdlg32.dll],[],[6],[--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#3\#9]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\fr-FR\comdlg32.dll.mui" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
[//Echo,"Wimlib Extract #1\#9\#2.mui from Install.wim Return: %ExitCode%"]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Target\Windows\SysWOW64\fr-FR\comdlg32.dll.mui] evaluated string: [If,ExistFile,%GTarget%\#1\#9\#2.mui,Loop,BREAK]
[End]
ELSE - [Begin]
[If,ExistFile,#7\#2.mui,Loop,BREAK]
[End]
Iteration - Processed section [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MExtractWimFileMuiLoop] in file: [Loop,%API%,MExtractWimFileMuiLoop,1,#4,#9,#8,#2,#6,#5]
[End]
[//---------- END ExtractWimFileMui Macro ------------------------------]
Run - Processed section [MExtractWimFileMui] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractWimFileMui] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\SysWOW64\mlang.dll]
[//---------- BEGIN ExtractWimFileMui Macro ------------------------------]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\SysWOW64\mlang.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\syswow64\mlang.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\SysWOW64\mlang.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\SysWOW64\mlang.dll] to variable: [#8] with result: [mlang.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\SysWOW64\mlang.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\SysWOW64\mlang.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
[//-]
Extract mlang.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\mlang.dll" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract mlang.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
StrFormat - converted: [\Windows\SysWOW64\mlang.dll] to variable: [#9] with result: [\Windows\SysWOW64\]
IF - [\windows\syswow64\] is not equal to: [\] evaluated string: [If,Not,#9,Equal,\,StrFormat,CTRIM,#9,\,#9]
StrFormat - converted [CTRIM(\Windows\SysWOW64\)] to variable: [#9] with result: [Windows\SysWOW64]
StrFormat - converted: [\Windows\SysWOW64\mlang.dll] to variable: [#8] with result: [mlang.dll]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\SysWOW64\mlang.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\SysWOW64\mlang.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#4] with result: [2]
[//-]
|
Loop - Processing section: [MExtractWimFileMuiLoop] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1],[2],[Windows\SysWOW64],[mlang.dll],[],[6],[--no-globs --preserve-dir-structure]
|
Iteration - Processing section: [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [Windows\SysWOW64],[mlang.dll],[],[6],[--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#3\#9]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\fr-FR\mlang.dll.mui" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
[//Echo,"Wimlib Extract #1\#9\#2.mui from Install.wim Return: %ExitCode%"]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
IF - File does not exist: [%BaseDir%\Target\Windows\SysWOW64\fr-FR\mlang.dll.mui] evaluated string: [If,ExistFile,%GTarget%\#1\#9\#2.mui,Loop,BREAK]
[End]
ELSE - [Begin]
[If,ExistFile,#7\#2.mui,Loop,BREAK]
[End]
Iteration - Processed section [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Iteration - Processing section: [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [2] [Windows\SysWOW64],[mlang.dll],[],[6],[--no-globs --preserve-dir-structure],[],[%BaseDir%\Target],[],[fr-FR]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#9] with result: [en-US]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#3\#9]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\SysWOW64\en-US\mlang.dll.mui" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
[//Echo,"Wimlib Extract #1\#9\#2.mui from Install.wim Return: %ExitCode%"]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
IF - File does not exist: [%BaseDir%\Target\Windows\SysWOW64\en-US\mlang.dll.mui] evaluated string: [If,ExistFile,%GTarget%\#1\#9\#2.mui,Loop,BREAK]
[End]
ELSE - [Begin]
[If,ExistFile,#7\#2.mui,Loop,BREAK]
[End]
Iteration - Processed section [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MExtractWimFileMuiLoop] in file: [Loop,%API%,MExtractWimFileMuiLoop,1,#4,#9,#8,#2,#6,#5]
[End]
[//---------- END ExtractWimFileMui Macro ------------------------------]
Run - Processed section [MExtractWimFileMui] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
StrFormat - converted [LCASE(fr-FR)] to variable: [%Language_LCase%] with result: [fr-fr]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\winsxs\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*] to variable: [#8] with result: [x86_microsoft.windows.c..-controls.resources_*_fr-fr_*]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*,*)] to variable: [%MXPE_Pos%] with result: [62]
IF - [62] is not equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
IF - [62] is not equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
ELSE - executing command: [Set,#5,--nullglob]
SetVar - Sucessfuly changed the value of [#5] to: [--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--nullglob --preserve-dir-structure]
[//-]
Extract x86_microsoft.windows.c..-controls.resources_*_fr-fr_*
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*" --dest-dir="%BaseDir%\Target" --no-acls --nullglob --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract x86_microsoft.windows.c..-controls.resources_*_fr-fr_* from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\WinSxS\Manifests\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\winsxs\manifests\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\WinSxS\Manifests\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\WinSxS\Manifests\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest] to variable: [#8] with result: [x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\WinSxS\Manifests\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest,*)] to variable: [%MXPE_Pos%] with result: [72]
IF - [72] is not equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
IF - [72] is not equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
ELSE - executing command: [Set,#5,--nullglob]
SetVar - Sucessfuly changed the value of [#5] to: [--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--nullglob --preserve-dir-structure]
[//-]
Extract x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\WinSxS\Manifests\x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest" --dest-dir="%BaseDir%\Target" --no-acls --nullglob --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract x86_microsoft.windows.c..-controls.resources_*_fr-fr_*.manifest from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
[// In Win10 17763 shellstyle.dll(.mui) does not exist in SysWOW64]
IF - [17763] is equal to: [17763] evaluated string: [If,Not,%SourceBuild%,Equal,17763,ExtractWimFileMui,\Windows\SysWOW64\shellstyle.dll]
IF - File exists: [%BaseDir%\Target\Windows\System32\imageres.dll] evaluated string: [If,ExistFile,%GTarget_Sys%\imageres.dll,FileCopy,%GTarget_Sys%\imageres.dll,%GTarget_Win%\syswow64\]
FileCopy - Copied [%BaseDir%\Target\Windows\System32\imageres.dll] to: [%BaseDir%\Target\Windows\syswow64\imageres.dll]
[//-]
IF - [17763] is not bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,WoW64_Bigger_18300_AddFiles]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
[//-]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Install_Software,%Gtemp%\Install.hives\SOFTWARE]
[End]
|
Run - Processing section: [Reg_WoW64] From file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
[//RegImportFile,%ScriptDir%\WoW64_RegSoftware.txt]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\Wow6432Node\CLSID]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\Wow6432Node\CLSID,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\Wow6432Node\CLSID" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\Wow6432Node\Interface]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\Wow6432Node\Interface,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\Wow6432Node\Interface" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\WOW6432Node\DirectShow]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\WOW6432Node\DirectShow,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\WOW6432Node\DirectShow" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\WOW6432Node\Media Type]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\WOW6432Node\Media Type,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\WOW6432Node\Media Type" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\WOW6432Node\MediaFoundation]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\WOW6432Node\MediaFoundation,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\WOW6432Node\MediaFoundation" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Wow6432Node]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Wow6432Node,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Wow6432Node" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SMI]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SMI,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SMI" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.windows.c..-controls.resources_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.windows.c..-controls.resources_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.windows.common-controls_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.windows.common-controls_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[wow64_microsoft.windows.gdiplus.systemcopy_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "wow64_microsoft.windows.gdiplus.systemcopy_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.windows.gdiplus_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.windows.gdiplus_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.windows.i..utomation.proxystub_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.windows.i..utomation.proxystub_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.windows.isolationautomation_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.windows.isolationautomation_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft.windows.systemcompatible_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft.windows.systemcompatible_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners],[x86_microsoft-windows-m..tion-isolationlayer_*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners" "x86_microsoft-windows-m..tion-isolationlayer_*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Reg_WoW64] in file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Install_Software]
[RegHiveunLoad,Tmp_Software]
[End]
[End]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
[End]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%Network_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Network.Script,Process,HiveLoaded]
IF - [true] is equal to: [true] evaluated string: [If,%NetDrivers_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\NetDrivers.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Network Drivers...
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script],[NetDriversx64_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] to variable: [#9] with result: [NetDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script" NetDriversx64_AddFiles "%BaseDir%\Temp\NetDriversx64_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt] to variable: [#9] with result: [NetDriversx64_AddFiles.txt]
Extract NetDriversx64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\NetDriversx64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract NetDriversx64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\NetDriversx64_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [17763] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,ExtractSectionFiles,%ScriptFile%,NetDrivers%Architecture%_AddFiles1809]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script],[NetDriversx64_AddFiles1809]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] to variable: [#9] with result: [NetDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script" NetDriversx64_AddFiles1809 "%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt] to variable: [#9] with result: [NetDriversx64_AddFiles1809.txt]
Extract NetDriversx64_AddFiles1809.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract NetDriversx64_AddFiles1809.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\NetDriversx64_AddFiles1809.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [17763] is not bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,NetDrivers%Architecture%_AddFiles1903]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Drivers,%RegDrivers%]
[RegHiveLoad,Tmp_Install_Drivers,%Gtemp%\Install.hives\DRIVERS]
[End]
[//--]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,%Shell%,Equal,WinXShell,ACLRegKey,Tmp_Drivers]
|
Run - Processing section: [Reg_NetDrivers] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,CheckHiveCacheINI]
|
Run - Processing section: [CheckHiveCacheINI] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\NetDrivers.reg.txt] evaluated string: [If,Not,ExistFile,%XPECache%\%NetDriversReg%,IniWrite,%XPECache%\HiveCache.ini,NetDriversCache,Version,0]
IniRead - [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\HiveCache.ini] Section [NetDriversCache] Key [Version] to variable: [%NetDriversCacheVersionIni%] with value [1]
IF - [1] is equal to: [1] evaluated string: [If,Not,%NetDriversCacheVersion%,Equal,%NetDriversCacheVersionIni%,Begin]
[If,ExistFile,%XPECache%\%NetDriversReg%,FileDeleteQ,%XPECache%\%NetDriversReg%]
[End]
Run - Processed section [CheckHiveCacheINI] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
ELSE - [Begin]
[If,ExistFile,%XPECache%\%NetDriversReg%,FileDeleteQ,%XPECache%\%NetDriversReg%]
[End]
[//--]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\NetDrivers.reg.txt] evaluated string: [If,ExistFile,%XPECache%\%NetDriversReg%,RegImportFile,%XPECache%\%NetDriversReg%]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\NetDrivers.reg.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\NetDrivers.reg.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\NetDrivers.reg.txt] to variable: [#9] with result: [NetDrivers.reg.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\ProgCache\10.0.17763.107_Professional_x64_fr-FR\NetDrivers.reg.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File NetDrivers.reg.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
ELSE - [Begin]
[If,Not,ExistDir,%XPECache%,DirMake,%XPECache%]
[Run,%ScriptFile%,PrepareNetDriversReg]
[Run,%ScriptFile%,WriteIniCacheInformation]
[End]
Run - Processed section [Reg_NetDrivers] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Install_Drivers]
[RegHiveunLoad,Tmp_Drivers]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
IF - [true] is equal to: [true] evaluated string: [If,%PENMAddPENetwork_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\PENetwork.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing PENetwork...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfacePENetwork,""]
AddInterface - Added section [InterfacePENetwork] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
IF - [true] is not equal to: [false] evaluated string: [If,%PENMAddPENetwork_CheckBox%,Equal,False,Begin]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe","//EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe"]
[Exit,"PENetwork is not Selected, No Processing %ScriptTitle%"]
[End]
IF - [run from usb] is not equal to: [run from ram] evaluated string: [If,%PENMRunFromWhere_ScrollBox%,Equal,"Run From RAM",RunFromRAM]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Run,%ScriptFile%,PluginSetx64]
|
Run - Processing section: [PluginSetx64] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
SetVar - Sucessfuly changed the value of [%SetupFile%] to: [PENetwork_x64.7z]
SetVar - Sucessfuly changed the value of [%ProgramFolder%] to: [PENetwork_x64]
Run - Processed section [PluginSetx64] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
|
Run - Processing section: [Extract] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - File does not exist: [%BaseDir%\Temp\PENetwork_x64\PENetwork.exe] evaluated string: [If,Not,ExistFile,%GTemp%\%ProgramFolder%\%ProgramExe%,Begin]
IF - Directory does not exist: [%BaseDir%\Temp\PENetwork_x64] evaluated string: [If,Not,ExistDir,%GTemp%\%ProgramFolder%,DirMake,%GTemp%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Temp\PENetwork_x64]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\PENetwork_x64.7z] evaluated string: [If,ExistFile,%ScriptDir%\%SetupFile%,ShellExecute,Hide,%GTools%\7z.exe,"x "%ScriptDir%\%SetupFile%" -y -o"%GTemp%\%ProgramFolder%""]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\PENetwork_x64.7z" -y -o"%BaseDir%\Temp\PENetwork_x64"]
ELSE - [EchoExtended,"%SetupFile% should be in the original package",Warn,,Message,,Halt]
[End]
ExtractFile - [PENetwork.ini] to: [%BaseDir%\Temp\PENetwork_x64]
Run - Processed section [Extract] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
IF - Directory does not exist: [%BaseDir%\ISO\Programs] evaluated string: [If,Not,ExistDir,%Target_Prog%,DirMake,%Target_Prog%]
DirMake - Created directory: [%BaseDir%\ISO\Programs]
IF - Directory does not exist: [%BaseDir%\ISO\Programs\PENetwork_x64] evaluated string: [If,ExistDir,%Target_Prog%\%ProgramFolder%,DirDeleteQ,%Target_Prog%\%ProgramFolder%]
DirCopy - Copied directory [%BaseDir%\Temp\PENetwork_x64] to: [%BaseDir%\ISO\Programs]
[//--]
IF - File does not exist: [%BaseDir%\Custom\PENetworkini\PENetwork.ini] evaluated string: [If,ExistFile,%GCustom%\PENetworkini\PENetwork.ini,Begin]
[If,ExistFile,%Target_Prog%\%ProgramFolder%\PENetwork.ini,FileDeleteQ,%Target_Prog%\%ProgramFolder%\PENetwork.ini]
[Filecopy,%GCustom%\PENetworkini\PENetwork.ini,%Target_Prog%\%ProgramFolder%\PENetwork.ini]
[End]
[//--]
IF - Directory does not exist: [%BaseDir%\Custom\WifiProfiles] evaluated string: [If,ExistDir,%GCustom%\WifiProfiles,Begin]
[Retrieve,FOLDERSIZE,%GCustom%\WifiProfiles,%WifiProfilesSize%]
[If,%WifiProfilesSize%,Bigger,1,DirCopy,%GCustom%\WifiProfiles,%Target_Prog%\%ProgramFolder%]
[End]
[//--]
IF - [true] is equal to: [true] evaluated string: [If,%UseWifiProfile_CheckBox%,Equal,True,Run,%Scriptfile%,AutoConnectWifiProfile]
|
Run - Processing section: [AutoConnectWifiProfile] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
Adding Auto Connect to PeNetwork_AfterStartup.cmd...
StrFormat - converted [RTRIM(SSIDProfile.xml,%WifiProfile%)] to variable: [%WifiProfile%] with result: [SSIDProfile]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd]
IF - File exists: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] evaluated string: [If,ExistFile,%w%,Begin]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] string [Exit]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] line: Value: Netsh WLan add profile filename="Y:\Programs\PENetwork_x64\WifiProfiles\SSIDProfile.xml" user=all Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] line: Value: Netsh WLan set profileparameter name=SSIDProfile connectionmode=auto Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] line: Value: Exit Option: Append
[End]
[// Current AutoConnect via Edited PENetwork.ini - Wireless Profile (Need Network Profiles at Startup: UseProfiles=1)]
Run - Processed section [AutoConnectWifiProfile] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
[// Run PENetwork at Startup - Change Path in Pecmd.ini]
IF - [true] is equal to: [true] evaluated string: [If,%PENMAutoRun_CheckBox%,Equal,True,TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC %ProgramFiles%\PENetwork\PENetwork.exe","EXEC %PE_Programs%\%ProgramFolder%\%ProgramExe%"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [EXEC %ProgramFiles%\PENetwork\PENetwork.exe] with string: [EXEC Y:\Programs\PENetwork_x64\PENetwork.exe]
ELSE - [TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe","//EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe"]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[End]
|
Run - Processing section: [Add_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
Adding Registry...
IF - [true] is equal to: [true] evaluated string: [If,%PENMPromptAtStartup_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,AutoStart,0]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [AutoStart]: 0
ELSE - [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,AutoStart,1]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%PENMStartCountdown_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseStartCountdown,1]
ELSE - executing command: [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseStartCountdown,0]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [UseStartCountdown]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [StartCountdown]: 5
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMUseProfilesStartup_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseProfiles,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [UseProfiles]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseProfiles,0]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%PENMForceScanOnStartup_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,ForceScanOnStartup,1]
ELSE - executing command: [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,ForceScanOnStartup,0]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [ForceScanOnStartup]: 0
[//--]
IF - [start to tray] is not equal to: [show main window] evaluated string: [If,%PENMAfterStart_ScrollBox%,Equal,"Show main window",RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseAfterStartnet,0]
IF - [start to tray] is not equal to: [close program] evaluated string: [If,%PENMAfterStart_ScrollBox%,Equal,"Close program",RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseAfterStartnet,1]
IF - [start to tray] is equal to: [start to tray] evaluated string: [If,%PENMAfterStart_ScrollBox%,Equal,"Start to Tray",RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,StartToTray,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\PENetwork] Key [StartToTray]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,StartToTray,0]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMMinToTray_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,MinimizeToTray,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\PENetwork] Key [MinimizeToTray]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,MinimizeToTray,0]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMCloseToTray_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseToTray,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [CloseToTray]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseToTray,0]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMShowTrayActivity_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,ShowTrayActivity,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\PENetwork] Key [ShowTrayActivity]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,ShowTrayActivity,0]
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [Debug]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [EnableAutoIP]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [ForceServices]: 1
[//RegWrite,HKLM,0x1,Tmp_Software\PENetwork,FocusNo,1]
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [TopMost]: 1
[//RegWrite,HKLM,0x4,Tmp_Default\Software\PENetwork,SmallTab,0]
[//RegWrite,HKLM,0x4,Tmp_Default\Software\PENetwork,StartMode,1]
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [StartSharing]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [ShareAll]: 0
Run - Processed section [Add_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Default]
[RegHiveunLoad,Tmp_Software]
[End]
[//--]
|
Run - Processing section: [Add_Shortcuts] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - [network-] is not equal to: [-] evaluated string: [If,%PENMStartMenuFolder_TextBox%-,Equal,-,Set,%PENMStartMenuFolder_TextBox%,%StartMenuFolder%]
IF - [true] is equal to: [true] evaluated string: [If,%PENMDesktop_CheckBox%,Equal,True,AddShortcut,Desktop]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Desktop]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [desktop-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [desktop] is equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create Desktop ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [desktop] is not equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
[If,#2-,Equal,-,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
[If,#2,Equal,.,Set,#2,]
[Else,Set,#2,\#2]
[End]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
SetVar - Sucessfuly changed the value of [#3] to: [Y:\Programs\PENetwork_x64\PENetwork.exe]
StrFormat - converted [REPLACE(Y:\Programs\PENetwork_x64\PENetwork.exe,X:\Program Files)] to variable: [#3] with result: [Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [PENetwork]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [desktop] is not equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
IF - [desktop] is equal to: [desktop] evaluated string: [If,#1,Equal,Desktop,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Desktop%\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Desktop%\PENetwork,Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [true] is equal to: [true] evaluated string: [If,%PENMStartMenu_CheckBox%,Equal,True,AddShortcut,StartMenu,%PENMStartMenuFolder_TextBox%]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[Network]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create StartMenu ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
IF - [network-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
IF - [network] is not equal to: [.] evaluated string: [If,#2,Equal,.,Set,#2,]
ELSE - executing command: [Set,#2,\#2]
SetVar - Sucessfuly changed the value of [#2] to: [\Network]
[End]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
SetVar - Sucessfuly changed the value of [#3] to: [Y:\Programs\PENetwork_x64\PENetwork.exe]
StrFormat - converted [REPLACE(Y:\Programs\PENetwork_x64\PENetwork.exe,X:\Program Files)] to variable: [#3] with result: [Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [PENetwork]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Programs%\Network\PENetwork,Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,#1,Equal,Desktop,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Desktop%\#4,#3#5#6"]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [true] is equal to: [true] evaluated string: [If,%PENMStartMpin_CheckBox%,Equal,True,AddPin,StartMenu,,$Start_Menu\Programs\%PENMStartMenuFolder_TextBox%\PENetwork.lnk]
|
Run - Processing section: [MAddPin] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[],[$Start_Menu\Programs\Network\PENetwork.lnk]
[//---------- BEGIN AddPin Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [taskbar] evaluated string: [If,Not,#1,Equal,TaskBar,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddPin Can Only Pin to TaskBar or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddPin Can Only Pin to TaskBar or StartMenu",Warn,,MessageError,,Halt]
Pin Program to StartMenu
IF - [] is not equal to: [auto] evaluated string: [If,#2,Equal,Auto,Set,#2,]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Count%] to: [9]
|
Loop - Processing section: [MAddPin_FindPlace] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [0],[9],[StartMenu]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [0] [StartMenu]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu0] to variable: [%MXPE_AddPin_Read%] with value [#$pWinDir#$p\Explorer.exe||||||||]
IF - [%windir%\explorer.exe||||||||-] is not equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
[set,%MXPE_AddPin_Count%,#c]
[Loop,Break]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [StartMenu]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu1] to variable: [%MXPE_AddPin_Read%] with value []
IF - [-] is equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Count%] to: [1]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MAddPin_FindPlace] in file: [Loop,%Api%,MAddPin_FindPlace,0,9,#1]
SetVar - Sucessfuly changed the value of [#2] to: [1]
[End]
IF - [1] is not smaller than [0] evaluated string: [If,#2,Smaller,0,EchoExtended,"Error: Pin Index Value Must be Between 0 and 9",Warn,,MessageError,,Halt]
IF - [$start_menu\programs\network\penetwork.lnk-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
[If,%PE_Programs%,Equal,"X:\Program Files",Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
[Else,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#3]
[StrFormat,REPLACE,#3,App,,#3]
[StrFormat,POS,#3,\,%MXPE_Pos%]
[StrFormat,LTRIM,#3,%MXPE_Pos%,#3]
[Set,#3,$Start_Menu\Programs\#3\%ProgramTitle%.lnk]
[End]
[End]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Read%] to: []
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu1] to variable: [%MXPE_AddPin_Read%] with value []
IF - [-] is equal to: [-] evaluated string: [If,Not,%MXPE_AddPin_Read%-,Equal,-,Echo,"Pin #1#2 Already Exist. Pin #1#2=#3|||||||| Can Not be Added",Warn]
ELSE - executing command: [IniWriteTextLine,%GTarget_Sys%\pecmd.ini,PINTOOL,#1#2=#3||||||||]
IniWriteTextLine - Wrote INI text line in [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] line [StartMenu1=$Start_Menu\Programs\Network\PENetwork.lnk||||||||]
[//---------- END AddPin Macro ------------------------------]
Run - Processed section [MAddPin] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [false] is not equal to: [true] evaluated string: [If,%PENMTaskBpin_CheckBox%,Equal,True,AddPin,TaskBar,,$Start_Menu\Programs\%PENMStartMenuFolder_TextBox%\PENetwork.lnk]
Run - Processed section [Add_Shortcuts] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
|
ELSE - [TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe","//EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe"]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%Audio_CheckBox%,Equal,True,Begin]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Audio...
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\Audio_AddFiles.txt,ExtractListFiles,%ScriptDir%\Audio_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt] to variable: [#9] with result: [Audio_AddFiles.txt]
Extract Audio_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Audio_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [17763] is not bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,Audio_Bigger_18300_AddFiles]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
|
Run - Processing section: [Reg_Audio] From file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[//Complete winre.wim audio registry]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\AudioEngine]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\AudioEngine,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\AudioEngine" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Audio]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Media Center]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Media Center,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Media Center" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MACLRegKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices]
[//---------- BEGIN ACLRegKey Macro ------------------------------]
IF - [tmp_software\microsoft\windows\currentversion\mmdevices-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ACLRegKey - Missing Parameter: Key",Warn,,MessageError,,Halt]
Take Ownership and Full Access on Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices" -ot reg -rec yes -actn setowner -ownr "n:S-1-1-0;s:y" -silent]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Take Ownership on
#1
Return: %ExitCode%",Warn,,MessageError,,Halt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices" -ot reg -rec yes -actn ace -ace "n:S-1-1-0;p:full;s:y" -silent]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Full Permission on
#1
Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ACLRegKey Macro ------------------------------]
Run - Processed section [MACLRegKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//MMDevices has special rights required, Audiosrv & AudioEndpointBuilder. It can be FullControl]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows NT\CurrentVersion\drivers.desc]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows NT\CurrentVersion\drivers.desc,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows NT\CurrentVersion\drivers.desc" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows NT\CurrentVersion\Drivers32]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows NT\CurrentVersion\Drivers32,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows NT\CurrentVersion\Drivers32" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI32]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI32,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI32" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//In WinRE.wim RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Multimedia"]
[End]
[// Sound Volume Bar]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\MTCUVC] Key [EnableMtcUvc]: 0
[// Associate .mp3 with mpg123.exe]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\.mp3] Key []: mpg123
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\mpg123\DefaultIcon] Key []: %SystemRoot%\Windows\shell32.dll,-16824
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\mpg123\Shell\Open] Key []: &Play with mpg123
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\mpg123\Shell\Open] Key [Icon]: %SystemRoot%\Windows\shell32.dll,-16824
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\mpg123\Shell\Open\Command] Key []: hiderun.exe mpg123.exe -q "%1"
[//-]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Control\Class\{c166523c-fe0c-4a94-a586-f1a80cfbbf3e}]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\AudioEndpointBuilder]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\Audiosrv]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\Beep]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_System\ControlSet001\Services\Beep,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\Beep" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\HDAudBus]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\MMCSS]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\volmgr]
Run - Processed section [Reg_Audio] in file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,%Shell%,Equal,WinXShell,ACLRegKey,Tmp_Drivers]
|
Run - Processing section: [Reg_AudioDrivers] From file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Audio_RegDrivers.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Audio_RegDrivers.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Audio_RegDrivers.txt] to variable: [#9] with result: [Audio_RegDrivers.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Audio_RegDrivers.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Audio_RegDrivers.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\bda.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\bda.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\bda.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//In winre.wim RegCopyKey,HKLM,Tmp_Drivers\DriverDatabase\DriverInfFiles\c_media.inf]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\gameport.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\gameport.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\gameport.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\ks.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\ks.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\ks.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\kscaptur.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\kscaptur.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\kscaptur.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\ksfilter.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\ksfilter.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\ksfilter.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\modemcsa.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\modemcsa.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\modemcsa.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\usbvideo.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\usbvideo.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\usbvideo.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverInfFiles\wave.inf]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverInfFiles\wave.inf,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverInfFiles\wave.inf" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[bda.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "bda.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//In winre.wim RegCopyKey,HKLM,Tmp_Drivers\DriverDatabase\DriverPackages,c_media.inf*]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[gameport.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "gameport.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[ks.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "ks.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[kscaptur.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "kscaptur.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[ksfilter.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "ksfilter.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[modemcsa.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "modemcsa.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[usbvideo.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "usbvideo.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Drivers\DriverDatabase\DriverPackages],[wave.inf*]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Drivers\DriverDatabase\DriverPackages,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "wave.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Reg_AudioDrivers] in file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script]
IF - [false] is not equal to: [true] evaluated string: [If,%SoundEvents_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\SoundEvents.Script,Process,HiveLoaded]
[End]
IF - [true] is equal to: [true] evaluated string: [If,%Msi_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Msi.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Msi...
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script],[Msi_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] to variable: [#9] with result: [Msi.Script]
IF - File does not exist: [%BaseDir%\Temp\Msi_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\Msi.Script" Msi_AddFiles "%BaseDir%\Temp\Msi_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Msi_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Msi_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\Msi_AddFiles.txt] to variable: [#9] with result: [Msi_AddFiles.txt]
Extract Msi_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\Msi_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Msi_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Msi_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,ExtractSectionFiles,%ScriptFile%,Msix64_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script],[Msix64_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] to variable: [#9] with result: [Msi.Script]
IF - File does not exist: [%BaseDir%\Temp\Msix64_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\Msi.Script" Msix64_AddFiles "%BaseDir%\Temp\Msix64_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Msix64_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Msix64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\Msix64_AddFiles.txt] to variable: [#9] with result: [Msix64_AddFiles.txt]
Extract Msix64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\Msix64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Msix64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Msix64_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_System,%RegSystem%]
[End]
|
Run - Processing section: [Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSoftware.txt] evaluated string: [If,ExistFile,%ScriptDir%\Msi_RegSoftware.txt,RegImportFile,%ScriptDir%\Msi_RegSoftware.txt]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSoftware.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSoftware.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSoftware.txt] to variable: [#9] with result: [Msi_RegSoftware.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Msi_RegSoftware.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Msi_RegSoftware.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,Begin]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi6432_RegSoftware.txt] evaluated string: [If,ExistFile,%ScriptDir%\Msi6432_RegSoftware.txt,RegImportFile,%ScriptDir%\Msi6432_RegSoftware.txt]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Msi6432_RegSoftware.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi6432_RegSoftware.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Msi6432_RegSoftware.txt] to variable: [#9] with result: [Msi6432_RegSoftware.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Msi6432_RegSoftware.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Msi6432_RegSoftware.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[End]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSystem.txt] evaluated string: [If,ExistFile,%ScriptDir%\Msi_RegSystem.txt,RegImportFile,%ScriptDir%\Msi_RegSystem.txt]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSystem.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSystem.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Msi_RegSystem.txt] to variable: [#9] with result: [Msi_RegSystem.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\Msi_RegSystem.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File Msi_RegSystem.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Software]
[RegHiveunLoad,Tmp_System]
[End]
[//-]
IF - File exists: [%BaseDir%\Target\Windows\System32\autorun.cmd] evaluated string: [If,ExistFile,%GTarget_Sys%\autorun.cmd,Run,%ScriptFile%,AutorunRegsvr32]
|
Run - Processing section: [AutorunRegsvr32] From file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Target\Windows\System32\autorun.cmd] string [Exit]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: :: Register Msi Windows Installer Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: If Exist %WinDir%\System32\Msi.dll (%WinDir%\System32\Regsvr32.exe /S %WinDir%\System32\Msi.dll) Option: Append
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%GTarget_Sys%\autorun.cmd,"If Exist %WinDir%\SysWOW64\Msi.dll (%WinDir%\SysWOW64\Regsvr32.exe /S %WinDir%\SysWOW64\Msi.dll)",Append]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: If Exist %WinDir%\SysWOW64\Msi.dll (%WinDir%\SysWOW64\Regsvr32.exe /S %WinDir%\SysWOW64\Msi.dll) Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: Exit Option: Append
Run - Processed section [AutorunRegsvr32] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
|
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%Accessibility_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Accessibility.Script,Process,HiveLoaded]
ELSE - executing command: [Begin]
AddVariables - Added section [TargetBasePath] from file [%BaseDir%\Projects\Win10XPE\script.project] into the local variable list
IF - File exists: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\Ease of Access Center.lnk] evaluated string: [If,ExistFile,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Ease of Access Center.lnk",FileDelete,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Ease of Access Center.lnk"]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\Ease of Access Center.lnk]
[End]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%WinApps_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\WinApps.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing WinApps...
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_AppsCommon_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_AppsCommon_AddFiles "%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt] to variable: [#9] with result: [WinApps_AppsCommon_AddFiles.txt]
Extract WinApps_AppsCommon_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_AppsCommon_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_Paint_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_Paint_AddFiles "%BaseDir%\Temp\WinApps_Paint_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt] to variable: [#9] with result: [WinApps_Paint_AddFiles.txt]
Extract WinApps_Paint_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\WinApps_Paint_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_Paint_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_Wordpad_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_Wordpad_AddFiles "%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt] to variable: [#9] with result: [WinApps_Wordpad_AddFiles.txt]
Extract WinApps_Wordpad_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_Wordpad_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
[// To stay light, PhotoViewer, SnippingTool are not included with WinXShell. Otherwise we need to find files other dependencies and registries]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,Not,%Shell%,Equal,WinXShell,Begin]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_PhotoViewer_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_PhotoViewer_AddFiles "%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt] to variable: [#9] with result: [WinApps_PhotoViewer_AddFiles.txt]
Extract WinApps_PhotoViewer_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_PhotoViewer_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_SnippingTool_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_SnippingTool_AddFiles "%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt] to variable: [#9] with result: [WinApps_SnippingTool_AddFiles.txt]
Extract WinApps_SnippingTool_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_SnippingTool_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[// tipresx.dll.mui Exist in All Language Folders (for SnippingTool)]
|
Run - Processing section: [MExtractWimFileMui] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll]
[//---------- BEGIN ExtractWimFileMui Macro ------------------------------]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\program files\common files\microsoft shared\ink\tipresx.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Program Files\Common Files\microsoft shared\ink\tipresx.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll] to variable: [#8] with result: [tipresx.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Program Files\Common Files\microsoft shared\ink\tipresx.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Program Files\Common Files\microsoft shared\ink\tipresx.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
[//-]
Extract tipresx.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Program Files\Common Files\microsoft shared\ink\tipresx.dll" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract tipresx.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
StrFormat - converted: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll] to variable: [#9] with result: [\Program Files\Common Files\microsoft shared\ink\]
IF - [\program files\common files\microsoft shared\ink\] is not equal to: [\] evaluated string: [If,Not,#9,Equal,\,StrFormat,CTRIM,#9,\,#9]
StrFormat - converted [CTRIM(\Program Files\Common Files\microsoft shared\ink\)] to variable: [#9] with result: [Program Files\Common Files\microsoft shared\ink]
StrFormat - converted: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll] to variable: [#8] with result: [tipresx.dll]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Program Files\Common Files\microsoft shared\ink\tipresx.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Program Files\Common Files\microsoft shared\ink\tipresx.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#4] with result: [2]
[//-]
|
Loop - Processing section: [MExtractWimFileMuiLoop] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1],[2],[Program Files\Common Files\microsoft shared\ink],[tipresx.dll],[],[6],[--no-globs --preserve-dir-structure]
|
Iteration - Processing section: [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [Program Files\Common Files\microsoft shared\ink],[tipresx.dll],[],[6],[--no-globs --preserve-dir-structure]
StrFormat - converted [Split(fr-FR|en-US,|)] to variable: [#9] with result: [fr-FR]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#3\#9]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Program Files\Common Files\microsoft shared\ink\fr-FR\tipresx.dll.mui" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
[//Echo,"Wimlib Extract #1\#9\#2.mui from Install.wim Return: %ExitCode%"]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Target\Program Files\Common Files\microsoft shared\ink\fr-FR\tipresx.dll.mui] evaluated string: [If,ExistFile,%GTarget%\#1\#9\#2.mui,Loop,BREAK]
[End]
ELSE - [Begin]
[If,ExistFile,#7\#2.mui,Loop,BREAK]
[End]
Iteration - Processed section [MExtractWimFileMuiLoop] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MExtractWimFileMuiLoop] in file: [Loop,%API%,MExtractWimFileMuiLoop,1,#4,#9,#8,#2,#6,#5]
[End]
[//---------- END ExtractWimFileMui Macro ------------------------------]
Run - Processed section [MExtractWimFileMui] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[//-]
IF - [17763] is bigger than [17000] evaluated string: [If,%SourceBuild%,Bigger,17000,ExtractWimFile,\Windows\System32\coloradapterclient.dll]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\coloradapterclient.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\coloradapterclient.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\System32\coloradapterclient.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Windows\System32\coloradapterclient.dll] to variable: [#8] with result: [coloradapterclient.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [6]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\coloradapterclient.dll,*)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,StrFormat,POS,#1,?,%MXPE_Pos%]
StrFormat - converted [POS(\Windows\System32\coloradapterclient.dll,?)] to variable: [%MXPE_Pos%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_Pos%,Equal,0,Set,#5,--no-globs]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs]
ELSE - [Set,#5,--nullglob]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#5,"#5 --preserve-dir-structure"]
SetVar - Sucessfuly changed the value of [#5] to: [--no-globs --preserve-dir-structure]
[//-]
Extract coloradapterclient.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 "\Windows\System32\coloradapterclient.dll" --dest-dir="%BaseDir%\Target" --no-acls --no-globs --preserve-dir-structure]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
Wimlib Extract coloradapterclient.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q #6 #$q#1#$q --dest-dir=#$q#7#$q --no-acls #5"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,%ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode% - File Not Found",Warn]
[Else,If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
|
Run - Processing section: [Enable_Shorcuts] From file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessibility\OSK] with string: [LINK %Programs%\Accessibility\OSK]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\MSPaint] with string: [LINK %Programs%\Accessories\MSPaint]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\WordPad] with string: [LINK %Programs%\Accessories\WordPad]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Begin]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\PhotoViewer] with string: [LINK %Programs%\Accessories\PhotoViewer]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\SnippingTool] with string: [LINK %Programs%\Accessories\SnippingTool]
[End]
Run - Processed section [Enable_Shorcuts] in file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,RegHiveLoad,Tmp_Software,%RegSoftware%]
|
Run - Processing section: [Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
[// WordPad association (TextFile) and PhotoViewer.FileAssoc.Tiff]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps_RegSoftware.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps_RegSoftware.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps_RegSoftware.txt] to variable: [#9] with result: [WinApps_RegSoftware.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\WinApps_RegSoftware.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File WinApps_RegSoftware.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,RegHiveunLoad,Tmp_Software]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script]
|
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%ImDisk_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\ImDisk.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing ImDisk...
|
Run - Processing section: [AddFiles_ImDisk] From file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_x64.7z] evaluated string: [If,ExistFile,%ScriptDir%\ImDisk_%Architecture%.7z,ShellExecute,Hide,%GTools%\7z.exe,"x "%ScriptDir%\ImDisk_%Architecture%.7z" -y -o"%GTarget%""]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\ImDisk_x64.7z" -y -o"%BaseDir%\Target"]
Run - Processed section [AddFiles_ImDisk] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_System,%RegSystem%]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[End]
|
Run - Processing section: [ImDisk_Reg] From file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt] evaluated string: [If,ExistFile,%ScriptDir%\ImDisk_Reg.txt,RegImportFile,%ScriptDir%\ImDisk_Reg.txt]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt] to variable: [#9] with result: [ImDisk_Reg.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File ImDisk_Reg.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce] Key [BroadcastEnvChange]: hiderun.exe /w BroadcastEnvChange.exe /broadcast
Run - Processed section [ImDisk_Reg] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Software]
[RegHiveunLoad,Tmp_System]
[RegHiveUnLoad,Tmp_Default]
[End]
|
Run - Processing section: [Enable_In_Pecmdini] From file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC @!%WinDir%\System32\StartImDIsk.exe] with string: [EXEC @!%WinDir%\System32\StartImDIsk.exe]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\System Tools\ImDisk] with string: [LINK %Programs%\System Tools\ImDisk]
Run - Processed section [Enable_In_Pecmdini] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
|
[//-]
IF - [fr-fr] is not equal to: [ko-kr] evaluated string: [If,%Language%,Equal,ko-KR,Exec,%ProjectDir%\Features\ImeKR.Script,Process,HiveLoaded]
IF - [fr-fr] is not equal to: [zh-cn] evaluated string: [If,%Language%,Equal,zh-CN,Exec,%ProjectDir%\Features\ImeTC.Script,Process,HiveLoaded]
IF - [fr-fr] is not equal to: [zh-hk] evaluated string: [If,%Language%,Equal,zh-HK,Exec,%ProjectDir%\Features\ImeTC.Script,Process,HiveLoaded]
IF - [fr-fr] is not equal to: [zh-tw] evaluated string: [If,%Language%,Equal,zh-TW,Exec,%ProjectDir%\Features\ImeTC.Script,Process,HiveLoaded]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%Admin_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Admin.Script,Process,HiveLoaded]
IF - [true] is equal to: [true] evaluated string: [If,%IE11_CheckBox%,Equal,True,Begin]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script] evaluated string: [If,ExistFile,%ProjectDir%\Features\IE11.Script,Exec,%ProjectDir%\Features\IE11.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Internet Explorer 11...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfacePENetwork,""]
AddInterface - Added section [InterfacePENetwork] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
|
Run - Processing section: [MRunFromRAM] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN RunFromRAM Macro ------------------------------]
SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\Target\Program Files]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [X:\Program Files]
[//---------- END RunFromRAM Macro ------------------------------]
Run - Processed section [MRunFromRAM] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script],[IE11_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\IE11.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script] to variable: [#9] with result: [IE11.Script]
IF - File does not exist: [%BaseDir%\Temp\IE11_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\IE11.Script" IE11_AddFiles "%BaseDir%\Temp\IE11_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\IE11_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\IE11_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\IE11_AddFiles.txt] to variable: [#9] with result: [IE11_AddFiles.txt]
Extract IE11_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Temp\IE11_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract IE11_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\IE11_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//--]
[// Add Favorites]
IF - Directory does not exist: [%BaseDir%\Custom\IE11_Favorites] evaluated string: [If,ExistDir,%GCustom%\IE11_Favorites,Retrieve,FOLDERSIZE,%GCustom%\IE11_Favorites,%IE11_FavoritesSize%]
IF - [%ie11_favoritessize%] is not bigger than [1] evaluated string: [If,%IE11_FavoritesSize%,Bigger,1,Begin]
[If,Not,ExistDir,%GTarget%\Users\Default\Favorites,DirMake,%GTarget%\Users\Default\Favorites]
[FileCopy,%GCustom%\IE11_Favorites\*,%GTarget%\Users\Default\Favorites]
[End]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[End]
[//--]
Add IE11 Registry...
|
Run - Processing section: [IE11_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
IF - [false] is equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\MediaFoundation]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\MediaFoundation,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Classes\MediaFoundation" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Macromedia]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Macromedia,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Macromedia" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Internet Explorer]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Internet Explorer,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Internet Explorer" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows\CurrentVersion\Internet Settings]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Microsoft\Windows\CurrentVersion\Internet Settings,4)] to variable: [#9] with result: [Tmp_]
IF - [tmp_] is equal to: [tmp_] evaluated string: [If,Not,#9,Equal,Tmp_,EchoExtended,"Error: RegCopyKey, the Main Key Must Start with Tmp_
#2",Warn,,MessageError,,Halt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C CopyRegKey.cmd "Tmp_Software\Microsoft\Windows\CurrentVersion\Internet Settings" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[// IE11_AddReg.txt if needed]
IF - File does not exist: [%BaseDir%\Projects\Win10XPE\Features\IE11_AddReg.txt] evaluated string: [If,ExistFile,%ScriptDir%\IE11_AddReg.txt,RegImportFile,%ScriptDir%\IE11_AddReg.txt]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Policies\Microsoft\Internet Explorer\Main] Key [DisableFirstRunCustomize]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [EnableAutoUpgrade]: 0
RegWrite - Overwrote existing key "http://go.microsoft.com/fwlink/p/?LinkId=255141" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [Default_Page_URL]: https://www.google.com/
RegWrite - Overwrote existing key "http://go.microsoft.com/fwlink/?LinkId=54896" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [Default_Search_URL]: https://www.google.com
RegWrite - Overwrote existing key "http://go.microsoft.com/fwlink/?LinkId=54896" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [Search Page]: https://www.google.com
RegWrite - Overwrote existing key "http://go.microsoft.com/fwlink/p/?LinkId=255141" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [Start Page]: https://www.google.com/
[//-]
[//- Thanks To Bob.Omb For Registry Trick For Pure IE11_x64]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
RegWrite - Overwrote existing key "x:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [x86AppPath]: X:\Program Files\Internet Explorer\IEXPLORE.EXE
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Internet Explorer\Main] Key [TabProcGrowth]: 0
[End]
[//-]
IF - [https://www.google.com-] is not equal to: [-] evaluated string: [If,Not,%HomePage_TextBox%-,Equal,-,RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\Internet Explorer\Main","Start Page",%HomePage_TextBox%]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main] Key [Start Page]: https://www.google.com
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main] Key [AlwaysShowMenus]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main] Key [CompatibilityFlags]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main] Key [Enable Browser Extensions]: yes
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main] Key [Window_Placement]: 2c,00,00,00,02,00,00,00,03,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,04,00,00,d8,02,00,00
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\BrowserEmulation] Key [AllSitesCompatibilityMode]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\DomainSuggestion] Key [NextUpdateDate]: 230571383
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN] Key [iexplore.exe]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Privacy] Key [ClearBrowsingHistoryOnExit]: 1
[//-]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [WarnOnClose]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [OpenAllHomePages]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [OpenInForeground]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [Groups]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [ThumbnailBehavior]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [NewTabPageShow]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [PopupsUseNewWindow]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [ShortcutBehavior]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [NTPMigrationVer]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\TabbedBrowsing] Key [NTPFirstRun]: 1
[//-]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Policies\Microsoft\Internet Explorer\Restrictions] Key [NoHelpItemSendFeedback]: 1
[//-]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu] Key [{871C5380-42A0-1069-A2EA-08002B30309D}]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] Key [{871C5380-42A0-1069-A2EA-08002B30309D}]: 0
Run - Processed section [IE11_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
Add Google Search Engine...
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\IE11.Script] evaluated string: [If,ExistSection,%ScriptFile%,%Search_ScrollBox%_SearchEngine,Run,%ScriptFile%,%Search_ScrollBox%_SearchEngine]
|
Run - Processing section: [Google_SearchEngine] From file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Main] Key [Search Page]: https://www.google.com
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes] Key [DefaultScope]: {B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [DisplayName]: Google
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [OSDFileURL]: https://www.microsoft.com/cms/api/am/binary/RWiNsg
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [FaviconPath]: C:\Users\ChrisR\AppData\LocalLow\Microsoft\Internet Explorer\Services\search_{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}.ico
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [FaviconURL]: https://www.google.com/favicon.ico
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [ShowSearchSuggestions]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [URL]: https://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{B0AAC444-A3CD-4A2D-A12F-DE0DAED014E3}] Key [SuggestionsURL]: https://www.google.com/complete/search?q={searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}
Run - Processed section [Google_SearchEngine] in file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
ELSE - [Run,%ScriptFile%,Google_SearchEngine]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Default]
[RegHiveunLoad,Tmp_Software]
[End]
[//--]
|
Run - Processing section: [IE11_Shortcuts] From file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
IF - [network-] is not equal to: [-] evaluated string: [If,%IE11StartMenuFolder_TextBox%-,Equal,-,Set,%IE11StartMenuFolder_TextBox%,%StartMenuFolder%]
IF - [true] is equal to: [true] evaluated string: [If,%IE11Desktop_CheckBox%,Equal,True,AddShortcut,Desktop,,%ProgramFiles%\Internet Explorer\iexplore.exe]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Desktop],[],[#$pProgramFiles#$p\Internet Explorer\iexplore.exe]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [desktop-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [desktop] is equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create Desktop ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [desktop] is not equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
[If,#2-,Equal,-,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
[If,#2,Equal,.,Set,#2,]
[Else,Set,#2,\#2]
[End]
IF - [%programfiles%\internet explorer\iexplore.exe-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
StrFormat - converted [REPLACE(%ProgramFiles%\Internet Explorer\iexplore.exe,X:\Program Files)] to variable: [#3] with result: [%ProgramFiles%\Internet Explorer\iexplore.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [Internet Explorer]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [desktop] is not equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
IF - [desktop] is equal to: [desktop] evaluated string: [If,#1,Equal,Desktop,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Desktop%\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Desktop%\Internet Explorer,%ProgramFiles%\Internet Explorer\iexplore.exe]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [true] is equal to: [true] evaluated string: [If,%IE11StartMenu_CheckBox%,Equal,True,AddShortcut,StartMenu,%IE11StartMenuFolder_TextBox%,%ProgramFiles%\Internet Explorer\iexplore.exe]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[Network],[#$pProgramFiles#$p\Internet Explorer\iexplore.exe]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create StartMenu ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
IF - [network-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
IF - [network] is not equal to: [.] evaluated string: [If,#2,Equal,.,Set,#2,]
ELSE - executing command: [Set,#2,\#2]
SetVar - Sucessfuly changed the value of [#2] to: [\Network]
[End]
IF - [%programfiles%\internet explorer\iexplore.exe-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
StrFormat - converted [REPLACE(%ProgramFiles%\Internet Explorer\iexplore.exe,X:\Program Files)] to variable: [#3] with result: [%ProgramFiles%\Internet Explorer\iexplore.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [Internet Explorer]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Programs%\Network\Internet Explorer,%ProgramFiles%\Internet Explorer\iexplore.exe]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,#1,Equal,Desktop,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Desktop%\#4,#3#5#6"]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [true] is equal to: [true] evaluated string: [If,%IE11StartMpin_CheckBox%,Equal,True,AddPin,StartMenu,,$Start_Menu\Programs\%IE11StartMenuFolder_TextBox%\Internet Explorer.lnk]
|
Run - Processing section: [MAddPin] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[],[$Start_Menu\Programs\Network\Internet Explorer.lnk]
[//---------- BEGIN AddPin Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [taskbar] evaluated string: [If,Not,#1,Equal,TaskBar,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddPin Can Only Pin to TaskBar or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddPin Can Only Pin to TaskBar or StartMenu",Warn,,MessageError,,Halt]
Pin Program to StartMenu
IF - [] is not equal to: [auto] evaluated string: [If,#2,Equal,Auto,Set,#2,]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Count%] to: [9]
|
Loop - Processing section: [MAddPin_FindPlace] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [0],[9],[StartMenu]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [0] [StartMenu]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu0] to variable: [%MXPE_AddPin_Read%] with value [#$pWinDir#$p\Explorer.exe||||||||]
IF - [%windir%\explorer.exe||||||||-] is not equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
[set,%MXPE_AddPin_Count%,#c]
[Loop,Break]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [StartMenu]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu1] to variable: [%MXPE_AddPin_Read%] with value [$Start_Menu\Programs\Network\PENetwork.lnk||||||||]
IF - [$start_menu\programs\network\penetwork.lnk||||||||-] is not equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
[set,%MXPE_AddPin_Count%,#c]
[Loop,Break]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [2] [StartMenu]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu2] to variable: [%MXPE_AddPin_Read%] with value []
IF - [-] is equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Count%] to: [2]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MAddPin_FindPlace] in file: [Loop,%Api%,MAddPin_FindPlace,0,9,#1]
SetVar - Sucessfuly changed the value of [#2] to: [2]
[End]
IF - [2] is not smaller than [0] evaluated string: [If,#2,Smaller,0,EchoExtended,"Error: Pin Index Value Must be Between 0 and 9",Warn,,MessageError,,Halt]
IF - [$start_menu\programs\network\internet explorer.lnk-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
[If,%PE_Programs%,Equal,"X:\Program Files",Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
[Else,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#3]
[StrFormat,REPLACE,#3,App,,#3]
[StrFormat,POS,#3,\,%MXPE_Pos%]
[StrFormat,LTRIM,#3,%MXPE_Pos%,#3]
[Set,#3,$Start_Menu\Programs\#3\%ProgramTitle%.lnk]
[End]
[End]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Read%] to: []
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [StartMenu2] to variable: [%MXPE_AddPin_Read%] with value []
IF - [-] is equal to: [-] evaluated string: [If,Not,%MXPE_AddPin_Read%-,Equal,-,Echo,"Pin #1#2 Already Exist. Pin #1#2=#3|||||||| Can Not be Added",Warn]
ELSE - executing command: [IniWriteTextLine,%GTarget_Sys%\pecmd.ini,PINTOOL,#1#2=#3||||||||]
IniWriteTextLine - Wrote INI text line in [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] line [StartMenu2=$Start_Menu\Programs\Network\Internet Explorer.lnk||||||||]
[//---------- END AddPin Macro ------------------------------]
Run - Processed section [MAddPin] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [true] is equal to: [true] evaluated string: [If,%IE11TaskBpin_CheckBox%,Equal,True,AddPin,TaskBar,,$Start_Menu\Programs\%IE11StartMenuFolder_TextBox%\Internet Explorer.lnk]
|
Run - Processing section: [MAddPin] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [TaskBar],[],[$Start_Menu\Programs\Network\Internet Explorer.lnk]
[//---------- BEGIN AddPin Macro ------------------------------]
IF - [taskbar-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [taskbar] is equal to: [taskbar] evaluated string: [If,Not,#1,Equal,TaskBar,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddPin Can Only Pin to TaskBar or StartMenu",Warn,,MessageError,,Halt]
Pin Program to TaskBar
IF - [] is not equal to: [auto] evaluated string: [If,#2,Equal,Auto,Set,#2,]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Count%] to: [9]
|
Loop - Processing section: [MAddPin_FindPlace] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [0],[9],[TaskBar]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [0] [TaskBar]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [TaskBar0] to variable: [%MXPE_AddPin_Read%] with value [#$pSystemRoot#$p\System32\cmd.exe||||||||]
IF - [%systemroot%\system32\cmd.exe||||||||-] is not equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
[set,%MXPE_AddPin_Count%,#c]
[Loop,Break]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Iteration - Processing section: [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [TaskBar]
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [TaskBar1] to variable: [%MXPE_AddPin_Read%] with value []
IF - [-] is equal to: [-] evaluated string: [If,%MXPE_AddPin_Read%-,Equal,-,begin]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Count%] to: [1]
[End]
Iteration - Processed section [MAddPin_FindPlace] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MAddPin_FindPlace] in file: [Loop,%Api%,MAddPin_FindPlace,0,9,#1]
SetVar - Sucessfuly changed the value of [#2] to: [1]
[End]
IF - [1] is not smaller than [0] evaluated string: [If,#2,Smaller,0,EchoExtended,"Error: Pin Index Value Must be Between 0 and 9",Warn,,MessageError,,Halt]
IF - [$start_menu\programs\network\internet explorer.lnk-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Begin]
[If,%PE_Programs%,Equal,"X:\Program Files",Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
[Else,Begin]
[StrFormat,POS,%ScriptDir%,\App,%MXPE_Pos%]
[StrFormat,LTRIM,%ScriptDir%,%MXPE_Pos%,#3]
[StrFormat,REPLACE,#3,App,,#3]
[StrFormat,POS,#3,\,%MXPE_Pos%]
[StrFormat,LTRIM,#3,%MXPE_Pos%,#3]
[Set,#3,$Start_Menu\Programs\#3\%ProgramTitle%.lnk]
[End]
[End]
SetVar - Sucessfuly changed the value of [%MXPE_AddPin_Read%] to: []
IniRead - [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] Key [TaskBar1] to variable: [%MXPE_AddPin_Read%] with value []
IF - [-] is equal to: [-] evaluated string: [If,Not,%MXPE_AddPin_Read%-,Equal,-,Echo,"Pin #1#2 Already Exist. Pin #1#2=#3|||||||| Can Not be Added",Warn]
ELSE - executing command: [IniWriteTextLine,%GTarget_Sys%\pecmd.ini,PINTOOL,#1#2=#3||||||||]
IniWriteTextLine - Wrote INI text line in [%BaseDir%\Target\Windows\System32\pecmd.ini] Section [PINTOOL] line [TaskBar1=$Start_Menu\Programs\Network\Internet Explorer.lnk||||||||]
[//---------- END AddPin Macro ------------------------------]
Run - Processed section [MAddPin] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [IE11_Shortcuts] in file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\IE11.Script]
[End]
IF - [false] is not equal to: [true] evaluated string: [If,%DotNET_CheckBox%,Equal,True,Begin]
[If,ExistFile,%ProjectDir%\Features\DotNET.Script,Exec,%ProjectDir%\Features\DotNET.Script,Process,HiveLoaded]
[End]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Core Options...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfaceMain,""]
AddInterface - Added section [InterfaceMain] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfaceOption,""]
AddInterface - Added section [InterfaceOption] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
[//--]
|
Run - Processing section: [OptionsPlay] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
Integrate Options...
[// 0=Always combine, hide labels, 1=Combine when taskbar is full,2=Never combine]
IF - [1] is not equal to: [0] evaluated string: [If,%Taskbar_Button%,Equal,0,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,0]
IF - [1] is equal to: [1] evaluated string: [If,%Taskbar_Button%,Equal,1,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] Key [TaskbarGlomLevel]: 1
IF - [1] is not equal to: [2] evaluated string: [If,%Taskbar_Button%,Equal,2,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,2]
[// Hide Taskbar For Fullscreen Use - Following Oscar]
IF - [false] is not equal to: [true] evaluated string: [If,%HideTaskbar_CheckBox%,Equal,True,RegWrite,HKLM,0x3,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3,Settings,30,00,00,00,fe,ff,ff,ff,03,00,00,00,03,00,00,00,9b,00,00,00,64,00,00,00,00,00,00,00,0c,08,00,00,00,0f,00,00,70,08,00,00,f0,00,00,00,01,00,00,00]
[// Automtically expand to current folder]
IF - [true] is equal to: [true] evaluated string: [If,%ExpandCurDir_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,NavPaneExpandToCurrentFolder,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] Key [NavPaneExpandToCurrentFolder]: 1
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,NavPaneExpandToCurrentFolder,0]
[// Show My Computer on Desktop]
IF - [true] is equal to: [true] evaluated string: [If,%Computer_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{20D04FE0-3AEA-1069-A2D8-08002B30309D},0]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] Key [{20D04FE0-3AEA-1069-A2D8-08002B30309D}]: 0
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{20D04FE0-3AEA-1069-A2D8-08002B30309D},1]
[// Open the Ribbon by default]
IF - [true] is equal to: [true] evaluated string: [If,%Ribbon_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon,MinimizedStateTabletModeOff,0]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon] Key [MinimizedStateTabletModeOff]: 0
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon,MinimizedStateTabletModeOff,1]
[// StartIsBack Display as flyout menu (Windows XP style) value 0/1]
IF - [true] is equal to: [true] evaluated string: [If,%SIBFlyoutMenu_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,AllProgramsFlyout,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [AllProgramsFlyout]: 1
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,AllProgramsFlyout,0]
[// StartIsBack Style Menu Windows 10]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [AlterStyle]: X:\Program Files\StartIsBack\Styles\Plain8.msstyles
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [TaskbarStyle]: X:\Program Files\StartIsBack\Styles\Plain8.msstyles
[// StartIsBack Start Menu Opaque]
IF - [false] is not equal to: [true] evaluated string: [If,%SIBOpaque_CheckBox%,Equal,True,Begin]
[RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,StartMenuAlpha,255]
[RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,StartMenuBlur,2]
[RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,StartMenuColor,-1]
[RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,TaskbarAlpha,255]
[RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,TaskbarBlur,0]
[RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,TaskbarColor,-1]
[End]
[// Explorer Dark or Light Theme]
IF - [17763] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,Begin]
IF - [false] is not equal to: [true] evaluated string: [If,%DarkTheme_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize,AppsUseLightTheme,0]
ELSE - executing command: [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize,AppsUseLightTheme,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize] Key [AppsUseLightTheme]: 1
IF - [true] is equal to: [true] evaluated string: [If,%DarkThemeShortcut_CheckBox%,Equal,True,Begin]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Desktop%\Change Explorer Theme] with string: [LINK %Desktop%\Change Explorer Theme]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\System Tools\Change Explorer Theme] with string: [LINK %Programs%\System Tools\Change Explorer Theme]
[End]
[End]
[// Show Touch Keyboard Button. Accessibility must be enabled]
IF - [truetrue] is equal to: [truetrue] evaluated string: [If,%TouchKeyboard_CheckBox%%WinApps_CheckBox%,Equal,TrueTrue,Begin]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt] evaluated string: [If,ExistFile,%ProjectDir%\Features\Osk_AddFiles.txt,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt] to variable: [#9] with result: [Osk_AddFiles.txt]
Extract Osk_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "E:\sources\install.wim" 6 @"%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Osk_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCopy - Copied [%BaseDir%\Projects\Win10XPE\Features\OskTray_x64.exe] to: [%BaseDir%\Target\Windows\System32\OskTray.exe]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessibility\OSK] with string: [LINK %Programs%\Accessibility\OSK]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC %WinDir%\System32\OskTray.exe] with string: [EXEC %WinDir%\System32\OskTray.exe]
[End]
[End]
IF - [0] is not equal to: [1] evaluated string: [If,%ComputerName_RadioGroup%,Equal,1,Begin]
[Run,%ScriptFile%,CheckComputerName]
[Run,%ScriptFile%,RegComputerName]
[End]
|
Run - Processing section: [NumLock] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [true] is equal to: [true] evaluated string: [If,%NumLock_CheckBox%,Equal,True,Set,%Numlock%,2]
SetVar - Sucessfuly changed the value of [%Numlock%] to: [2]
ELSE - [Begin]
[Set,%Numlock%,2147483648]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"NUMK 1","NUMK 0"]
[End]
System,ErrorOff
RegWrite - Overwrote existing key "2147483648" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Keyboard] Key [InitialKeyboardIndicators]: 2
Run - Processed section [NumLock] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Run,%ScriptFile%,PowerOptions]
|
Run - Processing section: [PowerOptions] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
SetVar - Sucessfuly changed the value of [%MonitorDC%] to: [14]
SetVar - Sucessfuly changed the value of [%MonitorAC%] to: [0]
SetVar - Sucessfuly changed the value of [%DiskDC%] to: [20]
SetVar - Sucessfuly changed the value of [%DiskAC%] to: [0]
StrFormat - converted: [mult,60] to variable: [%MonitorDC%] with result: [840]
StrFormat - converted: [mult,60] to variable: [%MonitorAC%] with result: [0]
StrFormat - converted: [mult,60] to variable: [%DiskDC%] with result: [1200]
StrFormat - converted: [mult,60] to variable: [%DiskAC%] with result: [0]
[// Monitor Timeout]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\7516b95f-f776-4464-8c53-06167f40cc99\3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e] Key [ACSettingIndex]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\7516b95f-f776-4464-8c53-06167f40cc99\3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e] Key [DCSettingIndex]: 840
[// Disk Timeout]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\0012ee47-9041-4b5d-9b77-535fba8b1442\6738e2c4-e8a5-4a42-b16a-e040e769756e] Key [ACSettingIndex]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\0012ee47-9041-4b5d-9b77-535fba8b1442\6738e2c4-e8a5-4a42-b16a-e040e769756e] Key [DCSettingIndex]: 1200
[// Disable USB Selective suspend on battery]
IF - [true] is equal to: [true] evaluated string: [If,%USBsuspendDC_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226,DCSettingIndex,0]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226] Key [DCSettingIndex]: 0
ELSE - [RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226,DCSettingIndex,1]
[// Disable USB Selective suspend plugged in]
IF - [true] is equal to: [true] evaluated string: [If,%USBsuspendAC_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226,ACSettingIndex,0]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226] Key [ACSettingIndex]: 0
ELSE - [RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226,ACSettingIndex,1]
[// Sleep Button To Turn Off Screen]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\4f971e89-eebd-4455-a8de-9e59040e7347\96996bc0-ad50-47ec-923b-6f41874dd9eb] Key [ACSettingIndex]: 4
Run - Processed section [PowerOptions] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
|
Run - Processing section: [ControlVolume] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [false] is equal to: [false] evaluated string: [If,%Mute_CheckBox%,Equal,False,Begin]
SetVar - Sucessfuly changed the value of [%Volume%] to: [33]
StrFormat - converted: [mult,65535] to variable: [%Volume%] with result: [2162655]
StrFormat - converted: [div,100] to variable: [%Volume%] with result: [21626]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC=!%WinDir%\System32\nircmd.exe setsysvolume 21626] with string: [EXEC=!%WinDir%\System32\nircmd.exe setsysvolume 21626]
[End]
ELSE - [Begin]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC @!%WinDir%\System32\mpg123.exe","//EXEC @!%WinDir%\System32\mpg123.exe"]
[End]
Run - Processed section [ControlVolume] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
|
Run - Processing section: [FitWallpaper] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
[// Default Fill. Win10 Center and Fit position Not Used Here]
IF - [fill] is not equal to: [stretch] evaluated string: [If,%Position_ScrollBox%,Equal,Stretch,Run,%ScriptFile%,RegStretch]
IF - [fill] is equal to: [fill] evaluated string: [If,%Position_ScrollBox%,Equal,Fill,Run,%ScriptFile%,RegFill]
|
Run - Processing section: [RegFill] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [TileWallpaper]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [WallpaperStyle]: 10
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Desktop\General] Key [TileWallpaper]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Desktop\General] Key [WallpaperStyle]: 10
Run - Processed section [RegFill] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [fill] is not equal to: [tile] evaluated string: [If,%Position_ScrollBox%,Equal,Tile,Run,%ScriptFile%,RegTile]
IF - [fill] is not equal to: [span] evaluated string: [If,%Position_ScrollBox%,Equal,Span,Run,%ScriptFile%,RegSpan]
Run - Processed section [FitWallpaper] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
Run - Processed section [OptionsPlay] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
|
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Themes Color...
AddInterface - Added section [InterfaceOption] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[End]
|
Run - Processing section: [ThemeColors] From file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [AutoColorization]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\DWM] Key [ColorizationGlassAttribute]: 0
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [Composition]: 1
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize] Key [ColorPrevalence]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize] Key [EnableTransparency]: 1
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 0
[//]
IF - [1] is equal to: [1] evaluated string: [If,%Colors_ScrollBox%,Equal,1,Begin]
[//IniWrite,%GTarget_Win%\Resources\Themes\aero.theme,VisualStyles,AutoColorization,1]
RegWrite - Overwrote existing key "0" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [AutoColorization]: 1
RegWrite - Overwrote existing key "0" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 1
RegWrite - Overwrote existing key "0" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize] Key [ColorPrevalence]: 1
RegWrite - Overwrote existing key "0" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 1
[End]
[// Custom Windows Title Bars and Taskbar color section]
IF - [1] is not bigger than [1] evaluated string: [If,%Colors_ScrollBox%,Bigger,1,Run,%ScriptFile%,CustomColors]
Run - Processed section [ThemeColors] in file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveUnLoad,Tmp_Default]
[RegHiveUnLoad,Tmp_Software]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
|
|
Run - Processing section: [MHiveUnLoadALL] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN HiveUnLoadALL Macro ------------------------------]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_System]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_Software]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_Default]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_Drivers]
RegHiveUnLoad - Unloaded registry hive: [Tmp_System]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Software]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Default]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Drivers]
[//---------- END HiveUnLoadALL Macro ------------------------------]
Run - Processed section [MHiveUnLoadALL] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
IF - [true] is equal to: [true] evaluated string: [If,%Drivers_CheckBox%,Equal,True,Run,%ScriptFile%,DriversPlay]
|
Run - Processing section: [DriversPlay] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Integrate Drivers...
IF - Directory exists: [%BaseDir%\Custom\x64\Drivers] evaluated string: [If,ExistDir,%GCustom%\%Architecture%\Drivers,Begin]
Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Custom\x64\Drivers] to variable: [%DriverFolderSize%] with result: [0]
IF - [0] is equal to: [0] evaluated string: [If,Not,%DriverFolderSize%,Equal,0,Begin]
[StrFormat,PATH,%DismLog%,%DismLogPath%]
[If,Not,ExistDir,%DismLogPath%,DirMake,%DismLogPath%]
[If,%HostOSArch%,Equal,x86,Set,%DismExe%,%GTools%\x86\DISM\dism.exe]
[If,ExistFile,%DismExe%,Begin]
[StrFormat,PATH,%DismExe%,%DismExePath%]
[System,FileRedirect,OFF]
[If,%PauseDrivers_CheckBox%,Equal,True,ShellExecute,Open,cmd.exe,"/K Echo Drivers integration and Pause. Be patient...&Dism.exe /image:#$q%GTarget%#$q /Add-Driver /Driver:#$q%GCustom%\%Architecture%\Drivers#$q /recurse /LogPath:#$q%DismLog%#$q&Echo.&Echo Close the window to Continue",%DismExePath%]
[Else,ShellExecute,Open,cmd.exe,"/C Echo Drivers integration. Be patient...&Dism.exe /image:#$q%GTarget%#$q /Add-Driver /Driver:#$q%GCustom%\%Architecture%\Drivers#$q /recurse /LogPath:#$q%DismLog%#$q",%DismExePath%]
[//ShellExecute,Open,%DismExe%,"/image:#$q%GTarget%#$q /Add-Driver /Driver:#$q%GCustom%\%Architecture%\Drivers#$q /recurse /LogPath:#$q%DismLog%#$q",%DismExePath%]
[System,FileRedirect,ON]
[ShellExecute,Hide,%Gtools%\HiveUnload.exe,"/HKLM /Target:%GTarget_Sys%\config"]
[End]
[End]
[End]
Run - Processed section [DriversPlay] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Script time: 2 minutes, 27 seconds and
Finished processing script: Build Core
|