Re: Registry persistence in CE 6
- From: maite <maiuri7@xxxxxxxxx>
- Date: Mon, 01 Oct 2007 08:33:28 -0700
Thanks for your answers Bruce and Huang!!!
Both hints where useful but none of them solved completely the
problem...
There is a MountAsBootable Storage profile setting for indicating OS to
load persistent registry setting from the volume.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\<YourCFDiskProfile>\FATFS]
"MountAsBootable"=dword:1
When setting MountAsBootable = 1, I see that there is a "Documents and
Settings" folder in the first partition of the compact flash and
another "Documents and Settings" folder in the "Device" directory.
I run the application that calls RegFlushKey() and everything looks
fine, but the registry hives are not updated, so that if I restart the
device no changes on the registry have been saved.
In CE 6.0, there is also a interesting environment variable
PRJ_ENABLE_FSREGHIVE which is needed to move the location out of the Object
Store.
When trying with PRJ_ENABLE_FSREGHIVE. The compact flash is
duplicated. I mean, I see four folders, instead of two. Two for each
partition. Two of them are defined with the name specified in
[HKEY_LOCAL_MACHINE\StorageManager\Profile] ("Storage Card" and
"Storage Card 2") and the other two are named as specified in
[HKEY_LOCAL_MACHINE\StorageManager\Profile\HDProfile]("CF" and "CF2").
If I call RegFlushKey() the registry hive is updated and when
restarting the device I see that the registry persisted.
Any idea about how I can solve the problem???
Thanks again for your help.
.
- Follow-Ups:
- Re: Registry persistence in CE 6
- From: maite
- Re: Registry persistence in CE 6
- Prev by Date: Re: eboot.bib question
- Next by Date: Re: Wince OS update Utility
- Previous by thread: Re: Priority Key in Serial Settings
- Next by thread: Re: Registry persistence in CE 6
- Index(es):
Relevant Pages
|