WinBuilder [082]


       Scripts

 Auslogics_DiskDefrag_XPE.Script Auslogics Disk Defrag   10.887 seconds


      Warnings

 [Warning]  (Macro.script) Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe Aria2c Return: 3 - A resource was not found.
 [Warning]  (Macro.script) Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe Aria2c Return: 3 - A resource was not found.


 2 warning messages


       %BaseDir% = C:\Win10XPE\
(WinBuilder's path is replaced by the variable %BaseDir% to make the log easier to read)
WinBuilder Version [082]


       Variables
%API%%BaseDir%\Projects\Win10XPE\Macro.script
%APIDEF%XPEMacro
%APISUBDEF%AddShortcut,AddPin,Associate,DirDeleteQ,FileDeleteQ,Download,ExtractListFiles,ExtractSectionFiles,ExtractWimFile,EchoExtended,HiveLoadALL,RegCopyKey,RegImportFile,ACLRegKey,HiveUnLoadALL,OpenDir,RunFromRAM,Start
%APIVAR%ApiVar
%AppMode%wbaNormal
%Architecture%x64
%BaseDir%C:\Win10XPE
%Build%2011-Jul-01 12:16
%Comp80%false
%Day%24
%DisplayName%Windows 10 Pro for Workstations
%EditionID%ProfessionalWorkstation
%FallBackLanguage%en-US
%FileVersion%82.0.0.15
%FullSoftware%True
%GCustom%%BaseDir%\Custom
%GISO%%BaseDir%\ISO_x64
%GSource%C:\Sources
%GTarget%%BaseDir%\Target_x64
%GTarget_Sys%%BaseDir%\Target_x64\Windows\System32
%GTarget_Win%%BaseDir%\Target_x64\Windows
%GTemp%%BaseDir%\Temp
%GTools%%BaseDir%\Projects\Tools
%HostOS% 
%HostOSArch%x64
%Image%10
%IsoDir%%BaseDir%\ISO
%IsoFile%%BaseDir%\ISO\Win10XPE.iso
%IsoFileName%Win10XPE.iso
%Language%en-US
%Month%11
%OpenHideOutput%Open
%OS%Win10
%PE_Programs%Y:\Programs
%ProcessorType%8664
%ProgCache%%BaseDir%\ProgCache
%ProgramFilesDir%C:\Program Files (x86)
%Programs64%C:\Program Files
%ProjectDir%%BaseDir%\Projects\Win10XPE
%ProjectName%Win10XPE
%ProjectTitle%Win10XPE
%RegComponents%%BaseDir%\Target_x64\Windows\System32\config\Components
%RegDefault%%BaseDir%\Target_x64\Windows\System32\config\Default
%RegDrivers%%BaseDir%\Target_x64\Windows\System32\config\Drivers
%RegSoftware%%BaseDir%\Target_x64\Windows\System32\config\Software
%RegSystem%%BaseDir%\Target_x64\Windows\System32\config\System
%Shell%Explorer
%SourceBuild%19041
%SourceDir%%basedir%\Source
%SourceVersion%10.0.19041.508
%Target_Prog%%BaseDir%\ISO_x64\Programs
%TargetDir%%BaseDir%\Target\Win10XPE
%TempDir%C:\Users\ASUSOW~1\AppData\Local\Temp
%Tools%%BaseDir%\Projects\Tools
%UserName%ASUS Owner
%UserProfile%C:\Users\ASUS Owner
%Version%082
%WBexe%%BaseDir%\Win10XPE.exe
%WindowsDir%C:\WINDOWS
%WindowsSystemDir%C:\WINDOWS\system32
%Wow64%True
%Wow64Dir%C:\WINDOWS\SysWOW64
%WoW64Support%True
%XPECache%%BaseDir%\ProgCache\10.0.19041.508_ProfessionalWorkstation_x64_en-US
%Year%2020
 [Success] IF - File exists: [%BaseDir%\Projects\Win10XPE\Macro.script] evaluated string: [If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL]
 [Success] AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win10XPE\Macro.script] into the local variable list
 [Success] System - OnBuildExit [System,ONBUILDEXIT,Exec,%ProjectDir%\script.project,WinXPE_OnBuildExit]


       [Script] Auslogics_DiskDefrag_XPE.Script Auslogics Disk Defrag

 [Info] File [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script] Version
  
 [Info] Processing Auslogics Disk Defrag...
 [Ignore] IF - File exists: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE_File.Script] evaluated string: [If,Not,ExistFile,%FileContainer%,Exit,"%FileContainer% Container File Not Found"]
 [Ignore] IF - [x64true] is not equal to: [x64false] evaluated string: [If,%Architecture%%WoW64Support%,Equal,x64False,EchoExtended,"You Need To Enable WoW64 Basic To Run %ProgramTitle% In A 64-Bit Build",,,Message,2,Exit]
 [Ignore] IF - [run from usb] is not equal to: [run from ram] evaluated string: [If,%RunFromWhere_ScrollBox%,Equal,"Run From RAM",RunFromRAM]
 [Info] [//--]
 Run - Processing section: [Extract] From file: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script]
       [Success] SetVar - Sucessfuly changed the value of [%SetupContainerSize%] to: []
       [Success] IniRead - [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE_File.Script] Section [Folder] Key [ausdiskdefragportable.exe] to variable: [%SetupContainerSize%] with value []
       [Success] IF - [-] is equal to: [-] evaluated string: [If,%SetupContainerSize%-,Equal,-,Run,%ScriptFile%,Update_Container]
       Run - Processing section: [Update_Container] From file: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script]
             Run - Processing section: [Download] From file: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script]
                   [Info] Your Files Are Being Downloaded... Please Wait..
                   [Ignore] IF - File does not exist: [%BaseDir%\ProgCache\DiskDefrag\ausdiskdefragportable.exe] evaluated string: [If,ExistFile,%ProvideFiles%\%SetupFile%,FileDeleteQ,%ProvideFiles%\%SetupFile%]
                   [Ignore] IF - Directory exists: [%BaseDir%\ProgCache\DiskDefrag] evaluated string: [If,Not,ExistDir,%ProvideFiles%,DirMake,%ProvideFiles%]
                   Run - Processing section: [MDownload] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
                         [Parameter] with parameters: [%BaseDir%\ProgCache\DiskDefrag\ausdiskdefragportable.exe],[http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe]
                         [Info] [//---------- BEGIN Download Macro ------------------------------]
                         [Ignore] IF - [%BaseDir%\progcache\diskdefrag\ausdiskdefragportable.exe-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,EchoExtended,"Error: Download - Missing Parameter: Path\FileName",Warn,,MessageError,,Halt]
                         [Ignore] IF - [http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe-] is not equal to: [-] evaluated string: [If,#2-,Equal,-,EchoExtended,"Error: Download - Missing Parameter: URL",Warn,,MessageError,,Halt]
                         [Success] StrFormat - converted: [%BaseDir%\ProgCache\DiskDefrag\ausdiskdefragportable.exe] to variable: [#9] with result: [ausdiskdefragportable.exe]
                         [Ignore] IF - [ausdiskdefragportable.exe-] is not equal to: [-] evaluated string: [If,#9-,Equal,-,EchoExtended,"Error: Download - Missing Parameter: FileName",Warn,,MessageError,,Halt]
                         [Success] StrFormat - converted: [%BaseDir%\ProgCache\DiskDefrag\ausdiskdefragportable.exe] to variable: [#8] with result: [%BaseDir%\ProgCache\DiskDefrag\]
                         [Success] IF - [%BaseDir%\progcache\diskdefrag\-] is not equal to: [-] evaluated string: [If,Not,#8-,Equal,-,If,Not,#8,Equal,\,StrFormat,CTRIM,#8,\,#8]
                         [Success] IF - [%BaseDir%\progcache\diskdefrag\] is not equal to: [\] evaluated string: [If,Not,#8,Equal,\,StrFormat,CTRIM,#8,\,#8]
                         [Success] StrFormat - converted [CTRIM(%BaseDir%\ProgCache\DiskDefrag\)] to variable: [#8] with result: [%BaseDir%\ProgCache\DiskDefrag]
                         [Ignore] IF - [%BaseDir%\progcache\diskdefrag-] is not equal to: [-] evaluated string: [If,#8-,Equal,-,EchoExtended,"Error: Download - Missing Parameter: Path",Warn,,MessageError,,Halt]
                         [Ignore] IF - Directory exists: [%BaseDir%\ProgCache\DiskDefrag] evaluated string: [If,Not,ExistDir,#8,DirMake,#8]
                         [Ignore] IF - Directory exists: [%BaseDir%\ProgCache\DiskDefrag] evaluated string: [If,Not,ExistDir,#8,EchoExtended,"Error: Download - Missing Parameter: Path",Warn,,MessageError,,Halt]
                         [Ignore] IF - [] is not equal to: [hide] evaluated string: [If,#3,Equal,Hide,Set,#7,Hide]
                         [Success] ELSE - executing command: [Set,#7,%OpenHideOutput%]
                         [Success] SetVar - Sucessfuly changed the value of [#7] to: [Open]
                         [Ignore] IF - [] is not equal to: [noexitonerror] evaluated string: [If,#3,Equal,NoExitOnError,Set,#6,""]
                         [Success] ELSE - executing command: [Set,#6,Exit]
                         [Success] SetVar - Sucessfuly changed the value of [#6] to: [Exit]
                         [Ignore] IF - Directory exists: [%BaseDir%\Temp] evaluated string: [If,Not,ExistDir,%Gtemp%,DirMake,%Gtemp%]
                         [Info] [//-]
                         [Info] [//Echo,"Downloading #2 Please Wait..."]
                         [Success] ShellExecute: [Open] using: [cmd.exe] with parameters: [/D /C Echo Downloading "http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe" Please Wait... &"%BaseDir%\Projects\Tools\aria2c.exe" --log-level=notice --log="%BaseDir%\Temp\Aria2c_Download.log" -x16 -s16 --allow-overwrite=true --auto-file-renaming=false -d"%BaseDir%\ProgCache\DiskDefrag" -o"ausdiskdefragportable.exe" "http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe"]
                               [Success] IF - [3] is not equal to: [0] evaluated string: [If,Not,%ExitCode%,Equal,0,Begin]
                               [Ignore] IF - File does not exist: [%BaseDir%\ProgCache\DiskDefrag\ausdiskdefragportable.exe] evaluated string: [If,ExistFile,#1,FileDelete,#1]
                               [Success] SetVar - Sucessfuly changed the value of [%MXPE_ErrorMessage%] to: []
                               [Success] IniRead - [%BaseDir%\Projects\Win10XPE\Macro.script] Section [MDownload_ErrorMessage] Key [3] to variable: [%MXPE_ErrorMessage%] with value [A resource was not found.]
                               Run - Processing section: [MEchoExtended] From file: [%BaseDir%\Projects\Win10XPE\Macro.script]
                                     [Parameter] with parameters: [Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe #$xAria2c Return: 3 - A resource was not found.],[Warn],[],[MessageError],[10],[Exit]
                                     [Info] [//---------- BEGIN EchoExtended Macro ------------------------------]
                                     [Success] IF - [-] is equal to: [-] evaluated string: [If,#3-,Equal,-,Set,#3,1]
                                     [Success] SetVar - Sucessfuly changed the value of [#3] to: [1]
                                     [Ignore] 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]
                                     [Success] 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]
                                           [Parameter] with parameters: [1],[1],[Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe #$xAria2c Return: 3 - A resource was not found.],[Warn],[1],[MessageError],[10],[Exit]
                                           Iteration - Processing section: [MEchoExtended_Echo_LoopWarn] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
                                                 [Parameter] with parameters: [1] [Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe #$xAria2c Return: 3 - A resource was not found.],[Warn],[1],[MessageError],[10],[Exit]
                                                [Warning] Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe Aria2c Return: 3 - A resource was not found.
                                           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]
                                     [Success] 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]
                                           [Parameter] with parameters: [Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe #$xAria2c Return: 3 - A resource was not found.],[Warn],[1],[MessageError],[10],[Exit]
                                                 [Ignore] IF - [messageerror] is not equal to: [message] evaluated string: [If,#4,Equal,Message,Begin]
                                                 [Skipped] [If,#5-,Equal,-,Message,#1,Warning]
                                                 [Skipped] [Else,Message,#1,Warning,#5]
                                           [Ignore] [End]
                                                 [Ignore] IF - [messageerror] is not equal to: [messageinformation] evaluated string: [If,#4,Equal,MessageInformation,Begin]
                                                 [Skipped] [If,#5-,Equal,-,Message,#1,Information]
                                                 [Skipped] [Else,Message,#1,Information,#5]
                                           [Ignore] [End]
                                                 [Success] IF - [messageerror] is equal to: [messageerror] evaluated string: [If,#4,Equal,MessageError,Begin]
                                                 [Ignore] IF - [10-] is not equal to: [-] evaluated string: [If,#5-,Equal,-,Message,#1,Error]
                                                 [Success] ELSE - executing command: [Message,#1,Error,#5]
                                                 [Success] Message: Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe Aria2c Return: 3 - A resource was not found.
                                           [Success] [End]
                                     Run - Processed section [MEchoExtended_Message] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
                                     [Success] IF - [exit] is equal to: [exit] evaluated string: [If,#6,Equal,Exit,Exit,#1]
                                    [Warning] Failed Downloading http://static.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe Aria2c Return: 3 - A resource was not found.
                               Run - Processed section [MEchoExtended] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
                         Run - Processed section [MDownload] in file: [%BaseDir%\Projects\Win10XPE\Macro.script]
                   Run - Processed section [Download] in file: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script]
             Run - Processed section [Update_Container] in file: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script]
       Run - Processed section [Extract] in file: [%BaseDir%\Projects\MoPlugins\Apps\HD Tasks\Auslogics_DiskDefrag_XPE.Script]

       [Done] Auslogics Disk Defrag
  
 [Clock] Script time: 10 seconds and 887 milliseconds

 [Done] Script has been sucessfully processed!
  





You can post this log on the Reboot forums  whenever you need help to properly debug the errors on this project
More detailed documentation can be found on our wiki

WinBuilder © 2006-2010 Nuno Brito

Valid HTML 4.01 Transitional