Digg this topic Add to my del.icio.us Submit to SlashDot 3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> [project] PicoXP goes HoJoPE, Second step: Building setupreg.hiv from scratch.
Rating 5 V
psc
post Sep 27 2006, 03:55 PM
Post #1


Guru
***

Group: .script developer
Posts: 3,152
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


Some minutes ago I delivered a new version of HoJoPE PicoXP
This version does not need the encoded (from BartPE?) setupreg.hiv anymore. (IMG:http://www.boot-land.net/forums/style_emoticons/default/roll1.gif)
setupreg.hiv now is created using only the setup CD and a controlfile 'setupreg.hiv.ctl'.

Now we are only one step away (software.hiv) from being completely independent from any xxxPE (IMG:http://www.boot-land.net/forums/style_emoticons/default/crazy.gif)

'setupreg.hiv.ctl' manages:
Which keys may be deleted from the setupreg.hiv copied from the install CD
CODE
[Remove]
HKLM,"SYSTEM\CurrentControlSet\Control\HAL"@1
HKLM,"SYSTEM\CurrentControlSet\Control\IDConfigDB"@1
...


Which keys are copied from different files of the setup CD
CODE
[DMREG.INF]DM.AddReg
HKLM,"SYSTEM\CurrentControlSet\Services\dmboot"@1
HKLM,"SYSTEM\CurrentControlSet\Services\dmadmin"@1
HKLM,"SYSTEM\CurrentControlSet\Services\dmio"@1
...
[HIVESYS.INF]AddReg
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}@1
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}@1
...

Which additional entries are necessary to bring the build to run (this code is complete)
QUOTE
[Add]
HKLM,"SYSTEM\Setup","OsLoaderPath",,"\"@1
HKLM,"SYSTEM\Setup","SetupType",0x00010001,1@1
HKLM,"SYSTEM\Setup","SystemSetupInProgress",0x00010001,1@1


Enjoy testing! (IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)

Peter

BTW @1 again means PicoXP, @2 will be Standard etc ...
Go to the top of the page
 
+Quote Post
Martin 'drau...
post Sep 27 2006, 05:15 PM
Post #2


Advanced Member
***

Group: .script developer
Posts: 135
Joined: 17-July 06
From: South of Heaven
Member No.: 31



(IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif) (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif) (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)

Good work!

psc, would you mind terribly much if i lift the relevant .reg entries into ModPE? if possible, i might even just 'exec' your script (IMG:http://www.boot-land.net/forums/style_emoticons/default/wink.gif) i'll see what works best for me 8)

//martin
Go to the top of the page
 
+Quote Post
psc
post Sep 27 2006, 05:21 PM
Post #3


Guru
***

Group: .script developer
Posts: 3,152
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (Martin 'draugen' Anderse @ Sep 27 2006, 07:15 PM) *
(IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif) (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif) (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)

Good work!

psc, would you mind terribly much if i lift the relevant .reg entries into ModPE? if possible, i might even just 'exec' your script (IMG:http://www.boot-land.net/forums/style_emoticons/default/wink.gif) i'll see what works best for me 8)

//martin


I wouldn't mind when you use it.
But I think, it's too early. The current functionality is for PicoXP only - no graphical interface etc.

But would be great, if you enlarge the setupreg.hiv.ctl for these issues.

Peter (IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
Nuno Brito
post Sep 27 2006, 05:54 PM
Post #4


Advanced Member
***

Group: .script developer
Posts: 4,279
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Excellent work!! (IMG:http://www.boot-land.net/forums/style_emoticons/default/yahoo.gif)


Worked really good at the first time without any visible errors.

The ISO was sized in 18,26Mb and booted just as usual, took a bit longer since it was generating the hives, but this is very normal on a slow PIII (~50 seconds), I guess on a standard desktop this should be around 2~5 seconds or less.


Can you also add a script for chkdsk as an option?

Is this project only compatible with the updated reg commands on the winbuilder.exe I've posted yesterday?

If so, here it is..


Overall: This is really looking great! (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbsup.gif)
Go to the top of the page
 
+Quote Post
psc
post Sep 27 2006, 06:10 PM
Post #5


Guru
***

Group: .script developer
Posts: 3,152
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (Nuno Brito @ Sep 27 2006, 07:54 PM) *
The ISO was sized in 18,26Mb and booted just as usual, took a bit longer since it was generating the hives, but this is very normal on a slow PIII (~50 seconds), I guess on a standard desktop this should be around 2~5 seconds or less.


Remember: Currently I'm delivering 'functionalty only'. In the final version I want to have stored *.hiv - es, which are generated only if either the OS or the language or the version of the script has changed. So delivering of the hive is only a copy from ...\HoJoPE.

QUOTE (Nuno Brito @ Sep 27 2006, 07:54 PM) *
Is this project only compatible with the updated reg commands on the winbuilder.exe I've posted yesterday?


Yes, it is. Without these changes some RegWrites will bring unusable results.
BTW My '0x0' wish would save 2 seconds on my 2.4 Gig P IV - each ShellExecute Reg takes about half a second.

QUOTE (Nuno Brito @ Sep 27 2006, 07:54 PM) *
[Can you also add a script for chkdsk as an option?

It's a question of a separare script.
(IMG:http://www.boot-land.net/forums/style_emoticons/default/tongue.gif) I had some problems to remove the autochk functionality. So I know how to bring back and use chkdisk. Later ..., Next step is replacing encoded software.hiv. (IMG:http://www.boot-land.net/forums/style_emoticons/default/showoff.gif)

Peter
Go to the top of the page
 
+Quote Post
Alexei
post Sep 27 2006, 06:21 PM
Post #6


Advanced Member
***

Group: .script developer
Posts: 533
Joined: 30-August 06
Member No.: 283



QUOTE (psc @ Sep 27 2006, 08:55 AM) *
Now we are only one step away (software.hiv) from being completely independent from any xxxPE (IMG:http://www.boot-land.net/forums/style_emoticons/default/crazy.gif)
My congratulations (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)
QUOTE (psc @ Sep 27 2006, 08:55 AM) *
BTW @1 again means PicoXP, @2 will be Standard etc ...
I'm afraid, after "Standard"(and maybe even before) it could be several branches (by major components), such as Disk Manager, Networking, Notepad, etc. .
I'd like to be able to specify corrections to common .ctl file by providing overrides specific to particular project or script (it's also good for testing). This way @1..N would correspond" to basic level" of the project, still leaving ability to "fine tune" (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif) Script that adds some entries deleted by .ctl doesn't look as good solution to me (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif) Usually, excessive entries in registry are harmless, but... (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)
(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
Alexei
Go to the top of the page
 
+Quote Post
psc
post Sep 27 2006, 06:35 PM
Post #7


Guru
***

Group: .script developer
Posts: 3,152
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (Alexei @ Sep 27 2006, 08:21 PM) *
My congratulations (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)
I'm afraid, after "Standard"(and maybe even before) it could be several branches (by major components), such as Disk Manager, Networking, Notepad, etc. .
I'd like to be able to specify corrections to common .ctl file by providing overrides specific to particular project or script (it's also good for testing). This way @1..N would correspond" to basic level" of the project, still leaving ability to "fine tune" (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif) Script that adds some entries deleted by .ctl doesn't look as good solution to me (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif) Usually, excessive entries in registry are harmless, but... (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)
(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
Alexei


Let me simplify:
@1 means that txtsetup.sif, setupreg.hiv, software hive are nearly the same like the currently encoded files, but are created from scratch (just cmd level, no graphics).
@2 means that txtsetup.sif, setupreg.hiv, software hive, default hive are nearly the same like the currently encoded files, but are created from scratch (level with graphics).
@3 I currently do not know ...

Applications like Notepad etc. do not affect HoJoPE, they are just added like now. So you can replace inside an project the text.script, hives.script, localization.script and whatever.script-s by the new HoJoPE scripts and everything works like before!

Peter
Go to the top of the page
 
+Quote Post
TheHive
post Sep 27 2006, 08:54 PM
Post #8


Advanced Member
***

Group: .script developer
Posts: 1,887
Joined: 14-July 06
Member No.: 5



You added your Dokumente und Einstellungen. Folders are empty but just wanted to mention it.

Created a working PicoXP.

The Run ISO in Qemu layout looks bad but seems to run.
(IMG:http://img171.imageshack.us/img171/415/qemulc3.th.jpg)

Log reports 1 error
#480 [Failed] RegWrite - Failed to write REG key in root key: [HKLM] Type: [0x4] Section: [WB_System\ControlSet001\Services\NDIS\Parameters] Key: [ProcessorAffinityMask=4294967295..]

[attachment=377:attachment]
Go to the top of the page
 
+Quote Post
psc
post Sep 27 2006, 09:37 PM
Post #9


Guru
***

Group: .script developer
Posts: 3,152
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (TheHive @ Sep 27 2006, 10:54 PM) *
You added your Dokumente und Einstellungen. Folders are empty but just wanted to mention it.

Created a working PicoXP.

The Run ISO in Qemu layout looks bad but seems to run.

Log reports 1 error
#480 [Failed] RegWrite - Failed to write REG key in root key: [HKLM] Type: [0x4] Section: [WB_System\ControlSet001\Services\NDIS\Parameters] Key: [ProcessorAffinityMask=4294967295..]


@TheHive,

Many thanks for your careful tests. (IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
(Sometimes I have the opinion: If you do not post, everything is ok (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif) )
I'm glad: Your post shows me that with my HoJoPE delivering everything seems to be ok.

The 'confused' screen I transfer to Nuno. I yesterday once got a similar result in a different task: Sometimes (If I would know when I would post) a GUI is overlapped by the output of a different GUI.

The error in the log is caused by the version of WinBuilder you have.
It is supposed to be a 'feature' of the currently released WinBuilder version. Nuno already posted a beta version which handles this issue correct. I think that this version will become the official version soon.

QUOTE
You added your Dokumente und Einstellungen. Folders are empty but just wanted to mention it.

Is there anything German (would be dreadful)?

Peter
Go to the top of the page
 
+Quote Post
Nuno Brito
post Sep 27 2006, 10:22 PM
Post #10


Advanced Member
***

Group: .script developer
Posts: 4,279
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


QUOTE
The Run ISO in Qemu layout looks bad but seems to run.

The interface bug strikes again.. (IMG:http://www.boot-land.net/forums/style_emoticons/default/dry.gif)
Go to the top of the page
 
+Quote Post
« Next Oldest · Projects · Next Newest »
 

3 Pages V   1 2 3 >
Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 27th October 2007 - 11:14 AM

MKPortal ©2003-2006 mkportal.it