I know I'm being naughty and not using the build as given
So, I'm using the core files:
CODE
1 - ProjectInfo.Script
2 - MakeDirs.Script
3 - hivesFactory.Script
5 - CopyAndExpand.Script
EmptyHive.Script
scriptLog.script
script.project
CreateISO.script (CreateSimpleIso section)
2 - MakeDirs.Script
3 - hivesFactory.Script
5 - CopyAndExpand.Script
EmptyHive.Script
scriptLog.script
script.project
CreateISO.script (CreateSimpleIso section)
I've been through every script line-by-line and commented out any references to things I'm not using like UPX, autocompress and any other references to unused things.
Okay, so the ISO boots into the command processor which is all nice and hunky-dory.
But, it seems to be using the wrong font for the text in the titlebar. I included Ariel.
The main problem though is when I try another shell. to keep it simple I'm trying Nu2Menu first (not nu2shell starting nu2menu) and it just reboots.
Here is my basic script:
CODE
[Process]
FileCopy,%ScriptDir%\nu2menu\nu2go.bmp,%target_sys%
FileCopy,%ScriptDir%\nu2menu\nu2menu.exe,%target_sys%
FileCopy,%ScriptDir%\nu2menu\nu2menu.xml,%target_sys%
FileCopy,%ScriptDir%\nu2menu\nu2menumsg.exe,%target_sys%
If,%pCheckBox1%,Equal,True,Run,%ScriptFile%,SetShell
[SetShell]
RegHiveLoad,PE_SYSTEM,%target_sys%\setupreg.hiv
RegWrite,HKLM,0x1,PE_SYSTEM\Setup,CmdLine,nu2menu.exe
RegHiveUnLoad,PE_SYSTEM
[Interface]
pCheckBox1="Set Nu2Menu as the default shell",1,3,10,39,200,19,True
FileCopy,%ScriptDir%\nu2menu\nu2go.bmp,%target_sys%
FileCopy,%ScriptDir%\nu2menu\nu2menu.exe,%target_sys%
FileCopy,%ScriptDir%\nu2menu\nu2menu.xml,%target_sys%
FileCopy,%ScriptDir%\nu2menu\nu2menumsg.exe,%target_sys%
If,%pCheckBox1%,Equal,True,Run,%ScriptFile%,SetShell
[SetShell]
RegHiveLoad,PE_SYSTEM,%target_sys%\setupreg.hiv
RegWrite,HKLM,0x1,PE_SYSTEM\Setup,CmdLine,nu2menu.exe
RegHiveUnLoad,PE_SYSTEM
[Interface]
pCheckBox1="Set Nu2Menu as the default shell",1,3,10,39,200,19,True
This is the only shell checked. This same script works with a pebuilder built build (there's a mouthful).
Any hints please? If it's a case of using depends.exe or something to see what nu2menu requires then that's fine, there are a lot of files missing compared to a bartpe build, but if it's something simpler — or harder — please do tell.
ADDED: I should mention that I loaded setupreg.hiv on my system and checked that the correct line was added and it was.
I thank thee.
