Processing section: [SaveButton] in file: [Images configuration] |
File [%BaseDir%\Projects\Win7PESE\Images.script] Version [25]
IF - File exists: [%BaseDir%\Projects\Win7PESE\Build\Common_Api.script] evaluated string: [If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL]
AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win7PESE\Build\Common_Api.script] into the local variable list
System - OnBuildExit [System,ONBUILDEXIT,Exec,%ProjectDir%\script.project,Win7PESE-ONBUILDEXIT]
|
Run - Processing section: [Process] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
|
Run - Processing section: [PrepPE] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
[//Tip: Check Gena PrepPE to get codes ready when-if required ;)]
StrFormat - converted [POS(D:\winbuilder,C:\Users\Darren)] to variable: [%pos%] with result: [0]
IF - [0] is not equal to: [1] evaluated string: [If,%pos%,EQUAL,1,Begin]
[Message,"Win7PE cannot run from inside a user's profile directory. #$x Try using Basic Folder. #$x Ex: C:\Win7PESE\",Error]
[Halt,"Win7PE cannot run from inside a user's profile directory. Try using Basic Folder. Ex: C:\Win7PESE\"]
[End]
[//-]
System,IsAdmin - Sucessfuly changed the value of [%t%] to: [True]
Run as administrator=True
[//-]
Retrieve - Sucessfully retrieved the file version from: [C:\Windows\system32\ntdll.dll] to variable: [%ntdll%] with result: [6.2.9200.16420]
StrFormat - converted [LEFT(6.2.9200.16420,1)] to variable: [%winversion%] with result: [6]
IF - [6] is bigger than [5] evaluated string: [If,%winversion%,Bigger,5,Begin]
SetVar - Sucessfuly changed the value of [%UAC%] to: [Value Not Found]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,EnableLUA,RegRead,HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System,EnableLUA,%UAC%]
RegRead - read specified key from: [HKLM]Section: [SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] Key: [EnableLUA] to variable:: [%UAC%] with value: [1]
[//UAC Disabled 0]
UAC=1
[End]
[//-]
|
Run - Processing section: [HiveUnloadNames] From file: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
[//some popular hive names used during build (nice to check unload here with name to avoid case of a hive loaded and forgotton by another project or tool at another directory)]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Software,RegHiveUnLoad,Tmp_Software]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_System,RegHiveUnLoad,Tmp_System]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Default,RegHiveUnLoad,Tmp_Default]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_Components,RegHiveUnLoad,Tmp_Components]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,TMP,RegHiveUnLoad,TMP]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,Tmp_setupreg_hiv,RegHiveUnLoad,Tmp_setupreg_hiv]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,wb-hive,RegHiveUnLoad,wb-hive]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WB-Software,RegHiveUnLoad,WB-Software]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WB-Default,RegHiveUnLoad,WB-Default]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WB-Setup,RegHiveUnLoad,WB-Setup]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WB-SAM,RegHiveUnLoad,WB-SAM]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WB-Security,RegHiveUnLoad,WB-Security]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WB-System,RegHiveUnLoad,WB-System]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WPE-Software,RegHiveUnLoad,WPE-Software]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WPE-Default,RegHiveUnLoad,WPE-Default]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WPE-Setup,RegHiveUnLoad,WPE-Setup]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WPE-SAM,RegHiveUnLoad,WPE-SAM]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WPE-Security,RegHiveUnLoad,WPE-Security]
IF - Section does not exist [HKLM] evaluated string: [If,ExistRegSection,HKLM,WPE-System,RegHiveUnLoad,WPE-System]
Run - Processed section [HiveUnloadNames] in file: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
|
Run - Processing section: [HiveLoadTestProjectTempMessageHalt] From file: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
with parameters: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
IF - [%BaseDir%\projects\win7pese\utils\hiveunload.script-] is not equal to: [-] evaluated string: [If,#1-,Equal,-,Set,#1,%ScriptFile%]
|
Run - Processing section: [HiveLoadTest_P] From file: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
with parameters: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
[//0.5 seconds :>]
IF - Directory does not exist: [%BaseDir%\Temp\Win7PESE\HiveLoadTest] evaluated string: [If,ExistDir,%ProjectTemp%\HiveLoadTest,Shellexecute,Hide,cmd.exe,"/C rd /s /q "%ProjectTemp%\HiveLoadTest""]
IF - Directory does not exist: [%BaseDir%\Temp\Win7PESE\HiveLoadTest] evaluated string: [If,ExistDir,%ProjectTemp%\HiveLoadTest,Run,#1,HiveLoadTest_P_FolderCheck]
[//--]
DirMake - Created directory: [%BaseDir%\Temp\Win7PESE\HiveLoadTest]
SetVar - Sucessfuly changed the value of [#9] to: [0]
Shellexecute: [Hide] using: [Reg.exe] with parameters: [load HKLM\Tmp_Default TestHive]
ShellExecute: [Hide] using: [Reg.exe] with parameters: [add HKLM\Tmp_Default\TestKey /v Test_Value /d Test_Data /t REG_SZ /f]
IF - File exists: [%BaseDir%\Temp\Win7PESE\HiveLoadTest\TestHive] evaluated string: [If,Not,ExistFile,%ProjectTemp%\HiveLoadTest\TestHive,Echo,"%ProjectTemp%\HiveLoadTest\TestHive Not Created",Warn]
IF - Key exists [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Default\TestKey,Test_Value,Set,#9,1]
SetVar - Sucessfuly changed the value of [#9] to: [1]
Shellexecute: [Hide] using: [Reg.exe] with parameters: [unload HKLM\Tmp_Default]
Shellexecute: [Hide] using: [cmd.exe] with parameters: [/C rd /s /q "%BaseDir%\Temp\Win7PESE\HiveLoadTest"]
[//--]
IF - Key does not exist [HKLM] evaluated string: [If,ExistRegKey,HKLM,Tmp_Default\TestKey,Test_Value,If,#9,Equal,1,Run,#1,HiveLoadTest_P_TestHive_Cannot_Unload]
[//--]
IF - [1] is not equal to: [0] evaluated string: [If,#9,Equal,0,Run,#1,HiveLoadTest_P_Message_Echo_Halt]
Run - Processed section [HiveLoadTest_P] in file: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
Run - Processed section [HiveLoadTestProjectTempMessageHalt] in file: [%BaseDir%\Projects\Win7PESE\Utils\HiveUnLoad.script]
Run - Processed section [PrepPE] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
[//run HostOSInfoMini if not done in main configuration]
IF - [x64] is not equal to: [] evaluated string: [If,%OSArch%,Equal,"",Run,%scriptfile%,HostOSInfoMini]
IF - [x64] is not equal to: [] evaluated string: [If,%SysType%,Equal,"",Run,%scriptfile%,HostOSInfoMini]
|
Run - Processing section: [SetWimTools] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
[// Set BootSrc and InstallSrc following Extracted boot.Wim Install.wim Folder or Standard]
IF - [false] is not equal to: [true] evaluated string: [If,%pCheck_ExtractWimFolder%,Equal,True,Begin]
[StrFormat,CTRIM,%pBootWimSrcBox%,\,%pBootWimSrcBox%]
[StrFormat,CTRIM,%pInstallWimSrcBox%,\,%pInstallWimSrcBox%]
[Set,%BootSRC%,%pBootWimSrcBox%,Permanent]
[Set,%InstallSRC%,%pInstallWimSrcBox%,Permanent]
[Set,%ExtractWimFolder%,Yes]
[IniWrite,%projectdir%\script.project,IniVariables,ExtractWimFolder,%ExtractWimFolder%]
[IniWrite,%projectdir%\script.project,IniVariables,Capi_UnMount,No]
[End]
ELSE - executing command: [Begin]
SetVar - Sucessfuly changed the value of [%BootSRC%] to: [%BaseDir%\Mount\Win7PESE\Source\BootWimSrc]
SetVar - Sucessfuly changed the value of [%InstallSRC%] to: [%BaseDir%\Mount\Win7PESE\Source\InstallWimSrc]
SetVar - Sucessfuly changed the value of [%ExtractWimFolder%] to: [No]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [ExtractWimFolder]: No
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [Capi_UnMount]: Yes
[End]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [BootSRC]: %BaseDir%\Mount\Win7PESE\Source\BootWimSrc
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [InstallSRC]: %BaseDir%\Mount\Win7PESE\Source\InstallWimSrc
SetVar - Sucessfuly changed the value of [%Source_Win%] to: [%BaseDir%\Mount\Win7PESE\Source\InstallWimSrc\Windows]
SetVar - Sucessfuly changed the value of [%Source_Sys%] to: [%BaseDir%\Mount\Win7PESE\Source\InstallWimSrc\Windows\System32]
[//--]
IF - [false] is equal to: [false] evaluated string: [If,%pCheckB_ShowWimTools%,Equal,False,Set,%ShowImageX%,Hide]
SetVar - Sucessfuly changed the value of [%ShowImageX%] to: [Hide]
IF - [false] is equal to: [false] evaluated string: [If,%pCheckB_ShowWimTools%,Equal,False,Set,%ShowWimUtil%,/Hide]
SetVar - Sucessfuly changed the value of [%ShowWimUtil%] to: [/Hide]
IF - [false] is not equal to: [true] evaluated string: [If,%pCheckB_ShowWimTools%,Equal,True,Set,%ShowImageX%,Open]
IF - [false] is not equal to: [true] evaluated string: [If,%pCheckB_ShowWimTools%,Equal,True,Set,%ShowWimUtil%,""]
SetVar - Sucessfuly changed the value of [%WIMToolsMode%] to: [Auto]
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [WIMToolsMode]: Auto
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [ShowImageX]: Hide
IniWrite - Wrote INI key in file: [%BaseDir%\Projects\Win7PESE\script.project] Section [IniVariables] Key [ShowWimUtil]: /Hide
Run - Processed section [SetWimTools] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
|
Run - Processing section: [CurrentWimTools] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
Save current Wim tools...
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\x64\imagex.exe] evaluated string: [If,ExistFile,%Tools%\x64\imagex.exe,Begin]
Retrieve - Sucessfully retrieved the file version from: [%BaseDir%\Projects\Tools\Win7PESE\x64\imagex.exe] to variable: [%ImageXVersion%] with result: [6.1.7600.16385]
StrFormat - converted [LEFT(6.1.7600.16385,3)] to variable: [%ImageXMajorVersion%] with result: [6.1]
IF - [6.1] is not equal to: [6.0] evaluated string: [If,%ImageXMajorVersion%,Equal,6.0,Begin]
[If,Not,ExistFile,%Tools%\x64\imagex6.0.exe,FileCopy,%Tools%\x64\imagex.exe,%Tools%\x64\imagex6.0.exe]
[Run,%ScriptFile%,DelP,%Tools%\x64\imagex.exe]
[End]
IF - [6.1] is equal to: [6.1] evaluated string: [If,%ImageXMajorVersion%,Equal,6.1,Begin]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\x64\imagex6.1.exe] evaluated string: [If,Not,ExistFile,%Tools%\x64\imagex6.1.exe,FileCopy,%Tools%\x64\imagex.exe,%Tools%\x64\imagex6.1.exe]
|
Run - Processing section: [DelP] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
with parameters: [%BaseDir%\Projects\Tools\Win7PESE\x64\imagex.exe]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\x64\imagex.exe] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f "#1""]
Shellexecute: [Hide] using: [cmd.exe] with parameters: [/C del /q /f "%BaseDir%\Projects\Tools\Win7PESE\x64\imagex.exe"]
IF - File does not exist: [%BaseDir%\Projects\Tools\Win7PESE\x64\imagex.exe] evaluated string: [If,ExistFile,#1,Run,%ScriptFile%,Del,#1]
Run - Processed section [DelP] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
[End]
[End]
[//-]
IF - File does not exist: [%BaseDir%\Projects\Tools\Win7PESE\x86\imagex.exe] evaluated string: [If,ExistFile,%Tools%\x86\imagex.exe,Begin]
[Retrieve,FILEVERSION,%Tools%\x86\imagex.exe,%ImageXVersion%]
[StrFormat,LEFT,%ImageXVersion%,3,%ImageXMajorVersion%]
[If,%ImageXMajorVersion%,Equal,6.0,Begin]
[If,Not,ExistFile,%Tools%\x86\imagex6.0.exe,FileCopy,%Tools%\x86\imagex.exe,%Tools%\x86\imagex6.0.exe]
[Run,%ScriptFile%,DelP,%Tools%\x86\imagex.exe]
[End]
[If,%ImageXMajorVersion%,Equal,6.1,Begin]
[If,Not,ExistFile,%Tools%\x86\imagex6.1.exe,FileCopy,%Tools%\x86\imagex.exe,%Tools%\x86\imagex6.1.exe]
[Run,%ScriptFile%,DelP,%Tools%\x86\imagex.exe]
[End]
[End]
[//-]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi.dll] evaluated string: [If,ExistFile,%Tools%\x64\wimgapi.dll,Begin]
Retrieve - Sucessfully retrieved the file version from: [%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi.dll] to variable: [%WimgapiVersion%] with result: [6.1.7600.16385]
StrFormat - converted [LEFT(6.1.7600.16385,3)] to variable: [%WimgapiMajorVersion%] with result: [6.1]
IF - [6.1] is not equal to: [6.0] evaluated string: [If,%WimgapiMajorVersion%,Equal,6.0,Begin]
[If,Not,ExistFile,%Tools%\x64\wimgapi6.0.dll,FileCopy,%Tools%\x64\wimgapi.dll,%Tools%\x64\wimgapi6.0.dll]
[Run,%ScriptFile%,DelP,%Tools%\x64\wimgapi.dll]
[End]
IF - [6.1] is equal to: [6.1] evaluated string: [If,%WimgapiMajorVersion%,Equal,6.1,Begin]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi6.1.dll] evaluated string: [If,Not,ExistFile,%Tools%\x64\wimgapi6.1.dll,FileCopy,%Tools%\x64\wimgapi.dll,%Tools%\x64\wimgapi6.1.dll]
|
Run - Processing section: [DelP] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
with parameters: [%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi.dll]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi.dll] evaluated string: [If,ExistFile,#1,Shellexecute,Hide,cmd.exe,"/C del /q /f "#1""]
Shellexecute: [Hide] using: [cmd.exe] with parameters: [/C del /q /f "%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi.dll"]
IF - File does not exist: [%BaseDir%\Projects\Tools\Win7PESE\x64\wimgapi.dll] evaluated string: [If,ExistFile,#1,Run,%ScriptFile%,Del,#1]
Run - Processed section [DelP] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
[End]
[End]
[//-]
IF - File does not exist: [%BaseDir%\Projects\Tools\Win7PESE\x86\wimgapi.dll] evaluated string: [If,ExistFile,%Tools%\x86\wimgapi.dll,Begin]
[Retrieve,FILEVERSION,%Tools%\x86\wimgapi.dll,%WimgapiVersion%]
[StrFormat,LEFT,%WimgapiVersion%,3,%WimgapiMajorVersion%]
[If,%WimgapiMajorVersion%,Equal,6.0,Begin]
[If,Not,ExistFile,%Tools%\x86\wimgapi6.0.dll,FileCopy,%Tools%\x86\wimgapi.dll,%Tools%\x86\wimgapi6.0.dll]
[Run,%ScriptFile%,DelP,%Tools%\x86\wimgapi.dll]
[End]
[If,%WimgapiMajorVersion%,Equal,6.1,Begin]
[If,Not,ExistFile,%Tools%\x86\wimgapi6.1.dll,FileCopy,%Tools%\x86\wimgapi.dll,%Tools%\x86\wimgapi6.1.dll]
[Run,%ScriptFile%,DelP,%Tools%\x86\wimgapi.dll]
[End]
[End]
Run - Processed section [CurrentWimTools] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
IF - [no] is not equal to: [yes] evaluated string: [If,%ExtractWimFolder%,Equal,Yes,Run,%scriptfile%,WimInfoExtract]
IF - [no] is equal to: [no] evaluated string: [If,%ExtractWimFolder%,Equal,No,Run,%scriptfile%,WimInfoInstall]
|
Run - Processing section: [WimInfoInstall] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
Detect Wim information...
IF - File exists: [%BaseDir%\7 source files\sources\boot.wim] evaluated string: [If,Not,ExistFile,%SourceDir%\sources\boot.wim,Run,%ScriptFile%,SourceWin7NotFound]
IF - File exists: [%BaseDir%\7 source files\sources\install.wim] evaluated string: [If,Not,ExistFile,%SourceDir%\sources\install.wim,Run,%ScriptFile%,SourceWin7NotFound]
SetVar - Sucessfuly changed the value of [%WimToolsInfo%] to: []
SetVar - Sucessfuly changed the value of [%IMAGEXInfo%] to: []
SetVar - Sucessfuly changed the value of [%WIMUTILInfo%] to: []
SetVar - Sucessfuly changed the value of [%7ZInfo%] to: []
[//-]
IF - Directory exists: [%BaseDir%\Temp\Win7PESE\WimInfo] evaluated string: [If,Not,ExistDir,%ProjectTemp%\WimInfo,DirMake,%ProjectTemp%\WimInfo]
IF - File does not exist: [%BaseDir%\Temp\Win7PESE\WimInfo\WimInfo.exe] evaluated string: [If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Shellexecute,Hide,cmd.exe,"/C del /q /f "%ProjectTemp%\WimInfo\WimInfo.exe""]
IF - File does not exist: [%BaseDir%\Temp\Win7PESE\WimInfo\WimInfo.exe] evaluated string: [If,ExistFile,%ProjectTemp%\WimInfo\WimInfo.exe,Echo,"FILE NOT DELETED",WARN]
IF - File exists: [%BaseDir%\Temp\Win7PESE\WimInfo\WimInfoInstall.ini] evaluated string: [If,ExistFile,%ProjectTemp%\WimInfo\WimInfoInstall.ini,Shellexecute,Hide,cmd.exe,"/C del /q /f "%ProjectTemp%\WimInfo\WimInfoInstall.ini""]
Shellexecute: [Hide] using: [cmd.exe] with parameters: [/C del /q /f "%BaseDir%\Temp\Win7PESE\WimInfo\WimInfoInstall.ini"]
IF - File does not exist: [%BaseDir%\Temp\Win7PESE\WimInfo\WimInfoInstall.ini] evaluated string: [If,ExistFile,%ProjectTemp%\WimInfo\WimInfoInstall.ini,Echo,"FILE NOT DELETED",WARN]
[//]
[// Vista Imagex6.0 can not print unicode text to console, it breaks on first occurrence. So wiminfo can't get any infos here. Thanks JFX]
[// This will only happen with Russian, Chinese, Korean, ... sources. So for wim information, Use Wimutil first, if exist, otherwise wiminfo with 7z v9.2 or higher in %tools%]
|
Run - Processing section: [FoundWimgapiInfo] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
[// Use any wimgapi 6.0/6.1 for Wim information]
SetVar - Sucessfuly changed the value of [%WimgapiFound%] to: [Noo]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\X64\wimgapi6.0.dll] evaluated string: [If,ExistFile,%Tools%\%OSArch%\wimgapi6.0.dll,Begin]
FileCopy - Copied [%BaseDir%\Projects\Tools\Win7PESE\X64\wimgapi6.0.dll] to: [%BaseDir%\Projects\Tools\Win7PESE\X64\wimgapi.dll]
SetVar - Sucessfuly changed the value of [%WimgapiFound%] to: [Yes]
[End]
ELSE - [Begin]
[If,ExistFile,%Tools%\%OSArch%\wimgapi6.1.dll,Begin]
[FileCopy,%Tools%\%OSArch%\wimgapi6.1.dll,%Tools%\%OSArch%\wimgapi.dll]
[Set,%WimgapiFound%,Yes]
[End]
[End]
[// If wimgapi not found use 7z version 9.2 with wiminfo]
[//If,Not,%WimgapiFound%,Equal,Yes,Run,%ScriptFile%,WimGapiNotFoundInfo]
IF - [yes] is equal to: [yes] evaluated string: [If,%WimgapiFound%,Equal,Yes,Begin]
Retrieve - Sucessfully retrieved the file version from: [%BaseDir%\Projects\Tools\Win7PESE\X64\wimgapi.dll] to variable: [%WimgapiVersion%] with result: [6.0.6001.18000]
StrFormat - converted [LEFT(6.0.6001.18000,3)] to variable: [%WimgapiMajorVersion%] with result: [6.0]
[End]
Run - Processed section [FoundWimgapiInfo] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
IF - [yes] is equal to: [yes] evaluated string: [If,%WimgapiFound%,Equal,Yes,Run,%ScriptFile%,FoundImageToolsInfo]
|
Run - Processing section: [FoundImageToolsInfo] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
SetVar - Sucessfuly changed the value of [%ImageToolsFound%] to: [Noo]
IF - [auto] is equal to: [auto] evaluated string: [If,%WIMToolsMode%,Equal,Auto,Begin]
[// Vista Imagex6.0 can not print unicode text to console. So wiminfo can't get any infos here. So for wim information, Use Wimutil first, if exist, otherwise wiminfo with 7z v9.2 or higher]
|
Run - Processing section: [FoundWimUtilInfo] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
IF - File exists: [%BaseDir%\Projects\Tools\Win7PESE\X64\WimUtil.exe] evaluated string: [If,ExistFile,%Tools%\%OSArch%\WimUtil.exe,Begin]
SetVar - Sucessfuly changed the value of [%WIMUTILInfo%] to: [%BaseDir%\Projects\Tools\Win7PESE\X64\WimUtil.exe]
SetVar - Sucessfuly changed the value of [%WimToolsInfo%] to: [WimUtil]
SetVar - Sucessfuly changed the value of [%ImageToolsFound%] to: [Yes]
[End]
Run - Processed section [FoundWimUtilInfo] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
IF - [yes] is equal to: [yes] evaluated string: [If,Not,%ImageToolsFound%,Equal,Yes,Run,%ScriptFile%,FoundImageXInfo]
[End]
IF - [auto] is not equal to: [imagex] evaluated string: [If,%WIMToolsMode%,Equal,ImageX,Run,%ScriptFile%,FoundImageXInfo]
IF - [auto] is not equal to: [wimutil] evaluated string: [If,%WIMToolsMode%,Equal,WimUtil,Run,%ScriptFile%,FoundWimUtilInfo]
[//If,Not,ExistFile,%IMAGEXInfo%,If,Not,ExistFile,%WIMUTILInfo%,Run,%ScriptFile%,ImageToolsNotFoundInfo]
Run - Processed section [FoundImageToolsInfo] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
IF - [wimutil] is not equal to: [imagex] evaluated string: [If,%WimToolsInfo%,Equal,ImageX,If,%WimgapiMajorVersion%,Equal,6.0,Set,%ImageToolsFound%,Noo]
IF - [yes] is equal to: [yes] evaluated string: [If,Not,%ImageToolsFound%,Equal,Yes,Begin]
[If,Not,ExistFile,%Tools%\7z.exe,Run,%ScriptFile%,7zToolsNotFound]
[Set,%7ZInfo%,%Tools%\7z.exe]
[Set,%WimToolsInfo%,7Z]
[End]
[//-]
IF - [wimutil] is not equal to: [imagex] evaluated string: [If,%WimToolsInfo%,Equal,ImageX,ExtractFile,%ScriptFile%,WimTools,WimInfo.exe,%ProjectTemp%\WimInfo]
IF - [wimutil] is not equal to: [7z] evaluated string: [If,%WimToolsInfo%,Equal,7Z,ExtractFile,%ScriptFile%,WimTools,WimInfo.exe,%ProjectTemp%\WimInfo]
IF - [wimutil] is not equal to: [imagex] evaluated string: [If,%WimToolsInfo%,Equal,ImageX,ShellExecute,Hide,%ProjectTemp%\WimInfo\WimInfo.exe,"%IMAGEXInfo%" "%SourceDir%\sources\install.wim" "%ProjectTemp%\WimInfo\WimInfoInstall.ini",%ProjectTemp%\WimInfo]
IF - [wimutil] is equal to: [wimutil] evaluated string: [If,%WimToolsInfo%,Equal,WimUtil,ShellExecute,Hide,%WIMUTILInfo%,/info "%SourceDir%\sources\install.wim" "%ProjectTemp%\WimInfo\WimInfoInstall.ini" /ini %ShowWimUtil%,%Tools%\%OSArch%\]
ShellExecute: [Hide] using: [%BaseDir%\Projects\Tools\Win7PESE\X64\WimUtil.exe] with parameters: [/info "%BaseDir%\7 source files\sources\install.wim" "%BaseDir%\Temp\Win7PESE\WimInfo\WimInfoInstall.ini" /ini /Hide]
[// Warning: WimInfo.exe works only with 7-Zip 9.2 or highter]
IF - [wimutil] is not equal to: [7z] evaluated string: [If,%WimToolsInfo%,Equal,7Z,ShellExecute,Hide,%ProjectTemp%\WimInfo\WimInfo.exe,"%7ZInfo%" "%SourceDir%\sources\install.wim" "%ProjectTemp%\WimInfo\WimInfoInstall.ini",%ProjectTemp%\WimInfo]
IF - File does not exist: [%BaseDir%\Temp\Win7PESE\WimInfo\WimInfoInstall.ini] evaluated string: [If,Not,ExistFile,%ProjectTemp%\WimInfo\WimInfoInstall.ini,Run,%ScriptFile%,WimInfoMissing]
|
Run - Processing section: [WimInfoMissing] From file: [%BaseDir%\Projects\Win7PESE\Images.script]
IF - [wimutil] is equal to: [wimutil] evaluated string: [If,%WimToolsInfo%,Equal,WimUtil,Begin]
IF - File does not exist: [C:\Users\Darren\AppData\Local\Temp\WimUtil.log] evaluated string: [If,ExistFile,%TempDir%\WimUtil.log,Begin]
[If,Not,ExistDir,%ProjectTemp%\SupportLog_AddFiles,DirMake,%ProjectTemp%\SupportLog_AddFiles]
[FileCopy,%TempDir%\WimUtil.log,%ProjectTemp%\SupportLog_AddFiles]
[End]
[End]
[//----]
Message: Wim file information missing. A problem occurred to Get Image Information with WimUtil !!!
Tips:
1) Try using official MS sources
(Check 'List of Official Windows 7 ISO' button at main screen)
Exiting...
Wim file information missing. A problem occurred to Get Image Information with WimUtil . -- Tips: 1) Try using official MS sources (Check 'List of Official Windows 7 ISO' button at main screen) Exiting...
Run - Processed section [WimInfoMissing] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
Run - Processed section [WimInfoInstall] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
Run - Processed section [Process] in file: [%BaseDir%\Projects\Win7PESE\Images.script]
|
Finished processing script: Images configuration (Images.script)
Script time: 6 seconds and 867 milliseconds
Script has been sucessfully processed!
|