So I want to figure out why.
Then I manually run the scripts of NativeEX project.
1) Define Fundamentals no error
2) Retrieve Project Info no error
3) Make Directories no error
4) HoJoPE Hives Factory 6 Errors
Here is part of the log: (Please check the attachment for the full log)
Processing section: [Build-Hive] From file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\3 - hivesFactory.Script] [Info] Generating software hive script ... [Success] IF - File does not exist: [%BaseDir%\Workbench\nativeEx_barebone\Cache\Prebuild\software.ctl] executing command: [ExtractFile,%ScriptFile%,Control,#1.ctl,%HoJoPEdir%] [Success] ExtractFile - [software.ctl] to: [%BaseDir%\Workbench\nativeEx_barebone\Cache\Prebuild] [Success] SetVar - Sucessfuly changed the value of [%ctl%] to: [%HoJoPEdir%\#1.ctl] [Success] SetVar - Sucessfuly changed the value of [%script%] to: [%HoJoPEdir%\hojoPE-#1_%AllID%.Script.txt] [Success] Shellexecute: [Open] using: [%BaseDir%\Workbench\nativeEx_barebone\Cache\Prebuild\HoJoPE.exe] with parameters: [-S"L:\I386" -O"%BaseDir%\Workbench\nativeEx_barebone\Cache\Prebuild\hojoPE-software_0080XPSP2BB2.Script.txt" -C] [Success] IF [software] is equal to: [setupreg.hiv] Processing section: [create-Blank] From file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\EmptyHive.Script] [Info] Creating a new software hive.. [Ignore] IF - [software] is not equal to: [sam] evaluated string: [If,#1,Equal,sam,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config] [Ignore] IF - [software] is not equal to: [security] evaluated string: [If,#1,Equal,security,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config] [Ignore] IF - [software] is not equal to: [default] evaluated string: [If,#1,Equal,default,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config] [Success] IF - [software] is equal to: [software] Processing section: [create-Blank-sub] From file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\EmptyHive.Script] [Success] ExtractFile - [template.hiv] to: [%BaseDir%\Target\nativeEx\I386\System32\config] [Ignore] IF - File does not exist: [%BaseDir%\Target\nativeEx\I386\System32\config\software] evaluated string: [If,ExistFile,"#4\#1",FileDelete,"#4\#1"] [Success] FileRename - Successfully renamed file: [%BaseDir%\Target\nativeEx\I386\System32\config\template.hiv] to:[%BaseDir%\Target\nativeEx\I386\System32\config\software] [Ignore] IF - File exists: [%BaseDir%\Target\nativeEx\I386\System32\config\software] evaluated string: [If,NotExistFile,#4\#1,Exit,"File [#4\#1] was not found!"] [Ignore] IF - [software] is not equal to: [system] evaluated string: [If,#1,Equal,system,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%\config] [Ignore] IF - [software] is not equal to: [setupreg.hiv] evaluated string: [If,#1,Equal,setupreg.hiv,Run,%EmptyHive%,create-Blank-sub,#1,#2,#3,%target_sys%] [Ignore] IF - [software] is not equal to: [setupreg.hiv] evaluated string: [If,#1,Equal,setupreg.hiv,FileCopy %source_win%\setupreg.hiv,%target%] [Ignore] IF - [software] is not equal to: [setupreg.hiv] evaluated string: [If,#1,Equal,setupreg.hiv,ShellExecute,Hide,"attrib","-r #$q%target%\#1#$q"] [Info] Executing software hive script ... [Failed] Exec - Failed to find section [Process-Hive] in file: [%BaseDir%\Workbench\nativeEx_barebone\Cache\Prebuild\hojoPE-software_0080XPSP2BB2.Script.txt] [Success] SetVar - Sucessfuly changed the value of [%changed%] to: [1] [Ignore] IF - [1] is not equal to: [0] evaluated string: [If,%Debug%,Equal,0,FileDelete,%script%] [Ignore] IF - [1] is not equal to: [0] evaluated string: [If,%Debug%,Equal,0,FileDelete,%ctl%]The first red line show that shellexecute has some problem, part of the parameters was disappear, parameters: [-S"L:\I386" -O"%BaseDir%\Workbench\nativeEx_barebone\Cache\Prebuild\hojoPE-software_0080XPSP2BB2.Script.txt" -C]and in \Workbench\nativeEx_barebone\Cache\Prebuild, I can not see the hojoPE-software_0080XPSP2BB2.Script.txtthis cause the script fail later.Seems the WB has some problem or HoJoPE.exe can not support unicode file.
I tried to do this to confirm my guessing:
Manually run scripts using Chinese XP as source CD, change source CD to English XP when running the HoJoPE Hives Factory script,
then change the source CD back to Chinese XP, continue to run the rest of scripts, run my Chinese PRC support script, create ISO.
At last, ran ISO in virtual box, the Chinese PE (All interfaces and dialogs are Chinese) works with some tiny problem.
Any suggestion?