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