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: [%BaseDir%\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" > "%BaseDir%\W10_x64\test.txt"]
FileDelete - Sucessfully deleted [%BaseDir%\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 "%BaseDir%\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 "%BaseDir%\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:"%BaseDir%\W10_x64\Sources\sxs"]
Run - Processed section [EnableFx3] in file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
IF - File exists: [%BaseDir%\Temp\Install_Wim\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe] evaluated string: [If,ExistFile,%CheckDotNetFile%,Begin]
|
Run - Processing section: [SourceUnMount] From file: [%BaseDir%\Projects\MyPlugins\Utilities\NETFx3.5_AddFeature_XPE.script]
with parameters: [/Commit]
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" /Commit]
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]
Message: NetFx3 Feature Successfully Enabled In Source.
[End]
ELSE - [Begin]
[Run,%ScriptFile%,SourceUnMount]
[EchoExtended,"NetFx3 Feature Failed To Enable In Source!",Warn,,MessageError]
[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: 32 minutes, 48 seconds and 44 milliseconds
Script has been sucessfully processed!
|