How to output Hive format by regcomp.exe?

Hi All:
I just want to upgrade RAM-based registry to Hive-based.
Therefore, I follow steps as below:

1. set BSP_ENABLE_FSREGHIVE=1
2. set IMGREGHIVE=1
3. set SYSGEN_FSREGHIVE=1 in cesysten.bat
4. set SYSGEN_FSREGRAM= in cesysten.bat
5. add the key in platform.reg
; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="Documents and Settings\\system.hv"
"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:1
"DefaultUser"="User"
; END HIVE BOOT SECTION

Finally, I find regcomp can't transfer reginit.ini to hive format.
-----output msg--------
E:\wince\release>regcomp reginit.ini .
regcomp: Got LOCALE=0409, using CodePage=1252
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\System\StorageManager\
TFS] "Flags" in system registry
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\System\StorageManager]
PNPUnloadDelay" in system registry
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\System\StorageManager]
PNPUnloadDelay" in system registry
regcomp: InitRegistry Finished (462 lines).
regcomp: Writing registry in fdf format
regcomp: Done.
----------------------

The help of regcomp.exe says "determined from flags", what flag is it?
How to output Hive format?
Output type will be determined from flags in the source file.
FDF Output: default.fdf
Hive Output: default.hv, boot.hv, user.hv

Re: How to output Hive format by regcomp.exe? by K

K
Wed Jun 23 04:28:35 CDT 2004

refer to the common.reg under public\common\files
in Have based registry settings the following will be in your final
reginit.ini file

; @CESYSGEN IF FILESYS_FSREGHIVE
; This tag MUST come before all registry settings and HIVE BOOT SECTION
tags.
; OUTPUTHIVE
; @CESYSGEN ENDIF

so try to add these line into your reginit.ini and run the regcomp.exe again


"jekyll" <jekyll88.tw@yahoo.com.tw>
???????:9c7e0e16.0406222352.3e2fc80@posting.google.com...
> How to output Hive format by regcomp.exe?
>
> Hi All:
> I just want to upgrade RAM-based registry to Hive-based.
> Therefore, I follow steps as below:
>
> 1. set BSP_ENABLE_FSREGHIVE=1
> 2. set IMGREGHIVE=1
> 3. set SYSGEN_FSREGHIVE=1 in cesysten.bat
> 4. set SYSGEN_FSREGRAM= in cesysten.bat
> 5. add the key in platform.reg
> ; HIVE BOOT SECTION
>
> [HKEY_LOCAL_MACHINE\init\BootVars]
> "SYSTEMHIVE"="Documents and Settings\\system.hv"
> "PROFILEDIR"="Documents and Settings"
> "Start DevMgr"=dword:1
> "DefaultUser"="User"
> ; END HIVE BOOT SECTION
>
> Finally, I find regcomp can't transfer reginit.ini to hive format.
> -----output msg--------
> E:\wince\release>regcomp reginit.ini .
> regcomp: Got LOCALE=0409, using CodePage=1252
> regcomp: Overwriting existing value
[HKEY_LOCAL_MACHINE\System\StorageManager\
> TFS] "Flags" in system registry
> regcomp: Overwriting existing value
[HKEY_LOCAL_MACHINE\System\StorageManager]
> PNPUnloadDelay" in system registry
> regcomp: Overwriting existing value
[HKEY_LOCAL_MACHINE\System\StorageManager]
> PNPUnloadDelay" in system registry
> regcomp: InitRegistry Finished (462 lines).
> regcomp: Writing registry in fdf format
> regcomp: Done.
> ----------------------
>
> The help of regcomp.exe says "determined from flags", what flag is it?
> How to output Hive format?
> Output type will be determined from flags in the source file.
> FDF Output: default.fdf
> Hive Output: default.hv, boot.hv, user.hv