Build Core |
File [%BaseDir%\Projects\Win10XPE\Core.script] Version[6]
Processing Build Core...
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Pre-Check...
IF - [false] is not equal to: [true] evaluated string: [If,%CheckRootDrive%,Equal,True,Run,%scriptfile%,CheckRootDrive]
IF - [true] is equal to: [true] evaluated string: [If,%CheckBuild%,Equal,True,Run,%ScriptFile%,CheckBuild]
|
Run - Processing section: [CheckBuild] From file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.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 [CheckBuild] in file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
IF - [true] is equal to: [true] evaluated string: [If,%CheckTools%,Equal,True,Run,%ScriptFile%,CheckTools]
|
Run - Processing section: [CheckTools] From file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.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 [CheckTools] in file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
IF - [false] is not equal to: [true] evaluated string: [If,%CheckAV%,Equal,True,Run,%ScriptFile%,CheckAV]
IF - [true] is equal to: [true] evaluated string: [If,%CheckNtfsCompression%,Equal,True,Run,%ScriptFile%,CheckNtfsCompression]
|
Run - Processing section: [CheckNtfsCompression] From file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
RegRead - read specified key from: [HKLM]Section: [SYSTEM\CurrentControlSet\Control\FileSystem] Key: [NtfsDisableCompression] to variable:: [%NtfsDisableCompression%] with value: [0]
IF - [0] is not equal to: [1] evaluated string: [If,%NtfsDisableCompression%,Equal,1,EchoExtended,"NTFS File Compression s Disabled. Enable NTFS File Compression and Reboot to be Able to Build.",Warn,,Message,,Halt]
Run - Processed section [CheckNtfsCompression] in file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
IF - [true] is equal to: [true] evaluated string: [If,%CheckCmd%,Equal,True,Run,%ScriptFile%,CheckCmd]
|
Run - Processing section: [CheckCmd] From file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
SetVar - Sucessfuly changed the value of [%CmdAutorun%] to: []
IF - Key does not exist [HKCU] evaluated string: [If,ExistRegKey,HKCU,"SOFTWARE\Microsoft\Command Processor",AutoRun,RegRead,HKCU,"SOFTWARE\Microsoft\Command Processor",AutoRun,%CmdAutorun%]
ELSE - executing command: [Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,"SOFTWARE\Microsoft\Command Processor",AutoRun,RegRead,HKLM,"SOFTWARE\Microsoft\Command Processor",AutoRun,%CmdAutorun%]
[End]
IF - [-] is equal to: [-] evaluated string: [If,Not,-%CmdAutorun%,Equal,-,Echo,"AutoRun Command Processor = %CmdAutorun% is Executed Before All Other Variables.",Warn]
[//-]
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/C echo ...]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,EchoExtended,"cmd.exe Fails With the Return Code: %ExitCode% on a Basic Command (Echo).
Solve the problem! on cmd.exe before building.",Warn,,Message,,Halt]
Run - Processed section [CheckCmd] in file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
IF - [true] is equal to: [true] evaluated string: [If,%CheckCodeBox%,Equal,True,Run,%ScriptFile%,CheckCodeBox]
|
Run - Processing section: [CheckCodeBox] From file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.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 [CheckCodeBox] in file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\PreCheck.Script]
|
[//-]
|
Run - Processing section: [Check_Image_Exist] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - File exists: [C:\Sources\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: [C:\Sources\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 [Check_Image_Exist] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
StrFormat - converted [SPLIT(en-US,|)] to variable: [%NbLang%] with result: [1]
|
Loop - Processing section: [Check_sr-Latn_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[1]
|
Iteration - Processing section: [Check_sr-Latn_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1]
StrFormat - converted [SPLIT(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: [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\x86\DISM\imagex.exe] evaluated string: [If,Not,ExistFile,%GTools%\x86\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]
|
[//-]
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 - 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]
Run - Processed section [CheckInput] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
|
Run - Processing section: [SaveConfig] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [true] is equal to: [true] evaluated string: [If,%Explorer_RadioButton%,Equal,True,Set,%Shell%,Explorer,Permanent]
SetVar - Sucessfuly changed the value of [%Shell%] to: [Explorer]
ELSE - [Set,%Shell%,WinXShell,Permanent]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%TargetArch_CheckBox%,Equal,True,Begin]
[Set,%GTarget%,%BaseDir%\Target_%Architecture%,Permanent]
[Set,%GISO%,%BaseDir%\ISO_%Architecture%,Permanent]
[End]
ELSE - executing command: [Begin]
SetVar - Sucessfuly changed the value of [%GTarget%] to: [%BaseDir%\Target]
SetVar - Sucessfuly changed the value of [%GISO%] to: [%BaseDir%\ISO]
[End]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%AllInRam_CheckBox%,Equal,True,Begin]
[Set,%Target_Prog%,"%GTarget%\Program Files",Permanent]
[Set,%PE_Programs%,"X:\Program Files",Permanent]
[End]
ELSE - executing command: [Begin]
SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\ISO\Programs]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [Y:\Programs]
[End]
[// Full Software Hive]
SetVar - Sucessfuly changed the value of [%FullSoftware%] to: [True]
IF - [true] is equal to: [true] evaluated string: [If,%Network_CheckBox%,Equal,True,Set,%FullSoftware%,True,Permanent]
SetVar - Sucessfuly changed the value of [%FullSoftware%] to: [True]
[//-]
[// ShellExecute's Standard Output Redirect in PEBakery]
IF - File exists: [%BaseDir%\Win10XPE.exe] evaluated string: [If,ExistFile,%WBExe%,Set,%OpenHideOutput%,Open,Permanent]
SetVar - Sucessfuly changed the value of [%OpenHideOutput%] to: [Open]
ELSE - [Set,%OpenHideOutput%,Hide,Permanent]
[//-]
|
Run - Processing section: [IniWriteFeatures] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [TargetArch]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [AllInRam]: False
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [AllCatalogs]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [SetupFiles]: True
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]: True
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Accessibility]: True
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]: True
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]: True
[// System,RebuildVars not required with PEBakery]
IF - File exists: [%BaseDir%\Win10XPE.exe] evaluated string: [If,ExistFile,%WBExe%,System,RebuildVars]
System - Refreshing all variables
Run - Processed section [IniWriteFeatures] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
Run - Processed section [SaveConfig] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
[//-]
Deleting Target & Temp folders...
|
Run - Processing section: [ClearMakeFolder] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory exists: [%BaseDir%\Target] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\Target]
IF - Directory does not exist: [%BaseDir%\Target] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/D /C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\Target] evaluated string: [If,ExistDir,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistDir,#1,DirDelete,#1]
[If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/D /C rd /s /q #$q#1#$q"]
[If,ExistDir,#1,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END DirDeleteQ Macro ------------------------------]
Run - Processed section [MDirDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
DirMake - Created directory: [%BaseDir%\Target]
[// Set the NTFS permissions on target folder to Full Control to everyone - this avoids the black screen on boot problem]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\SetAcl.exe] with parameters: [ -ot "file" -on "%BaseDir%\Target" -actn ace -actn setprot -op "dacl:p_nc" -ace "n:S-1-1-0;p:full;s:y"]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,Echo,"SetAcl - NTFS permission on Target folder FAIL -> Black Screen on boot",Warn]
[//-]
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory exists: [%BaseDir%\Temp] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\Temp]
IF - Directory does not exist: [%BaseDir%\Temp] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/D /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,"/D /C rd /s /q #$q#1#$q"]
[If,ExistDir,#1,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END DirDeleteQ Macro ------------------------------]
Run - Processed section [MDirDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
DirMake - Created directory: [%BaseDir%\Temp\Install.hives]
[//-]
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\ISO]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\iso-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: DirDeleteQ - Missing Parameter: Directory",Warn,,MessageError,,Halt]
System,ErrorOff
IF - Directory exists: [%BaseDir%\ISO] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\ISO]
IF - Directory does not exist: [%BaseDir%\ISO] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/D /C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\ISO] evaluated string: [If,ExistDir,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistDir,#1,DirDelete,#1]
[If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/D /C rd /s /q #$q#1#$q"]
[If,ExistDir,#1,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The Folder Could Not be Deleted. #$x#$x#1#$x#$x A File is Maybe Opened ? The Folder is Maybe Opened in Explorer ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END DirDeleteQ Macro ------------------------------]
Run - Processed section [MDirDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
DirMake - Created directory: [%BaseDir%\ISO]
Run - Processed section [ClearMakeFolder] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
IF - File does not exist: [%BaseDir%\Temp\WimInfo.ini] evaluated string: [If,Not,ExistFile,%GTemp%\WimInfo.ini,Run,%ScriptFile%,Run_WimInfo]
|
Run - Processing section: [Run_WimInfo] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - Directory exists: [%BaseDir%\Temp] evaluated string: [If,Not,ExistDir,%GTemp%,DirMake,%GTemp%]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\WimInfo.exe] with parameters: [-wim:"C:\Sources\sources\install.wim" -ini:"%BaseDir%\Temp\WimInfo.ini"]
IF - File exists: [%BaseDir%\Temp\WimInfo.ini] evaluated string: [If,Not,ExistFile,%GTemp%\WimInfo.ini,EchoExtended,"Error: Wim file information missing. A problem occurred to Get Image Information.
Try using official MS sources.",Warn,,MessageError,,Halt]
IniRead - [%BaseDir%\Temp\WimInfo.ini] Section [Attributes] Key [ImageCount] to variable: [%ImageCountVar%] with value [11]
IF - [11] is not smaller than [1] evaluated string: [If,%ImageCountVar%,Smaller,1,EchoExtended,"Error: Wim file information missing. A problem occurred to Get Image Information.
Try using official MS sources.",Warn,,MessageError,,Halt]
Run - Processed section [Run_WimInfo] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
[//-]
Extract Winre.wim image file from install.wim
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 \Windows\System32\Recovery\Winre.wim --dest-dir="%BaseDir%\Temp" --no-globs --no-acls]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract Winre.wim image file from install.wim return: %ExitCode%"]
Wimlib extract Winre.wim image file from install.wim return: 0
ELSE - [EchoExtended,"Error: Wimlib extract Winre.wim image file from install.wim return: %ExitCode%",Warn,,MessageError,,Halt]
[//-]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Begin]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [FullSoftware] to variable: [%FullSoftwareIni%] with value [True]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftwareIni%,Equal,True,Begin]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\FullSOFTWARE] evaluated string: [If,ExistFile,%XPECache%\FullSOFTWARE,FileCopy,%XPECache%\FullSOFTWARE,%GTemp%\Install.hives\SOFTWARE]
FileCopy - Copied [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\FullSOFTWARE] to: [%BaseDir%\Temp\Install.hives\SOFTWARE]
[End]
[End]
IF - File exists: [%BaseDir%\Temp\Install.hives\SOFTWARE] evaluated string: [If,Not,ExistFile,%GTemp%\Install.hives\SOFTWARE,Begin]
[Echo,"Extract Software hive from install.wim"]
[ShellExecute,Hide,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% \Windows\System32\config\SOFTWARE --dest-dir=#$q%GTemp%\Install.hives#$q --no-globs --no-acls"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib extract Software hive from install.wim return: %ExitCode%"]
[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 "C:\Sources\sources\install.wim" 10 \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,"/D /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,"/D /C del /q /f #$q#1#$q&del /q /f /A:R /A:H /A:S /A:A #$q#1#$q"]
[If,ExistFile,#1,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END FileDeleteQ Macro ------------------------------]
Run - Processed section [MFileDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCreateBlank - Created a new file: [%BaseDir%\Temp\ExtractSmallSxS]
|
Run - Processing section: [PrepareSmallSxSFile] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Set,%SxSArch%,x86]
ELSE - executing command: [Set,%SxSArch%,amd64]
SetVar - Sucessfuly changed the value of [%SxSArch%] to: [amd64]
[//- Language without fallback language should be enough for WinSxS]
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.c..-controls.resources_*_en-US*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.common-controls*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.gdiplus.systemcopy_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.gdiplus_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.isolationautomation_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft.windows.i..utomation.proxystub_*\*.* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\amd64_microsoft-windows-servicingstack_*\*.* Option: Append
[//-]
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.c..-controls.resources_*_en-US*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.gdiplus.systemcopy_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.gdiplus_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.isolationautomation_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.i..utomation.proxystub_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-comdlg32_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-comctl32-v5.resources_*_en-US*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-comdlg32.resources_*_en-US*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.systemcompatible_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-a..core-base.resources_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-blb-engine-main_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.s...smart_card_library_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.s..rt_driver.resources_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft.windows.s..se.scsi_port_driver_*.manifest Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\ExtractSmallSxS] line: Value: \Windows\WinSxS\manifests\amd64_microsoft-windows-servicingstack_*.manifest Option: Append
[//TxtAddline,%w%,"\Windows\WinSxS\manifests\x86_microsoft.windows.s..ation.badcomponents_*.manifest",Append]
Run - Processed section [PrepareSmallSxSFile] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "%BaseDir%\Temp\Winre.wim" 1 @"%BaseDir%\Temp\ExtractSmallSxS" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract WinSxS from Winre.wim return: %ExitCode%"]
Wimlib extract WinSxS from Winre.wim return: 0
ELSE - [EchoExtended,"Error: Wimlib extract WinSxS from Winre.wim return: %ExitCode%",Warn,,MessageError,,Halt]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\ExtractSmallSxS]
IF - Directory does not exist: [%BaseDir%\Target\Windows\WinSxS\Catalogs] evaluated string: [If,Not,ExistDir,%GTarget_Win%\WinSxS\Catalogs,DirMake,%GTarget_Win%\WinSxS\Catalogs]
DirMake - Created directory: [%BaseDir%\Target\Windows\WinSxS\Catalogs]
[//Extract Small SxS with 7-zip. Same file without first "\" char]
[//TXTReplace,%w%,\Windows,Windows]
[//ShellExecute,Hide,%GTools%\7z.exe,"x -y #$q%GTemp%\Winre.wim#$q -o#$q%GTarget%#$q @#$q%w%#$q"]
[//Echo,"7-Zip Extract SxS return : %ExitCode%"]
[//-]
Cleanup and reduce Winre.wim
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Temp\WimSmallUpdate]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WimSmallUpdate]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp\wimsmallupdate-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: FileDeleteQ - Missing Parameter: File",Warn,,MessageError,,Halt]
System,ErrorOff
IF - File does not exist: [%BaseDir%\Temp\WimSmallUpdate] evaluated string: [If,ExistFile,#1,FileDelete,#1]
IF - File does not exist: [%BaseDir%\Temp\WimSmallUpdate] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/D /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,"/D /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 - [true] is equal to: [true] evaluated string: [If,%SetupFiles_CheckBox%,Equal,True,TxtAddline,%w%,"delete '\sources' --force --recursive",Append]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\sources' --force --recursive Option: Append
IF - [truetrue] is not equal to: [truefalse] evaluated string: [If,%DelSpeech_CheckBox%%Accessibility_CheckBox%,Equal,TrueFalse,TxtAddline,%w%,"delete '\Windows\Speech' --force --recursive",Append]
[// Pure 64 bit, without WoW64 support): Program Files (x86) is not required]
IF - [false] is not equal to: [true] evaluated string: [If,%DelSysWOW64_CheckBox%,Equal,True,Begin]
[If,%Architecture%%WoW64Support%,Equal,x64False,TxtAddline,%w%,"delete '\Windows\SysWOW64' --force --recursive",Append]
[End]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,TxtAddline,%w%,"delete '\Program Files (x86)' --force --recursive",Append]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Program Files (x86)' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\WinSxs' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\WallpaperHost.exe' --force Option: Append
[//-]
[// 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 Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\diagtrack.dll' --force Option: Append
|
Loop - Processing section: [WimSmallUpdateMuiFile_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[1],[\Windows\System32],[diagtrack.dll.mui]
|
Iteration - Processing section: [WimSmallUpdateMuiFile_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\System32],[diagtrack.dll.mui]
StrFormat - converted [SPLIT(en-US,|)] to variable: [#9] with result: [en-US]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\en-US\diagtrack.dll.mui' --force 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,diagtrack.dll.mui]
[//-]
[// WMI Repository will be rebuilt, refresh at startup]
IF - [true] is equal to: [true] evaluated string: [If,%DelwbemRepository_CheckBox%,Equal,True,Begin]
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
[End]
[//-]
[// Edge web plateform is useless]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\edgehtml.dll' --force Option: Append
|
Loop - Processing section: [WimSmallUpdateMuiFile_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[1],[\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(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 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 Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\edgeIso.dll' --force Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\EdgeManager.dll' --force Option: Append
[//-]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\Journal' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\RegBack' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\systemprofile' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\System32\config\TxR' --force --recursive Option: Append
[//-]
|
Run - Processing section: [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],[1],[\Windows\System32]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\System32]
StrFormat - converted [SPLIT(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 - [x64] is 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\SysWOW64]
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ar-SA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\bg-BG' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\cs-CZ' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\da-DK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\de-DE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\el-GR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\en-GB' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\en-US' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\es-ES' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\es-MX' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\et-EE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\fi-FI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\fr-CA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\fr-FR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\he-IL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\hr-HR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\hu-HU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\it-IT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ja-JP' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ko-KR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\lt-LT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\lv-LV' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\nb-NO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\nl-NL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\pl-PL' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\pt-BR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\pt-PT' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\qps-ploc' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ro-RO' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\ru-RU' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sk-SK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sl-SI' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sr-Latn-CS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sr-Latn-RS' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\sv-SE' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\th-TH' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\tr-TR' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\uk-UA' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\zh-CN' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\zh-HK' --force --recursive Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\WimSmallUpdate] line: Value: delete '\Windows\SysWOW64\zh-TW' --force --recursive Option: Append
|
Loop - Processing section: [WimSmallUpdateMuiDir_Loop] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1],[1],[\Windows\SysWOW64]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\SysWOW64]
StrFormat - converted [SPLIT(en-US,|)] to variable: [#9] with result: [en-US]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Temp\WimSmallUpdate] string [delete '\Windows\SysWOW64\en-US' --force --recursive]
Iteration - Processed section [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\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],[1],[\Windows\Boot\EFI]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\EFI]
StrFormat - converted [SPLIT(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],[1],[\Windows\Boot\PCAT]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\PCAT]
StrFormat - converted [SPLIT(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],[1],[\Windows\Boot\PXE]
|
Iteration - Processing section: [WimSmallUpdateMuiDir_Loop] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
with parameters: [1] [\Windows\Boot\PXE]
StrFormat - converted [SPLIT(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: [/D /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: [/D /C Echo Apply Winre.wim in Target Folder. Be patient...&Echo.&wimlib-imagex.exe apply "%BaseDir%\Temp\Winre.wim" 1 "%BaseDir%\Target" --no-acls]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Apply Winre.wim in Target Folder return : %ExitCode%"]
Wimlib Apply Winre.wim in Target Folder return : 0
ELSE - [Begin]
[Echo,"Wimlib Apply Winre.wim in Target Folder return : %ExitCode%",Warn]
[EchoExtended,"Error: Winre.wim image files were not successfully applied in Target Folder.",Warn,,MessageError,,Halt]
[End]
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\Windows\System32\config\SOFTWARE]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target\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\Windows\System32\config\SOFTWARE] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Windows\System32\config\SOFTWARE]
IF - File does not exist: [%BaseDir%\Target\Windows\System32\config\SOFTWARE] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/D /C del /q /f "#1"&del /q /f /A:R /A:H /A:S /A:A "#1""]
IF - File does not exist: [%BaseDir%\Target\Windows\System32\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,"/D /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\Windows\System32\config\SOFTWARE]
[End]
[// Additional folder for pins]
IF - Directory does not exist: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu] evaluated string: [If,Not,ExistDir,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu",DirMake,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu"]
DirMake - Created directory: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu]
IF - Directory does not exist: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar] evaluated string: [If,Not,ExistDir,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar",DirMake,"%Gtarget%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"]
DirMake - Created directory: [%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar]
ShellExecute: [Hide] using: [Attrib.exe] with parameters: [+A +H +S +R "%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned"]
ShellExecute: [Hide] using: [Attrib.exe] with parameters: [+S "%BaseDir%\Target\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned"]
[//-]
[// Better and safer to use the same registry for Explorer and WinXShell with the copy of AppID,CLSID,Interface,TypeLib]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Config...
|
Run - Processing section: [RegConfig] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,CheckHiveCacheINI]
|
Run - Processing section: [CheckHiveCacheINI] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [Version] to variable: [%CacheVersionIni%] with value [6]
IF - [6] is equal to: [6] evaluated string: [If,Not,%CacheVersion%,Equal,%CacheVersionIni%,DirDeleteQ,%XPECache%]
ELSE - executing command: [Begin]
IF - File does not exist: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\SOFTWARE] evaluated string: [If,Not,ExistFile,%XPECache%\SOFTWARE,IniWrite,%XPECache%\HiveCache.ini,Cache,Software,False]
IniWrite - Wrote INI key in file: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [Software]: False
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\FullSOFTWARE] evaluated string: [If,Not,ExistFile,%XPECache%\FullSOFTWARE,IniWrite,%XPECache%\HiveCache.ini,Cache,FullSoftware,False]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\SYSTEM] evaluated string: [If,Not,ExistFile,%XPECache%\SYSTEM,IniWrite,%XPECache%\HiveCache.ini,Cache,System,False]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\DEFAULT] evaluated string: [If,Not,ExistFile,%XPECache%\DEFAULT,IniWrite,%XPECache%\HiveCache.ini,Cache,Default,False]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\DRIVERS] evaluated string: [If,Not,ExistFile,%XPECache%\DRIVERS,IniWrite,%XPECache%\HiveCache.ini,Cache,Drivers,False]
[//--]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [Software] to variable: [%SoftwareIni%] with value [False]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [FullSoftware] to variable: [%FullSoftwareIni%] with value [True]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [System] to variable: [%SystemIni%] with value [True]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [Default] to variable: [%DefaultIni%] with value [True]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [Cache] Key [Drivers] to variable: [%DriversIni%] with value [True]
[End]
Run - Processed section [CheckHiveCacheINI] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
ELSE - [Begin]
[If,ExistDir,%XPECache%,DirDeleteQ,%XPECache%]
[End]
[//--]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,RestoreOrPrepareRegConfig]
|
Run - Processing section: [RestoreOrPrepareRegConfig] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
[//--- Check Software or FullSoftware ---]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftware%,Equal,True,Begin]
IF - [true] is equal to: [true] evaluated string: [If,%FullSoftwareIni%,Equal,True,Begin]
Restore the Full Software registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\FullSOFTWARE] to: [%BaseDir%\Target\Windows\System32\Config\SOFTWARE]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigSoftware]
[End]
ELSE - [Begin]
[If,%SoftwareIni%,Equal,True,Begin]
[Echo,"Restore the Software registry from cache..."]
[FileCopy,%XPECache%\SOFTWARE,%GTarget_Sys%\Config\,NoWarn]
[End]
[Else,Run,%ScriptFile%,PrepareRegConfigSoftware]
[End]
[//--- Check System ---]
IF - [true] is equal to: [true] evaluated string: [If,%SystemIni%,Equal,True,Begin]
Restore the System registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\SYSTEM] to: [%BaseDir%\Target\Windows\System32\Config\SYSTEM]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigSystem]
[//--- Check Default ---]
IF - [true] is equal to: [true] evaluated string: [If,%DefaultIni%,Equal,True,Begin]
Restore the Default registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\DEFAULT] to: [%BaseDir%\Target\Windows\System32\Config\DEFAULT]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigDefault]
[//--- Check Drivers ---]
IF - [true] is equal to: [true] evaluated string: [If,%DriversIni%,Equal,True,Begin]
Restore the Drivers registry from cache...
FileCopy - Copied [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\DRIVERS] to: [%BaseDir%\Target\Windows\System32\Config\DRIVERS]
[End]
ELSE - [Run,%ScriptFile%,PrepareRegConfigDrivers]
[//-]
The registry Cache has been Restored
Run - Processed section [RestoreOrPrepareRegConfig] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
ELSE - [Begin]
[If,Not,ExistDir,%XPECache%,DirMake,%XPECache%]
[Run,%ScriptFile%,WriteIniCacheInformation]
[Run,%ScriptFile%,PrepareRegConfigALL]
[End]
Run - Processed section [RegConfig] in file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
|
Run - Processing section: [RegConfig_PostCache] From file: [%BaseDir%\Projects\Win10XPE\Features\Config.Script]
RegHiveLoad - File: [%BaseDir%\Target\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: [/D /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]
|
[//-]
|
Run - Processing section: [AddProjectFiles] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Copy Project Folder...
IF - Directory exists: [%BaseDir%\Projects\Include\x64\AdditionalFiles] evaluated string: [If,ExistDir,%AdditionalFiles%,DirCopy,%AdditionalFiles%\*,%GTarget%]
DirCopy - Copied directory [%BaseDir%\Projects\Include\x64\AdditionalFiles\*] to: [%BaseDir%\Target]
Run - Processed section [AddProjectFiles] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
IF - [false] is not equal to: [true] evaluated string: [If,%Custom_CheckBox%,Equal,True,Run,%ScriptFile%,AddCustomFiles]
IF - File does not exist: [%BaseDir%\Custom\Pecmdini\pecmd.ini] evaluated string: [If,ExistFile,%GCustom%\Pecmdini\pecmd.ini,Begin]
[If,ExistFile,%GTarget_Sys%\pecmd.ini,FileDeleteQ,%GTarget_Sys%\pecmd.ini]
[Filecopy,%GCustom%\Pecmdini\pecmd.ini,%GTarget_Sys%]
[End]
IF - File does not exist: [%BaseDir%\Custom\Pecmdini\PecmdAdmin.ini] evaluated string: [If,ExistFile,%GCustom%\Pecmdini\PecmdAdmin.ini,Begin]
[If,ExistFile,%GTarget_Sys%\PecmdAdmin.ini,FileDeleteQ,%GTarget_Sys%\PecmdAdmin.ini]
[Filecopy,%GCustom%\Pecmdini\PecmdAdmin.ini,%GTarget_Sys%]
[End]
IF - File exists: [%BaseDir%\Custom\Wallpaper\img0.jpg] evaluated string: [If,ExistFile,%GCustom%\Wallpaper\img0.jpg,Begin]
IF - Directory does not exist: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows] evaluated string: [If,Not,ExistDir,%GTarget_Win%\Web\Wallpaper\Windows,DirMake,%GTarget_Win%\Web\Wallpaper\Windows]
DirMake - Created directory: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows]
FileCopy - Copied [%BaseDir%\Custom\Wallpaper\img0.jpg] to: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows\img0.jpg]
[End]
IF - File exists: [%BaseDir%\Custom\UserAccountPicture\user-200.png] evaluated string: [If,ExistFile,%GCustom%\UserAccountPicture\user-200.png,Begin]
IF - Directory does not exist: [%BaseDir%\Target\ProgramData\Microsoft\User Account Pictures] evaluated string: [If,Not,ExistDir,"%GTarget%\ProgramData\Microsoft\User Account Pictures",DirMake,"%GTarget%\ProgramData\Microsoft\User Account Pictures"]
DirMake - Created directory: [%BaseDir%\Target\ProgramData\Microsoft\User Account Pictures]
FileCopy - Copied [%BaseDir%\Custom\UserAccountPicture\user-200.png] to: [%BaseDir%\Target\ProgramData\Microsoft\User Account Pictures\user-200.png]
[End]
IF - [true] is equal to: [true] evaluated string: [If,%Audio_CheckBox%,Equal,True,Begin]
IF - File exists: [%BaseDir%\Custom\StartupMP3\startup.mp3] evaluated string: [If,ExistFile,%GCustom%\StartupMP3\startup.mp3,Begin]
IF - Directory does not exist: [%BaseDir%\Target\Windows\media] evaluated string: [If,Not,ExistDir,%GTarget_Win%\media,DirMake,%GTarget_Win%\media]
DirMake - Created directory: [%BaseDir%\Target\Windows\media]
FileCopy - Copied [%BaseDir%\Custom\StartupMP3\startup.mp3] to: [%BaseDir%\Target\Windows\media\startup.mp3]
[End]
[End]
[//-]
[//-----------------------------------------------------------------------------]
[// Add Features]
[//-----------------------------------------------------------------------------]
[// International Section use dism /Get-Intl -> dism /Set-InputLocale... Hives should not be mounted]
IF - [english uk | en-gbenglish uk | en-gb(utc+00:00) gmt standard time] is not equal to: [defaultdefaultdefault] evaluated string: [If,Not,%Keyboard_ScrollBox%%Format_ScrollBox%%TimeZone_ScrollBox%,Equal,DefaultDefaultDefault,Exec,%ProjectDir%\Features\International.Script,Process]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\International.Script]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing International...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfaceMain,""]
AddInterface - Added section [InterfaceMain] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//--]
StrFormat - converted: [%BaseDir%\Target\Windows\Logs\DISM\dism.log] to variable: [%DismLogPath%] with result: [%BaseDir%\Target\Windows\Logs\DISM\]
IF - Directory does not exist: [%BaseDir%\Target\Windows\Logs\DISM\] evaluated string: [If,Not,ExistDir,%DismLogPath%,DirMake,%DismLogPath%]
DirMake - Created directory: [%BaseDir%\Target\Windows\Logs\DISM\]
IF - [x64] is not equal to: [x86] evaluated string: [If,%HostOSArch%,Equal,x86,Set,%DismExe%,%GTools%\x86\DISM\dism.exe]
StrFormat - converted: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] to variable: [%DismExePath%] with result: [%BaseDir%\Projects\Tools\x64\DISM\]
[//--]
|
Run - Processing section: [International] From file: [%BaseDir%\Projects\Win10XPE\Features\International.Script]
Set Keyboard, Format and Timezone...
[//Message,"Keyboard: %Keyboard_ScrollBox%#$xFormat: %Format_ScrollBox%#$xTimeZone: %TimeZone_ScrollBox%"]
[//-]
[// Format Input Locale (Keyboard)]
StrFormat - converted [POS(English UK | en-GB,|)] to variable: [%Pos%] with result: [12]
IF - [12] 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(English UK | en-GB,%InputLocale%)] to variable: [%InputLocale%] with result: [ en-GB]
StrFormat - converted [CTRIM( en-GB)] to variable: [%InputLocale%] with result: [en-GB]
[// Format User Locale (Format). It could also be for System Locale (Location) but it cannot be set for Unicode-only languages]
StrFormat - converted [POS(English UK | en-GB,|)] to variable: [%Pos%] with result: [12]
IF - [12] 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(English UK | en-GB,%UserLocale%)] to variable: [%UserLocale%] with result: [ en-GB]
StrFormat - converted [CTRIM( en-GB)] to variable: [%UserLocale%] with result: [en-GB]
[// Format TimeZone]
StrFormat - converted [POS((UTC+00:00) GMT Standard Time,))] to variable: [%Pos%] with result: [11]
StrFormat - converted [LTRIM((UTC+00:00) GMT Standard Time,%TimeZone%)] to variable: [%TimeZone%] with result: [ GMT Standard Time]
StrFormat - converted [CTRIM( GMT Standard Time)] to variable: [%TimeZone%] with result: [GMT Standard Time]
[//-]
[// Get Hots OS international information by using dism /online /Get-Intl]
SetVar - Sucessfuly changed the value of [%Get-Intl%] to: [False]
IF - [en-gb] is not equal to: [hostos] evaluated string: [If,%InputLocale%,Equal,HostOS,Set,%Get-Intl%,True]
IF - [en-gb] is not equal to: [hostos] evaluated string: [If,%UserLocale%,Equal,HostOS,Set,%Get-Intl%,True]
IF - [gmt standard time] is not equal to: [hostos] evaluated string: [If,%TimeZone%,Equal,HostOS,Set,%Get-Intl%,True]
IF - [false] is not equal to: [true] evaluated string: [If,%Get-Intl%,Equal,True,begin]
[ShellExecute,Hide,cmd.exe,"/D /C Echo Get international information. Be patient...&Dism.exe /online /Get-Intl /English > #$q%Gtemp%\Get-Intl.ini#$q",%DismExePath%]
[If,ExistFile,%Gtemp%\Get-Intl.ini,Begin]
[TXTAddLine,%Gtemp%\Get-Intl.ini,[International],Prepend]
[TXTReplace,%Gtemp%\Get-Intl.ini," : ",=]
[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,%UserLocale%,Equal,HostOS,IniRead,%Gtemp%\Get-Intl.ini,International,"User locale for default user",%UserLocale%]
[If,%UserLocale%-,Equal,-,RegRead,HKCU,"Control Panel\International",LocaleName,%UserLocale%]
[If,%TimeZone%,Equal,HostOS,IniRead,%Gtemp%\Get-Intl.ini,International,"Default time zone",%TimeZone%]
[End]
[// In case of trouble, Get-Intl.ini does not exist, IniRead error]
[If,%InputLocale%,Equal,HostOS,Set,%InputLocale%,Default]
[If,%UserLocale%,Equal,HostOS,Set,%UserLocale%,Default]
[If,%TimeZone%,Equal,HostOS,Set,%TimeZone%,Default]
[If,%InputLocale%-,Equal,-,Set,%InputLocale%,Default]
[If,%UserLocale%-,Equal,-,Set,%UserLocale%,Default]
[If,%TimeZone%-,Equal,-,Set,%TimeZone%,Default]
[End]
[//-]
[// Set international parameters]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: []
IF - [en-gb] is not equal to: [default] evaluated string: [If,Not,%InputLocale%,Equal,Default,Begin]
[// Add en-US keyboard as 2nd keyboard]
StrFormat - converted [Pos(en-GB,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(en-GB,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: [en-GB;en-US]
SetVar - Sucessfuly changed the value of [%Set_Intl_Parm%] to: [/Set-InputLocale:en-GB;en-US]
[End]
IF - [en-gb] 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:en-GB;en-US /Set-UserLocale:en-GB]
IF - [gmt 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:en-GB;en-US /Set-UserLocale:en-GB /Set-TimeZone:#$qGMT Standard Time#$q]
[//-]
[// Set Keyboard, Format and Timezone with dism]
IF - [/set-inputlocale:en-gb;en-us /set-userlocale:en-gb /set-timezone:"gmt standard time"-] is not equal to: [-] evaluated string: [If,Not,%Set_Intl_Parm%-,Equal,-,Begin]
IF - File exists: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] evaluated string: [If,ExistFile,%DismExe%,Begin]
StrFormat - converted [Replace(/Set-InputLocale:en-GB;en-US /Set-UserLocale:en-GB /Set-TimeZone:"GMT Standard Time",e:)] to variable: [%Set_Intl_Parm_Echo%] with result: [/Set-InputLocale: en-GB;en-US /Set-UserLocale: en-GB /Set-TimeZone: "GMT Standard Time"]
StrFormat - converted [Replace(/Set-InputLocale: en-GB;en-US /Set-UserLocale: en-GB /Set-TimeZone: "GMT Standard Time",/Set-)] to variable: [%Set_Intl_Parm_Echo%] with result: [&Echo InputLocale: en-GB;en-US &Echo UserLocale: en-GB &Echo TimeZone: "GMT Standard Time"]
System,FileRedirect,OFF
ShellExecute: [Open] using: [cmd.exe] with parameters: [/D /C Echo Set Keyboard, Format and Timezone. Be patient...&Echo.&Echo InputLocale: en-GB;en-US &Echo UserLocale: en-GB &Echo TimeZone: "GMT Standard Time"&Dism.exe /image:"%BaseDir%\Target" /Set-InputLocale:en-GB;en-US /Set-UserLocale:en-GB /Set-TimeZone:"GMT Standard Time" /LogPath:"%BaseDir%\Target\Windows\Logs\DISM\dism.log"]
System,FileRedirect,ON
[End]
[End]
[//-]
RegHiveLoad - File: [%BaseDir%\Target\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\Windows\System32\config\System] Section [Tmp_System]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\Software] Section [Tmp_Software]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\Default] Section [Tmp_Default]
RegHiveLoad - File: [%BaseDir%\Target\Windows\System32\config\Drivers] Section [Tmp_Drivers]
[//---------- END HiveLoadALL Macro ------------------------------]
Run - Processed section [MHiveLoadALL] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
|
Run - Processing section: [WinPE_StartUp] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
IF - File exists: [%BaseDir%\Target\Windows\System32\startnet.cmd] evaluated string: [If,ExistFile,%GTarget_Sys%\startnet.cmd,TXTDelLine,%GTarget_sys%\startnet.cmd,wpeinit]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Target\Windows\System32\startnet.cmd] string [wpeinit]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Target\Windows\System32\winpeshl.ini]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Target\Windows\System32\winpeshl.ini]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\target\windows\system32\winpeshl.ini-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: FileDeleteQ - Missing Parameter: File",Warn,,MessageError,,Halt]
System,ErrorOff
IF - File exists: [%BaseDir%\Target\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,FileDelete,#1]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Windows\System32\winpeshl.ini]
IF - File does not exist: [%BaseDir%\Target\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/D /C del /q /f "#1"&del /q /f /A:R /A:H /A:S /A:A "#1""]
IF - File does not exist: [%BaseDir%\Target\Windows\System32\winpeshl.ini] evaluated string: [If,ExistFile,#1,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"The File Could Not be Deleted.#$x#$x#1#$x#$x The File is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[System,ErrorOff]
[If,ExistFile,#1,FileDelete,#1]
[If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/D /C del /q /f #$q#1#$q&del /q /f /A:R /A:H /A:S /A:A #$q#1#$q"]
[If,ExistFile,#1,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[Else,EchoExtended,"Error: The File Could Not be Deleted. #$x#$x#1#$x#$x The File is Maybe Opened ?#$xExit",Warn,,MessageError,,Halt]
[End]
[//---------- END FileDeleteQ Macro ------------------------------]
Run - Processed section [MFileDeleteQ] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCreateBlank - Created a new file: [%BaseDir%\Target\Windows\System32\winpeshl.ini]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\winpeshl.ini] line: Value: [LaunchApps] Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\winpeshl.ini] line: Value: wpeinit.exe Option: Append
IF - File exists: [%BaseDir%\Target\Windows\System32\Pecmd.exe] evaluated string: [If,ExistFile,%GTarget_Sys%\Pecmd.exe,Begin]
System,ErrorOff
RegWrite - Overwrote existing key "winpeshl.exe" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Setup] Key [CmdLine]: Pecmd.exe Main %Windir%\system32\Pecmd.ini
[End]
ELSE - [Begin]
[TXTAddLine,%w%,cmd.exe,Append]
[End]
IF - File exists: [%BaseDir%\Target\Windows\System32\autorun.cmd] evaluated string: [If,ExistFile,%GTarget_Sys%\autorun.cmd,RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,Autorun,"hiderun.exe /w Autorun.cmd"]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce] Key [Autorun]: hiderun.exe /w Autorun.cmd
Run - Processed section [WinPE_StartUp] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
[//-]
IF - [falsetrue] is not equal to: [truetrue] evaluated string: [If,Not,%AllKeyboard_CheckBox%%AllNls_CheckBox%,Equal,TrueTrue,Exec,%ProjectDir%\Features\InternationalFiles.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.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 - [falsetrue] is not equal to: [truetrue] evaluated string: [If,Not,%AllKeyboard_CheckBox%%AllNls_CheckBox%,Equal,TrueTrue,Begin]
Processing International Files...
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[RegHiveLoad,Tmp_System,%RegSystem%]
[End]
[//--]
|
Run - Processing section: [International] From file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
Add Keyboard and NLS files...
IF - File does not exist: [%BaseDir%\Temp\International_Files.txt] evaluated string: [If,ExistFile,%IFiles%,FileDeleteQ,%IFiles%]
FileCreateBlank - Created a new file: [%BaseDir%\Temp\International_Files.txt]
[//-]
IF - [true] is not equal to: [false] evaluated string: [If,%AllNls_CheckBox%,Equal,False,Begin]
[FileDelete,%GTarget_Sys%\C_*.NLS,Nowarn]
[// Copy Minimum NLS files. Copy National Language Support (NLS) files from registry setting is not enough for advanced or extended languages]
[If,ExistSection,%ScriptFile%,minNLS_%Language%,ExtractSectionFiles,%ScriptFile%,minNLS_%Language%]
[Run,%ScriptFile%,CopyLocaleNLS]
[End]
[//-]
IF - [false] is equal to: [false] evaluated string: [If,%AllKeyboard_CheckBox%,Equal,False,Begin]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Windows\System32\KBD*.DLL]
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,FileDelete,%GTarget_Win%\SysWOW64\KBD*.DLL,Nowarn]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Windows\SysWOW64\KBD*.DLL]
[// Copy Up to Four Default Keyboard Layout DLLs]
|
Loop - Processing section: [LoopCopyKeyboardDLL] From file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
with parameters: [1],[4]
|
Iteration - Processing section: [LoopCopyKeyboardDLL] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
with parameters: [1]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_Default\Keyboard Layout\Preload",#c,Begin]
RegRead - read specified key from: [HKLM]Section: [Tmp_Default\Keyboard Layout\Preload] Key: [1] to variable:: [%KBDLayout%] with value: [00000809]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayout%","Layout File",Begin]
RegRead - read specified key from: [HKLM]Section: [Tmp_System\ControlSet001\Control\Keyboard Layouts\00000809] Key: [Layout File] to variable:: [%KBDLayoutFile%] with value: [KBDUK.DLL]
IF - [kbduk.dll-] is not equal to: [-] evaluated string: [If,Not,%KBDLayoutFile%-,Equal,-,Begin]
TxtAddLine - Added line: [%BaseDir%\Temp\International_Files.txt] line: Value: \Windows\System32\KBDUK.DLL Option: Append
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%IFiles%,\Windows\SysWOW64\%KBDLayoutFile%,Append]
TxtAddLine - Added line: [%BaseDir%\Temp\International_Files.txt] line: Value: \Windows\SysWOW64\KBDUK.DLL Option: Append
[End]
[End]
[// Substitutes]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_Default\Keyboard Layout\Substitutes",%KBDLayout%,Begin]
[RegRead,HKLM,"Tmp_Default\Keyboard Layout\Substitutes",%KBDLayout%,%KBDLayoutSub%]
[If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayoutSub%","Layout File",Begin]
[RegRead,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayoutSub%","Layout File",%KBDLayoutSubFile%]
[If,Not,%KBDLayoutSubFile%-,Equal,-,Begin]
[TXTAddLine,%IFiles%,\Windows\System32\%KBDLayoutSubFile%,Append]
[If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%IFiles%,\Windows\SysWOW64\%KBDLayoutSubFile%,Append]
[End]
[End]
[End]
[End]
ELSE - [Loop,BREAK]
Iteration - Processed section [LoopCopyKeyboardDLL] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
|
Iteration - Processing section: [LoopCopyKeyboardDLL] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
with parameters: [2]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_Default\Keyboard Layout\Preload",#c,Begin]
RegRead - read specified key from: [HKLM]Section: [Tmp_Default\Keyboard Layout\Preload] Key: [2] to variable:: [%KBDLayout%] with value: [00000409]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayout%","Layout File",Begin]
RegRead - read specified key from: [HKLM]Section: [Tmp_System\ControlSet001\Control\Keyboard Layouts\00000409] Key: [Layout File] to variable:: [%KBDLayoutFile%] with value: [KBDUS.DLL]
IF - [kbdus.dll-] is not equal to: [-] evaluated string: [If,Not,%KBDLayoutFile%-,Equal,-,Begin]
TxtAddLine - Added line: [%BaseDir%\Temp\International_Files.txt] line: Value: \Windows\System32\KBDUS.DLL Option: Append
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%IFiles%,\Windows\SysWOW64\%KBDLayoutFile%,Append]
TxtAddLine - Added line: [%BaseDir%\Temp\International_Files.txt] line: Value: \Windows\SysWOW64\KBDUS.DLL Option: Append
[End]
[End]
[// Substitutes]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_Default\Keyboard Layout\Substitutes",%KBDLayout%,Begin]
[RegRead,HKLM,"Tmp_Default\Keyboard Layout\Substitutes",%KBDLayout%,%KBDLayoutSub%]
[If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayoutSub%","Layout File",Begin]
[RegRead,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayoutSub%","Layout File",%KBDLayoutSubFile%]
[If,Not,%KBDLayoutSubFile%-,Equal,-,Begin]
[TXTAddLine,%IFiles%,\Windows\System32\%KBDLayoutSubFile%,Append]
[If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%IFiles%,\Windows\SysWOW64\%KBDLayoutSubFile%,Append]
[End]
[End]
[End]
[End]
ELSE - [Loop,BREAK]
Iteration - Processed section [LoopCopyKeyboardDLL] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
|
Iteration - Processing section: [LoopCopyKeyboardDLL] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
with parameters: [3]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,"Tmp_Default\Keyboard Layout\Preload",#c,Begin]
[RegRead,HKLM,"Tmp_Default\Keyboard Layout\Preload",#c,%KBDLayout%]
[If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayout%","Layout File",Begin]
[RegRead,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayout%","Layout File",%KBDLayoutFile%]
[If,Not,%KBDLayoutFile%-,Equal,-,Begin]
[TXTAddLine,%IFiles%,\Windows\System32\%KBDLayoutFile%,Append]
[If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%IFiles%,\Windows\SysWOW64\%KBDLayoutFile%,Append]
[End]
[End]
[// Substitutes]
[If,ExistRegKey,HKLM,"Tmp_Default\Keyboard Layout\Substitutes",%KBDLayout%,Begin]
[RegRead,HKLM,"Tmp_Default\Keyboard Layout\Substitutes",%KBDLayout%,%KBDLayoutSub%]
[If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayoutSub%","Layout File",Begin]
[RegRead,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%KBDLayoutSub%","Layout File",%KBDLayoutSubFile%]
[If,Not,%KBDLayoutSubFile%-,Equal,-,Begin]
[TXTAddLine,%IFiles%,\Windows\System32\%KBDLayoutSubFile%,Append]
[If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%IFiles%,\Windows\SysWOW64\%KBDLayoutSubFile%,Append]
[End]
[End]
[End]
[End]
ELSE - executing command: [Loop,BREAK]
Iteration - Processed section [LoopCopyKeyboardDLL] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
Loop - Processed section [LoopCopyKeyboardDLL] in file: [Loop,%ScriptFile%,LoopCopyKeyboardDLL,1,4]
[End]
[//-]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\International_Files.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\International_Files.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%\Temp\International_Files.txt] to variable: [#9] with result: [International_Files.txt]
Extract International_Files.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\International_Files.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract International_Files.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\International_Files.txt]
Run - Processed section [International] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveUnLoad,Tmp_Default]
[RegHiveunLoad,Tmp_System]
[End]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\InternationalFiles.Script]
|
[//-]
[// Fbwf Cache Size. Limited to 1024 Mb with x86]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,%Fbwf_ScrollBox%]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\FBWF] Key [WinPECacheThreshold]: 2048
ELSE - [Begin]
[If,%Fbwf_ScrollBox%,Bigger,1024,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,1024]
[Else,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\FBWF,WinPECacheThreshold,%Fbwf_ScrollBox%]
[End]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%SetupFiles_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\SetupFiles.Script,Process]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\SetupFiles.Script]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing SetupFiles...
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\SetupFiles.Script]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Temp\SetupFiles]
|
Run - Processing section: [MFileDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\SetupFiles]
[//---------- BEGIN FileDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp\setupfiles-] 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\SetupFiles] evaluated string: [If,ExistFile,#1,FileDelete,#1]
IF - File does not exist: [%BaseDir%\Temp\SetupFiles] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/D /C del /q /f "#1"&del /q /f /A:R /A:H /A:S /A:A "#1""]
IF - File does not exist: [%BaseDir%\Temp\SetupFiles] 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,"/D /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\SetupFiles]
TxtAddLine - Added line: [%BaseDir%\Temp\SetupFiles] line: Value: setup.exe Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\SetupFiles] line: Value: \sources Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\SetupFiles] line: Value: \windows\system32\catroot\{f750e6c3-38ee-11d1-85e5-00c04fc295ee}\Microsoft-Windows-CoreSystem-Downlevel* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\SetupFiles] line: Value: \windows\system32\catroot\{f750e6c3-38ee-11d1-85e5-00c04fc295ee}\Microsoft-Windows-ImageBasedSetup-Media* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\SetupFiles] line: Value: \windows\system32\catroot\{f750e6c3-38ee-11d1-85e5-00c04fc295ee}\WinPE-Setup-Client-Package* Option: Append
TxtAddLine - Added line: [%BaseDir%\Temp\SetupFiles] line: Value: \windows\system32\catroot\{f750e6c3-38ee-11d1-85e5-00c04fc295ee}\WinPE-Setup-Package* Option: Append
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\boot.wim" 2 @"%BaseDir%\Temp\SetupFiles" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib extract SetupFiles return: %ExitCode%"]
Wimlib extract SetupFiles return: 0
ELSE - [EchoExtended,"Error: Wimlib extract SetupFiles return: %ExitCode%",Warn,,MessageError,,Halt]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\SetupFiles]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\SetupFiles.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\SetupFiles.Script]
|
IF - [true] is equal to: [true] evaluated string: [If,%VCRuntime_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\VCRuntime.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing VCRuntime...
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script],[VCRuntime_x64_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] to variable: [#9] with result: [VCRuntime.Script]
IF - File does not exist: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script" VCRuntime_x64_AddFiles "%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt] to variable: [#9] with result: [VCRuntime_x64_AddFiles.txt]
Extract VCRuntime_x64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract VCRuntime_x64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\VCRuntime_x64_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IniRead - [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [WoW64basic] to variable: [%WoW64basic%] with value [True]
IF - [true] is equal to: [true] evaluated string: [If,%WoW64basic%,Equal,True,ExtractSectionFiles,%ScriptFile%,VCRuntime_x6432_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script],[VCRuntime_x6432_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script] to variable: [#9] with result: [VCRuntime.Script]
IF - File does not exist: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\VCRuntime.Script" VCRuntime_x6432_AddFiles "%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt] to variable: [#9] with result: [VCRuntime_x6432_AddFiles.txt]
Extract VCRuntime_x6432_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract VCRuntime_x6432_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\VCRuntime_x6432_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[//-]
IF - [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\Program Files]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [X:\Program Files]
[//---------- END RunFromRAM Macro ------------------------------]
Run - Processed section [MRunFromRAM] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [AddWinXShell] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinXShell_x64.7z] evaluated string: [If,ExistFile,%ScriptDir%\WinXShell_%Architecture%.7z,ShellExecute,Hide,%GTools%\7z.exe,"x "%ScriptDir%\WinXShell_%Architecture%.7z" -y -o"%Target_Prog%""]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\WinXShell_x64.7z" -y -o"%BaseDir%\Target\Program Files"]
Run - Processed section [AddWinXShell] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\Explorer_AddFiles.txt,ExtractListFiles,%ScriptDir%\Explorer_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt] to variable: [#9] with result: [Explorer_AddFiles.txt]
Extract Explorer_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Projects\Win10XPE\Features\Explorer_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Explorer_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\Explorer_1803_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Explorer_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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\Explorer_1809_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Explorer_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 [True]
IF - [true] is equal to: [true] evaluated string: [If,%AllCatalogs%,Equal,True,ExtractSectionFiles,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_All]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Catalog_AddFiles.txt],[Catalog_AddFiles_All]
[//---------- 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_All.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_All "%BaseDir%\Temp\Catalog_AddFiles_All.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_All.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Catalog_AddFiles_All.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_All.txt] to variable: [#9] with result: [Catalog_AddFiles_All.txt]
Extract Catalog_AddFiles_All.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\Catalog_AddFiles_All.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Catalog_AddFiles_All.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_All.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 - [Begin]
[If,ExistSection,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_%SourceBuild%,ExtractSectionFiles,%ScriptDir%\Catalog_AddFiles.txt,Catalog_AddFiles_%SourceBuild%]
[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: [/D /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: [/D /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: [/D /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. New Folder and Text Document]
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\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 - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83},RegDelete,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}]
[End]
[// Remove Quick access from Navigation Pane]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer] Key [HubMode]: 1
[// Remove Libraries from this PC]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5},RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5},RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031e4825-7b94-4dc3-b131-e946b44c8dd5}]
[End]
[// Hide_Network_to_Navigation_Pane]
RegWrite - Overwrote existing key "-1341915036" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder] Key [Attributes]: -1332477852
[// Hide_3D-Objects_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Hide_Contacts_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{56784854-C6CB-462B-8169-88E350ACB882}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{56784854-C6CB-462B-8169-88E350ACB882}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{56784854-C6CB-462B-8169-88E350ACB882}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Desktop_folder]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag]
[End]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}\PropertyBag]
[End]
[// Show_Documents_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag]
[End]
[// Show_Downloads_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag]
[End]
[// Show_Favorites_folder]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{1777F761-68AD-4D8A-87BD-30B759FA33DD}\PropertyBag]
[End]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag,ThisPCPolicy]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}\PropertyBag]
[End]
[// Hide_Links_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Music_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag]
[End]
[// Hide_OneDrive_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Pictures_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag]
[End]
[// Hide_Saved_Games_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Hide_Searches_folder]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d1d3a04-debb-4115-95cf-2f29da2920da}\PropertyBag] Key [ThisPCPolicy]: Hide
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,RegWrite,HKLM,0x1,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d1d3a04-debb-4115-95cf-2f29da2920da}\PropertyBag,ThisPCPolicy,Hide]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d1d3a04-debb-4115-95cf-2f29da2920da}\PropertyBag] Key [ThisPCPolicy]: Hide
[// Show_Videos_folder]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy,RegDelete,HKLM,Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag,ThisPCPolicy]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag],ThisPCPolicy
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag]
[End]
[// remove "Include in Library" Context Menu]
IF - Section exists [HKLM] evaluated string: [If,ExistRegSection,HKLM,"Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\Library Location",RegDelete,HKLM,"Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\Library Location"]
RegDelete - Deleted registry key in: [HKLM\Tmp_Software\Classes\Folder\shellex\ContextMenuHandlers\Library Location]
[// Shortcuts without 'shortcut' name and transparent icon]
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer] Key [link]: 00,00,00,00
System,ErrorOff
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons] Key [29]: %SystemRoot%\system32\transparent.ico
[//Eject_Device]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\DsmSvc]
[//---------- 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\DsmSvc,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: [/D /C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\DsmSvc" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - root key: [HKLM] Type: [0x0] Section [Tmp_System\Setup\AllowStart\DsmSvc]
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: [/D /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: [/D /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: [/D /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: [/D /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]
|
Run - Processing section: [Reg_Environment] From file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IniRead - [%BaseDir%\Projects\Win10XPE\Script.Project] Section [Features] Key [Admin] to variable: [%Admin%] with value [True]
IF - [true] is equal to: [true] evaluated string: [If,Not,%Admin%,Equal,True,Begin]
[RegWrite,HKLM,0x1,"Tmp_Default\Volatile Environment",HOMEPATH,\Users\Default]
[RegWrite,HKLM,0x1,"Tmp_Default\Volatile Environment",HOMEDRIVE,X:]
[RegWrite,HKLM,0x1,"Tmp_Default\Volatile Environment",LOCALAPPDATA,X:\Users\Default\AppData\Local]
[End]
Run - Processed section [Reg_Environment] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Explorer.Script]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing StartIsBack...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\StartIsBackPlusPlus_setup.exe] evaluated string: [If,Not,ExistFile,%ScriptDir%\%SetupFile%,EchoExtended,"%SetupFile% should be in the original package",Warn,,Message,,Halt]
|
Run - Processing section: [MRunFromRAM] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN RunFromRAM Macro ------------------------------]
SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\Target\Program Files]
SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [X:\Program Files]
[//---------- END RunFromRAM Macro ------------------------------]
Run - Processed section [MRunFromRAM] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//--]
|
Run - Processing section: [Add_StartIsBack] From file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
IF - Directory does not exist: [%BaseDir%\Target\Program Files\StartIsBack] evaluated string: [If,ExistDir,%Target_Prog%\%ProgramFolder%,DirDeleteQ,%Target_Prog%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Target\Program Files\StartIsBack]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\StartIsBackPlusPlus_setup.exe" -y -o"%BaseDir%\Target\Program Files\StartIsBack"]
FileDelete - Sucessfully deleted [%BaseDir%\Target\Program Files\StartIsBack\UpdateCheck.exe]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,FileDelete,%Target_Prog%\%ProgramFolder%\StartIsBack64.dll]
Run - Processed section [Add_StartIsBack] in file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[End]
|
Run - Processing section: [Reg_StartIsBack] From file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt] to variable: [#9] with result: [StartIsBack_RegDefault.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegDefault.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File StartIsBack_RegDefault.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt] to variable: [#9] with result: [StartIsBack_RegSoftware.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\StartIsBack_RegSoftware.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File StartIsBack_RegSoftware.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
[// TaskbarJumpList is disabled by default. SIB v2.8.9 crashes desktop with TaskbarJumpList enabled]
[//RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,TaskbarJumpList,1]
[//-]
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,Begin]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BA}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BB}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}\InprocServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}\InProcServer32,,"X:\Program Files\StartIsBack\StartIsBack32.dll"]
[RegWrite,HKLM,0x2,Tmp_Software\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F},LocalizedString,"@X:\Program Files\StartIsBack\StartIsBack32.dll,-510"]
[End]
Run - Processed section [Reg_StartIsBack] in file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Software]
[RegHiveunLoad,Tmp_Default]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\StartIsBack.Script]
[End]
ELSE - [Exec,%ProjectDir%\Features\WinXShell.Script,Process,HiveLoaded]
[//-]
SetVar - Sucessfuly changed the value of [%WoW64Support%] to: [False]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
IF - [true] is equal to: [true] evaluated string: [If,%WoW64_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\WoW64.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Begin]
Processing WoW64 basic...
SetVar - Sucessfuly changed the value of [%WoW64Support%] to: [True]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\WoW64_AddFiles.txt,Begin]
FileCopy - Copied [%BaseDir%\Projects\Win10XPE\Features\WoW64_AddFiles.txt] to: [%BaseDir%\Temp\WoW64_AddFiles.txt]
TXTReplace - Replaced strings in file: [%BaseDir%\Temp\WoW64_AddFiles.txt] string [_xx-xx_] with string: [_en-US_]
[// In Win10 17763 shellstyle.dll(.mui) does not exist in SysWOW64]
IF - [18362] is not equal to: [17763] evaluated string: [If,%SourceBuild%,Equal,17763,TXTDelLine,%GTemp%\WoW64_AddFiles.txt,\Windows\SysWOW64\shellstyle.dll]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WoW64_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WoW64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WoW64_AddFiles.txt] to variable: [#9] with result: [WoW64_AddFiles.txt]
Extract WoW64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WoW64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WoW64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WoW64_AddFiles.txt]
[End]
IF - File exists: [%BaseDir%\Target\Windows\System32\imageres.dll] evaluated string: [If,ExistFile,%GTarget_Sys%\imageres.dll,FileCopy,%GTarget_Sys%\imageres.dll,%GTarget_Win%\syswow64\]
FileCopy - Copied [%BaseDir%\Target\Windows\System32\imageres.dll] to: [%BaseDir%\Target\Windows\syswow64\imageres.dll]
[//-]
IF - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractSectionFiles,%ScriptFile%,WoW64_1903_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script],[WoW64_1903_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WoW64.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\WoW64.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\WoW64.Script] to variable: [#9] with result: [WoW64.Script]
IF - File does not exist: [%BaseDir%\Temp\WoW64_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\WoW64.Script" WoW64_1903_AddFiles "%BaseDir%\Temp\WoW64_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\WoW64_1903_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WoW64_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\WoW64_1903_AddFiles.txt] to variable: [#9] with result: [WoW64_1903_AddFiles.txt]
Extract WoW64_1903_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WoW64_1903_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WoW64_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\WoW64_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\WoW64.Script]
[//-]
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]
[Run,%ScriptFile%,Reg_WoW64]
[If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Install_Software]
[RegHiveunLoad,Tmp_Software]
[End]
[End]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\WoW64.Script]
[End]
[//-]
IF - File does not exist: [%BaseDir%\Projects\Win10XPE\Features\Ime_en-US.Script] evaluated string: [If,ExistFile,%ProjectDir%\Features\Ime_%Language%.Script,Exec,%ProjectDir%\Features\Ime_%Language%.Script,Process,HiveLoaded]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%DisplayDrivers_CheckBox%,Equal,True,Begin]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Exec,%ProjectDir%\Features\DisplayDrivers.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Display Drivers...
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script],[AddFiles_Display]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] to variable: [#9] with result: [DisplayDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\AddFiles_Display.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script" AddFiles_Display "%BaseDir%\Temp\AddFiles_Display.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\AddFiles_Display.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\AddFiles_Display.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\AddFiles_Display.txt] to variable: [#9] with result: [AddFiles_Display.txt]
Extract AddFiles_Display.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\AddFiles_Display.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract AddFiles_Display.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\AddFiles_Display.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script],[AddFiles_Monitor]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script] to variable: [#9] with result: [DisplayDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\AddFiles_Monitor.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script" AddFiles_Monitor "%BaseDir%\Temp\AddFiles_Monitor.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\AddFiles_Monitor.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\AddFiles_Monitor.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\AddFiles_Monitor.txt] to variable: [#9] with result: [AddFiles_Monitor.txt]
Extract AddFiles_Monitor.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\AddFiles_Monitor.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract AddFiles_Monitor.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\AddFiles_Monitor.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Drivers,%RegDrivers%]
[RegHiveLoad,Tmp_Install_Drivers,%Gtemp%\Install.hives\DRIVERS]
[RegHiveLoad,Tmp_System,%RegSystem%]
[RegHiveLoad,Tmp_Install_System,%Gtemp%\Install.hives\SYSTEM]
[End]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,%Shell%,Equal,WinXShell,ACLRegKey,Tmp_Drivers]
|
Run - Processing section: [Reg_Display] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
|
Run - Processing section: [MRegAddDriver] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
with parameters: [display.inf]
IF - [-display.inf] is not equal to: [-] evaluated string: [If,-#1,Equal,-,EchoExtended,"Error: RegAddDriver - Missing Parameter: Driver File Name ",Warn,,MessageError,,Halt]
Register display.inf Driver...
System,FileRedirect,OFF
ShellExecute: [Hide] using: [cmd.exe] with parameters: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /C CopyRegKey.cmd "Tmp_Drivers\DriverDatabase\DriverPackages" "monitor.inf*"]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//RegCopyKey,HKLM,Tmp_Drivers\ControlSet001\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}]
Run - Processed section [Reg_Monitor] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_System]
[RegHiveunLoad,Tmp_Install_System]
[RegHiveunLoad,Tmp_Install_Drivers]
[RegHiveunLoad,Tmp_Drivers]
[End]
|
Run - Processing section: [Load_At_Startup] From file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\basicdisplay.inf] with string: [EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\basicdisplay.inf]
Run - Processed section [Load_At_Startup] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\DisplayDrivers.Script]
[End]
[//-]
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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Projects\Win10XPE\Features\Network_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract 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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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 - [x64] is 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}]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A}]
[//---------- 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}\{E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A},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: [/D /C CopyRegKey.cmd "Tmp_System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A}" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//]
[// 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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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\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]
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 "C:\Sources\sources\install.wim" 1 "\Windows\System32\drivers\mrxsmb10.sys" --dest-dir="%BaseDir%\Target" --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\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,Hide,cmd.exe,"/D /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\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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\NetworkList_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract 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: [/D /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: [/D /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\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\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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\FunctionDiscovery_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract 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: [/D /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: [/D /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: [/D /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: [/D /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]
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}]
[//---------- BEGIN RegCopyKey Macro ------------------------------]
IF - [hklm] is equal to: [hklm] evaluated string: [If,Not,#1,Equal,HKLM,EchoExtended,"Error: RegCopyKey, the Hive Key Must be HKLM
#1",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C},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: [/D /C CopyRegKey.cmd "Tmp_Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
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],[NetDriversx64_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script] to variable: [#9] with result: [NetDrivers.Script]
IF - File does not exist: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script" NetDriversx64_AddFiles "%BaseDir%\Temp\NetDriversx64_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\NetDriversx64_AddFiles.txt] to variable: [#9] with result: [NetDriversx64_AddFiles.txt]
Extract NetDriversx64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\NetDriversx64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract NetDriversx64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\NetDriversx64_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [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],[NetDriversx64_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\NetDriversx64_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" NetDriversx64_1809_AddFiles "%BaseDir%\Temp\NetDriversx64_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\NetDriversx64_1809_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx64_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\NetDriversx64_1809_AddFiles.txt] to variable: [#9] with result: [NetDriversx64_1809_AddFiles.txt]
Extract NetDriversx64_1809_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\NetDriversx64_1809_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract NetDriversx64_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\NetDriversx64_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],[NetDriversx64_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\NetDriversx64_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" NetDriversx64_1903_AddFiles "%BaseDir%\Temp\NetDriversx64_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\NetDriversx64_1903_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\NetDriversx64_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\NetDriversx64_1903_AddFiles.txt] to variable: [#9] with result: [NetDriversx64_1903_AddFiles.txt]
Extract NetDriversx64_1903_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\NetDriversx64_1903_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract NetDriversx64_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\NetDriversx64_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.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] evaluated string: [If,ExistFile,%XPECache%\HiveCache.ini,Run,%ScriptFile%,CheckHiveCacheINI]
|
Run - Processing section: [CheckHiveCacheINI] From file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\NetDrivers.reg.txt] evaluated string: [If,Not,ExistFile,%XPECache%\%NetDriversReg%,IniWrite,%XPECache%\HiveCache.ini,NetDriversCache,Version,0]
IniRead - [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\HiveCache.ini] Section [NetDriversCache] Key [Version] to variable: [%NetDriversCacheVersionIni%] with value [1]
IF - [1] is equal to: [1] evaluated string: [If,Not,%NetDriversCacheVersion%,Equal,%NetDriversCacheVersionIni%,Begin]
[If,ExistFile,%XPECache%\%NetDriversReg%,FileDeleteQ,%XPECache%\%NetDriversReg%]
[End]
Run - Processed section [CheckHiveCacheINI] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
ELSE - [Begin]
[If,ExistFile,%XPECache%\%NetDriversReg%,FileDeleteQ,%XPECache%\%NetDriversReg%]
[End]
[//--]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\NetDrivers.reg.txt] evaluated string: [If,ExistFile,%XPECache%\%NetDriversReg%,RegImportFile,%XPECache%\%NetDriversReg%]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\NetDrivers.reg.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\ProgCache\10.0.18362.418_ProfessionalWorkstation_x64_en-US\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.418_ProfessionalWorkstation_x64_en-US\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.418_ProfessionalWorkstation_x64_en-US\NetDrivers.reg.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File NetDrivers.reg.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
ELSE - [Begin]
[If,Not,ExistDir,%XPECache%,DirMake,%XPECache%]
[Run,%ScriptFile%,PrepareNetDriversReg]
[Run,%ScriptFile%,WriteIniCacheInformation]
[End]
Run - Processed section [Reg_NetDrivers] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Install_Drivers]
[RegHiveunLoad,Tmp_Drivers]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\NetDrivers.Script]
|
IF - [true] is equal to: [true] evaluated string: [If,%PENMAddPENetwork_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\PENetwork.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing PENetwork...
IF - File exists: [%BaseDir%\Projects\Win10XPE\Core.script] evaluated string: [If,ExistFile,%ProjectDir%\Core.script,AddInterface,%ProjectDir%\Core.script,InterfacePENetwork,""]
AddInterface - Added section [InterfacePENetwork] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
IF - [true] is not equal to: [false] evaluated string: [If,%PENMAddPENetwork_CheckBox%,Equal,False,Begin]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe","//EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe"]
[Exit,"PENetwork is not Selected, No Processing %ScriptTitle%"]
[End]
IF - [run from usb] is not equal to: [run from ram] evaluated string: [If,%PENMRunFromWhere_ScrollBox%,Equal,"Run From RAM",RunFromRAM]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Run,%ScriptFile%,PluginSetx64]
|
Run - Processing section: [PluginSetx64] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
SetVar - Sucessfuly changed the value of [%SetupFile%] to: [PENetwork_x64.7z]
SetVar - Sucessfuly changed the value of [%ProgramFolder%] to: [PENetwork_x64]
Run - Processed section [PluginSetx64] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
|
Run - Processing section: [Extract] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - File does not exist: [%BaseDir%\Temp\PENetwork_x64\PENetwork.exe] evaluated string: [If,Not,ExistFile,%GTemp%\%ProgramFolder%\%ProgramExe%,Begin]
IF - Directory does not exist: [%BaseDir%\Temp\PENetwork_x64] evaluated string: [If,Not,ExistDir,%GTemp%\%ProgramFolder%,DirMake,%GTemp%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Temp\PENetwork_x64]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\PENetwork_x64.7z] evaluated string: [If,ExistFile,%ScriptDir%\%SetupFile%,ShellExecute,Hide,%GTools%\7z.exe,"x "%ScriptDir%\%SetupFile%" -y -o"%GTemp%\%ProgramFolder%""]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\PENetwork_x64.7z" -y -o"%BaseDir%\Temp\PENetwork_x64"]
ELSE - [EchoExtended,"%SetupFile% should be in the original package",Warn,,Message,,Halt]
[End]
ExtractFile - [PENetwork.ini] to: [%BaseDir%\Temp\PENetwork_x64]
Run - Processed section [Extract] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
IF - Directory does not exist: [%BaseDir%\ISO\Programs] evaluated string: [If,Not,ExistDir,%Target_Prog%,DirMake,%Target_Prog%]
DirMake - Created directory: [%BaseDir%\ISO\Programs]
IF - Directory does not exist: [%BaseDir%\ISO\Programs\PENetwork_x64] evaluated string: [If,ExistDir,%Target_Prog%\%ProgramFolder%,DirDeleteQ,%Target_Prog%\%ProgramFolder%]
DirCopy - Copied directory [%BaseDir%\Temp\PENetwork_x64] to: [%BaseDir%\ISO\Programs]
[//--]
IF - File does not exist: [%BaseDir%\Custom\PENetworkini\PENetwork.ini] evaluated string: [If,ExistFile,%GCustom%\PENetworkini\PENetwork.ini,Begin]
[If,ExistFile,%Target_Prog%\%ProgramFolder%\PENetwork.ini,FileDeleteQ,%Target_Prog%\%ProgramFolder%\PENetwork.ini]
[Filecopy,%GCustom%\PENetworkini\PENetwork.ini,%Target_Prog%\%ProgramFolder%\PENetwork.ini]
[End]
[//--]
IF - Directory does not exist: [%BaseDir%\Custom\WifiProfiles] evaluated string: [If,ExistDir,%GCustom%\WifiProfiles,Begin]
[Retrieve,FOLDERSIZE,%GCustom%\WifiProfiles,%WifiProfilesSize%]
[If,%WifiProfilesSize%,Bigger,1,DirCopy,%GCustom%\WifiProfiles,%Target_Prog%\%ProgramFolder%]
[End]
[//--]
IF - [true] is equal to: [true] evaluated string: [If,%UseWifiProfile_CheckBox%,Equal,True,Run,%Scriptfile%,AutoConnectWifiProfile]
|
Run - Processing section: [AutoConnectWifiProfile] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
Adding Auto Connect to PeNetwork_AfterStartup.cmd...
StrFormat - converted [RTRIM(SSIDProfile.xml,%WifiProfile%)] to variable: [%WifiProfile%] with result: [SSIDProfile]
SetVar - Sucessfuly changed the value of [%w%] to: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd]
IF - File exists: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] evaluated string: [If,ExistFile,%w%,Begin]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] string [Exit]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] line: Value: Netsh WLan add profile filename="Y:\Programs\PENetwork_x64\WifiProfiles\SSIDProfile.xml" user=all Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] line: Value: Netsh WLan set profileparameter name=SSIDProfile connectionmode=auto Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\PeNetwork_AfterStartup.cmd] line: Value: Exit Option: Append
[End]
[// Current AutoConnect via Edited PENetwork.ini - Wireless Profile (Need Network Profiles at Startup: UseProfiles=1)]
Run - Processed section [AutoConnectWifiProfile] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
[//--]
[// Run PENetwork at Startup - Change Path in Pecmd.ini]
IF - [true] is equal to: [true] evaluated string: [If,%PENMAutoRun_CheckBox%,Equal,True,TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC %ProgramFiles%\PENetwork\PENetwork.exe","EXEC %PE_Programs%\%ProgramFolder%\%ProgramExe%"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [EXEC %ProgramFiles%\PENetwork\PENetwork.exe] with string: [EXEC Y:\Programs\PENetwork_x64\PENetwork.exe]
ELSE - [TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe","//EXEC #$pProgramFiles#$p\PENetwork\PENetwork.exe"]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[End]
|
Run - Processing section: [Add_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
Adding Registry...
IF - [true] is equal to: [true] evaluated string: [If,%PENMPromptAtStartup_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,AutoStart,0]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [AutoStart]: 0
ELSE - [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,AutoStart,1]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%PENMStartCountdown_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseStartCountdown,1]
ELSE - executing command: [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseStartCountdown,0]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [UseStartCountdown]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [StartCountdown]: 5
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMUseProfilesStartup_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseProfiles,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [UseProfiles]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,UseProfiles,0]
[//-]
IF - [false] is not equal to: [true] evaluated string: [If,%PENMForceScanOnStartup_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,ForceScanOnStartup,1]
ELSE - executing command: [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,ForceScanOnStartup,0]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [ForceScanOnStartup]: 0
[//--]
IF - [start to tray] is not equal to: [show main window] evaluated string: [If,%PENMAfterStart_ScrollBox%,Equal,"Show main window",RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseAfterStartnet,0]
IF - [start to tray] is not equal to: [close program] evaluated string: [If,%PENMAfterStart_ScrollBox%,Equal,"Close program",RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseAfterStartnet,1]
IF - [start to tray] is equal to: [start to tray] evaluated string: [If,%PENMAfterStart_ScrollBox%,Equal,"Start to Tray",RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,StartToTray,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\PENetwork] Key [StartToTray]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,StartToTray,0]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMMinToTray_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,MinimizeToTray,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\PENetwork] Key [MinimizeToTray]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,MinimizeToTray,0]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMCloseToTray_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseToTray,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [CloseToTray]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Software\PENetwork,CloseToTray,0]
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%PENMShowTrayActivity_CheckBox%,Equal,True,RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,ShowTrayActivity,1]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\PENetwork] Key [ShowTrayActivity]: 1
ELSE - [RegWrite,HKLM,0x1,Tmp_Default\Software\PENetwork,ShowTrayActivity,0]
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [Debug]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [EnableAutoIP]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [ForceServices]: 1
[//RegWrite,HKLM,0x1,Tmp_Software\PENetwork,FocusNo,1]
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [TopMost]: 1
[//RegWrite,HKLM,0x4,Tmp_Default\Software\PENetwork,SmallTab,0]
[//RegWrite,HKLM,0x4,Tmp_Default\Software\PENetwork,StartMode,1]
[//-]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [StartSharing]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Software\PENetwork] Key [ShareAll]: 0
Run - Processed section [Add_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Default]
[RegHiveunLoad,Tmp_Software]
[End]
[//--]
|
Run - Processing section: [Add_Shortcuts] From file: [%BaseDir%\Projects\Win10XPE\Features\PENetwork.Script]
IF - [network-] is not equal to: [-] evaluated string: [If,%PENMStartMenuFolder_TextBox%-,Equal,-,Set,%PENMStartMenuFolder_TextBox%,%StartMenuFolder%]
IF - [true] is equal to: [true] evaluated string: [If,%PENMDesktop_CheckBox%,Equal,True,AddShortcut,Desktop]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [Desktop]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [desktop-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [desktop] is equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create Desktop ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [desktop] is not equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
[If,#2-,Equal,-,Begin]
[StrFormat,REPLACE,%ScriptDir%,%BaseDir%,,#2]
[StrFormat,POS,#2,\App,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
[If,#2,Equal,.,Set,#2,]
[Else,Set,#2,\#2]
[End]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
SetVar - Sucessfuly changed the value of [#3] to: [Y:\Programs\PENetwork_x64\PENetwork.exe]
StrFormat - converted [REPLACE(Y:\Programs\PENetwork_x64\PENetwork.exe,X:\Program Files)] to variable: [#3] with result: [Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [PENetwork]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [desktop] is not equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
IF - [desktop] is equal to: [desktop] evaluated string: [If,#1,Equal,Desktop,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Desktop%\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Desktop%\PENetwork,Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [true] is equal to: [true] evaluated string: [If,%PENMStartMenu_CheckBox%,Equal,True,AddShortcut,StartMenu,%PENMStartMenuFolder_TextBox%]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[Network]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create StartMenu ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
IF - [network-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
[StrFormat,REPLACE,%ScriptDir%,%BaseDir%,,#2]
[StrFormat,POS,#2,\App,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
IF - [network] is not equal to: [.] evaluated string: [If,#2,Equal,.,Set,#2,]
ELSE - executing command: [Set,#2,\#2]
SetVar - Sucessfuly changed the value of [#2] to: [\Network]
[End]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
SetVar - Sucessfuly changed the value of [#3] to: [Y:\Programs\PENetwork_x64\PENetwork.exe]
StrFormat - converted [REPLACE(Y:\Programs\PENetwork_x64\PENetwork.exe,X:\Program Files)] to variable: [#3] with result: [Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [PENetwork]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Programs%\Network\PENetwork,Y:\Programs\PENetwork_x64\PENetwork.exe]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,#1,Equal,Desktop,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Desktop%\#4,#3#5#6"]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [false] is not equal to: [true] evaluated string: [If,%PENMStartMpin_CheckBox%,Equal,True,AddPin,StartMenu,,$Start_Menu\Programs\%PENMStartMenuFolder_TextBox%\PENetwork.lnk]
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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Projects\Win10XPE\Features\Audio_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Audio_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\Audio_1903_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Audio_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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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: [/D /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 - [true] is equal to: [true] evaluated string: [If,%SoundEvents_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\SoundEvents.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing System Event Sounds...
[//--]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.Script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.Script],[SoundEvents_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.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\SoundEvents.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\SoundEvents.Script] to variable: [#9] with result: [SoundEvents.Script]
IF - File does not exist: [%BaseDir%\Temp\SoundEvents_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\SoundEvents.Script" SoundEvents_AddFiles "%BaseDir%\Temp\SoundEvents_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\SoundEvents_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\SoundEvents_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\SoundEvents_AddFiles.txt] to variable: [#9] with result: [SoundEvents_AddFiles.txt]
Extract SoundEvents_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\SoundEvents_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract SoundEvents_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\SoundEvents_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,ExtractSectionFiles,%ScriptFile%,SoundEvents_AddFiles6432]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.Script],[SoundEvents_AddFiles6432]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.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\SoundEvents.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\SoundEvents.Script] to variable: [#9] with result: [SoundEvents.Script]
IF - File does not exist: [%BaseDir%\Temp\SoundEvents_AddFiles6432.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\SoundEvents.Script" SoundEvents_AddFiles6432 "%BaseDir%\Temp\SoundEvents_AddFiles6432.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\SoundEvents_AddFiles6432.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\SoundEvents_AddFiles6432.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\SoundEvents_AddFiles6432.txt] to variable: [#9] with result: [SoundEvents_AddFiles6432.txt]
Extract SoundEvents_AddFiles6432.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\SoundEvents_AddFiles6432.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract SoundEvents_AddFiles6432.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\SoundEvents_AddFiles6432.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\SoundEvents.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: [Add_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.Script]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation] Key [DisableStartupSound]: 0
[//--]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\.Default] Key []: Default Beep
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\.Default] Key [DispFileName]: @mmres.dll,-5824
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ActivatingDocument] Key []: Complete Navigation
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ActivatingDocument] Key [DispFileName]: @ieframe.dll,-10321
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\AppGPFault] Key []: Program Error
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\AppGPFault] Key [DispFileName]: @mmres.dll,-5825
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\BlockedPopup] Key []: Blocked Pop-up Window
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\BlockedPopup] Key [DispFileName]: @ieframe.dll,-10325
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\CCSelect] Key []: Select
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\CCSelect] Key [DispFileName]: @ieframe.dll,-10323
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ChangeTheme] Key []: Change Theme
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ChangeTheme] Key [DispFileName]: @mmres.dll,-5860
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Close] Key []: Close Program
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Close] Key [DispFileName]: @mmres.dll,-5826
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\CriticalBatteryAlarm] Key []: Critical Battery Alarm
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\CriticalBatteryAlarm] Key [DispFileName]: @mmres.dll,-5827
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DeviceConnect] Key []: Device Connect
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DeviceConnect] Key [DispFileName]: @mmres.dll,-5828
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DeviceDisconnect] Key []: Device Disconnect
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DeviceDisconnect] Key [DispFileName]: @mmres.dll,-5829
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DeviceFail] Key []: Device Failed to Connect
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DeviceFail] Key [DispFileName]: @mmres.dll,-5830
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DisNumbersSound] Key []: Disambiguation Numbers
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\DisNumbersSound] Key [DispFileName]: @%SystemRoot%\System32\speech\speechux\sapi.cpl,-5566
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\EmptyRecycleBin] Key []: Empty Recycle Bin
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\EmptyRecycleBin] Key [DispFileName]: @mmres.dll,-5831
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\FaxBeep] Key []: New Fax Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\FaxBeep] Key [DispFileName]: @mmres.dll,-5858
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\FeedDiscovered] Key []: Feed Discovered
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\FeedDiscovered] Key [DispFileName]: @ieframe.dll,-17315
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\HubOffSound] Key []: Off
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\HubOffSound] Key [DispFileName]: @%SystemRoot%\System32\speech\speechux\sapi.cpl,-5563
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\HubOnSound] Key []: On
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\HubOnSound] Key [DispFileName]: @%SystemRoot%\System32\speech\speechux\sapi.cpl,-5562
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\HubSleepSound] Key []: Sleep
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\HubSleepSound] Key [DispFileName]: @%SystemRoot%\System32\speech\speechux\sapi.cpl,-5564
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\LowBatteryAlarm] Key []: Low Battery Alarm
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\LowBatteryAlarm] Key [DispFileName]: @mmres.dll,-5832
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MailBeep] Key []: Desktop Mail Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MailBeep] Key [DispFileName]: @mmres.dll,-5837
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Maximize] Key []: Maximize
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Maximize] Key [DispFileName]: @mmres.dll,-5833
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MenuCommand] Key []: Menu Command
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MenuCommand] Key [DispFileName]: @mmres.dll,-5834
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MenuPopup] Key []: Menu Pop-up
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MenuPopup] Key [DispFileName]: @mmres.dll,-5835
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MessageNudge] Key []: Message Nudge
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MessageNudge] Key [DispFileName]: @mmres.dll,-5866
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Minimize] Key []: Minimize
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Minimize] Key [DispFileName]: @mmres.dll,-5836
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MisrecoSound] Key []: Misrecognition
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MisrecoSound] Key [DispFileName]: @%SystemRoot%\System32\speech\speechux\sapi.cpl,-5561
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MoveMenuItem] Key []: Move Menu Item
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\MoveMenuItem] Key [DispFileName]: @ieframe.dll,-10322
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Navigating] Key []: Start Navigation
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Navigating] Key [DispFileName]: @ieframe.dll,-10320
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Default] Key []: Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Default] Key [DispFileName]: @mmres.dll,-5865
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.IM] Key []: Instant Message Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.IM] Key [DispFileName]: @mmres.dll,-5863
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm] Key []: Alarm 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm] Key [DispFileName]: @mmres.dll,-5888
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm10] Key []: Alarm 10
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm10] Key [DispFileName]: @mmres.dll,-5897
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm10] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm2] Key []: Alarm 2
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm2] Key [DispFileName]: @mmres.dll,-5889
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm2] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm3] Key []: Alarm 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm3] Key [DispFileName]: @mmres.dll,-5890
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm3] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm4] Key []: Alarm 4
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm4] Key [DispFileName]: @mmres.dll,-5891
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm4] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm5] Key []: Alarm 5
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm5] Key [DispFileName]: @mmres.dll,-5892
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm5] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm6] Key []: Alarm 6
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm6] Key [DispFileName]: @mmres.dll,-5893
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm6] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm7] Key []: Alarm 7
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm7] Key [DispFileName]: @mmres.dll,-5894
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm7] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm8] Key []: Alarm 8
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm8] Key [DispFileName]: @mmres.dll,-5895
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm8] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm9] Key []: Alarm 9
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm9] Key [DispFileName]: @mmres.dll,-5896
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Alarm9] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call] Key []: Incoming Call Notification 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call] Key [DispFileName]: @mmres.dll,-5872
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call10] Key []: Incoming Call Notification 10
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call10] Key [DispFileName]: @mmres.dll,-5881
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call10] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call2] Key []: Incoming Call Notification 2
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call2] Key [DispFileName]: @mmres.dll,-5873
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call2] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call3] Key []: Incoming Call Notification 3
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call3] Key [DispFileName]: @mmres.dll,-5874
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call3] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call4] Key []: Incoming Call Notification 4
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call4] Key [DispFileName]: @mmres.dll,-5875
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call4] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call5] Key []: Incoming Call Notification 5
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call5] Key [DispFileName]: @mmres.dll,-5876
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call5] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call6] Key []: Incoming Call Notification 6
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call6] Key [DispFileName]: @mmres.dll,-5877
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call6] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call7] Key []: Incoming Call Notification 7
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call7] Key [DispFileName]: @mmres.dll,-5878
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call7] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call8] Key []: Incoming Call Notification 8
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call8] Key [DispFileName]: @mmres.dll,-5879
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call8] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call9] Key []: Incoming Call Notification 9
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call9] Key [DispFileName]: @mmres.dll,-5880
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Looping.Call9] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Mail] Key []: New Mail Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Mail] Key [DispFileName]: @mmres.dll,-5861
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Proximity] Key []: NFP Completion
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Proximity] Key [DispFileName]: @mmres.dll,-5868
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Reminder] Key []: Calendar Reminder
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.Reminder] Key [DispFileName]: @mmres.dll,-5864
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.SMS] Key []: New Text Message Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Notification.SMS] Key [DispFileName]: @mmres.dll,-5862
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Open] Key []: Open Program
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\Open] Key [DispFileName]: @mmres.dll,-5839
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\PanelSound] Key []: Disambiguation Panel
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\PanelSound] Key [DispFileName]: @X:\Windows\System32\speech\speechux\sapi.cpl,-5565
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\PrintComplete] Key []: Print Complete
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\PrintComplete] Key [DispFileName]: @mmres.dll,-5840
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ProximityConnection] Key []: NFP Connection
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ProximityConnection] Key [DispFileName]: @mmres.dll,-5867
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\RestoreDown] Key []: Restore Down
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\RestoreDown] Key [DispFileName]: @mmres.dll,-5841
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\RestoreUp] Key []: Restore Up
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\RestoreUp] Key [DispFileName]: @mmres.dll,-5842
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SecurityBand] Key []: Information Bar
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SecurityBand] Key [DispFileName]: @ieframe.dll,-10326
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ShowBand] Key []: Show Toolbar Band
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\ShowBand] Key [DispFileName]: @ieframe.dll,-10324
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemAsterisk] Key []: Asterisk
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemAsterisk] Key [DispFileName]: @mmres.dll,-5843
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemExclamation] Key []: Exclamation
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemExclamation] Key [DispFileName]: @mmres.dll,-5845
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemExit] Key []: Exit Windows
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemExit] Key [DispFileName]: @mmres.dll,-5846
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemExit] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemHand] Key []: Critical Stop
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemHand] Key [DispFileName]: @mmres.dll,-5847
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemNotification] Key []: System Notification
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemNotification] Key [DispFileName]: @mmres.dll,-5848
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemQuestion] Key []: Question
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\SystemQuestion] Key [DispFileName]: @mmres.dll,-5849
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsLogoff] Key []: Windows Logoff
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsLogoff] Key [DispFileName]: @mmres.dll,-5852
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsLogoff] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsLogon] Key []: Windows Logon
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsLogon] Key [DispFileName]: @mmres.dll,-5853
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsLogon] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsUAC] Key []: Windows User Account Control
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsUAC] Key [DispFileName]: @mmres.dll,-5859
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsUnlock] Key []: Windows Unlock
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsUnlock] Key [DispFileName]: @mmres.dll,-5869
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\AppEvents\EventLabels\WindowsUnlock] Key [ExcludeFromCPL]: 1
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes] Key []: .Default
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default] Key []: Windows
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default] Key [DispFileName]: @mmres.dll,-5856
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\.Default\.current] Key []: X:\windows\media\Windows Background.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\.Default\.Default] Key []: X:\windows\media\Windows Background.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\.Default\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\AppGPFault\.current] Key []: X:\windows\media\Windows Error.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\AppGPFault\.Default] Key []: X:\windows\media\Windows Error.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\AppGPFault\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.current] Key []: X:\windows\media\Windows Battery Critical.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Default] Key []: X:\windows\media\Windows Battery Critical.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceConnect\.current] Key []: X:\windows\media\Windows Hardware Insert.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Default] Key []: X:\windows\media\Windows Hardware Insert.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.current] Key []: X:\windows\media\Windows Hardware Remove.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Default] Key []: X:\windows\media\Windows Hardware Remove.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceFail\.current] Key []: X:\windows\media\Windows Hardware Fail.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceFail\.Default] Key []: X:\windows\media\Windows Hardware Fail.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\DeviceFail\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\FaxBeep\.current] Key []: X:\windows\media\Windows Notify Email.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\FaxBeep\.Default] Key []: X:\windows\media\Windows Notify Email.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\FaxBeep\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.current] Key []: X:\windows\media\Windows Battery Low.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Default] Key []: X:\windows\media\Windows Battery Low.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MailBeep\.current] Key []: X:\windows\media\Windows Notify Email.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MailBeep\.Default] Key []: X:\windows\media\Windows Notify Email.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MailBeep\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Maximize\.current] Key []: X:\windows\media\Windows Minimize.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Maximize\.Default] Key []: X:\windows\media\Windows Minimize.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Maximize\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MenuCommand\.current] Key []: X:\windows\media\Windows Menu Command.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MenuCommand\.Default] Key []: X:\windows\media\Windows Menu Command.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MenuCommand\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MessageNudge\.current] Key []: X:\windows\media\Windows Message Nudge.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MessageNudge\.Default] Key []: X:\windows\media\Windows Message Nudge.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\MessageNudge\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Minimize\.current] Key []: X:\windows\media\Windows Minimize.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Minimize\.Default] Key []: X:\windows\media\Windows Minimize.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Minimize\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Default\.current] Key []: X:\windows\media\Windows Notify System Generic.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Default\.Default] Key []: X:\windows\media\Windows Notify System Generic.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Default\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.IM\.current] Key []: X:\windows\media\Windows Notify Messaging.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.IM\.Default] Key []: X:\windows\media\Windows Notify Messaging.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.IM\.Modified] Key []:
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm\.Default] Key []: %SystemRoot%\media\Alarm01.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm10\.Default] Key []: %SystemRoot%\media\Alarm10.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm2\.Default] Key []: %SystemRoot%\media\Alarm02.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm3\.Default] Key []: %SystemRoot%\media\Alarm03.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm4\.Default] Key []: %SystemRoot%\media\Alarm04.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm5\.Default] Key []: %SystemRoot%\media\Alarm05.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm6\.Default] Key []: %SystemRoot%\media\Alarm06.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm7\.Default] Key []: %SystemRoot%\media\Alarm07.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm8\.Default] Key []: %SystemRoot%\media\Alarm08.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm9\.Default] Key []: %SystemRoot%\media\Alarm09.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call\.Default] Key []: %SystemRoot%\media\Ring01.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call10\.Default] Key []: %SystemRoot%\media\Ring10.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call2\.Default] Key []: %SystemRoot%\media\Ring02.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call3\.Default] Key []: %SystemRoot%\media\Ring03.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call4\.Default] Key []: %SystemRoot%\media\Ring04.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call5\.Default] Key []: %SystemRoot%\media\Ring05.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call6\.Default] Key []: %SystemRoot%\media\Ring06.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call7\.Default] Key []: %SystemRoot%\media\Ring07.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call8\.Default] Key []: %SystemRoot%\media\Ring08.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call9\.Default] Key []: %SystemRoot%\media\Ring09.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Mail\.current] Key []: X:\windows\media\Windows Notify Email.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Mail\.Default] Key []: X:\windows\media\Windows Notify Email.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Mail\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Proximity\.current] Key []: X:\windows\media\Windows Proximity Notification.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Proximity\.Default] Key []: X:\windows\media\Windows Proximity Notification.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Proximity\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Reminder\.current] Key []: X:\windows\media\Windows Notify Calendar.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Reminder\.Default] Key []: X:\windows\media\Windows Notify Calendar.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.Reminder\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.SMS\.current] Key []: X:\windows\media\Windows Notify Messaging.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.SMS\.Default] Key []: X:\windows\media\Windows Notify Messaging.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\Notification.SMS\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\PrintComplete\.current] Key []: X:\windows\media\Windows Print complete.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\PrintComplete\.Default] Key []: X:\windows\media\Windows Print complete.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\PrintComplete\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\ProximityConnection\.current] Key []: X:\windows\media\Windows Proximity Connection.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\ProximityConnection\.Default] Key []: X:\windows\media\Windows Proximity Connection.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\ProximityConnection\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\RestoreDown\.current] Key []: X:\windows\media\Windows Restore.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\RestoreDown\.Default] Key []: X:\windows\media\Windows Restore.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\RestoreDown\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\RestoreUp\.current] Key []: X:\windows\media\Windows Restore.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\RestoreUp\.Default] Key []: X:\windows\media\Windows Restore.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\RestoreUp\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.current] Key []: X:\windows\media\Windows Background.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Default] Key []: X:\windows\media\Windows Background.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemExclamation\.current] Key []: X:\windows\media\Windows Exclamation.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Default] Key []: X:\windows\media\Windows Exclamation.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Modified] Key []:
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemExit\.Default] Key []: %SystemRoot%\media\Windows Shutdown.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemHand\.current] Key []: X:\windows\media\Windows Critical Stop.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemHand\.Default] Key []: X:\windows\media\Windows Critical Stop.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemHand\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemNotification\.current] Key []: X:\windows\media\Windows Notify System Generic.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemNotification\.Default] Key []: X:\windows\media\Windows Notify System Generic.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemNotification\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemQuestion\.current] Key []: X:\windows\media\Windows Notify.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Default] Key []: X:\windows\media\Windows Notify.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Modified] Key []:
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\WindowsLogoff\.Default] Key []: %SystemRoot%\media\Windows Logoff Sound.wav
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Default] Key []: %SystemRoot%\media\Windows Logon.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\WindowsUAC\.current] Key []: X:\windows\media\Windows User Account Control.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\WindowsUAC\.Default] Key []: X:\windows\media\Windows User Account Control.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\WindowsUAC\.Modified] Key []:
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\.Default\WindowsUnlock\.Default] Key []: %SystemRoot%\media\Windows Unlock.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer] Key []: File Explorer
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer] Key [DispFileName]: @mmres.dll,-5854
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.current] Key []: X:\windows\media\Windows Pop-up Blocked.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.default] Key []: X:\windows\media\Windows Pop-up Blocked.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.current] Key []: X:\windows\media\Windows Recycle.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Default] Key []: X:\windows\media\Windows Recycle.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr] Key []: Speech Recognition
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr] Key [DispFileName]: @%SystemRoot%\System32\speech\speechux\sapi.cpl,-5555
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.current] Key []: X:\windows\media\Speech Disambiguation.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.default] Key []: X:\windows\media\Speech Disambiguation.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.current] Key []: X:\windows\media\Speech Off.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.default] Key []: X:\windows\media\Speech Off.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.current] Key []: X:\windows\media\Speech On.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.default] Key []: X:\windows\media\Speech On.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.current] Key []: X:\windows\media\Speech Sleep.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.default] Key []: X:\windows\media\Speech Sleep.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.current] Key []: X:\windows\media\Speech Misrecognition.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.default] Key []: X:\windows\media\Speech Misrecognition.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\PanelSound\.current] Key []: X:\windows\media\Speech Disambiguation.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\PanelSound\.default] Key []: X:\windows\media\Speech Disambiguation.wav
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Apps\sapisvr\PanelSound\.Modified] Key []:
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Names\.Default] Key []: Windows Default
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Names\.Modified] Key []: Windows Default (modified)
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\AppEvents\Schemes\Names\.None] Key []: @mmres.dll,-801
Run - Processed section [Add_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\SoundEvents.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\SoundEvents.Script]
[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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\Msi_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Msi_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Msi_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,ExtractSectionFiles,%ScriptFile%,Msix64_AddFiles]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script],[Msix64_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script] to variable: [#9] with result: [Msi.Script]
IF - File does not exist: [%BaseDir%\Temp\Msix64_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\Msi.Script" Msix64_AddFiles "%BaseDir%\Temp\Msix64_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Msix64_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Msix64_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\Msix64_AddFiles.txt] to variable: [#9] with result: [Msix64_AddFiles.txt]
Extract Msix64_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\Msix64_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Msix64_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\Msix64_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Run - Processed section [AddFiles] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_System,%RegSystem%]
[End]
|
Run - Processing section: [Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
IF - [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\Windows\System32\autorun.cmd] evaluated string: [If,ExistFile,%GTarget_Sys%\autorun.cmd,Run,%ScriptFile%,AutorunRegsvr32]
|
Run - Processing section: [AutorunRegsvr32] From file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
TXTDelLine - Deleted all corresponding lines in file: [%BaseDir%\Target\Windows\System32\autorun.cmd] string [Exit]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: :: Register Msi Windows Installer Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: If Exist %WinDir%\System32\Msi.dll (%WinDir%\System32\Regsvr32.exe /S %WinDir%\System32\Msi.dll) Option: Append
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,TXTAddLine,%GTarget_Sys%\autorun.cmd,"If Exist %WinDir%\SysWOW64\Msi.dll (%WinDir%\SysWOW64\Regsvr32.exe /S %WinDir%\SysWOW64\Msi.dll)",Append]
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: If Exist %WinDir%\SysWOW64\Msi.dll (%WinDir%\SysWOW64\Regsvr32.exe /S %WinDir%\SysWOW64\Msi.dll) Option: Append
TxtAddLine - Added line: [%BaseDir%\Target\Windows\System32\autorun.cmd] line: Value: Exit Option: Append
Run - Processed section [AutorunRegsvr32] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Msi.Script]
|
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%Accessibility_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Accessibility.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Accessibility.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Accessibility...
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Accessibility.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Accessibility_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\Accessibility_AddFiles.txt,ExtractListFiles,%ScriptDir%\Accessibility_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Accessibility_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Accessibility_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\Accessibility_AddFiles.txt] to variable: [#9] with result: [Accessibility_AddFiles.txt]
Extract Accessibility_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Projects\Win10XPE\Features\Accessibility_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Accessibility_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\Accessibility.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Accessibility.Script]
|
ELSE - [Begin]
[AddVariables,%ProjectDir%\script.project,TargetBasePath]
[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"]
[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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_AppsCommon_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_AppsCommon_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_Paint_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_Paint_AddFiles "%BaseDir%\Temp\WinApps_Paint_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt] to variable: [#9] with result: [WinApps_Paint_AddFiles.txt]
Extract WinApps_Paint_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WinApps_Paint_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_Paint_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_Paint_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_Wordpad_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_Wordpad_AddFiles "%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt] to variable: [#9] with result: [WinApps_Wordpad_AddFiles.txt]
Extract WinApps_Wordpad_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_Wordpad_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_Wordpad_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//-]
[// To stay light, PhotoViewer, SnippingTool are not included with WinXShell. Otherwise we need to find files other dependencies and registries]
IF - [explorer] is not equal to: [winxshell] evaluated string: [If,Not,%Shell%,Equal,WinXShell,Begin]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_StepsRecorder_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_StepsRecorder_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_StepsRecorder_AddFiles "%BaseDir%\Temp\WinApps_StepsRecorder_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_StepsRecorder_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_StepsRecorder_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_StepsRecorder_AddFiles.txt] to variable: [#9] with result: [WinApps_StepsRecorder_AddFiles.txt]
Extract WinApps_StepsRecorder_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WinApps_StepsRecorder_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_StepsRecorder_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_StepsRecorder_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_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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_PhotoViewer_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_PhotoViewer_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script],[WinApps_SnippingTool_AddFiles]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Script File was Not Found to Extract Files from a Section.
#1",Warn,,MessageError,,Halt]
IF - Section exists [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] evaluated string: [If,Not,ExistSection,#1,#2,EchoExtended,"Error: The Section Name of the Script File was Not Found to Extract Files from a Section.
[#2]
#1",Warn,,MessageError,,Halt]
IF - [] is not equal to: [open] evaluated string: [If,Not,#3,Equal,Open,Set,#3,Hide]
SetVar - Sucessfuly changed the value of [#3] to: [Hide]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\WinApps.Script] to variable: [#9] with result: [WinApps.Script]
IF - File does not exist: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt] evaluated string: [If,ExistFile,%GTemp%\#2.txt,FileDeleteQ,%GTemp%\#2.txt]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\ExtractSection.exe] with parameters: ["%BaseDir%\Projects\Win10XPE\Features\WinApps.Script" WinApps_SnippingTool_AddFiles "%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt" /NoSectionName]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Begin]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The List File was Not Found for Extraction.
#1",Warn,,MessageError,,Halt]
IF - [hide] is not equal to: [open] evaluated string: [If,Not,#2,Equal,Open,Set,#2,Hide]
SetVar - Sucessfuly changed the value of [#2] to: [Hide]
StrFormat - converted: [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt] to variable: [#9] with result: [WinApps_SnippingTool_AddFiles.txt]
Extract WinApps_SnippingTool_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract WinApps_SnippingTool_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\WinApps_SnippingTool_AddFiles.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[// tipresx.dll.mui Exist in All Language Folders (for SnippingTool)]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\program files\common files\microsoft shared\ink\tipresx.dll-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: ExtractWimFile - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
StrFormat - converted [LEFT(\Program Files\Common Files\microsoft shared\ink\tipresx.dll,1)] to variable: [#8] with result: [\]
IF - [\] is equal to: [\] evaluated string: [If,Not,#8,Equal,\,Message,"The Path\FileName Must Start With the Character \"]
StrFormat - converted: [\Program Files\Common Files\microsoft shared\ink\tipresx.dll] to variable: [#8] with result: [tipresx.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
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 "C:\Sources\sources\install.wim" 10 "\Program Files\Common Files\microsoft shared\ink\tipresx.dll" --dest-dir="%BaseDir%\Target" --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\en-US\tipresx.dll.mui]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\program files\common files\microsoft shared\ink\en-us\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\en-US\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\en-US\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]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Program Files\Common Files\microsoft shared\ink\en-US\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\en-US\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 "C:\Sources\sources\install.wim" 10 "\Program Files\Common Files\microsoft shared\ink\en-US\tipresx.dll.mui" --dest-dir="%BaseDir%\Target" --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]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
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 "C:\Sources\sources\install.wim" 10 "\Windows\System32\coloradapterclient.dll" --dest-dir="%BaseDir%\Target" --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\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessibility\OSK] with string: [LINK %Programs%\Accessibility\OSK]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\MSPaint] with string: [LINK %Programs%\Accessories\MSPaint]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\WordPad] with string: [LINK %Programs%\Accessories\WordPad]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Begin]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\PhotoViewer] with string: [LINK %Programs%\Accessories\PhotoViewer]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessories\SnippingTool] with string: [LINK %Programs%\Accessories\SnippingTool]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[Accessories],[#$pSystemRoot#$p\System32\Psr.exe],[Steps Recorder],[],[#$pSystemRoot#$p\System32\Psr.exe]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create StartMenu ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
IF - [accessories-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
[StrFormat,REPLACE,%ScriptDir%,%BaseDir%,,#2]
[StrFormat,POS,#2,\App,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
IF - [accessories] 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: [\Accessories]
[End]
IF - [%systemroot%\system32\psr.exe-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
StrFormat - converted [REPLACE(%SystemRoot%\System32\Psr.exe,X:\Program Files)] to variable: [#3] with result: [%SystemRoot%\System32\Psr.exe]
IF - [steps recorder-] is not equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [%systemroot%\system32\psr.exe-] is not equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
IF - [-] is equal to: [-] evaluated string: [If,#5-,Equal,-,Set,#5,,]
SetVar - Sucessfuly changed the value of [#5] to: [#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
StrFormat - converted [LEFT(%SystemRoot%\System32\Psr.exe,1)] to variable: [#9] with result: [%]
IF - [%] is not equal to: [|] evaluated string: [If,#9,Equal,|,Set,#6,#3#6]
StrFormat - converted [REPLACE(%SystemRoot%\System32\Psr.exe,|)] to variable: [#6] with result: [%SystemRoot%\System32\Psr.exe]
SetVar - Sucessfuly changed the value of [#6] to: [#$c%SystemRoot%\System32\Psr.exe]
[End]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Programs%\Accessories\Steps Recorder,%SystemRoot%\System32\Psr.exe,,%SystemRoot%\System32\Psr.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 - [,%systemroot%\system32\psr.exe-] is not equal to: [-] evaluated string: [If,Not,#6-,Equal,-,TXTReplace,%GTarget_Sys%\pecmd.ini,#$h,#]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [#$h] with string: [#]
[//---------- END AddShortcut Macro ------------------------------]
Run - Processed section [MAddShortcut] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[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_x64.7z] evaluated string: [If,ExistFile,%ScriptDir%\ImDisk_%Architecture%.7z,ShellExecute,Hide,%GTools%\7z.exe,"x "%ScriptDir%\ImDisk_%Architecture%.7z" -y -o"%GTarget%""]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Projects\Win10XPE\Features\ImDisk_x64.7z" -y -o"%BaseDir%\Target"]
Run - Processed section [AddFiles_ImDisk] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_System,%RegSystem%]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[End]
|
Run - Processing section: [ImDisk_Reg] From file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt] evaluated string: [If,ExistFile,%ScriptDir%\ImDisk_Reg.txt,RegImportFile,%ScriptDir%\ImDisk_Reg.txt]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt] to variable: [#9] with result: [ImDisk_Reg.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Projects\Win10XPE\Features\ImDisk_Reg.txt"]
System,FileRedirect,ON
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Import Registry File #9 Return: %ExitCode%"]
Import Registry File ImDisk_Reg.txt Return: 0
ELSE - [EchoExtended,"Error: Import Registry File #9 Return: %ExitCode%",Warn,,MessageError]
[//---------- END RegImportFile Macro ------------------------------]
Run - Processed section [MRegImportFile] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
RegWrite - Type: [0x2] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce] Key [BroadcastEnvChange]: hiderun.exe /w BroadcastEnvChange.exe /broadcast
Run - Processed section [ImDisk_Reg] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveunLoad,Tmp_Software]
[RegHiveunLoad,Tmp_System]
[RegHiveUnLoad,Tmp_Default]
[End]
|
Run - Processing section: [Enable_In_Pecmdini] From file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC @!%WinDir%\System32\StartImDIsk.exe] with string: [EXEC @!%WinDir%\System32\StartImDIsk.exe]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\System Tools\ImDisk] with string: [LINK %Programs%\System Tools\ImDisk]
Run - Processed section [Enable_In_Pecmdini] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\ImDisk.Script]
|
[//-]
IF - [true] is equal to: [true] evaluated string: [If,%Admin_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Admin.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Admin...
IF - File exists: [%BaseDir%\Target\Windows\System32\PecmdAdmin.ini] evaluated string: [If,Not,ExistFile,%GTarget_Sys%\PecmdAdmin.ini,EchoExtended,"PecmdAdmin.ini should be in the original package in:
\Projects\Include\%Architecture%\AdditionalFiles\Windows\System32\PecmdAdmin.ini
And so previously copied in \Target\Windows\System32",Warn,,Message,,Exit]
AddInterface - Added section [InterfaceOption] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//-]
|
Run - Processing section: [AddFiles] From file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Admin_AddFiles.txt] evaluated string: [If,ExistFile,%ScriptDir%\Admin_AddFiles.txt,ExtractListFiles,%ScriptDir%\Admin_AddFiles.txt]
|
Run - Processing section: [MExtractListFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\Admin_AddFiles.txt]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\Admin_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\Admin_AddFiles.txt] to variable: [#9] with result: [Admin_AddFiles.txt]
Extract Admin_AddFiles.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Projects\Win10XPE\Features\Admin_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Admin_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 [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,Begin]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\Windows.UI.Xaml.Controls.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\windows.ui.xaml.controls.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\Windows.UI.Xaml.Controls.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\Windows.UI.Xaml.Controls.dll] to variable: [#8] with result: [Windows.UI.Xaml.Controls.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\Windows.UI.Xaml.Controls.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\Windows.UI.Xaml.Controls.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 Windows.UI.Xaml.Controls.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 "\Windows\System32\Windows.UI.Xaml.Controls.dll" --dest-dir="%BaseDir%\Target" --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 Windows.UI.Xaml.Controls.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: [\Windows\System32\Windows.ApplicationModel.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\windows.applicationmodel.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\Windows.ApplicationModel.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\Windows.ApplicationModel.dll] to variable: [#8] with result: [Windows.ApplicationModel.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\Windows.ApplicationModel.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\Windows.ApplicationModel.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 Windows.ApplicationModel.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 "\Windows\System32\Windows.ApplicationModel.dll" --dest-dir="%BaseDir%\Target" --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 Windows.ApplicationModel.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]
[End]
IF - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,ExtractWimFile,\Windows\System32\wuceffects.dll]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\wuceffects.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\wuceffects.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\wuceffects.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\wuceffects.dll] to variable: [#8] with result: [wuceffects.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\wuceffects.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\wuceffects.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 wuceffects.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 "\Windows\System32\wuceffects.dll" --dest-dir="%BaseDir%\Target" --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 wuceffects.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]
[//-]
SetVar - Sucessfuly changed the value of [%VersionName%] to: [*]
IF - [18362] is bigger than [17000] evaluated string: [If,%SourceBuild%,Bigger,17000,Set,%VersionName%,.rs4]
SetVar - Sucessfuly changed the value of [%VersionName%] to: [.rs4]
IF - [18362] is bigger than [17700] evaluated string: [If,%SourceBuild%,Bigger,17700,Set,%VersionName%,.rs5]
SetVar - Sucessfuly changed the value of [%VersionName%] to: [.rs5]
IF - [18362] is bigger than [18300] evaluated string: [If,%SourceBuild%,Bigger,18300,Set,%VersionName%,.19h1]
SetVar - Sucessfuly changed the value of [%VersionName%] to: [.19h1]
IF - [18362] is not bigger than [18500] evaluated string: [If,%SourceBuild%,Bigger,18500,Set,%VersionName%,*]
[//-]
|
Run - Processing section: [MExtractWimFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [\Windows\System32\Windows.UI.Xaml.Resources.19h1.dll]
[//---------- BEGIN ExtractWimFile Macro ------------------------------]
IF - [\windows\system32\windows.ui.xaml.resources.19h1.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\Windows.UI.Xaml.Resources.19h1.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\Windows.UI.Xaml.Resources.19h1.dll] to variable: [#8] with result: [Windows.UI.Xaml.Resources.19h1.dll]
IF - [-] is equal to: [-] evaluated string: [If,#2-,Equal,-,Set,#7,%GTarget%]
SetVar - Sucessfuly changed the value of [#7] to: [%BaseDir%\Target]
ELSE - [Set,#7,#2]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#6,%Image%]
SetVar - Sucessfuly changed the value of [#6] to: [10]
ELSE - [Set,#6,#3]
[//-]
StrFormat - converted [POS(\Windows\System32\Windows.UI.Xaml.Resources.19h1.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\Windows.UI.Xaml.Resources.19h1.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 Windows.UI.Xaml.Resources.19h1.dll
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 "\Windows\System32\Windows.UI.Xaml.Resources.19h1.dll" --dest-dir="%BaseDir%\Target" --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 Windows.UI.Xaml.Resources.19h1.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\Admin.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveLoadALL]
|
Run - Processing section: [Admin_Registry] From file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
System,ErrorOff
IF - File exists: [%BaseDir%\Target\Windows\System32\tsdiscon.exe] evaluated string: [If,ExistFile,%GTarget_Sys%\tsdiscon.exe,RegWrite,HKLM,0x1,Tmp_System\Setup,CmdLine,"Pecmd.exe Main %Windir%\system32\PecmdAdmin.ini"]
RegWrite - Overwrote existing key "Pecmd.exe Main %Windir%\system32\Pecmd.ini" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\Setup] Key [CmdLine]: Pecmd.exe Main %Windir%\system32\PecmdAdmin.ini
ELSE - [EchoExtended,"Switch to Admin needs tsdiscon.exe present in Education, Professional or Enterprise edition",Warn,,MessageInformation,10,Exit]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\System] Key [EnableLUA]: 0
|
Run - Processing section: [MRegCopyKey] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [HKLM],[Tmp_System\ControlSet001\Services\seclogon]
[//---------- 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\seclogon,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: [/D /C CopyRegKey.cmd "Tmp_System\ControlSet001\Services\seclogon" ""]
System,FileRedirect,ON
[//---------- END RegCopyKey Macro ------------------------------]
Run - Processed section [MRegCopyKey] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//ACLRegKey,Tmp_System\ControlSet001\Services\gpsvc]
RegWrite - Overwrote existing key "2" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\gpsvc] Key [Start]: 3
[//-]
[//ACLRegKey,Tmp_System\ControlSet001\Services\TrustedInstaller]
RegWrite - Type: [0x4] Section [HKLM\Tmp_System\ControlSet001\Services\TrustedInstaller] Key [Start]: 3
[//-]
IF - [true] is equal to: [true] evaluated string: [If,Not,%FullSoftware%,Equal,True,Begin]
[RegCopyKey,HKLM,Tmp_Software\Microsoft\Windows\CurrentVersion\Authentication]
[RegCopyKey,HKLM,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Winlogon"]
[End]
[//-]
IF - [5] is bigger than [0] evaluated string: [If,%AdminCountDown_NumberBox%,Bigger,0,Begin]
[// Enable Mouse Cursor (EnableCursorSuppression=0) or use Exec = Winpeshl.exe in PecmdAdmin.ini]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\Policies\System] Key [EnableCursorSuppression]: 0
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\PecmdAdmin.ini] string [CALL ADMIN
//CALL SWITCHTOADMINQUESTION] with string: [//CALL ADMIN
CALL SWITCHTOADMINQUESTION]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\PecmdAdmin.ini] string [#YN *3000 $N] with string: [#YN *5000 $N]
[End]
Run - Processed section [Admin_Registry] in file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
[//-]
[// in case PecmdAdmin.ini is in the Custom folder with Exec startnet.exe inside]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\PecmdAdmin.ini] string [EXEC !=startnet.exe -wg WORKGROUP] with string: [EXEC !=SetWG.exe WORKGROUP]
[//-]
ExtractFile - [UsrClass.dat] to: [%BaseDir%\Target\Users\Default\AppData\Local\Microsoft\Windows]
[// Force the administrator name whatever language]
ExtractFile - [Security.7z] to: [%BaseDir%\Temp\Admin]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\7z.exe] with parameters: [x "%BaseDir%\Temp\Admin\Security.7z" -y -o"%BaseDir%\Target\Windows"]
IF - Directory exists: [%BaseDir%\Temp\Admin] evaluated string: [If,ExistDir,%GTemp%\Admin,DirDelete,%GTemp%\Admin]
DirDelete - Deleted directory [%BaseDir%\Temp\Admin]
[//-]
[// Optional use wallpaper as Slide]
IF - File does not exist: [%BaseDir%\Target\Windows\Web\Screen\img100.jpg] evaluated string: [If,Not,ExistFile,%GTarget_Win%\Web\Screen\img100.jpg,Begin]
IF - Directory does not exist: [%BaseDir%\Target\Windows\Web\Screen] evaluated string: [If,Not,ExistDir,%GTarget_Win%\Web\Screen,DirMake,%GTarget_Win%\Web\Screen]
DirMake - Created directory: [%BaseDir%\Target\Windows\Web\Screen]
IF - File exists: [%BaseDir%\Target\Windows\Web\Wallpaper\Windows\img0.jpg] evaluated string: [If,ExistFile,%GTarget_Win%\Web\Wallpaper\Windows\img0.jpg,FileCopy,%GTarget_Win%\Web\Wallpaper\Windows\img0.jpg,%GTarget_Win%\Web\Screen\img100.jpg]
FileCopy - Copied [%BaseDir%\Target\Windows\Web\Wallpaper\Windows\img0.jpg] to: [%BaseDir%\Target\Windows\Web\Screen\img100.jpg]
[End]
[//-]
[//If,%SourceBuild%,Bigger,18850,Set,%PreCreateAdminProfile%,True]
IF - [false] is not equal to: [true] evaluated string: [If,%PreCreateAdminProfile%,Equal,True,Begin]
[ExtractFile,%ScriptFile%,Admin,PreCreateAdminProfile.bat,%GTarget_Sys%]
[ExtractFile,%ScriptFile%,LSAgetRights_%Architecture%,LSAgetRights.exe,%GTarget_Sys%]
[End]
[//-]
IF - [david] is not equal to: [administrator] evaluated string: [If,Not,%AdminName_TextBox%,Equal,Administrator,Run,%ScriptFile%,ChangeAdminName]
|
Run - Processing section: [ChangeAdminName] From file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
IF - [david-] is not equal to: [-] evaluated string: [If,Not,%AdminName_TextBox%-,Equal,-,Begin]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\Pecmd.ini] string [Administrator] with string: [David]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\PecmdAdmin.ini] string [Administrator] with string: [David]
IniWrite - Wrote INI key in file: [%BaseDir%\Target\Windows\Security\Templates\unattend.inf] Section [System Access] Key [NewAdministratorName]: "David"
IF - File does not exist: [%BaseDir%\Target\Windows\System32\PreCreateAdminProfile.bat] evaluated string: [If,ExistFile,%GTarget_Sys%\PreCreateAdminProfile.bat,TXTReplace,%GTarget_Sys%\PreCreateAdminProfile.bat,Administrator,%AdminName_TextBox%]
[End]
Run - Processed section [ChangeAdminName] in file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
[//-]
[// Remove Google Chrome.lnk. It is auto created at startup without the correct target. Seems not longer the case]
[//If,ExistFile,%GTarget_Sys%\autorun.cmd,Run,%ScriptFile%,Autorun_RemoveGoogleChromeLnk]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\Admin.Script]
|
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 - [true] is equal to: [true] evaluated string: [If,%DotNET_CheckBox%,Equal,True,Begin]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script] evaluated string: [If,ExistFile,%ProjectDir%\Features\DotNET.Script,Exec,%ProjectDir%\Features\DotNET.Script,Process,HiveLoaded]
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing NET Framework...
IF - [x64] is not equal to: [x86] evaluated string: [If,%Architecture%,Equal,x86,ExtractSectionFiles,%ScriptFile%,DotNET_AddFiles]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,ExtractSectionFiles,%ScriptFile%,DotNET_AddFiles64]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script],[DotNET_AddFiles64]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DotNET.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\DotNET.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\DotNET.Script] to variable: [#9] with result: [DotNET.Script]
IF - File does not exist: [%BaseDir%\Temp\DotNET_AddFiles64.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\DotNET.Script" DotNET_AddFiles64 "%BaseDir%\Temp\DotNET_AddFiles64.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\DotNET_AddFiles64.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\DotNET_AddFiles64.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\DotNET_AddFiles64.txt] to variable: [#9] with result: [DotNET_AddFiles64.txt]
Extract DotNET_AddFiles64.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\DotNET_AddFiles64.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract DotNET_AddFiles64.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\DotNET_AddFiles64.txt]
[End]
ELSE - [EchoExtended,"Error: ExtractSection [#2] of #9 Return: %ExitCode%",Warn,,MessageError,,Halt]
[//---------- END ExtractSectionFiles Macro ------------------------------]
Run - Processed section [MExtractSectionFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [x64true] is equal to: [x64true] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64True,ExtractSectionFiles,%ScriptFile%,DotNET_AddFilesWoW64]
|
Run - Processing section: [MExtractSectionFiles] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script],[DotNET_AddFilesWoW64]
[//---------- BEGIN ExtractSectionFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Features\DotNET.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\DotNET.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\DotNET.Script] to variable: [#9] with result: [DotNET.Script]
IF - File does not exist: [%BaseDir%\Temp\DotNET_AddFilesWoW64.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\DotNET.Script" DotNET_AddFilesWoW64 "%BaseDir%\Temp\DotNET_AddFilesWoW64.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\DotNET_AddFilesWoW64.txt],[Hide]
[//---------- BEGIN ExtractListFiles Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\DotNET_AddFilesWoW64.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\DotNET_AddFilesWoW64.txt] to variable: [#9] with result: [DotNET_AddFilesWoW64.txt]
Extract DotNET_AddFilesWoW64.txt List Files
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\wimlib-imagex.exe] with parameters: [extract "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Temp\DotNET_AddFilesWoW64.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract DotNET_AddFilesWoW64.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\DotNET_AddFilesWoW64.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,HiveLoadALL]
IF - File exists: [%BaseDir%\Target\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe] evaluated string: [If,ExistFile,%Gtarget_Win%\%ProgramFolder%\Framework\v2.0.50727\InstallUtil.exe,Run,%ScriptFile%,Add_Registry_NETFx3]
|
Run - Processing section: [Add_Registry_NETFx3] From file: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script]
IF - Directory does not exist: [%BaseDir%\Temp\Microsoft.NET] evaluated string: [If,ExistDir,%GTemp%\%ProgramFolder%,DirDeleteQ,%GTemp%\%ProgramFolder%]
DirMake - Created directory: [%BaseDir%\Temp\Microsoft.NET]
ExtractAllFiles - [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script] Section [Reg] to: [%BaseDir%\Temp\Microsoft.NET]
|
Run - Processing section: [MRegImportFile] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Microsoft.NET\DotNetFull_RegSoftware_x64.txt]
[//---------- BEGIN RegImportFile Macro ------------------------------]
IF - File exists: [%BaseDir%\Temp\Microsoft.NET\DotNetFull_RegSoftware_x64.txt] evaluated string: [If,Not,ExistFile,#1,EchoExtended,"Error: The Registry File to Import was Not Found.
#1",Warn,,MessageError,,Halt]
StrFormat - converted: [%BaseDir%\Temp\Microsoft.NET\DotNetFull_RegSoftware_x64.txt] to variable: [#9] with result: [DotNetFull_RegSoftware_x64.txt]
System,FileRedirect,OFF
ShellExecute: [Hide] using: [regedit.exe] with parameters: [/s "%BaseDir%\Temp\Microsoft.NET\DotNetFull_RegSoftware_x64.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 DotNetFull_RegSoftware_x64.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 [Add_Registry_NETFx3] in file: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script]
IF - [true] is equal to: [true] evaluated string: [If,Not,%FullSoftware%,Equal,True,Run,%ScriptFile%,Add_Registry_NETFx4]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
[//--]
ExtractFile - [dotnet.exe] to: [%BaseDir%\Target\Windows\Microsoft.NET]
|
Run - Processing section: [MAddShortcut] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [StartMenu],[System Tools],[#$pSystemRoot#$p\Microsoft.NET\dotnet.exe]
[//---------- BEGIN AddShortcut Macro ------------------------------]
IF - [startmenu-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,StartMenu]
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,Not,#1,Equal,Desktop,If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,Not,#1,Equal,StartMenu,EchoExtended,"Error: AddShortcut Can Only Create Shorcut to Desktop or StartMenu",Warn,,MessageError,,Halt]
Create StartMenu ShortCut
[// If StartMenuFolder is Empty, Use the Part After the App Folder of the Script Folder. Create Root StartMenu Shortcut with StartMenuFolder = "."]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,Begin]
IF - [system tools-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,Begin]
[StrFormat,REPLACE,%ScriptDir%,%BaseDir%,,#2]
[StrFormat,POS,#2,\App,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[StrFormat,REPLACE,#2,App,,#2]
[StrFormat,POS,#2,\,%MXPE_Pos%]
[StrFormat,LTRIM,#2,%MXPE_Pos%,#2]
[End]
IF - [system tools] 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: [\System Tools]
[End]
IF - [%systemroot%\microsoft.net\dotnet.exe-] is not equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%]
StrFormat - converted [REPLACE(%SystemRoot%\Microsoft.NET\dotnet.exe,X:\Program Files)] to variable: [#3] with result: [%SystemRoot%\Microsoft.NET\dotnet.exe]
IF - [-] is equal to: [-] evaluated string: [If,#4-,Equal,-,Set,#4,%ProgramTitle%]
SetVar - Sucessfuly changed the value of [#4] to: [DotNet Version Detector]
IF - [-] is equal to: [-] evaluated string: [If,Not,#5-,Equal,-,Set,#5,,#5]
IF - [-] is equal to: [-] evaluated string: [If,Not,#6-,Equal,-,Begin]
[If,#5-,Equal,-,Set,#5,#$c]
[// If IconFile begin by | (|IconIndex), IconFile is Equal to FileName|IconIndex. Replace Delimiter | by #$h Then by # for pecmd (#IconIndex)]
[StrFormat,LEFT,#6,1,#9]
[If,#9,Equal,|,Set,#6,#3#6]
[StrFormat,REPLACE,#6,|,#$h,#6]
[Set,#6,#$c#6]
[End]
IF - [startmenu] is equal to: [startmenu] evaluated string: [If,#1,Equal,StartMenu,TXTReplace,%GTarget_Sys%\pecmd.ini,_SUB Shortcuts,"_SUB Shortcuts
LINK %Programs%#2\#4,#3#5#6"]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [_SUB Shortcuts] with string: [_SUB Shortcuts
LINK %Programs%\System Tools\DotNet Version Detector,%SystemRoot%\Microsoft.NET\dotnet.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]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\DotNET.Script]
[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,Begin]
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
[End]
[//--]
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 - [0] is equal to: [0] evaluated string: [If,%Taskbar_Button%,Equal,0,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,0]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] Key [TaskbarGlomLevel]: 0
IF - [0] is not equal to: [1] evaluated string: [If,%Taskbar_Button%,Equal,1,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,1]
IF - [0] is not equal to: [2] evaluated string: [If,%Taskbar_Button%,Equal,2,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,TaskbarGlomLevel,2]
[// Hide Taskbar For Fullscreen Use - Following Oscar]
IF - [false] is not equal to: [true] evaluated string: [If,%HideTaskbar_CheckBox%,Equal,True,RegWrite,HKLM,0x3,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3,Settings,30,00,00,00,fe,ff,ff,ff,03,00,00,00,03,00,00,00,9b,00,00,00,64,00,00,00,00,00,00,00,0c,08,00,00,00,0f,00,00,70,08,00,00,f0,00,00,00,01,00,00,00]
[// Automtically expand to current folder]
IF - [true] is equal to: [true] evaluated string: [If,%ExpandCurDir_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,NavPaneExpandToCurrentFolder,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] Key [NavPaneExpandToCurrentFolder]: 1
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,NavPaneExpandToCurrentFolder,0]
[// Show My Computer on Desktop]
IF - [true] is equal to: [true] evaluated string: [If,%Computer_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{20D04FE0-3AEA-1069-A2D8-08002B30309D},0]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] Key [{20D04FE0-3AEA-1069-A2D8-08002B30309D}]: 0
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel,{20D04FE0-3AEA-1069-A2D8-08002B30309D},1]
[// Open the Ribbon by default]
IF - [true] is equal to: [true] evaluated string: [If,%Ribbon_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon,MinimizedStateTabletModeOff,0]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon] Key [MinimizedStateTabletModeOff]: 0
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon,MinimizedStateTabletModeOff,1]
[// StartIsBack Display as flyout menu (Windows XP style) value 0/1]
IF - [true] is equal to: [true] evaluated string: [If,%SIBFlyoutMenu_CheckBox%,Equal,True,RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,AllProgramsFlyout,1]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [AllProgramsFlyout]: 1
ELSE - [RegWrite,HKLM,0x4,Tmp_Default\Software\StartIsBack,AllProgramsFlyout,0]
[// StartIsBack Style Menu Windows 10]
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\Styles\Plain8.msstyles" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [AlterStyle]: X:\Program Files\StartIsBack\Styles\Plain10.msstyles
RegWrite - Overwrote existing key "X:\Program Files\StartIsBack\Styles\Plain8.msstyles" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\StartIsBack] Key [TaskbarStyle]: X:\Program Files\StartIsBack\Styles\Plain10.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 - [true] is equal to: [true] evaluated string: [If,%DarkThemeShortcut_CheckBox%,Equal,True,Begin]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Desktop%\Change Explorer Theme] with string: [LINK %Desktop%\Change Explorer Theme]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\System Tools\Change Explorer Theme] with string: [LINK %Programs%\System Tools\Change Explorer Theme]
[End]
[End]
[// 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 "C:\Sources\sources\install.wim" 10 @"%BaseDir%\Projects\Win10XPE\Features\Osk_AddFiles.txt" --dest-dir="%BaseDir%\Target" --no-acls --nullglob]
IF - [0] is equal to: [0] evaluated string: [If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
Wimlib Extract Osk_AddFiles.txt from Install.wim Return: 0
ELSE - [Begin]
[If,%ExitCode%,Equal,37,Begin]
[Set,%MXPE_Answer%,No]
[If,Question,"Wimlib Extract #9 from Install.wim Return: %ExitCode%#$x#$xFailed to Create a File or Directory.#$xA File in Target Directory is Maybe Opened ?#$xRetry ?",Set,%MXPE_Answer%,Yes]
[If,%MXPE_Answer%,Equal,Yes,Begin]
[ShellExecute,#2,%GTools%\wimlib-imagex.exe,"extract #$q%GSource%\sources\install.wim#$q %Image% @#$q#1#$q --dest-dir=#$q%GTarget%#$q --no-acls --nullglob"]
[If,%ExitCode%,Equal,0,Echo,"Wimlib Extract #9 from Install.wim Return: %ExitCode%"]
[End]
[End]
[If,Not,%ExitCode%,Equal,0,EchoExtended,"Error: Wimlib Extract #9 from Install.wim Return: %ExitCode%",Warn,,MessageError,,Halt]
[End]
[//---------- END ExtractListFiles Macro ------------------------------]
Run - Processed section [MExtractListFiles] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
FileCopy - Copied [%BaseDir%\Projects\Win10XPE\Features\OskTray_x64.exe] to: [%BaseDir%\Target\Windows\System32\OskTray.exe]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//LINK %Programs%\Accessibility\OSK] with string: [LINK %Programs%\Accessibility\OSK]
TXTReplace - Replaced strings in file: [%BaseDir%\Target\Windows\System32\pecmd.ini] string [//EXEC %WinDir%\System32\OskTray.exe] with string: [EXEC %WinDir%\System32\OskTray.exe]
[End]
[End]
IF - [1] is equal to: [1] evaluated string: [If,%ComputerName_RadioGroup%,Equal,1,Begin]
|
Run - Processing section: [CheckComputerName] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
StrFormat - converted [LEFT(Win10,15)] to variable: [%ComputerName%] with result: [Win10]
IF - [win10-] is not equal to: [-] evaluated string: [If,%ComputerName%-,Equal,-,Set,%ComputerName%,%ProjectName%]
StrFormat - converted [REPLACE(Win10,\)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,/)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,:)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,*)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,")] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,<)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,>)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,|)] to variable: [%ComputerName%] with result: [Win10]
IF - [win10-] is not equal to: [-] evaluated string: [If,%ComputerName%-,Equal,-,Set,%ComputerName%,%ProjectName%]
SetVar - Sucessfuly changed the value of [%PENMComputerName%] to: [Win10]
StrFormat - converted [REPLACE(Win10,?)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [REPLACE(Win10,+)] to variable: [%ComputerName%] with result: [Win10]
StrFormat - converted [RIGHT(Win10,1)] to variable: [%EndChar%] with result: [0]
IF - [0] is not equal to: [-] evaluated string: [If,%EndChar%,Equal,-,StrFormat,RTRIM,%ComputerName%,1,%ComputerName%]
IF - [0] is not equal to: [_] evaluated string: [If,%EndChar%,Equal,_,StrFormat,RTRIM,%ComputerName%,1,%ComputerName%]
IF - [win10-] is not equal to: [-] evaluated string: [If,%ComputerName%-,Equal,-,Begin]
[Set,%ComputerName%,%ProjectName%]
[Set,%PENMComputerName%,%ProjectName%]
[End]
[//-]
IF - [run from usb] is not equal to: [run from ram] evaluated string: [If,%PENMRunFromWhere_ScrollBox%,Equal,"Run From RAM",RunFromRAM]
SetVar - Sucessfuly changed the value of [%PENetworkFolder%] to: [PENetwork]
IF - [x64] is equal to: [x64] evaluated string: [If,%Architecture%,Equal,x64,Set,%PENetworkFolder%,%PENetworkFolder%_x64]
SetVar - Sucessfuly changed the value of [%PENetworkFolder%] to: [PENetwork_x64]
[//-]
IF - File exists: [%BaseDir%\ISO\Programs\PENetwork_x64\PENetwork.ini] evaluated string: [If,ExistFile,%Target_Prog%\%PENetworkFolder%\PENetwork.ini,Begin]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\binmay.exe] with parameters: [-u "%BaseDir%\ISO\Programs\PENetwork_x64\PENetwork.ini" -s u:Win10XPE -r u:"Win10"]
[End]
[//-]
IF - [win10] is equal to: [win10] evaluated string: [If,Not,%PENMComputerName%,Equal,%CustomComputerName_TextBox%,Echo,"The computer name has been changed to %ComputerName%, its max size is 15 chars and it must not contain special chars: \ / : * ? " < > |",Warn]
Run - Processed section [CheckComputerName] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
|
Run - Processing section: [RegComputerName] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
System,ErrorOff,6
RegWrite - Overwrote existing key "@%SystemRoot%\system32\windows.storage.dll,-9216" with different data
RegWrite - Type: [0x2] Section [HKLM\Tmp_Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}] Key [LocalizedString]: %ComputerName%
RegWrite - Overwrote existing key "Win10XPE" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\Session Manager\Environment] Key [ComputerName]: Win10
RegWrite - Overwrote existing key "Win10XPE" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\ComputerName\ComputerName] Key [ComputerName]: Win10
RegWrite - Overwrote existing key "Win10XPE" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\Control\ComputerName\ActiveComputerName] Key [ComputerName]: Win10
RegWrite - Overwrote existing key "Win10XPE" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\services\Tcpip\Parameters] Key [NV Hostname]: Win10
RegWrite - Overwrote existing key "Win10XPE" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_System\ControlSet001\services\Tcpip\Parameters] Key [Hostname]: Win10
Run - Processed section [RegComputerName] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
[End]
|
Run - Processing section: [NumLock] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [true] is equal to: [true] evaluated string: [If,%NumLock_CheckBox%,Equal,True,Set,%Numlock%,2]
SetVar - Sucessfuly changed the value of [%Numlock%] to: [2]
ELSE - [Begin]
[Set,%Numlock%,2147483648]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"NUMK 1","NUMK 0"]
[End]
System,ErrorOff
RegWrite - Overwrote existing key "2147483648" with different data
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Keyboard] Key [InitialKeyboardIndicators]: 2
Run - Processed section [NumLock] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [explorer] is equal to: [explorer] evaluated string: [If,%Shell%,Equal,Explorer,Run,%ScriptFile%,PowerOptions]
|
Run - Processing section: [PowerOptions] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
SetVar - Sucessfuly changed the value of [%MonitorDC%] to: [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\Windows\System32\pecmd.ini] string [//EXEC=!%WinDir%\System32\nircmd.exe setsysvolume 21626] with string: [EXEC=!%WinDir%\System32\nircmd.exe setsysvolume 21626]
[End]
ELSE - [Begin]
[TXTReplace,%GTarget_Sys%\pecmd.ini,"EXEC @!%WinDir%\System32\mpg123.exe","//EXEC @!%WinDir%\System32\mpg123.exe"]
[End]
Run - Processed section [ControlVolume] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
|
Run - Processing section: [FitWallpaper] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
[// Default Fill. Win10 Center and Fit position Not Used Here]
IF - [fill] is not equal to: [stretch] evaluated string: [If,%Position_ScrollBox%,Equal,Stretch,Run,%ScriptFile%,RegStretch]
IF - [fill] is equal to: [fill] evaluated string: [If,%Position_ScrollBox%,Equal,Fill,Run,%ScriptFile%,RegFill]
|
Run - Processing section: [RegFill] From file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [TileWallpaper]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [WallpaperStyle]: 10
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Desktop\General] Key [TileWallpaper]: 0
RegWrite - Type: [0x1] Section [HKLM\Tmp_Default\Software\Microsoft\Internet Explorer\Desktop\General] Key [WallpaperStyle]: 10
Run - Processed section [RegFill] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
IF - [fill] is not equal to: [tile] evaluated string: [If,%Position_ScrollBox%,Equal,Tile,Run,%ScriptFile%,RegTile]
IF - [fill] is not equal to: [span] evaluated string: [If,%Position_ScrollBox%,Equal,Span,Run,%ScriptFile%,RegSpan]
Run - Processed section [FitWallpaper] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
Run - Processed section [OptionsPlay] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
[//--]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,HiveUnLoadALL]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\CoreOptions.Script]
|
|
Exec - Processing section: [Process] From file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
with parameters: [HiveLoaded]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
Processing Themes Color...
AddInterface - Added section [InterfaceOption] from file [%BaseDir%\Projects\Win10XPE\Core.script] into the local variable list
[//-]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveLoad,Tmp_Software,%RegSoftware%]
[RegHiveLoad,Tmp_Default,%RegDefault%]
[End]
|
Run - Processing section: [ThemeColors] From file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [AutoColorization]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\DWM] Key [ColorizationGlassAttribute]: 0
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [Composition]: 1
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize] Key [ColorPrevalence]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize] Key [EnableTransparency]: 1
RegWrite - Overwrote existing key "1" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\DWM] Key [ColorPrevalence]: 0
[//]
IF - [10] is not equal to: [1] evaluated string: [If,%Colors_ScrollBox%,Equal,1,Begin]
[//IniWrite,%GTarget_Win%\Resources\Themes\aero.theme,VisualStyles,AutoColorization,1]
[RegWrite,HKLM,0x4,"Tmp_Default\Control Panel\Desktop",AutoColorization,1]
[RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\DWM,ColorPrevalence,1]
[RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize,ColorPrevalence,1]
[RegWrite,HKLM,0x4,Tmp_Software\Microsoft\Windows\DWM,ColorPrevalence,1]
[End]
[// Custom Windows Title Bars and Taskbar color section]
IF - [10] is bigger than [1] evaluated string: [If,%Colors_ScrollBox%,Bigger,1,Run,%ScriptFile%,CustomColors]
|
Run - Processing section: [CustomColors] From file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\Control Panel\Desktop] Key [AutoColorization]: 0
[//-]
SetVar - Sucessfuly changed the value of [%SystemProtectedUserDataRegKey%] to: [Microsoft\Windows\CurrentVersion\SystemProtectedUserData\S-1-5-21-1391200042-3413667948-2666945708-500\AnyoneRead\Colors]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\SystemProtectedUserData\S-1-5-21-1391200042-3413667948-2666945708-500\AnyoneRead\Colors] Key [StartColor]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Software\Microsoft\Windows\CurrentVersion\SystemProtectedUserData\S-1-5-21-1391200042-3413667948-2666945708-500\AnyoneRead\Colors] Key [AccentColor]: 0
[//-]
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorizationGlassAttribute]: 0
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [EnableAeroPeek]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [AccentColor]: 47615
RegWrite - Overwrote existing key "0" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorPrevalence]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorizationColorBalance]: 89
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorizationAfterglowBalance]: 10
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorizationBlurBalance]: 1
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [EnableWindowColorization]: 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
[//-]
[// Win10 color accent palette Col 1, Line 1 Yellow]
IF - [10] is not equal to: [2] evaluated string: [If,%Colors_ScrollBox%,Equal,2,Begin]
[Set,%AccentColor%,47615]
[Set,%Colorization%,-989873920]
[Set,%AccentPalette%,"ff,e8,a8,00,ff,e0,8c,00,ff,d3,5c,00,ff,b9,00,00,ba,89,00,00,80,5e,00,00,4d,38,00,00,00,b2,94,00"]
[Set,%StartColorMenu%,-16741958]
[Set,%AccentColorMenu%,-16729601]
[End]
[// Win10 color accent palette Col 1, Line 3]
IF - [10] is not equal to: [3] evaluated string: [If,%Colors_ScrollBox%,Equal,3,Begin]
[Set,%AccentColor%,812023]
[Set,%Colorization%,-990420212]
[Set,%AccentPalette%,"fd,86,5f,00,fc,75,51,00,f8,63,42,00,f7,63,0c,00,d0,41,22,00,9c,31,1a,00,79,27,14,00,00,99,bc,00"]
[Set,%StartColorMenu%,-14532144]
[Set,%AccentColorMenu%,-15965193]
[End]
[// Win10 color accent palette Col 1, Line 6]
IF - [10] is not equal to: [4] evaluated string: [If,%Colors_ScrollBox%,Equal,4,Begin]
[Set,%AccentColor%,5269999]
[Set,%Colorization%,-990942896]
[Set,%AccentPalette%,"ff,c9,bf,00,ff,b7,ab,00,fa,94,82,00,ef,69,50,00,9e,44,34,00,66,2c,22,00,33,12,0c,00,74,4d,a9,00"]
[Set,%StartColorMenu%,-13351778]
[Set,%AccentColorMenu%,-11507217]
[End]
[// Win10 color accent palette Col 2, Line 2]
IF - [10] is not equal to: [5] evaluated string: [If,%Colors_ScrollBox%,Equal,5,Begin]
[Set,%AccentColor%,2298344]
[Set,%Colorization%,-991424221]
[Set,%AccentPalette%,"ff,bd,c2,00,ff,99,a1,00,f0,59,65,00,e8,11,23,00,99,00,0d,00,6e,00,09,00,47,00,06,00,69,79,7e,00"]
[Set,%StartColorMenu%,-15925095]
[Set,%AccentColorMenu%,-14478872]
[End]
[// Win10 color accent palette Col 3, Line 7]
IF - [10] is not equal to: [6] evaluated string: [If,%Colors_ScrollBox%,Equal,6,Begin]
[Set,%AccentColor%,12732081]
[Set,%Colorization%,-995014974]
[Set,%AccentPalette%,"f6,c0,ff,00,e5,9d,f0,00,cc,7b,d9,00,b1,46,c2,00,7d,31,89,00,51,20,59,00,38,16,3d,00,ff,8c,00,00"]
[Set,%StartColorMenu%,-7786115]
[Set,%AccentColorMenu%,-4045135]
[End]
[// Win10 color accent palette Col 2, Line 8]
IF - [10] is not equal to: [7] evaluated string: [If,%Colors_ScrollBox%,Equal,7,Begin]
[Set,%AccentColor%,8978586]
[Set,%Colorization%,-996540279]
[Set,%AccentPalette%,"fd,8d,f1,00,f2,66,e3,00,cb,3d,bb,00,9a,00,89,00,70,00,63,00,50,00,47,00,33,00,2d,00,00,cc,6a,00"]
[Set,%StartColorMenu%,-10289040]
[Set,%AccentColorMenu%,-7798630]
[End]
[// Win10 color accent palette Col 3, Line 1]
IF - [10] is not equal to: [8] evaluated string: [If,%Colors_ScrollBox%,Equal,8,Begin]
[Set,%AccentColor%,14120960]
[Set,%Colorization%,-1006602025]
[Set,%AccentPalette%,"a6,d8,ff,00,76,b9,ed,00,42,9c,e3,00,00,78,d7,00,00,5a,9e,00,00,42,75,00,00,26,42,00,f7,63,0c,00"]
[Set,%StartColorMenu%,-6399488]
[Set,%AccentColorMenu%,-2656256]
[End]
[// Win10 color accent palette Col 3, Line 2]
IF - [10] is not equal to: [9] evaluated string: [If,%Colors_ScrollBox%,Equal,9,Begin]
[Set,%AccentColor%,11625216]
[Set,%Colorization%,-1006607439]
[Set,%AccentPalette%,"86,ca,ff,00,5f,b2,f2,00,1e,91,ea,00,00,63,b1,00,00,42,75,00,00,2d,4f,00,00,20,38,00,00,cc,6a,00"]
[Set,%StartColorMenu%,-9092608]
[Set,%AccentColorMenu%,-5152000]
[End]
[// Win10 color accent palette Col 4, Line 4]
IF - [10] is equal to: [10] evaluated string: [If,%Colors_ScrollBox%,Equal,10,Begin]
SetVar - Sucessfuly changed the value of [%AccentColor%] to: [8880899]
SetVar - Sucessfuly changed the value of [%Colorization%] to: [-1006402681]
SetVar - Sucessfuly changed the value of [%AccentPalette%] to: [b3,f4,f5,00,80,d6,d9,00,37,a9,ad,00,03,83,87,00,00,56,59,00,00,39,3b,00,00,26,26,00,ef,69,50,00]
SetVar - Sucessfuly changed the value of [%StartColorMenu%] to: [-10922496]
SetVar - Sucessfuly changed the value of [%AccentColorMenu%] to: [-7896317]
[End]
[// Win10 color accent palette Col 4, Line 7]
IF - [10] is not equal to: [11] evaluated string: [If,%Colors_ScrollBox%,Equal,11,Begin]
[Set,%AccentColor%,6999040]
[Set,%Colorization%,-1006580630]
[Set,%AccentPalette%,"c1,f7,dd,00,a6,f7,d0,00,68,e3,a8,00,00,cc,6a,00,00,87,46,00,00,52,2a,00,00,2b,16,00,e3,00,8c,00"]
[Set,%StartColorMenu%,-12155136]
[Set,%AccentColorMenu%,-9778176]
[End]
[// Win10 color accent palette Col 5, Line 8]
IF - [10] is not equal to: [12] evaluated string: [If,%Colors_ScrollBox%,Equal,12,Begin]
[Set,%AccentColor%,1080336]
[Set,%Colorization%,-1005552624]
[Set,%AccentPalette%,"90,d6,90,00,61,ba,61,00,3d,9c,3d,00,10,7c,10,00,0c,5c,0c,00,09,42,09,00,02,26,02,00,4c,4a,48,00"]
[Set,%StartColorMenu%,-15967220]
[Set,%AccentColorMenu%,-15696880]
[End]
[// Win10 color accent palette Col 5, Line 5]
IF - [10] is not equal to: [13] evaluated string: [If,%Colors_ScrollBox%,Equal,13,Begin]
[Set,%AccentColor%,7568470]
[Set,%Colorization%,-1000965005]
[Set,%AccentPalette%,"a4,e1,d2,00,8b,bf,b2,00,76,a2,97,00,56,7c,73,00,3a,54,4e,00,29,3a,36,00,1c,2b,28,00,c3,00,52,00"]
[Set,%StartColorMenu%,-11643846]
[Set,%AccentColorMenu%,-9208746]
[End]
[// Win10 color accent palette Col 5, Line 2]
IF - [10] is not equal to: [14] evaluated string: [If,%Colors_ScrollBox%,Equal,14,Begin]
[Set,%AccentColor%,5790301]
[Set,%Colorization%,-1000514984]
[Set,%AccentPalette%,"c5,bf,b9,00,a3,9e,9a,00,87,83,80,00,5d,5a,58,00,3e,3c,3b,00,2b,2a,29,00,1f,1e,1d,00,ff,43,43,00"]
[Set,%StartColorMenu%,-12895170]
[Set,%AccentColorMenu%,-10986915]
[End]
[// Win10 color accent palette Col 6, Line 7]
IF - [10] is not equal to: [15] evaluated string: [If,%Colors_ScrollBox%,Equal,15,Begin]
[Set,%AccentColor%,4552068]
[Set,%Colorization%,-997952187]
[Set,%AccentPalette%,"de,c7,7d,00,c3,af,6e,00,a9,97,5f,00,84,75,45,00,63,56,2c,00,4d,42,1f,00,3b,32,17,00,ef,69,50,00"]
[Set,%StartColorMenu%,-13871517]
[Set,%AccentColorMenu%,-12225148]
[End]
[//-]
RegWrite - Overwrote existing key "47615" with different data
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [AccentColor]: 8880899
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorizationColor]: -1006402681
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\DWM] Key [ColorizationAfterglow]: -1006402681
RegWrite - Type: [0x3] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent] Key [AccentPalette]: b3,f4,f5,00,80,d6,d9,00,37,a9,ad,00,03,83,87,00,00,56,59,00,00,39,3b,00,00,26,26,00,ef,69,50,00
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent] Key [StartColorMenu]: -10922496
RegWrite - Type: [0x4] Section [HKLM\Tmp_Default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent] Key [AccentColorMenu]: -7896317
Run - Processed section [CustomColors] in file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
Run - Processed section [ThemeColors] in file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
IF - [hiveloaded] is equal to: [hiveloaded] evaluated string: [If,Not,#1,Equal,HiveLoaded,Begin]
[RegHiveUnLoad,Tmp_Default]
[RegHiveUnLoad,Tmp_Software]
[End]
Exec - Processed section [Process] in file: [%BaseDir%\Projects\Win10XPE\Features\ThemesColor.Script]
|
|
Run - Processing section: [MHiveUnLoadALL] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[//---------- BEGIN HiveUnLoadALL Macro ------------------------------]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_System]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_Software]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_Default]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Install_Drivers]
RegHiveUnLoad - Unloaded registry hive: [Tmp_System]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Software]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Default]
RegHiveUnLoad - Unloaded registry hive: [Tmp_Drivers]
[//---------- END HiveUnLoadALL Macro ------------------------------]
Run - Processed section [MHiveUnLoadALL] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
|
IF - [true] is equal to: [true] evaluated string: [If,%Drivers_CheckBox%,Equal,True,Run,%ScriptFile%,DriversPlay]
|
Run - Processing section: [DriversPlay] From file: [%BaseDir%\Projects\Win10XPE\Core.script]
Integrate Drivers...
IF - Directory exists: [%BaseDir%\Custom\x64\Drivers] evaluated string: [If,ExistDir,%GCustom%\%Architecture%\Drivers,Begin]
Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Custom\x64\Drivers] to variable: [%DriverFolderSize%] with result: [216599681]
IF - [216599681] is not equal to: [0] evaluated string: [If,Not,%DriverFolderSize%,Equal,0,Begin]
StrFormat - converted: [%BaseDir%\Target\Windows\Logs\DISM\dism.log] to variable: [%DismLogPath%] with result: [%BaseDir%\Target\Windows\Logs\DISM\]
IF - Directory exists: [%BaseDir%\Target\Windows\Logs\DISM\] evaluated string: [If,Not,ExistDir,%DismLogPath%,DirMake,%DismLogPath%]
IF - [x64] is not equal to: [x86] evaluated string: [If,%HostOSArch%,Equal,x86,Set,%DismExe%,%GTools%\x86\DISM\dism.exe]
IF - File exists: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] evaluated string: [If,ExistFile,%DismExe%,Begin]
StrFormat - converted: [%BaseDir%\Projects\Tools\x64\DISM\dism.exe] to variable: [%DismExePath%] with result: [%BaseDir%\Projects\Tools\x64\DISM\]
System,FileRedirect,OFF
IF - [false] is not equal to: [true] evaluated string: [If,%PauseDrivers_CheckBox%,Equal,True,ShellExecute,%OpenHideOutput%,cmd.exe,"/D /K Echo Drivers integration and Pause. Be patient...&Dism.exe /image:"%GTarget%" /Add-Driver /Driver:"%GCustom%\%Architecture%\Drivers" /recurse /LogPath:"%DismLog%"&Echo.&Echo Close the window to Continue",%DismExePath%]
ELSE - executing command: [ShellExecute,%OpenHideOutput%,cmd.exe,"/D /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] using: [cmd.exe] with parameters: [/D /C Echo Drivers integration. Be patient...&Dism.exe /image:"%BaseDir%\Target" /Add-Driver /Driver:"%BaseDir%\Custom\x64\Drivers" /recurse /LogPath:"%BaseDir%\Target\Windows\Logs\DISM\dism.log"]
System,FileRedirect,ON
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\HiveUnload.exe] with parameters: [/HKLM /Target:%BaseDir%\Target\Windows\System32\config]
[End]
[End]
[End]
Run - Processed section [DriversPlay] in file: [%BaseDir%\Projects\Win10XPE\Core.script]
|
Script time: 11 minutes, 50 seconds and 294 milliseconds
Finished processing script: Build Core
|