Build Core |
File [%BaseDir%\Projects\Win10XPE\Core.script] Version[3]
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 - [18362] 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: [V:\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: [V:\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(ko-KR|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(ko-KR|en-US,|)] to variable: [#9] with result: [ko-KR]
IF - [ko-kr] is not equal to: [sr-latn-cs] evaluated string: [If,#9,Equal,sr-Latn-CS,Set,%sr-Latn%,Yes]
IF - [ko-kr] 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] [],[],[],[],[],[],[],[],[ko-KR]
StrFormat - converted [SPLIT(ko-KR|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 - [true] is equal to: [true] evaluated string: [If,%TargetArch_CheckBox%,Equal,True,Begin]
SetVar - Sucessfuly changed the value of [%GTarget%] to: [%BaseDir%\Target_x86]
SetVar - Sucessfuly changed the value of [%GISO%] to: [%BaseDir%\ISO_x86]
[End]
ELSE - [Begin]
[Set,%GTarget%,%BaseDir%\Target,Permanent]
[Set,%GISO%,%BaseDir%\ISO,Permanent]
[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_x86\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: [True]
[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]: True
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]: True
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]: False
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_x86]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target_x86-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory does not exist: [%BaseDir%\Target_x86] evaluated string: [If,ExistDir,#1,DirDelete,#1]
IF - Directory does not exist: [%BaseDir%\Target_x86] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\Target_x86] 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_x86]
[// 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_x86" -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 does not exist: [%BaseDir%\Temp] evaluated string: [If,ExistDir,#1,DirDelete,#1]
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_x86]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\iso_x86-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory does not exist: [%BaseDir%\ISO_x86] evaluated string: [If,ExistDir,#1,DirDelete,#1]
IF - Directory does not exist: [%BaseDir%\ISO_x86] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\ISO_x86] 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_x86]
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:"V:\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 [5]
IF - [5] 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 "V:\sources\install.wim" 3 \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 does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Begin]
[IniRead,%XPECache%\HiveCache.ini,Cache,FullSoftware,%FullSoftwareIni%]
[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 "V:\sources\install.wim" 3 \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 "V:\sources\install.wim" 3 \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,FileDeleteQ,%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 - [x86] is equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Set,%SxSArch%,x86]
SetVar - Sucessfuly changed the value of [%SxSArch%] to: [x86]
ELSE - [Set,%SxSArch%,amd64]
[//- Language without fallback language should be enough for WinSxS]
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_ko-KR*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft.windows.common-controls*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft.windows.gdiplus.systemcopy_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft.windows.gdiplus_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft.windows.isolationautomation_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft.windows.i..utomation.proxystub_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\x86_microsoft-windows-servicingstack_*\*.* Option: Append
[//-]
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.c..-controls.resources_*_ko-KR*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.common-controls*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.gdiplus.systemcopy_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.gdiplus_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.isolationautomation_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.i..utomation.proxystub_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft-windows-comdlg32_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft-windows-comctl32-v5.resources_*_ko-KR*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft-windows-comdlg32.resources_*_ko-KR*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.systemcompatible_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft-windows-a..core-base.resources_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft-windows-blb-engine-main_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.s...smart_card_library_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.s..rt_driver.resources_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_microsoft.windows.s..se.scsi_port_driver_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\x86_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_x86" --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_x86\Windows\WinSxS\Catalogs] evaluated string: [If,Not,ExistDir,%GTarget_Win%\WinSxS\Catalogs,DirMake,%GTarget_Win%\WinSxS\Catalogs]
DirMake - Created directory: [%BaseDir%\Target_x86\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 - [truefalse] is equal to: [truefalse] evaluated string: [If,%DelSpeech_CheckBox%%Accessibility_CheckBox%,Equal,TrueFalse,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 - [x86false] is not equal to: [x64false] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64False,TxtAddline,%w%,"delete '\Windows\SysWOW64' --force --recursive",Append]
[End]
IF - [x86] is not 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 '\Windows\WinSxs' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\WallpaperHost.exe' --force Option: Append
[//-]
[// Disable Diagnostic Telemetry Service (DiagTrack and diagnosticshub.standardcollector.service are disabled in Config.script)]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\DiagTrack' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\DiagSvcs' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\diagER.dll' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\diagtrack.dll' --force --recursive Option: Append
[//-]
[// WMI Repository will be rebuilt, refresh at startup]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\wbem\AutoRecover' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\wbem\Logs' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\wbem\Repository' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\wbem\tmf' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\wbem\xml' --force --recursive Option: Append
[//-]
[// Edge web plateform is useless]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\edgehtml.dll' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMuiFile_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\System32],[edgehtml.dll.mui]
|
Iteration - Processing section: [WimSmallUpdateMuiFile_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\System32],[edgehtml.dll.mui]
StrFormat - converted [SPLIT(ko-KR|en-US,|)] to variable: [#9] with result: [ko-KR]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\ko-KR\edgehtml.dll.mui' --force --recursive Option: Append
Iteration - Processed section [WimSmallUpdateMuiFile_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMuiFile_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\System32],[edgehtml.dll.mui],[],[],[],[],[],[],[ko-KR]
StrFormat - converted [SPLIT(ko-KR|en-US,|)] to variable: [#9] with result: [en-US]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\en-US\edgehtml.dll.mui' --force --recursive Option: Append
Iteration - Processed section [WimSmallUpdateMuiFile_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMuiFile_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMuiFile_Loop,1,%NbLang%,\Windows\System32,edgehtml.dll.mui]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SystemResources\edgehtml.dll.mun' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\edgeIso.dll' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\EdgeManager.dll' --force --recursive 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: [WimSmallUpdateMuiDir] 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: [WimSmallUpdateMuiDir_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\System32]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\System32]
StrFormat - converted [SPLIT(ko-KR|en-US,|)] to variable: [#9] with result: [ko-KR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\System32\ko-KR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\System32],[],[],[],[],[],[],[],[ko-KR]
StrFormat - converted [SPLIT(ko-KR|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 [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMuiDir_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMuiDir_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMuiDir] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Run,%ScriptFile%,WimSmallUpdateMuiDir,\Windows\SysWOW64]
|
Run - Processing section: [WimSmallUpdateMuiDir] 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: [WimSmallUpdateMuiDir_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\Boot\EFI]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\EFI]
StrFormat - converted [SPLIT(ko-KR|en-US,|)] to variable: [#9] with result: [ko-KR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\EFI\ko-KR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\Boot\EFI],[],[],[],[],[],[],[],[ko-KR]
StrFormat - converted [SPLIT(ko-KR|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 [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMuiDir_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMuiDir_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMuiDir] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [WimSmallUpdateMuiDir] 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: [WimSmallUpdateMuiDir_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\Boot\PCAT]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\PCAT]
StrFormat - converted [SPLIT(ko-KR|en-US,|)] to variable: [#9] with result: [ko-KR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\PCAT\ko-KR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\Boot\PCAT],[],[],[],[],[],[],[],[ko-KR]
StrFormat - converted [SPLIT(ko-KR|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 [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMuiDir_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMuiDir_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMuiDir] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [WimSmallUpdateMuiDir] 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: [WimSmallUpdateMuiDir_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[2],[\Windows\Boot\PXE]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\PXE]
StrFormat - converted [SPLIT(ko-KR|en-US,|)] to variable: [#9] with result: [ko-KR]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\Boot\PXE\ko-KR' --force --recursive]
Iteration - Processed section [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [2] [\Windows\Boot\PXE],[],[],[],[],[],[],[],[ko-KR]
StrFormat - converted [SPLIT(ko-KR|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 [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Loop - Processed section [WimSmallUpdateMuiDir_Loop] in file: [Loop,%ScriptFile%,WimSmallUpdateMuiDir_Loop,1,%NbLang%,#1]
Run - Processed section [WimSmallUpdateMuiDir] 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_x86" --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]
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 - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Begin]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target_x86\Windows\System32\config\SOFTWARE]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target_x86\windows\system32\config\software-] 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_x86\Windows\System32\config\SOFTWARE] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target_x86\Windows\System32\config\SOFTWARE]
IF - File does not exist: [%BaseDir%\Target_x86\Windows\System32\config\SOFTWARE] 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_x86\Windows\System32\config\SOFTWARE] 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]
FileCopy - Copied [%BaseDir%\Temp\Install.hives\SOFTWARE] to: [%BaseDir%\Target_x86\Windows\System32\config\SOFTWARE]
[End]
[// Additional folder for pins]
IF - Directory does not exist: [%BaseDir%\Target_x86\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_x86\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu]
IF - Directory does not exist: [%BaseDir%\Target_x86\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_x86\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_x86\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned"]
ShellExecute: [Hide] using: [Attrib.exe] with parameters: [+S "%BaseDir%\Target_x86\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 does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,CheckHiveCacheINI]
ELSE - executing command: [Begin]
IF - Directory does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR] evaluated string: [If,ExistDir,%XPECache%,DirDeleteQ,%XPECache%]
[End]
[//--]
IF - File does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,RestoreOrPrepareRegConfig]
ELSE - executing command: [Begin]
IF - Directory does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR] evaluated string: [If,Not,ExistDir,%XPECache%,DirMake,%XPECache%]
DirMake - Created directory: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR]
|
Run - Processing section: [WriteIniCacheInformation] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [Version]: 5
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [BuildDate]: 2019.7.21
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [Image]: 3
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [DisplayName]: Windows 10 Pro
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [EditionID]: Professional
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [SourceVersion]: 10.0.18362.30
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [SourceBuild]: 18362
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [Architecture]: x86
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [Language]: ko-KR
StrFormat - converted [REPLACE(ko-KR|en-US,ko-KR|)] to variable: [%FallBackLanguageVar%] with result: [en-US]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [FallBackLanguage]: en-US
Run - Processed section [WriteIniCacheInformation] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [PrepareRegConfigALL] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [PrepareRegConfigSoftware] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Echo,"Prepare the Full Software registry..."]
Prepare the Full Software registry...
ELSE - [Echo,"Prepare the Software registry..."]
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Software] Section [Tmp_Software]
|
Run - Processing section: [MACLRegKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Tmp_Software]
[//---------- BEGIN ACLRegKey Macro ------------------------------]
IF - [tmp_software-] 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
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "HKLM\Tmp_Software" -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" -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]
[//-]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C For /F %A IN ('Reg Query HKLM\Tmp_Software\Classes\AppID /s /f "Interactive User" ^|Findstr Tmp_Software') Do Reg Add "%A" /v RunAs /d "" /F >nul 2>nul]
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C For /F %A IN ('Reg Query HKLM\Tmp_Software\Classes /K /F OpenWithProgIds /S') Do Reg Delete "%A" /F >nul 2>nul]
System,FileRedirect,ON
[//-]
|
Run - Processing section: [EditReg_Software] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Run,%ScriptFile%,EditReg_FullSoftware]
|
Run - Processing section: [EditReg_FullSoftware] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE] Key [Version]: 10.0.18362.30
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE] Key [InstRoot]: X:\
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE] Key [CustomBackground]: X:\Windows\Web\Wallpaper\Windows\img0.jpg
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE\OC\Microsoft-WinPE-HTA] Key [1. Fix path of MSHTA.EXE]: reg add HKEY_CLASSES_ROOT\htafile\Shell\Open\Command /t REG_EXPAND_SZ /f /ve /d "%SystemRoot%\System32\mshta.exe \"%1\" %*"
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE\OC\Microsoft-WinPE-WMI] Key [1. Register CIMWIM32]: %systemroot%\system32\wbem\cimwin32.dll
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE\OC\Microsoft-WinPE-WSH] Key [1. Register WSHOM]: %systemroot%\system32\wshom.ocx
RegWrite - Type: [0x7] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\WinPE\UGC] Key [Microsoft-Windows-TCPIP]: "[netiougc.exe -online]"
[//-]
[// Autorecover wbem MOFs files from winre.wim. To do optionally with correct Language]
[//RegWrite,HKLM,0x7,Tmp_Software\Microsoft\WBEM\CIMOM,"Autorecover MOFs",#$pwindir#$p\system32\wbem\cimwin32.mof,#$pwindir#$p\system32\wbem\ncprov.mof,#$pwindir#$p\system32\wbem\en-us\cimwin32.mfl]
Run - Processed section [EditReg_FullSoftware] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
ELSE - [Run,%ScriptFile%,EditReg_BaseSoftware]
[//-]
System,ErrorOff
RegWrite - Overwrote existing key "%systemroot%\system32\config\systemprofile" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18] Key [ProfileImagePath]: X:\Users\Default
[// Disable Telemetry]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection] Key [AllowTelemetry]: 0
[// Manage Computer]
RegWrite - Type: [0x2] Section [HKLM\Tmp_software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command] Key []: %SystemRoot%\System32\mmc.exe /b compmgmt.msc
[// Search for driver software in this location (HostOS)]
RegWrite - Type: [0x7] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Setup] Key [Installation Sources]: [C:\Windows\System32\DriverStore\FileRepository]
[// Enable SIHost]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Winlogon] Key [EnableSIHostIntegration]: 1
[// Disable First Logon Animation]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Winlogon] Key [EnableFirstLogonAnimation]: 0
[// Disable Webservices for Unknown File Types]
RegWrite - Type: [0x4] Section [HKLM\Tmp_software\Microsoft\Windows\CurrentVersion\Policies\Explorer] Key [NoInternetOpenWith]: 1
[// Allow Personalization]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Personalization] Key [AllowChangeDesktopBackground]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Personalization] Key [AllowPersonalization]: 1
[// Computer Name]
System,ErrorOff,3
RegWrite - Type: [0x1] Section [HKLM\Tmp_software\Microsoft\Windows NT\CurrentVersion] Key [RegisteredOwner]: Win10XPE
RegWrite - Type: [0x4] Section [HKLM\Tmp_software\Microsoft\Windows NT\CurrentVersion\WinPE] Key [SkipWaitForNetwork]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_software\Microsoft\Windows NT\CurrentVersion\WinPE] Key [SetComputerName]: 0
[// Logo]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\OEMInformation] Key [Manufacturer]: WinXPE
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\OEMInformation] Key [SupportURL]: http://win10se.cwcodes.net/Compressed/index.php
[//RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\OEMInformation,Logo,X:\Windows\System32\oobe\Logo\Logo.bmp]
[// Open with Notepad context Menu Option. Associate .script,.cfg (txtfile) in Addition of .inf,.ini,.log,.scp,.txt,.wtx]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\*\shell\Open with Notepad] Key [Icon]: Notepad.exe
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\*\shell\Open with Notepad\Command] Key []: Notepad.exe "%1"
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\.script] Key []: txtfile
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\.cfg] Key []: txtfile
|
Run - Processing section: [OpenCmdHere] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
[// Cmd Instead of Powershell]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\*\shell\cmd] Key [Icon]: cmd.exe
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\*\shell\cmd] Key []: @shell32.dll,-8506
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\*\shell\cmd\Command] Key []: cmd.exe
[// Cmd in Context Menu]
[//ACLRegKey,Tmp_software\Classes\Directory\background\shell]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Directory\background\shell\cmd,Extended,RegDelete,HKLM,Tmp_Software\Classes\Directory\background\shell\cmd,Extended]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Directory\background\shell\cmd],Extended
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Directory\background\shell\cmd] Key [Icon]: cmd.exe
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\Directory\background\shell\cmd] Key [ShowBasedOnVelocityId]: 6527944
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Directory\background\shell\cmd,HideBasedOnVelocityId,RegDelete,HKLM,Tmp_Software\Classes\Directory\background\shell\cmd,HideBasedOnVelocityId]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Directory\background\shell\cmd],HideBasedOnVelocityId
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Directory\background\shell\Powershell,ShowBasedOnVelocityId,RegDelete,HKLM,Tmp_Software\Classes\Directory\background\shell\Powershell,ShowBasedOnVelocityId]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Directory\background\shell\Powershell],ShowBasedOnVelocityId
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\Directory\background\shell\Powershell] Key [HideBasedOnVelocityId]: 6527944
[//-]
[//ACLRegKey,Tmp_Software\Classes\Directory\shell]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Directory\shell\cmd,Extended,RegDelete,HKLM,Tmp_Software\Classes\Directory\shell\cmd,Extended]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Directory\shell\cmd],Extended
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Directory\shell\cmd] Key [Icon]: cmd.exe
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\Directory\shell\cmd] Key [ShowBasedOnVelocityId]: 6527944
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Directory\shell\cmd,HideBasedOnVelocityId,RegDelete,HKLM,Tmp_Software\Classes\Directory\shell\cmd,HideBasedOnVelocityId]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Directory\shell\cmd],HideBasedOnVelocityId
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Directory\shell\Powershell,ShowBasedOnVelocityId,RegDelete,HKLM,Tmp_Software\Classes\Directory\shell\Powershell,ShowBasedOnVelocityId]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Directory\shell\Powershell],ShowBasedOnVelocityId
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\Directory\shell\Powershell] Key [HideBasedOnVelocityId]: 6527944
[//-]
[//ACLRegKey,Tmp_Software\Classes\Drive\shell]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Drive\shell\cmd,Extended,RegDelete,HKLM,Tmp_Software\Classes\Drive\shell\cmd,Extended]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Drive\shell\cmd],Extended
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\Drive\shell\cmd] Key [Icon]: cmd.exe
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\Drive\shell\cmd] Key [ShowBasedOnVelocityId]: 6527944
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Drive\shell\cmd,HideBasedOnVelocityId,RegDelete,HKLM,Tmp_Software\Classes\Drive\shell\cmd,HideBasedOnVelocityId]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Drive\shell\cmd],HideBasedOnVelocityId
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Classes\Drive\shell\Powershell,ShowBasedOnVelocityId,RegDelete,HKLM,Tmp_Software\Classes\Drive\shell\Powershell,ShowBasedOnVelocityId]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Drive\shell\Powershell],ShowBasedOnVelocityId
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\Drive\shell\Powershell] Key [HideBasedOnVelocityId]: 6527944
Run - Processed section [OpenCmdHere] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [Remove3D] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.3ds\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.3ds\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.3ds\Shell\3D Print]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.3mf\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.3mf\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.3mf\Shell\3D Print]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.bmp\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.bmp\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.bmp\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.dae\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.dae\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.dae\Shell\3D Print]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.dxf\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.dxf\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.dxf\Shell\3D Print]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.fbx\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.fbx\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.fbx\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.gif\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.gif\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.gif\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.glb\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.glb\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.glb\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jfif\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jfif\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.jfif\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jpe\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jpe\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.jpe\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jpeg\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jpeg\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.jpeg\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jpg\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.jpg\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.jpg\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.obj\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.obj\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.obj\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.obj\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.obj\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.obj\Shell\3D Print]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.ply\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.ply\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.ply\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.ply\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.ply\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.ply\Shell\3D Print]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.png\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.png\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.png\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.stl\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.stl\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.stl\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.tif\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.tif\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.tif\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.tiff\Shell\3D Edit",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.tiff\Shell\3D Edit"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.tiff\Shell\3D Edit]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.wrl\Shell\3D Print",RegDelete,HKLM,"Tmp_Software\Classes\SystemFileAssociations\.wrl\Shell\3D Print"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\SystemFileAssociations\.wrl\Shell\3D Print]
Run - Processed section [Remove3D] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
Run - Processed section [EditReg_Software] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Software]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Begin]
Save the Full Software registry in cache...
FileCopy - Copied [%BaseDir%\Target_x86\Windows\System32\Config\SOFTWARE] to: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\FullSOFTWARE]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [FullSoftware]: True
[End]
ELSE - [Begin]
[Echo,"Save the Software registry in cache..."]
[FileCopy,%GTarget_Sys%\Config\SOFTWARE,%XPECache%]
[IniWrite,%XPECache%\HiveCache.ini,Cache,Software,True]
[End]
Run - Processed section [PrepareRegConfigSoftware] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [PrepareRegConfigSystem] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
Prepare the System registry...
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\System] Section [Tmp_System]
|
Run - Processing section: [MACLRegKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Tmp_System]
[//---------- BEGIN ACLRegKey Macro ------------------------------]
IF - [tmp_system-] 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_System
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "HKLM\Tmp_System" -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_System" -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]
|
Run - Processing section: [EditReg_System] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\ProductOptions.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\ProductOptions.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\ProductOptions.txt] to variable: [#9] with result: [ProductOptions.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\ProductOptions.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 ProductOptions.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]
[// Environment]
RegWrite - Type: [0x2] Section [HKLM\Tmp_System\ControlSet001\Control\Session Manager\Environment] Key [AppData]: %SystemDrive%\Users\Default\AppData\Roaming
[// Disable Telemetry]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\WMI\Autologger\AutoLogger-Diagtrack-Listener] Key [Start]: 0
[//-]
RegHiveLoad - File: [%BaseDir%\Temp\Install.hives\SYSTEM] Section [Tmp_Install_System]
[// Taking Ownership, Appinfo and ProfSvc Services. ProfSvc Already Here]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\Appinfo]
[//---------- 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\Appinfo,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\Appinfo" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\ProfSvc]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\ProfSvc]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\Lsa]
[//---------- 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\Lsa,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\Lsa" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
System,ErrorOff,2
RegWrite - Overwrote existing key "[""]" with different data
RegWrite - Type: [0x7] Section [HKLM\Tmp_System\ControlSet001\Control\Lsa] Key [Security Packages]: [tspkg]
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\SecurityProviders] Key [SecurityProviders]: credssp.dll
[// Power Options]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\Power]
[//---------- 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\Power,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\Power" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_System]
[//-]
[// Disable Auto Chkdsk at Bootup Autochk]
[//System,ERROROFF]
[//RegWrite,HKLM,0x7,"Tmp_System\ControlSet001\Control\Session Manager",BootExecute,"autocheck autochk /k:C /k:D /k:D /k:E /k:F /k:G /k:H /k:I /k:J /k:K /k:L /k:M /k:N /k:O /k:P /k:Q /k:R /k:S /k:T /k:U /k:V /k:W /k:Y /k:Z *"]
[// Disable Hibernate]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power] Key [HibernateEnabled]: 0
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Power] Key [CustomizeDuringSetup]: 0
[// Disable Fast Startup]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Session Manager\Power] Key [HiberbootEnabled]: 0
[// Do Not Update the Last-Access Timestamp for Ntfs and Refs]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\FileSystem] Key [NtfsDisableLastAccessUpdate]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\FileSystem] Key [RefsDisableLastAccessUpdate]: 1
[// For Samba Servers]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Lsa] Key [LmCompatibilityLevel]: 2
[// Allow network users to access without password > Also display Share with in Context Menu!]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Control\Lsa] Key [LimitBlankPasswordUse]: 0
[// Computer Name]
System,ErrorOff,5
RegWrite - Overwrote existing key "MINWINPC" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\ComputerName\ComputerName] Key [ComputerName]: Win10XPE
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\ComputerName\ActiveComputerName] Key [ComputerName]: Win10XPE
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\services\Tcpip\Parameters] Key [NV Hostname]: Win10XPE
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\services\Tcpip\Parameters] Key [Hostname]: Win10XPE
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\Session Manager\Environment] Key [ComputerName]: Win10XPE
Run - Processed section [EditReg_System] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegHiveUnLoad - Unloaded registry hive: [Tmp_System]
[//-]
Save the System registry in cache...
FileCopy - Copied [%BaseDir%\Target_x86\Windows\System32\Config\SYSTEM] to: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\SYSTEM]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [System]: True
Run - Processed section [PrepareRegConfigSystem] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [PrepareRegConfigDefault] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
Prepare the Default registry...
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Default] Section [Tmp_Default]
|
Run - Processing section: [MACLRegKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Tmp_Default]
[//---------- BEGIN ACLRegKey Macro ------------------------------]
IF - [tmp_default-] 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_Default
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "HKLM\Tmp_Default" -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_Default" -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]
|
Run - Processing section: [EditReg_Default] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [AutoColorization]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [DesktopDPIOverride]: -2
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [LogPixels]: 96
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [Win8DpiScaling]: 1
RegWrite - Overwrote existing key "%systemroot%\system32\winpe.jpg" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [Wallpaper]: X:\Windows\Web\Wallpaper\Windows\img0.jpg
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 [WallpaperSource]: X:\Windows\Web\Wallpaper\Windows\img0.jpg
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 [EditReg_Default] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Default]
[//-]
Save the Default registry in cache...
FileCopy - Copied [%BaseDir%\Target_x86\Windows\System32\Config\DEFAULT] to: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\DEFAULT]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [Default]: True
Run - Processed section [PrepareRegConfigDefault] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [PrepareRegConfigDrivers] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
Prepare the Drivers registry...
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Drivers] Section [Tmp_Drivers]
|
Run - Processing section: [MACLRegKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Tmp_Drivers]
[//---------- BEGIN ACLRegKey Macro ------------------------------]
IF - [tmp_drivers-] 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_Drivers
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "HKLM\Tmp_Drivers" -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_Drivers" -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]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Drivers]
[//-]
Save the Drivers registry in cache...
FileCopy - Copied [%BaseDir%\Target_x86\Windows\System32\Config\DRIVERS] to: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\DRIVERS]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [Cache] Key [Drivers]: True
Run - Processed section [PrepareRegConfigDrivers] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
Run - Processed section [PrepareRegConfigALL] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
[End]
Run - Processed section [RegConfig] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [RegConfig_PostCache] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\System] Section [Tmp_System]
[//-]
[// Disable Telemetry Service]
RegWrite - Overwrote existing key "3" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\diagnosticshub.standardcollector.service] Key [Start]: 4
RegWrite - Overwrote existing key "2" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\DiagTrack] Key [Start]: 4
[//-]
[// Create and Disable Remote Desktop service to avoid event log error]
RegHiveLoad - File: [%BaseDir%\Temp\Install.hives\SYSTEM] Section [Tmp_Install_System]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\TermService]
[//---------- 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\TermService,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\TermService" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_System\ControlSet001\Services\TermService,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\TermService,Start,4]
RegWrite - Overwrote existing key "3" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\TermService] Key [Start]: 4
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_System]
[//-]
[// Start Services in RS5, 19h1]
IF - [18362] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,Begin]
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]
[End]
RegHiveUnLoad - Unloaded registry hive: [Tmp_System]
Run - Processed section [RegConfig_PostCache] 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\x86\AdditionalFiles] evaluated string: [If,ExistDir,%AdditionalFiles%,DirCopy,%AdditionalFiles%\*,%GTarget%]
DirCopy - Copied directory [%BaseDir%\Projects\Include\x86\AdditionalFiles\*] to: [%BaseDir%\Target_x86]
Run - Processed section [AddProjectFiles] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
IF - [true] is equal to: [true] evaluated string: [If,%Custom_CheckBox%,Equal,True,Run,%ScriptFile%,AddCustomFiles]
|
Run - Processing section: [AddCustomFiles] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Copy Custom Folder...
IF - Directory exists: [%BaseDir%\Custom\x86\AdditionalFiles] evaluated string: [If,ExistDir,%GCustom%\%Architecture%\AdditionalFiles,DirCopy,%GCustom%\%Architecture%\AdditionalFiles\*,%GTarget%]
DirCopy - Copied directory [%BaseDir%\Custom\x86\AdditionalFiles\*] to: [%BaseDir%\Target_x86]
Run - Processed section [AddCustomFiles] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
IF - File exists: [%BaseDir%\Custom\Pecmdini\pecmd.ini] evaluated string: [If,ExistFile,%GCustom%\Pecmdini\pecmd.ini,Begin]
IF - File exists: [%BaseDir%\Target_x86\Windows\System32\pecmd.ini] evaluated string: [If,ExistFile,%GTarget_Sys%\pecmd.ini,FileDeleteQ,%GTarget_Sys%\pecmd.ini]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target_x86\Windows\System32\pecmd.ini]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target_x86\windows\system32\pecmd.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_x86\Windows\System32\pecmd.ini] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target_x86\Windows\System32\pecmd.ini]
IF - File does not exist: [%BaseDir%\Target_x86\Windows\System32\pecmd.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_x86\Windows\System32\pecmd.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]
FileCopy - Copied [%BaseDir%\Custom\Pecmdini\pecmd.ini] to: [%BaseDir%\Target_x86\Windows\System32\pecmd.ini]
[End]
IF - File exists: [%BaseDir%\Custom\Pecmdini\PecmdAdmin.ini] evaluated string: [If,ExistFile,%GCustom%\Pecmdini\PecmdAdmin.ini,Begin]
IF - File exists: [%BaseDir%\Target_x86\Windows\System32\PecmdAdmin.ini] evaluated string: [If,ExistFile,%GTarget_Sys%\PecmdAdmin.ini,FileDeleteQ,%GTarget_Sys%\PecmdAdmin.ini]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target_x86\Windows\System32\PecmdAdmin.ini]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target_x86\windows\system32\pecmdadmin.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_x86\Windows\System32\PecmdAdmin.ini] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target_x86\Windows\System32\PecmdAdmin.ini]
IF - File does not exist: [%BaseDir%\Target_x86\Windows\System32\PecmdAdmin.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_x86\Windows\System32\PecmdAdmin.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]
FileCopy - Copied [%BaseDir%\Custom\Pecmdini\PecmdAdmin.ini] to: [%BaseDir%\Target_x86\Windows\System32\PecmdAdmin.ini]
[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_x86\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_x86\Windows\Web\Wallpaper\Windows]
FileCopy - Copied [%BaseDir%\Custom\Wallpaper\img0.jpg] to: [%BaseDir%\Target_x86\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_x86\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_x86\ProgramData\Microsoft\User Account Pictures]
FileCopy - Copied [%BaseDir%\Custom\UserAccountPicture\user-200.png] to: [%BaseDir%\Target_x86\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 does not exist: [%BaseDir%\Custom\StartupMP3\startup.mp3] evaluated string: [If,ExistFile,%GCustom%\StartupMP3\startup.mp3,Begin]
[If,Not,ExistDir,%GTarget_Win%\media,DirMake,%GTarget_Win%\media]
[Filecopy,%GCustom%\StartupMP3\startup.mp3,%GTarget_Win%\media]
[End]
[End]
[//-]
[//-----------------------------------------------------------------------------]
[// Add Features]
[//-----------------------------------------------------------------------------]
[// International Section use dism /Get-Intl -> dism /Set-InputLocale... Hives should not be mounted]
IF - [korean | ko-krkorean | ko-krhostos] 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_x86\Windows\Logs\DISM\dism.log] to variable: [%DismLogPath%] with result: [%BaseDir%\Target_x86\Windows\Logs\DISM\]
IF - Directory does not exist: [%BaseDir%\Target_x86\Windows\Logs\DISM\] evaluated string: [If,Not,ExistDir,%DismLogPath%,DirMake,%DismLogPath%]
DirMake - Created directory: [%BaseDir%\Target_x86\Windows\Logs\DISM\]
IF - [x86] is equal to: [x86] evaluated string: [If,%HostOSArch%,Equal,x86,Set,%DismExe%,%GTools%\x86\DISM\dism.exe]
SetVar - Sucessfuly changed the value of [%DismExe%] to: [%BaseDir%\Projects\Tools\x86\DISM\dism.exe]
StrFormat - converted: [%BaseDir%\Projects\Tools\x86\DISM\dism.exe] to variable: [%DismExePath%] with result: [%BaseDir%\Projects\Tools\x86\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(Korean | ko-KR,|)] to variable: [%Pos%] with result: [8]
IF - [8] is not equal to: [0] evaluated string: [If,%Pos%,Equal,0,Set,%InputLocale%,%Keyboard_ScrollBox%]
ELSE - executing command: [StrFormat,LTRIM,%Keyboard_ScrollBox%,%Pos%,%InputLocale%]
StrFormat - converted [LTRIM(Korean | ko-KR,%InputLocale%)] to variable: [%InputLocale%] with result: [ ko-KR]
StrFormat - converted [CTRIM( ko-KR)] to variable: [%InputLocale%] with result: [ko-KR]
[// Format User Locale (Format). It could also be for System Locale (Location) but it cannot be set for Unicode-only languages]
StrFormat - converted [POS(Korean | ko-KR,|)] to variable: [%Pos%] with result: [8]
IF - [8] is not equal to: [0] evaluated string: [If,%Pos%,Equal,0,Set,%UserLocale%,%Format_ScrollBox%]
ELSE - executing command: [StrFormat,LTRIM,%Format_ScrollBox%,%Pos%,%UserLocale%]
StrFormat - converted [LTRIM(Korean | ko-KR,%UserLocale%)] to variable: [%UserLocale%] with result: [ ko-KR]
StrFormat - converted [CTRIM( ko-KR)] to variable: [%UserLocale%] with result: [ko-KR]
[// 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 - [ko-kr] is not equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Set,%Get-Intl%,True]
IF - [ko-kr] is not equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,Set,%Get-Intl%,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 - [ko-kr] is not equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Begin]
[IniRead,%Gtemp%\Get-Intl.ini,International,"Active keyboard(s)",%InputLocale%]
[StrFormat,Replace,%InputLocale%,", ",;,%InputLocale%]
[End]
[// if user local is not defined, use LocaleName from HKCU\Control Panel\International]
IF - [ko-kr] is not equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,IniRead,%Gtemp%\Get-Intl.ini,International,"User locale for default user",%UserLocale%]
IF - [ko-kr-] is not equal to: [-] evaluated string: [If,%UserLocale%-,Equal,-,RegRead,HKCU,"Control Panel\International",LocaleName,%UserLocale%]
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 [Korea Standard Time]
[End]
[// In case of trouble, Get-Intl.ini does not exist, IniRead error]
IF - [ko-kr] is not equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Set,%InputLocale%,Default]
IF - [ko-kr] is not equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,Set,%UserLocale%,Default]
IF - [korea standard time] is not equal to: [hostos] evaluated string: [If,%TimeZone%,Equal,HostOS,Set,%TimeZone%,Default]
IF - [ko-kr-] is not equal to: [-] evaluated string: [If,%InputLocale%-,Equal,-,Set,%InputLocale%,Default]
IF - [ko-kr-] is not equal to: [-] evaluated string: [If,%UserLocale%-,Equal,-,Set,%UserLocale%,Default]
IF - [korea 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 - [ko-kr] is not equal to: [default] evaluated string: [If,Not,%InputLocale%,Equal,Default,Begin]
[// Add en-US keyboard as 2nd keyboard]
StrFormat - converted [Pos(ko-KR,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(ko-KR,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: [ko-KR;en-US]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: [/Set-InputLocale:ko-KR;en-US]
[End]
IF - [ko-kr] 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:ko-KR;en-US /Set-UserLocale:ko-KR]
IF - [korea 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:ko-KR;en-US /Set-UserLocale:ko-KR /Set-TimeZone:#$qKorea Standard Time#$q]
[//-]
[// Set Keyboard, Format and Timezone with dism]
IF - [/set-inputlocale:ko-kr;en-us /set-userlocale:ko-kr /set-timezone:"korea standard time"-] is not equal to: [-] evaluated string: [If,Not,%Set_Intl_Parm%-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Projects\Tools\x86\DISM\dism.exe] evaluated string: [If,ExistFile,%DismExe%,Begin]
StrFormat - converted [Replace(/Set-InputLocale:ko-KR;en-US /Set-UserLocale:ko-KR /Set-TimeZone:"Korea Standard Time",e:)] to variable: [%Set_Intl_Parm_Echo%] with result: [/Set-InputLocale: ko-KR;en-US /Set-UserLocale: ko-KR /Set-TimeZone: "Korea Standard Time"]
StrFormat - converted [Replace(/Set-InputLocale: ko-KR;en-US /Set-UserLocale: ko-KR /Set-TimeZone: "Korea Standard Time",/Set-)] to variable: [%Set_Intl_Parm_Echo%] with result: [&Echo InputLocale: ko-KR;en-US &Echo UserLocale: ko-KR &Echo TimeZone: "Korea Standard Time"]
System,FileRedirect,OFF
ShellExecute: [Open] using: [cmd.exe] with parameters: [/C Echo Set Keyboard, Format and Timezone. Be patient...&Echo.&Echo InputLocale: ko-KR;en-US &Echo UserLocale: ko-KR &Echo TimeZone: "Korea Standard Time"&Dism.exe /image:"%BaseDir%\Target_x86" /Set-InputLocale:ko-KR;en-US /Set-UserLocale:ko-KR /Set-TimeZone:"Korea Standard Time" /LogPath:"%BaseDir%\Target_x86\Windows\Logs\DISM\dism.log"]
System,FileRedirect,ON
[End]
[End]
[//-]
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Default] Section [Tmp_Default]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Default\Control Panel\International\User Profile]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Default]
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_x86\Windows\System32\config\System] Section [Tmp_System]
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Software] Section [Tmp_Software]
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Default] Section [Tmp_Default]
RegHiveLoad - File: [%BaseDir%\Target_x86\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_x86\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_x86\Windows\System32\startnet.cmd] string [wpeinit]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Target_x86\Windows\System32\winpeshl.ini]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target_x86\Windows\System32\winpeshl.ini]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target_x86\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_x86\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target_x86\Windows\System32\winpeshl.ini]
IF - File does not exist: [%BaseDir%\Target_x86\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_x86\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_x86\Windows\System32\winpeshl.ini]
TxtAddLine - Added line: [%BaseDir%\Target_x86\Windows\System32\winpeshl.ini] line: Value: [LaunchApps] Option: Append
TxtAddLine - Added line: [%BaseDir%\Target_x86\Windows\System32\winpeshl.ini] line: Value: wpeinit.exe Option: Append
IF - File exists: [%BaseDir%\Target_x86\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_x86\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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,%Fbwf_ScrollBox%]
ELSE - executing command: [Begin]
IF - [1024] is not bigger than [1024] evaluated string: [If,%Fbwf_ScrollBox%,Bigger,1024,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,1024]
ELSE - executing command: [RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,%Fbwf_ScrollBox%]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\FBWF] Key [WinPECacheThreshold]: 1024
[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_x86_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_x86_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_x86_AddFiles "%BaseDir%\Temp\VCRuntime_x86_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_x86_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\VCRuntime_x86_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_x86_AddFiles.txt] to variable: [#9] with result: [VCRuntime_x86_AddFiles.txt]
Extract VCRuntime_x86_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\VCRuntime_x86_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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_x86_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_x86_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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[IniRead,%ProjectDir%\Script.Project,Features,WoW64basic,%WoW64basic%]
[If,%WoW64basic%,Equal,True,ExtractSectionFiles,%ScriptFile%,VCRuntime_x6432_AddFiles]
[End]
[//-]
IF - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Install_Software,%Gtemp%\Install.hives\SOFTWARE]
[End]
[//-]
[If,%Architecture%,Equal,x86,Run,%ScriptFile%,Registry_x86]
[Else,Begin]
[Run,%ScriptFile%,Registry_amd64]
[If,%WoW64basic%,Equal,True,Run,%ScriptFile%,Registry_x86]
[End]
[//-]
[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_x86\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_x86.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_x86.7z" -y -o"%BaseDir%\Target_x86\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 "V:\sources\install.wim" 3 @"%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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]
[//-]
IF - [18362] is bigger than [17000] evaluated string: [If,%SourceBuild%,Bigger,17000,ExtractSectionFiles,%ScriptFile%,Explorer_1803_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script],[Explorer_1803_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_1803_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_1803_AddFiles "%BaseDir%\Temp\Explorer_1803_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_1803_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Explorer_1803_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_1803_AddFiles.txt] to variable: [#9] with result: [Explorer_1803_AddFiles.txt]
Extract Explorer_1803_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Explorer_1803_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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_1803_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_1803_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 - [18362] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,ExtractSectionFiles,%ScriptFile%,Explorer_1809_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script],[Explorer_1809_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_1809_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_1809_AddFiles "%BaseDir%\Temp\Explorer_1809_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_1809_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Explorer_1809_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_1809_AddFiles.txt] to variable: [#9] with result: [Explorer_1809_AddFiles.txt]
Extract Explorer_1809_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Explorer_1809_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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_1809_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_1809_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]
[//-]
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_18362]
[//---------- 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_18362.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_18362 "%BaseDir%\Temp\Catalog_AddFiles_18362.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_18362.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Catalog_AddFiles_18362.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_18362.txt] to variable: [#9] with result: [Catalog_AddFiles_18362.txt]
Extract Catalog_AddFiles_18362.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Catalog_AddFiles_18362.txt" --dest-dir="%BaseDir%\Target_x86" --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_18362.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_18362.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 - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Direct3D]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectDraw]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectInput]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectMusic]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectPlay]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectPlay8]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectPlayNATHelp]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectShow]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\DirectX]
[//-]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\RADAR]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows\CurrentVersion\Control Panel"]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows\CurrentVersion\Controls Folder"]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Themes]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\DWM]
[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 - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
[RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Winlogon",shell,explorer.exe]
[// Registry cached version of the Start menu + Windows.CloudStore.dll seem require Else Pintool and others does not work]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\CloudStore]
[// Integrated zip files]
[RegCopyKey,HKLM,Tmp_Software\Classes\.zip]
[RegCopyKey,HKLM,Tmp_Software\Classes\CompressedFolder]
[RegImportFile,%ScriptDir%\Explorer_RegSoftware.txt]
[Run,%ScriptFile%,AdditionalFonts]
[End]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Classes\DesktopBackground\Shell\Display,RegDelete,HKLM,Tmp_Software\Classes\DesktopBackground\Shell\Display]
RegDelete - Deleted registry key in: [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_x86\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\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.zip
[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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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 - [x86] is not 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]
[// 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 - [x86] is not 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]
[// 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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not 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]
[// 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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not 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]
[// 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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [x86] is not 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]
[// 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 - [x86] is not 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]
[// 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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[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,HKLM,0x0,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 - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[// Classes\AppID,CLSID,Interface,TypeLib already copied]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\Applications\MMC.exe,NoOpenWith,]
[RegWrite,HKLM,0x1,Tmp_software\Classes\.msc,,MSCFile]
[RegCopyKey,HKLM,Tmp_Software\Classes\mscfile]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\MMC]
[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 - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\BDESVC]
[RegWrite,HKLM,0x2,Tmp_Software\Classes\Drive\shell\unlock-bde,,"@#$pSystemRoot#$p\System32\bdeunlock.exe,-100"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\Drive\shell\unlock-bde,AppliesTo,System.Volume.BitLockerProtection:=6]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\Drive\shell\unlock-bde,DefaultAppliesTo,]
[RegWrite,HKLM,0x1,Tmp_software\Classes\Drive\shell\unlock-bde,Icon,bdeunlock.exe]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\Drive\shell\unlock-bde,MultiSelectModel,Single]
[RegWrite,HKLM,0x2,Tmp_Software\Classes\Drive\shell\unlock-bde\command,,"#$pSystemRoot#$p\System32\bdeunlock.exe #$p1"]
[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_x86\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_x86\Program Files\StartIsBack] evaluated string: [If,ExistDir,%Target_Prog%\%ProgramFolder%,DirDeleteQ,%Target_Prog%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Target_x86\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_x86\Program Files\StartIsBack"]
FileDelete - Sucessfully deleted [%BaseDir%\Target_x86\Program Files\StartIsBack\UpdateCheck.exe]
IF - [x86] is equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,FileDelete,%Target_Prog%\%ProgramFolder%\StartIsBack64.dll]
FileDelete - Sucessfully deleted [%BaseDir%\Target_x86\Program Files\StartIsBack\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 - [x86] is equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Begin]
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\InProcServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BA}\InProcServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BB}\InProcServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}\InprocServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}\InProcServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}\InProcServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\StartIsBack64.dll" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}\InProcServer32] Key []: X:\Program Files\StartIsBack\StartIsBack32.dll
RegWrite - Overwrote existing key "@X:\Program Files\StartIsBack\StartIsBack64.dll,-510" with different data
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}] Key [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]
[//-]
SetVar - Sucessfuly changed the value of [%WoW64Support%] to: [False]
IF - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
[If,%WoW64_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\WoW64.Script,Process,HiveLoaded]
[End]
[//-]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script] evaluated string: [If,ExistFile,%ProjectDir%\Features\Ime_%Language%.Script,Exec,%ProjectDir%\Features\Ime_%Language%.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing IME Common...
|
Run - Processing section: [Ime_Common_Files] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script],[Ime_Common_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.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\Ime_Common.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\Ime_Common.Script] to variable: [#9] with result: [Ime_Common.Script]
IF - File does not exist: [%BaseDir%\Temp\Ime_Common_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\Ime_Common.Script" Ime_Common_AddFiles "%BaseDir%\Temp\Ime_Common_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\Ime_Common_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Ime_Common_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\Ime_Common_AddFiles.txt] to variable: [#9] with result: [Ime_Common_AddFiles.txt]
Extract Ime_Common_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Ime_Common_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 Ime_Common_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\Ime_Common_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 - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,Ime_Common_1903_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script],[Ime_Common_1903_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.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\Ime_Common.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\Ime_Common.Script] to variable: [#9] with result: [Ime_Common.Script]
IF - File does not exist: [%BaseDir%\Temp\Ime_Common_1903_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\Ime_Common.Script" Ime_Common_1903_AddFiles "%BaseDir%\Temp\Ime_Common_1903_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\Ime_Common_1903_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Ime_Common_1903_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\Ime_Common_1903_AddFiles.txt] to variable: [#9] with result: [Ime_Common_1903_AddFiles.txt]
Extract Ime_Common_1903_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Ime_Common_1903_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 Ime_Common_1903_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\Ime_Common_1903_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 - [x86false] is not equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,Begin]
[ExtractSectionFiles,%ScriptFile%,Ime_Common_x64_AddFiles]
[If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,Ime_Common_x64_1903_AddFiles]
[End]
Run - Processed section [Ime_Common_Files] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
|
Run - Processing section: [Ime_Common_Reg] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\CTF]
[//---------- 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\CTF,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\CTF" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [ko-kr] is not equal to: [ja-jp] evaluated string: [If,%Language%,Equal,ja-JP,RegCopyKey,HKLM,Tmp_Software\Microsoft\IME\15.0\IMEJP]
IF - [ko-kr] is equal to: [ko-kr] evaluated string: [If,%Language%,Equal,ko-KR,RegCopyKey,HKLM,Tmp_Software\Microsoft\IME\15.0\IMEKR]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\IME\15.0\IMEKR]
[//---------- 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\IME\15.0\IMEKR,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\IME\15.0\IMEKR" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [ko-kr] is not equal to: [zh-cn] evaluated string: [If,%Language%,Equal,zh-CN,RegCopyKey,HKLM,Tmp_Software\Microsoft\IME\15.0\IMETC]
IF - [ko-kr] is not equal to: [zh-tw] evaluated string: [If,%Language%,Equal,zh-TW,RegCopyKey,HKLM,Tmp_Software\Microsoft\IME\15.0\IMETC]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\IME\15.0\Shared]
[//---------- 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\IME\15.0\Shared,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\IME\15.0\Shared" ""]
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\IME\PlugInDict]
[//---------- 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\IME\PlugInDict,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\IME\PlugInDict" ""]
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\IMETC]
[//---------- 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\IMETC,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\IMETC" ""]
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\InputMethod]
[//---------- 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\InputMethod,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\InputMethod" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,RegCopyKey,HKLM,Tmp_Software\Microsoft\FuzzyDS]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\FuzzyDS]
[//---------- 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\FuzzyDS,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\FuzzyDS" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//RegCopyKey,HKLM,Tmp_Software\Microsoft\Notepad]
IF - [x86false] is not equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,Begin]
[RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\CTF]
[If,%Language%,Equal,ja-JP,RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IME\15.0\IMEJP]
[If,%Language%,Equal,ko-KR,RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IME\15.0\IMEKR]
[If,%Language%,Equal,zh-CN,RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IME\15.0\IMETC]
[If,%Language%,Equal,zh-TW,RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IME\15.0\IMETC]
[RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IME\15.0\Shared]
[RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IME\PlugInDict]
[RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\IMETC]
[RegCopyKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\InputMethod]
[End]
Unrecognized command: [[Ime_Common_Reg_Save]]
[// WOW6432Node FuzzyDS is not in install.wim but seems not required]
IF - [x86false] is not equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,Begin]
[If,%SourceBuild%,Bigger,18300,Begin]
[System,FileRedirect,OFF]
[ShellExecute,Hide,cmd.exe,"/C Reg Copy #$qHKLM\Tmp_Software\Microsoft\FuzzyDS#$q #$qHKLM\Tmp_Software\WOW6432Node\Microsoft\FuzzyDS#$q /S /F"]
[System,FileRedirect,ON]
[End]
[End]
Run - Processed section [Ime_Common_Reg] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
[//-]
IF - File exists: [%BaseDir%\Target_x86\Windows\System32\Pecmd.ini] evaluated string: [If,ExistFile,%GTarget_Sys%\Pecmd.ini,Run,%ScriptFile%,Edit_PecmdINI]
|
Run - Processing section: [Edit_PecmdINI] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Begin]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\Windows\System32\Pecmd.ini] string [//EXEC %WinDir%\System32\ctfmon.exe] with string: [EXEC %WinDir%\System32\ctfmon.exe]
[End]
ELSE - [Begin]
[If,ExistFile,%ScriptDir%\IME_Cmd.txt,Begin]
[FileCopy,%ScriptDir%\IME_Cmd.txt,%GTarget_Sys%\IME.cmd]
[TXTReplace,%GTarget_Sys%\Pecmd.ini,"//EXEC #$pWinDir#$p\System32\ctfmon.exe","EXEC !#$pWinDir#$p\System32\IME.cmd"]
[End]
[End]
Run - Processed section [Edit_PecmdINI] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_Common.Script]
[//-]
Processing IME Korean...
|
Run - Processing section: [Ime_ko_KR_Files] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script],[Ime_ko_KR_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.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\Ime_ko-KR.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\Ime_ko-KR.Script] to variable: [#9] with result: [Ime_ko-KR.Script]
IF - File does not exist: [%BaseDir%\Temp\Ime_ko_KR_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\Ime_ko-KR.Script" Ime_ko_KR_AddFiles "%BaseDir%\Temp\Ime_ko_KR_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\Ime_ko_KR_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Ime_ko_KR_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\Ime_ko_KR_AddFiles.txt] to variable: [#9] with result: [Ime_ko_KR_AddFiles.txt]
Extract Ime_ko_KR_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Ime_ko_KR_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 Ime_ko_KR_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\Ime_ko_KR_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 - [x86false] is not equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,Begin]
[ExtractSectionFiles,%ScriptFile%,Ime_ko_KR_x64_AddFiles]
[End]
Run - Processed section [Ime_ko_KR_Files] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script]
IF - [false] is not equal to: [true] evaluated string: [If,%Custom%,Equal,True,Run,%ScriptFile%,Custom_ko_KR_Files]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
|
Run - Processing section: [Keyboard_ko_KR_Reg] From file: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script]
[// Set ko-KR;en-US Keyboard]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Keyboard Layout\Preload] Key [1]: 00000412
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Keyboard Layout\Preload] Key [2]: 00000409
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [Default]: {00000000-0000-0000-0000-000000000000}
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [Profile]: {00000000-0000-0000-0000-000000000000}
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [KeyboardLayout]: 67699721
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [Default]: {A028AE76-01B1-46C2-99C4-ACD9858AE02F}
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [Profile]: {B5FE1F02-D5F2-4445-9C03-C568F23C99A1}
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [KeyboardLayout]: 68289554
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\HiddenDummyLayouts] Key [00000412]: 00000412
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\LangBar] Key [ExtraIconsOnMinimized]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\LangBar] Key [Label]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\LangBar] Key [ShowStatus]: 4
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\LangBar] Key [Transparency]: 255
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000] Key [CLSID]: {00000000-0000-0000-0000-000000000000}
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000] Key [Profile]: {00000000-0000-0000-0000-000000000000}
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000] Key [KeyboardLayout]: 67699721
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000] Key [CLSID]: {A028AE76-01B1-46C2-99C4-ACD9858AE02F}
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000] Key [Profile]: {B5FE1F02-D5F2-4445-9C03-C568F23C99A1}
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\AssemblyItem\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}\00000000] Key [KeyboardLayout]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\SortOrder\Language] Key [00000000]: 00000412
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\CTF\TIP\{A028AE76-01B1-46C2-99C4-ACD9858AE02F}\LanguageProfile\0x00000412\{B5FE1F02-D5F2-4445-9C03-C568F23C99A1}] Key [Enable]: 1
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Keyboard Layout\Preload] Key [1]: 00000412
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Keyboard Layout\Preload] Key [2]: 00000409
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Software\Microsoft\CTF\Assemblies\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [Default]: {A028AE76-01B1-46C2-99C4-ACD9858AE02F}
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Software\Microsoft\CTF\Assemblies\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [Profile]: {B5FE1F02-D5F2-4445-9C03-C568F23C99A1}
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\Software\Microsoft\CTF\Assemblies\0x00000412\{34745C63-B2F0-4784-8B67-5E12C8701A31}] Key [KeyboardLayout]: 68289554
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Software\Microsoft\CTF\HiddenDummyLayouts] Key [00000412]: 00000412
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\Software\Microsoft\CTF\TIP\{A028AE76-01B1-46C2-99C4-ACD9858AE02F}\LanguageProfile\0x00000412\{B5FE1F02-D5F2-4445-9C03-C568F23C99A1}] Key [Enable]: 1
Run - Processed section [Keyboard_ko_KR_Reg] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script]
IF - [false] is not equal to: [true] evaluated string: [If,%Custom%,Equal,True,Run,%ScriptFile%,Custom_ko_KR_Reg]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Ime_ko-KR.Script]
|
[//-]
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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\AddFiles_Display.txt" --dest-dir="%BaseDir%\Target_x86" --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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\AddFiles_Monitor.txt" --dest-dir="%BaseDir%\Target_x86" --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_x86\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]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%Network_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Network.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Network...
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Set,%EnableNetworkListService%,True]
SetVar - Sucessfuly changed the value of [%EnableNetworkListService%] to: [True]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Set,%EnableFunctionDiscoveryService%,True]
SetVar - Sucessfuly changed the value of [%EnableFunctionDiscoveryService%] to: [True]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Network_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\Network_AddFiles.txt,ExtractListFiles,%ScriptDir%\Network_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Network_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Network_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\Network_AddFiles.txt] to variable: [#9] with result: [Network_AddFiles.txt]
Extract Network_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Projects\Win10XPE\Features\Network_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 Network_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 - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
|
Run - Processing section: [Network_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
Processing Network Registry...
IF - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\wcmsvc]
[RegCopyKey,HKLM,Tmp_Software\Policies\Microsoft\Windows\WcmSvc]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\SettingSync\WindowsSettingHandlers\Tethering]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{01578f96-c270-4602-ade0-578d9c29fc0c}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{017ba13c-9a55-4f1f-8200-323055aac810}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{67d07935-283a-4791-8f8d-fa9117f3e6f2}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{9580d7dd-0379-4658-9870-d5be7d52d6de}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{b92cf7fd-dc10-4c6b-a72d-1613bf25e597}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{c100becc-d33a-4a4b-bf23-bbef4663d017}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{c100becf-d33a-4a4b-bf23-bbef4663d017}]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\WlanSvc]
[//RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\XWizards]
[//If,%Architecture%,Equal,x64,RegCopyKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\XWizards]
[//Network Places to see network in file explorer (Default ParsingName,::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C})]
[//RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{D20BEEC4-5CA8-4905-AE3B-BF251EA09B53},ParsingName,::{208D2C60-3AEA-1069-A2D7-08002B30309D}]
[End]
[//-]
[//Done in Config.script: RegCopyKey,HKLM,Tmp_System\ControlSet001\Control\Lsa - LmCompatibilityLevel,2 - LimitBlankPasswordUse,0 - "Security Packages",tspkg]
[//RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\SecurityProviders,SecurityProviders,credssp.dll]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\LanmanWorkstation]
[//---------- 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\LanmanWorkstation,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\LanmanWorkstation" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\LanmanWorkstation\Parameters] Key [AllowInsecureGuestAuth]: 1
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\NetTrace\Scenarios\WLAN]
[//---------- 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\NetTrace\Scenarios\WLAN,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\NetTrace\Scenarios\WLAN" ""]
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\WlanSvc]
[//---------- 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\WlanSvc,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\WlanSvc" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
System,ErrorOff
RegWrite - Overwrote existing key "[nativewifip],[RpcSs],[Ndisuio],[wcmsvc]" with different data
RegWrite - Type: [0x7] Section [HKLM\Tmp_System\ControlSet001\Services\WlanSvc] Key [DependOnService]: [nativewifip#$zRpcSs#$zNdisuio#$zwcmsvc]
[//RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Services\WlanSvc,DependOnService,nativewifip,RpcSs,Ndisuio]
IF - [18362] is bigger than [17000] evaluated string: [If,%SourceBuild%,Bigger,17000,Begin]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\WlanSvc] Key [ErrorControl]: 1
RegWrite - Type: [0x2] Section [HKLM\Tmp_System\ControlSet001\Services\WlanSvc] Key [ImagePath]: %SystemRoot%\System32\Svchost.exe -k LocalSystemNetworkRestricted -p
RegWrite - Overwrote existing key "3" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\WlanSvc] Key [Start]: 2
RegWrite - Overwrote existing key "16" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\WlanSvc] Key [Type]: 32
[End]
[// wfplwfs]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\WFPLWFS]
[//---------- 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\WFPLWFS,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\WFPLWFS" ""]
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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{3BFD7820-D65C-4C1B-9FEA-983A019639EA}]
[//---------- 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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{3BFD7820-D65C-4C1B-9FEA-983A019639EA},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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{3BFD7820-D65C-4C1B-9FEA-983A019639EA}" ""]
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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{B70D6460-3635-4D42-B866-B8AB1A24454C}]
[//---------- 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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{B70D6460-3635-4D42-B866-B8AB1A24454C},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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{B70D6460-3635-4D42-B866-B8AB1A24454C}" ""]
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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}]
[//---------- 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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},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\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegCopyKey,HKLM,Tmp_System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A}]
[//]
[// Holger: Fix WFPLWFS and both services nativewifip, wlanscv.]
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\NetworkSetup2\Filters\{3BFD7820-D65C-4C1B-9FEA-983A019639EA}\Kernel] Key [FilterClass]: ms_medium_converter_top
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\NetworkSetup2\Filters\{B70D6460-3635-4D42-B866-B8AB1A24454C}\Kernel] Key [FilterClass]: ms_medium_converter_top
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Kernel] Key [FilterClass]: ms_medium_converter_top
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\RadioManagement]
[//---------- 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\RadioManagement,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\RadioManagement" ""]
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\VAN]
[//---------- 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\VAN,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\VAN" ""]
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\Control\wcncsvc]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\Winlogon\Notifications\Components\Dot3svc]
[//---------- 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\Winlogon\Notifications\Components\Dot3svc,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\Winlogon\Notifications\Components\Dot3svc" ""]
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\Winlogon\Notifications\Components\Wlansvc]
[//---------- 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\Winlogon\Notifications\Components\Wlansvc,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\Winlogon\Notifications\Components\Wlansvc" ""]
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\bowser]
[//---------- 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\bowser,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\bowser" ""]
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\Browser]
[//---------- 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\Browser,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\Browser" ""]
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\dot3svc]
[//---------- 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\dot3svc,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\dot3svc" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\dot3svc,Start,2]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\EapHost]
[//---------- 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\EapHost,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\EapHost" ""]
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\EventLog\System\Browser]
[//---------- 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\EventLog\System\Browser,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\EventLog\System\Browser" ""]
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\EventLog\System\Microsoft-Windows-WLAN-AutoConfig]
[//---------- 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\EventLog\System\Microsoft-Windows-WLAN-AutoConfig,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\EventLog\System\Microsoft-Windows-WLAN-AutoConfig" ""]
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\IPNAT]
[//---------- 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\IPNAT,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\IPNAT" ""]
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\IpFilterDriver]
[//---------- 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\IpFilterDriver,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\IpFilterDriver" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//Partial in Winre.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\HTTP]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\HTTP\Parameters\UrlAclInfo]
[//---------- 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\HTTP\Parameters\UrlAclInfo,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\HTTP\Parameters\UrlAclInfo" ""]
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\NativeWifiP]
[//-]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\NdisCap]
[//---------- 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\NdisCap,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\NdisCap" ""]
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\NlaSvc]
[// Internet Connection Sharing (ICS)]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\SharedAccess]
[//---------- 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\SharedAccess,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\SharedAccess" ""]
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\tcpipreg]
[//---------- 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\tcpipreg,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\tcpipreg" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\TCPIPTUNNEL] Key [NdisMajorVersion]: 6
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\TCPIPTUNNEL] Key [NdisMinorVersion]: 40
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\TCPIPTUNNEL] Key [DriverMajorVersion]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\TCPIPTUNNEL] Key [DriverMinorVersion]: 0
[// Telephony service]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\TapiSrv]
[//---------- 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\TapiSrv,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\TapiSrv" ""]
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\tdx]
[//In Winre.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\vwifibus]
RegWrite - Type: [0x7] Section [HKLM\Tmp_System\ControlSet001\Services\vwifibus] Key [Owners]: [netvwifibus.inf]
[//In Winre.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\vwififlt]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\Wcmsvc]
[//---------- 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\Wcmsvc,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\Wcmsvc" ""]
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\wcncsvc]
[//In Winre.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\wdiwifi]
[//Partial in Winre.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\WinSock]
[//Partial in Winre.wim RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\WinSock2]
[// SMB v1.0 service. Extract mrxsmb10.sys from WinSxS Image 1 which seems Uncompressed. Expand Works for Uncompressed Files but Fails for Compressed Files on Win7 HostOS]
IF - File does not exist: [%BaseDir%\Target_x86\Windows\System32\drivers\mrxsmb10.sys] evaluated string: [If,Not,ExistFile,%GTarget_Sys%\drivers\mrxsmb10.sys,Begin]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\drivers\mrxsmb10.sys],[],[1]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\drivers\mrxsmb10.sys-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Windows\System32\drivers\mrxsmb10.sys,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\drivers\mrxsmb10.sys] to variable: [#8] with result: [mrxsmb10.sys]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target_x86]
ELSE - [Set,#7,#2]
IF - [1-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
ELSE - executing command: [Set,#6,#3]
SetVar - Sucessfuly changed the value of [#6] to: [1]
[//-]
StrFormat - converted [POS(\Windows\System32\drivers\mrxsmb10.sys,*)] 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\drivers\mrxsmb10.sys,?)] 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 mrxsmb10.sys
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 1 "\Windows\System32\drivers\mrxsmb10.sys" --dest-dir="%BaseDir%\Target_x86" --no-acls --no-globs --preserve-dir-structure]
SetVar - Sucessfuly changed the value of [%MXPE_ExitCode%] to: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
Wimlib Extract mrxsmb10.sys from Install.wim Return: 0
ELSE - [Begin]
[If,%MXPE_ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %MXPE_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"]
[Set,%MXPE_ExitCode%,%ExitCode%]
[If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
[End]
[End]
[If,%MXPE_ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode% - File Not Found",Warn]
[Else,If,Not,%MXPE_ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
IF - File exists: [%BaseDir%\Target_x86\Windows\System32\drivers\mrxsmb10.sys] evaluated string: [If,Not,ExistFile,%GTarget_Sys%\drivers\mrxsmb10.sys,Begin]
[ExtractWimFile,\Windows\WinSxS\*_microsoft-windows-smb10-minirdr_*\mrxsmb10.sys,%GTarget_Sys%\Drivers,1]
[If,ExistFile,%GTarget_Sys%\drivers\mrxsmb10.sys,Begin]
[ShellExecute,Hide,%GTools%\sxsexp32.exe,"#$q%GTarget_Sys%\drivers\mrxsmb10.sys#$q #$q%GTarget_Sys%\drivers\mrxsmb10.sys#$q"]
[//ShellExecute,Open,cmd.exe,"/C Echo sxsexp32.exe #$q%GTarget_Sys%\drivers\mrxsmb10.sys#$q&Echo.$q%GTools%\sxsexp32.exe#$q #$q%GTarget_Sys%\drivers\mrxsmb10.sys#$q #$q%GTarget_Sys%\drivers\mrxsmb10.sys#$q&Pause"]
[If,Not,%ExitCode%,Equal,0,Begin]
[EchoExtended,"SMB v1.0 Service will Not be Available. The WinSxS mrxsmb10.sys Driver could Not be Expanded.",,5]
[If,ExistFile,%GTarget_Sys%\drivers\mrxsmb10.sys,FileDeleteQ,%GTarget_Sys%\drivers\mrxsmb10.sys]
[End]
[End]
[End]
IF - File exists: [%BaseDir%\Target_x86\Windows\System32\drivers\mrxsmb10.sys] evaluated string: [If,ExistFile,%GTarget_Sys%\drivers\mrxsmb10.sys,Begin]
RegWrite - Type: [0x7] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [DependOnService]: [mrxsmb]
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [Description]: @%systemroot%\system32\wkssvc.dll,-1005
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [DisplayName]: @%systemroot%\system32\wkssvc.dll,-1004
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [ErrorControl]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [Group]: Network
RegWrite - Type: [0x2] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [ImagePath]: system32\DRIVERS\mrxsmb10.sys
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [Start]: 2
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [Tag]: 6
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\mrxsmb10] Key [Type]: 2
System,ErrorOff
RegWrite - Overwrote existing key "[Bowser],[MRxSmb20],[NSI]" with different data
RegWrite - Type: [0x7] Section [HKLM\Tmp_System\ControlSet001\Services\LanmanWorkstation] Key [DependOnService]: [Bowser#$zMRxSmb10#$zMRxSmb20#$zNSI]
[End]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\dnscache]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\nlasvc]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\wcmsvc]
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3] Key [Settings]: 30,00,00,00,fe,ff,ff,ff,02,00,00,00,03,00,00,00,3e,00,00,00,28,00,00,00,00,00,00,00,f2,03,00,00,90,06,00,00,1a,04,00,00,60,00,00,00,01,00,00,00
[//-]
[// netprofm service is required for wlansvc and wcmsvc service in 1903! even disabled and not started.]
IF - [true] is not equal to: [false] evaluated string: [If,%EnableNetworkListService%,Equal,False,Begin]
[RegCopyKey,HKLM,Tmp_System\ControlSet001\Services\netprofm]
[RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\netprofm,Start,4]
[End]
Run - Processed section [Network_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%EnableNetworkListService%,Equal,True,Run,%ScriptFile%,NetworkList]
|
Run - Processing section: [NetworkList] From file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Network.Script],[NetworkList_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Network.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\Network.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\Network.Script] to variable: [#9] with result: [Network.Script]
IF - File does not exist: [%BaseDir%\Temp\NetworkList_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\Network.Script" NetworkList_AddFiles "%BaseDir%\Temp\NetworkList_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\NetworkList_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetworkList_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\NetworkList_AddFiles.txt] to variable: [#9] with result: [NetworkList_AddFiles.txt]
Extract NetworkList_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\NetworkList_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 NetworkList_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\NetworkList_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: [NetworkList_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
[// NetworkSetup2 and NetworkUxManager from Installed Win10]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\NetworkList_RegSystem.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\NetworkList_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\NetworkList_RegSystem.txt] to variable: [#9] with result: [NetworkList_RegSystem.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\NetworkList_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 NetworkList_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 - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Microsoft\Windows NT\CurrentVersion\NetworkList]
[//---------- 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\NetworkList,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\NetworkList" ""]
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\netprofm]
[//---------- 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\netprofm,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\netprofm" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
[// Folder System32\NetworkList: Netprofm SID: S-1-5-80-3635958274-2059881490-2225992882-984577281-633327304]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [-on "%BaseDir%\Target_x86\Windows\System32\networklist" -ot file -actn ace -ace "n:S-1-5-80-3635958274-2059881490-2225992882-984577281-633327304;p:full;s:y"]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,EchoExtended,"Error set permission on
networklist folder
return: %ExitCode%",Warn,,MessageError,,Halt]
[//-]
[// AllowStart Network List Service! netprofm need SystemSetupInProgress=0 > net start netprofm > SystemSetupInProgress=1]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\netprofm]
Run - Processed section [NetworkList_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
[//-]
[// Net Start: SystemSetupInProgress=0 -> Net Start netprofm -> SystemSetupInProgress=1. netprofm need wfplwfs.sys for pnidui icon]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\Windows\System32\Pecmd.ini] string [_SUB NetInit] with string: [_SUB NetInit
REGI #HKLM\SYSTEM\Setup\SystemSetupInProgress=0
EXEC !=%WinDir%\System32\Net.exe Start netprofm
REGI #HKLM\SYSTEM\Setup\SystemSetupInProgress=1]
Run - Processed section [NetworkList] in file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
IF - [true] is equal to: [true] evaluated string: [If,%EnableFunctionDiscoveryService%,Equal,True,Run,%ScriptFile%,FunctionDiscovery]
|
Run - Processing section: [FunctionDiscovery] From file: [%BaseDir%\Projects\Win10XPE\Features\Network.Script]
[// Function Discovery Provider Host and Publication and SSDP Discovery services]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Network.Script],[FunctionDiscovery_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Network.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\Network.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\Network.Script] to variable: [#9] with result: [Network.Script]
IF - File does not exist: [%BaseDir%\Temp\FunctionDiscovery_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\Network.Script" FunctionDiscovery_AddFiles "%BaseDir%\Temp\FunctionDiscovery_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\FunctionDiscovery_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\FunctionDiscovery_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\FunctionDiscovery_AddFiles.txt] to variable: [#9] with result: [FunctionDiscovery_AddFiles.txt]
Extract FunctionDiscovery_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\FunctionDiscovery_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 FunctionDiscovery_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\FunctionDiscovery_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: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\fdPHost]
[//---------- 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\fdPHost,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\fdPHost" ""]
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\FDResPub]
[//---------- 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\FDResPub,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\FDResPub" ""]
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\SSDPSRV]
[//---------- 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\SSDPSRV,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\SSDPSRV" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//--]
[//-- KYHI Added Network and Sharing Center Service]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\upnphost]
[//---------- 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\upnphost,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\upnphost" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-- Add Network Icon To File Explorer Navagation Pane]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}] Key []: Computers and Devices
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}] Key [InfoTip]: @%systemroot%\system32\NetworkExplorer.dll,-2
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}] Key [LocalizedString]: @%systemroot%\system32\NetworkExplorer.dll,-1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}] Key [ControlPanel]: /name Microsoft.NetworkAndSharingCenter
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}] Key [SortOrderIndex]: 88
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon] Key []: %SystemRoot%\System32\imageres.dll,-25
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\InProcServer32] Key []: %systemroot%\system32\NetworkExplorer.dll
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\InProcServer32] Key [LoadWithoutCOM]:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\InProcServer32] Key [ThreadingModel]: Both
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder] Key [FolderValueFlags]: 1057344
RegWrite - Overwrote existing key "-1332477852" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder] Key [Attributes]: -1341915036
Run - Processed section [FunctionDiscovery] in file: [%BaseDir%\Projects\Win10XPE\Features\Network.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\Network.Script]
|
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],[NetDriversx86_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\NetDriversx86_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" NetDriversx86_AddFiles "%BaseDir%\Temp\NetDriversx86_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\NetDriversx86_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx86_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\NetDriversx86_AddFiles.txt] to variable: [#9] with result: [NetDriversx86_AddFiles.txt]
Extract NetDriversx86_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\NetDriversx86_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 NetDriversx86_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\NetDriversx86_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 - [18362] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,ExtractSectionFiles,%ScriptFile%,NetDrivers%Architecture%_1809_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script],[NetDriversx86_1809_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\NetDriversx86_1809_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" NetDriversx86_1809_AddFiles "%BaseDir%\Temp\NetDriversx86_1809_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\NetDriversx86_1809_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx86_1809_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\NetDriversx86_1809_AddFiles.txt] to variable: [#9] with result: [NetDriversx86_1809_AddFiles.txt]
Extract NetDriversx86_1809_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\NetDriversx86_1809_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 NetDriversx86_1809_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\NetDriversx86_1809_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 - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,NetDrivers%Architecture%_1903_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script],[NetDriversx86_1903_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\NetDriversx86_1903_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" NetDriversx86_1903_AddFiles "%BaseDir%\Temp\NetDriversx86_1903_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\NetDriversx86_1903_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx86_1903_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\NetDriversx86_1903_AddFiles.txt] to variable: [#9] with result: [NetDriversx86_1903_AddFiles.txt]
Extract NetDriversx86_1903_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\NetDriversx86_1903_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 NetDriversx86_1903_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\NetDriversx86_1903_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\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.18362.30_Professional_x86_ko-KR\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 does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\NetDrivers.reg.txt] evaluated string: [If,Not,ExistFile,%XPECache%\%NetDriversReg%,IniWrite,%XPECache%\HiveCache.ini,NetDriversCache,Version,0]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [NetDriversCache] Key [Version]: 0
IniRead - [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [NetDriversCache] Key [Version] to variable: [%NetDriversCacheVersionIni%] with value [0]
IF - [1] is not equal to: [0] evaluated string: [If,Not,%NetDriversCacheVersion%,Equal,%NetDriversCacheVersionIni%,Begin]
IF - File does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\NetDrivers.reg.txt] evaluated string: [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 does not exist: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\NetDrivers.reg.txt] evaluated string: [If,ExistFile,%XPECache%\%NetDriversReg%,RegImportFile,%XPECache%\%NetDriversReg%]
ELSE - executing command: [Begin]
IF - Directory exists: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR] evaluated string: [If,Not,ExistDir,%XPECache%,DirMake,%XPECache%]
|
Run - Processing section: [PrepareNetDriversReg] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
Prepare Network Drivers Registry...
IF - Directory does not exist: [%BaseDir%\Temp\NetDrivers] evaluated string: [If,ExistDir,%GTemp%\%ProgramFolder%,DirDeleteQ,%GTemp%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Temp\NetDrivers]
[//-]
[// Unload Project Drivers Registry Hive]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Drivers]
[//-]
[// Create an Empty Drivers Registry Hive. Add Registry NetDriver and Export Registry NetDriver in Cache]
FileCreateBlank - Created a new file: [%BaseDir%\Temp\NetDrivers\DRIVERS]
RegHiveLoad - File: [%BaseDir%\Temp\NetDrivers\DRIVERS] Section [Tmp_Drivers]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Drivers\DriverDatabase\DeviceIds]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Drivers\DriverDatabase\DriverFiles]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Drivers\DriverDatabase\DriverInfFiles]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Drivers\DriverDatabase\DriverPackages]
[//-]
|
Run - Processing section: [Reg_NetDriversx86] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [athw8.inf]
IF - [-athw8.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register athw8.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "athw8.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netathr.inf]
IF - [-netathr.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netathr.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netathr.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netathr10.inf]
IF - [-netathr10.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netathr10.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netathr10.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netbc63.inf]
IF - [-netbc63.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netbc63.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netbc63.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netbc64.inf]
IF - [-netbc64.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netbc64.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netbc64.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netrtwlane.inf]
IF - [-netrtwlane.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netrtwlane.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netrtwlane.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netrtwlane_13.inf]
IF - [-netrtwlane_13.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netrtwlane_13.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netrtwlane_13.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netrtwlanu.inf]
IF - [-netrtwlanu.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netrtwlanu.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netrtwlanu.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwbn02.inf]
IF - [-netwbn02.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwbn02.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwbn02.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwen00.inf]
IF - [-netwen00.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwen00.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwen00.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwen01.inf]
IF - [-netwen01.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwen01.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwen01.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwlv32.inf]
IF - [-netwlv32.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwlv32.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwlv32.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwns32.inf]
IF - [-netwns32.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwns32.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwns32.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwsn00.inf]
IF - [-netwsn00.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwsn00.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwsn00.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwtn04.inf]
IF - [-netwtn04.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwtn04.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwtn04.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[//-]
IF - [18362] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,Begin]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netwtn02.inf]
IF - [-netwtn02.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netwtn02.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netwtn02.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[End]
IF - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,Begin]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
with parameters: [netrtwlane01.inf]
IF - [-netrtwlane01.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register netrtwlane01.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C RegAddDriver.cmd "netrtwlane01.inf"]
System,FileRedirect,ON
Run - Processed section [MRegAddDriver] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[End]
Run - Processed section [Reg_NetDriversx86] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[//-]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/e "%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\NetDrivers.reg.txt" "HKEY_LOCAL_MACHINE\Tmp_Drivers\DriverDatabase"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Export Registry File %NetDriversReg% return: %ExitCode%"]
Export Registry File NetDrivers.reg.txt return: 0
ELSE - [EchoExtended,"Error: Export Registry File %NetDriversReg% return: %ExitCode%",Warn,,MessageError]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Drivers]
[//-]
[// ReLoad Project Drivers Registry Hive and Import Registry NetDriver from Cache]
RegHiveLoad - File: [%BaseDir%\Target_x86\Windows\System32\config\Drivers] Section [Tmp_Drivers]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\NetDrivers.reg.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\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.18362.30_Professional_x86_ko-KR\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.18362.30_Professional_x86_ko-KR\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]
Run - Processed section [PrepareNetDriversReg] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
Run - Processing section: [WriteIniCacheInformation] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.30_Professional_x86_ko-KR\HiveCache.ini] Section [NetDriversCache] Key [Version]: 1
Run - Processed section [WriteIniCacheInformation] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[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 - [x86] is not equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Run,%ScriptFile%,PluginSetx64]
[//--]
|
Run - Processing section: [Extract] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - File does not exist: [%BaseDir%\Temp\PENetwork\PENetwork.exe] evaluated string: [If,Not,ExistFile,%GTemp%\%ProgramFolder%\%ProgramExe%,Begin]
IF - Directory does not exist: [%BaseDir%\Temp\PENetwork] evaluated string: [If,Not,ExistDir,%GTemp%\%ProgramFolder%,DirMake,%GTemp%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Temp\PENetwork]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\PENetwork_x86.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_x86.7z" -y -o"%BaseDir%\Temp\PENetwork"]
ELSE - [EchoExtended,"%SetupFile% should be in the original package",Warn,,Message,,Halt]
[End]
ExtractFile - [PENetwork.ini] to: [%BaseDir%\Temp\PENetwork]
Run - Processed section [Extract] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
IF - Directory does not exist: [%BaseDir%\ISO_x86\Programs] evaluated string: [If,Not,ExistDir,%Target_Prog%,DirMake,%Target_Prog%]
DirMake - Created directory: [%BaseDir%\ISO_x86\Programs]
IF - Directory does not exist: [%BaseDir%\ISO_x86\Programs\PENetwork] evaluated string: [If,ExistDir,%Target_Prog%\%ProgramFolder%,DirDeleteQ,%Target_Prog%\%ProgramFolder%]
DirCopy - Copied directory [%BaseDir%\Temp\PENetwork] to: [%BaseDir%\ISO_x86\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 - [false] is not equal to: [true] evaluated string: [If,%UseWifiProfile_CheckBox%,Equal,True,Run,%Scriptfile%,AutoConnectWifiProfile]
[//--]
[// 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_x86\Windows\System32\pecmd.ini] string [EXEC %ProgramFiles%\PENetwork\PENetwork.exe] with string: [EXEC Y:\Programs\PENetwork\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\PENetwork.exe]
StrFormat - converted [REPLACE(Y:\Programs\PENetwork\PENetwork.exe,X:\Program Files)] to variable: [#3] with result: [Y:\Programs\PENetwork\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_x86\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Desktop%\PENetwork,Y:\Programs\PENetwork\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\PENetwork.exe]
StrFormat - converted [REPLACE(Y:\Programs\PENetwork\PENetwork.exe,X:\Program Files)] to variable: [#3] with result: [Y:\Programs\PENetwork\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_x86\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Programs%\Network\PENetwork,Y:\Programs\PENetwork\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_x86\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_x86\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_x86\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_x86\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 "V:\sources\install.wim" 3 @"%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,Audio_1903_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Audio.Script],[Audio_1903_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Audio.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\Audio.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\Audio.Script] to variable: [#9] with result: [Audio.Script]
IF - File does not exist: [%BaseDir%\Temp\Audio_1903_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\Audio.Script" Audio_1903_AddFiles "%BaseDir%\Temp\Audio_1903_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\Audio_1903_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Audio_1903_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\Audio_1903_AddFiles.txt] to variable: [#9] with result: [Audio_1903_AddFiles.txt]
Extract Audio_1903_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Audio_1903_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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_1903_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\Audio_1903_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\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 - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[//Complete winre.wim audio registry]
[RegCopyKey,HKLM,Tmp_Software\Classes\AudioEngine]
[//In WinRE.wim RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Audio]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows\CurrentVersion\Media Center"]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices]
[ACLRegKey,Tmp_Software\Microsoft\Windows\CurrentVersion\MMDevices]
[//MMDevices has special rights required, Audiosrv & AudioEndpointBuilder. It can be FullControl]
[//-]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\drivers.desc"]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Drivers32"]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions"]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\MCI32"]
[//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 - Overwrote existing key "WMP11.AssocFile.MP3" with different data
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]
[//-]
IF - [18362true] is not equal to: [17763true] evaluated string: [If,%SourceBuild%%EnableMMDevicesStereo%,Equal,17763True,Begin]
[If,ExistFile,%ScriptDir%\MMDevices_Stereo.txt,RegImportFile,%ScriptDir%\MMDevices_Stereo.txt]
[End]
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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\Msi_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 - [x86false] is not equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,ExtractSectionFiles,%ScriptFile%,Msix64_AddFiles]
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 - [true] is not equal to: [false] evaluated string: [If,%FullSoftware%,Equal,False,Begin]
[If,ExistFile,%ScriptDir%\Msi_RegSoftware.txt,RegImportFile,%ScriptDir%\Msi_RegSoftware.txt]
[If,%Architecture%%WoW64Support%,Equal,x64True,Begin]
[If,ExistFile,%ScriptDir%\Msi6432_RegSoftware.txt,RegImportFile,%ScriptDir%\Msi6432_RegSoftware.txt]
[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_x86\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_x86\Windows\System32\autorun.cmd] string [Exit]
TxtAddLine - Added line: [%BaseDir%\Target_x86\Windows\System32\autorun.cmd] line: Value: :: Register Msi Windows Installer Option: Append
TxtAddLine - Added line: [%BaseDir%\Target_x86\Windows\System32\autorun.cmd] line: Value: If Exist %WinDir%\System32\Msi.dll (%WinDir%\System32\Regsvr32.exe /S %WinDir%\System32\Msi.dll) Option: Append
IF - [x86false] is not 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_x86\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_x86\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_x86\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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\WinApps_Paint_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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 "V:\sources\install.wim" 3 @"%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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: [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_x86]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [3]
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 "V:\sources\install.wim" 3 "\Program Files\Common Files\microsoft shared\ink\tipresx.dll" --dest-dir="%BaseDir%\Target_x86" --no-acls --no-globs --preserve-dir-structure]
SetVar - Sucessfuly changed the value of [%MXPE_ExitCode%] to: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
Wimlib Extract tipresx.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%MXPE_ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %MXPE_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"]
[Set,%MXPE_ExitCode%,%ExitCode%]
[If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
[End]
[End]
[If,%MXPE_ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode% - File Not Found",Warn]
[Else,If,Not,%MXPE_ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_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: [\Program Files\Common Files\microsoft shared\ink\ko-KR\tipresx.dll.mui]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\program files\common files\microsoft shared\ink\ko-kr\tipresx.dll.mui-] 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\ko-KR\tipresx.dll.mui,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\ko-KR\tipresx.dll.mui] to variable: [#8] with result: [tipresx.dll.mui]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target_x86]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [3]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Program Files\Common Files\microsoft shared\ink\ko-KR\tipresx.dll.mui,*)] 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\ko-KR\tipresx.dll.mui,?)] 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.mui
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "V:\sources\install.wim" 3 "\Program Files\Common Files\microsoft shared\ink\ko-KR\tipresx.dll.mui" --dest-dir="%BaseDir%\Target_x86" --no-acls --no-globs --preserve-dir-structure]
SetVar - Sucessfuly changed the value of [%MXPE_ExitCode%] to: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
Wimlib Extract tipresx.dll.mui from Install.wim Return: 0
ELSE - [Begin]
[If,%MXPE_ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %MXPE_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"]
[Set,%MXPE_ExitCode%,%ExitCode%]
[If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
[End]
[End]
[If,%MXPE_ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode% - File Not Found",Warn]
[Else,If,Not,%MXPE_ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%",Warn]
[End]
[//---------- END ExtractWimFile Macro ------------------------------]
Run - Processed section [MExtractWimFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[//-]
IF - [18362] 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_x86]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [3]
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 "V:\sources\install.wim" 3 "\Windows\System32\coloradapterclient.dll" --dest-dir="%BaseDir%\Target_x86" --no-acls --no-globs --preserve-dir-structure]
SetVar - Sucessfuly changed the value of [%MXPE_ExitCode%] to: [0]
IF - [0] is equal to: [0] evaluated string: [If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
Wimlib Extract coloradapterclient.dll from Install.wim Return: 0
ELSE - [Begin]
[If,%MXPE_ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #8 from Install.wim Return: %MXPE_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"]
[Set,%MXPE_ExitCode%,%ExitCode%]
[If,%MXPE_ExitCode%,Equal,0,Echo,"Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode%"]
[End]
[End]
[If,%MXPE_ExitCode%,Equal,49,Echo,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_ExitCode% - File Not Found",Warn]
[Else,If,Not,%MXPE_ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #8 from Install.wim Return: %MXPE_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_x86\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessibility\OSK] with string: [LINK %Programs%\Accessibility\OSK]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\MSPaint] with string: [LINK %Programs%\Accessories\MSPaint]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\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_x86\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\PhotoViewer] with string: [LINK %Programs%\Accessories\PhotoViewer]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\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]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,Not,%Shell%,Equal,WinXShell,RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\TabletPC\Snipping Tool",FileFormat,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\TabletPC\Snipping Tool] Key [FileFormat]: 1
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_x86.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_x86.7z" -y -o"%BaseDir%\Target_x86"]
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_x86\Windows\System32\pecmd.ini] string [//EXEC @!%WinDir%\System32\StartImDIsk.exe] with string: [EXEC @!%WinDir%\System32\StartImDIsk.exe]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\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 - [false] is not equal to: [true] evaluated string: [If,%Admin_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Admin.Script,Process,HiveLoaded]
IF - [false] is not equal to: [true] evaluated string: [If,%IE11_CheckBox%,Equal,True,Begin]
[If,ExistFile,%ProjectDir%\Features\IE11.Script,Exec,%ProjectDir%\Features\IE11.Script,Process,HiveLoaded]
[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 - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfaceBuild,""]
AddInterface - Added section [InterfaceBuild] 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 - [true] is 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]
RegWrite - Overwrote existing key "30,00,00,00,FE,FF,FF,FF,02,00,00,00,03,00,00,00,3E,00,00,00,28,00,00,00,00,00,00,00,F2,03,00,00,90,06,00,00,1A,04,00,00,60,00,00,00,01,00,00,00" with different data
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3] Key [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 - [false] is not equal to: [true] evaluated string: [If,%Ribbon_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon,MinimizedStateTabletModeOff,0]
ELSE - executing command: [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon,MinimizedStateTabletModeOff,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon] Key [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 - [true] is equal to: [true] evaluated string: [If,%SIBOpaque_CheckBox%,Equal,True,Begin]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [StartMenuAlpha]: 255
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [StartMenuBlur]: 2
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [StartMenuColor]: -1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [TaskbarAlpha]: 255
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [TaskbarBlur]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [TaskbarColor]: -1
[End]
[// Explorer Dark or Light Theme]
IF - [18362] 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 - [false] is not equal to: [true] evaluated string: [If,%DarkThemeShortcut_CheckBox%,Equal,True,Begin]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"//LINK #$pDesktop#$p\Change Explorer Theme","LINK #$pDesktop#$p\Change Explorer Theme"]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"//LINK #$pPrograms#$p\System Tools\Change Explorer Theme","LINK #$pPrograms#$p\System Tools\Change Explorer Theme"]
[End]
[End]
[// Change Default DPI Scaling to Off]
IF - [false] is not equal to: [true] evaluated string: [If,%DPI_CheckBox%,Equal,True,RegWrite,HKLM,0x4,"Tmp_Default\Control Panel\Desktop",Win8DpiScaling,0]
[// 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 "V:\sources\install.wim" 3 @"%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt" --dest-dir="%BaseDir%\Target_x86" --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_x86.exe] to: [%BaseDir%\Target_x86\Windows\System32\OskTray.exe]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessibility\OSK] with string: [LINK %Programs%\Accessibility\OSK]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\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 - [false] is not equal to: [true] evaluated string: [If,%NumLock_CheckBox%,Equal,True,Set,%Numlock%,2]
ELSE - executing command: [Begin]
SetVar - Sucessfuly changed the value of [%Numlock%] to: [2147483648]
TXTReplace - Replaced strings in file: [%BaseDir%\Target_x86\Windows\System32\pecmd.ini] string [NUMK 1] with string: [NUMK 0]
[End]
System,ErrorOff
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Keyboard] Key [InitialKeyboardIndicators]: 2147483648
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: [10]
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: [600]
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]: 600
[// 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_x86\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]
IF - [true] is equal to: [true] evaluated string: [If,%DrvInstPatch_CheckBox%,Equal,True,Run,%ScriptFile%,DrvInstPatch]
|
Run - Processing section: [DrvInstPatch] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - Directory does not exist: [%BaseDir%\Temp\DrvInstPatch] evaluated string: [If,ExistDir,%GTemp%\DrvInstPatch,DirDeleteQ,%GTemp%\DrvInstPatch]
DirMake - Created directory: [%BaseDir%\Temp\DrvInstPatch]
ExtractFile - [DrvInstPatch.exe] to: [%BaseDir%\Temp\DrvInstPatch]
ShellExecute: [Hide] using: [%BaseDir%\Temp\DrvInstPatch\DrvInstPatch.exe] with parameters: [P %BaseDir%\Target_x86\Windows\System32\drvinst.exe]
Run - Processed section [DrvInstPatch] 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\x86\Drivers] evaluated string: [If,ExistDir,%GCustom%\%Architecture%\Drivers,Begin]
Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Custom\x86\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: 4 minutes, 8 seconds and 834 milliseconds
Finished processing script: Build Core
|