Processing section: [EnableFeature] in file: [NETFx3 Add-Feature] |
File [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script] Version [1]
IF - File exists: [%BaseDir%\Projects\Win10XPE\Macro.script] evaluated string: [If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
System - OnBuildExit [System,ONBUILDEXIT,Exec,%ProjectDir%\script.project,WinXPE_OnBuildExit]
IF - Directory exists: [D:\Win10XPE\W10_x64\Sources\sxs] evaluated string: [If,Not,ExistDir,%SourceSXS%,EchoExtended,"Directory - \Source\SXS - Not Found In %GSource%",Warn,,MessageError,,Halt]
[//--]
|
Run - Processing section: [SetOpenHide] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
IF - [0] is equal to: [0] evaluated string: [If,%RadioGroup_IP%,Equal,0,Set,%OpenHide%,Open]
SetVar - Sucessfuly changed the value of [%OpenHide%] to: [Open]
IF - [0] is not equal to: [1] evaluated string: [If,%RadioGroup_IP%,Equal,1,Set,%OpenHide%,Hide]
Run - Processed section [SetOpenHide] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
|
|
Run - Processing section: [RWTest] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
Shellexecute: [Hide] using: [cmd.exe] with parameters: [/D /C echo "RWTest" > "D:\Win10XPE\W10_x64\test.txt"]
FileDelete - Sucessfully deleted [D:\Win10XPE\W10_x64\test.txt]
IF - [0] is equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,EchoExtended,"You Can Not Enable/Disable NetFx3 Feature With Source On Read Only Media!",Warn,,MessageError,,Halt]
Run - Processed section [RWTest] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
|
[//--]
Shellexecute: [Hide] using: [cmd.exe] with parameters: [/D /C attrib -r "D:\Win10XPE\W10_x64\Sources\install.wim"]
|
Run - Processing section: [SourceMount] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
Mounting Windows Source File... Please Wait !!
IF - [18362] is not smaller than [16299] evaluated string: [If,%SourceBuild%,Smaller,16299,EchoExtended,"The XPE Project Is For Windows 10 Build 16299 and Later.
Choose A Suitable Windows 10 Source For Install.wim",Warn,,Message,,Halt]
[//--]
IF - Directory does not exist: [%BaseDir%\Temp\Install_Wim] evaluated string: [If,Not,ExistDir,%TempMount%,DirMake,%TempMount%]
DirMake - Created directory: [%BaseDir%\Temp\Install_Wim]
StrFormat - converted: [%BaseDir%\Projects\Tools\x86\DISM\Imagex.exe] to variable: [%IMAGEXPath%] with result: [%BaseDir%\Projects\Tools\x86\DISM\]
ShellExecute: [Open] using: [%BaseDir%\Projects\Tools\x86\DISM\Imagex.exe] with parameters: [/mountrw "D:\Win10XPE\W10_x64\sources\install.wim" 6 "%BaseDir%\Temp\Install_Wim"]
IF - File exists: [%BaseDir%\Temp\Install_Wim\Windows\explorer.exe] evaluated string: [If,Not,ExistFile,%TempMount%\Windows\explorer.exe,EchoExtended,"Error With Mounting Source! (Install.wim) Return : %ExitCode%",Warn,,MessageError,,Halt]
Run - Processed section [SourceMount] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
|
IF - File does not exist: [%BaseDir%\Temp\Install_Wim\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe] evaluated string: [If,ExistFile,%CheckDotNetFile%,Begin]
[Run,%ScriptFile%,SourceUnMount]
[Message,"NetFx3 Feature Already Enabled In Source.",INFORMATION,5]
[End]
ELSE - executing command: [Begin]
|
Run - Processing section: [EnableFx3] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
Enable Feature NetFx3... Please Wait !!
StrFormat - converted: [%BaseDir%\Projects\Tools\x86\DISM\dism.exe] to variable: [%DISMPath%] with result: [%BaseDir%\Projects\Tools\x86\DISM\]
ShellExecute: [Open] using: [%BaseDir%\Projects\Tools\x86\DISM\dism.exe] with parameters: [/image:"%BaseDir%\Temp\Install_Wim" /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"D:\Win10XPE\W10_x64\Sources\sxs"]
Run - Processed section [EnableFx3] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
IF - File does not exist: [%BaseDir%\Temp\Install_Wim\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe] evaluated string: [If,ExistFile,%CheckDotNetFile%,Begin]
[Run,%ScriptFile%,SourceUnMount,/Commit]
[Message,"NetFx3 Feature Successfully Enabled In Source.",INFORMATION,5]
[End]
ELSE - executing command: [Begin]
|
Run - Processing section: [SourceUnMount] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
UnMounting Windows Source File... Please Wait !!
StrFormat - converted: [%BaseDir%\Projects\Tools\x86\DISM\Imagex.exe] to variable: [%IMAGEXPath%] with result: [%BaseDir%\Projects\Tools\x86\DISM\]
ShellExecute: [Open] using: [%BaseDir%\Projects\Tools\x86\DISM\Imagex.exe] with parameters: [/unmount "%BaseDir%\Temp\Install_Wim" ]
IF - File does not exist: [%BaseDir%\Temp\Install_Wim\Windows\explorer.exe] evaluated string: [If,ExistFile,%TempMount%\Windows\explorer.exe,EchoExtended,"Unmount NOT Successful",Warn,,MessageError,,Halt]
Run - Processed section [SourceUnMount] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
|
Run - Processing section: [MEchoExtended] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [NetFx3 Feature Failed To Enable In Source!],[Warn],[],[MessageError]
[//---------- BEGIN EchoExtended Macro ------------------------------]
IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,1]
SetVar - Sucessfuly changed the value of [#3] to: [1]
IF - [warn-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,Loop,%API%,MEchoExtended_Echo_Loop,1,#3,#1,#2,#3,#4,#5,#6,#7,#8,#9]
ELSE - executing command: [Loop,%API%,MEchoExtended_Echo_LoopWarn,1,#3,#1,#2,#3,#4,#5,#6,#7,#8,#9]
|
Loop - Processing section: [MEchoExtended_Echo_LoopWarn] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1],[1],[NetFx3 Feature Failed To Enable In Source!],[Warn],[1],[MessageError]
|
Iteration - Processing section: [MEchoExtended_Echo_LoopWarn] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [1] [NetFx3 Feature Failed To Enable In Source!],[Warn],[1],[MessageError]
NetFx3 Feature Failed To Enable In Source!
Iteration - Processed section [MEchoExtended_Echo_LoopWarn] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
Loop - Processed section [MEchoExtended_Echo_LoopWarn] in file: [Loop,%API%,MEchoExtended_Echo_LoopWarn,1,#3,#1,#2,#3,#4,#5,#6,#7,#8,#9]
IF - [messageerror-] is not equal to: [-] evaluated string: [If,Not,#4-,Equal,-,Run,%API%,MEchoExtended_Message,#1,#2,#3,#4,#5,#6,#7,#8,#9]
|
Run - Processing section: [MEchoExtended_Message] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [NetFx3 Feature Failed To Enable In Source!],[Warn],[1],[MessageError]
IF - [messageerror] is not equal to: [message] evaluated string: [If,#4,Equal,Message,Begin]
[If,#5-,Equal,-,Message,#1,Warning]
[Else,Message,#1,Warning,#5]
[End]
IF - [messageerror] is not equal to: [messageinformation] evaluated string: [If,#4,Equal,MessageInformation,Begin]
[If,#5-,Equal,-,Message,#1,Information]
[Else,Message,#1,Information,#5]
[End]
IF - [messageerror] is equal to: [messageerror] evaluated string: [If,#4,Equal,MessageError,Begin]
IF - [-] is equal to: [-] evaluated string: [If,#5-,Equal,-,Message,#1,Error]
Message: NetFx3 Feature Failed To Enable In Source!
ELSE - [Message,#1,Error,#5]
[End]
Run - Processed section [MEchoExtended_Message] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
IF - [] is not equal to: [exit] evaluated string: [If,#6,Equal,Exit,Exit,#1]
IF - [] is not equal to: [halt] evaluated string: [If,#6,Equal,Halt,Halt,#1]
[//---------- END EchoExtended Macro ------------------------------]
Run - Processed section [MEchoExtended] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
[End]
[End]
|
Run - Processing section: [CleanupTemp] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
Cleaning Up Temp Files...
|
Run - Processing section: [MDirDeleteQ] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
with parameters: [%BaseDir%\Temp\Install_Wim]
[//---------- BEGIN DirDeleteQ Macro ------------------------------]
IF - [%BaseDir%\temp\install_wim-] 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\Install_Wim] evaluated string: [If,ExistDir,#1,DirDelete,#1]
DirDelete - Deleted directory [%BaseDir%\Temp\Install_Wim]
IF - Directory does not exist: [%BaseDir%\Temp\Install_Wim] evaluated string: [If,ExistDir,#1,Shellexecute,Hide,cmd.exe,"/D /C rd /s /q "#1""]
IF - Directory does not exist: [%BaseDir%\Temp\Install_Wim] 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]
Run - Processed section [CleanupTemp] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
|
Finished processing script: NETFx3 Add-Feature (NETFx3.5_AddFeature_XPE.script)
Script time: 1 minute, 4 seconds and 987 milliseconds
Script has been sucessfully processed!
|