E
e7a7b7
Hello all,
First, thanks to all, especially SB and KM, for a great newgroup.
Thanks to the quality and depth of the answers in the group, I've never
had to post a question before, and I've been using XPe for nearly 6
months.
So, here's our current scenario. We are planning to use RAM EWF with a
product that contains standard consumer-grade PC parts, meaning we have
a hard disk (80GB disk/2GB RAM). Our C: partition, which contains the
OS and application, is the only EWF protected partition and is about
1GB in size. The D: partition which is about 75GB, is used for data.
We don't do any EWF commit operations except during upgrade/downgrades.
The problem for us is where to store persistent configuration
information.
Now, I'm aware that what we really SHOULD have done in our app is to
store persistent configuration information in a file on the D: drive,
but unfortunately our application was not developed with this in mind,
and is instead very registry-dependent at this stage.
So, in an attempt to avoid having to perform a costly re-write of our
configuration architecture, I had an idea for a shortcut: has anybody
using EWF ever tried putting their configuration in a registry hive
file on an unprotected partition? The idea is that your application
can use RegLoadKey to load the hive file on every startup. This way
the application's config info is written and stored on the unprotected
partition without having to perform EWF commit operations, but you
still have all the benefits of using the registry.
I haven't actually tried this yet--one thing that's slowing down
testing is that we will still have to re-locate our config info within
the registry since one can only load hives directly under HKLM or HKU
(We're currently using HKLM\Software\[App]). But I wondered if anybody
has tried this, or if anybody sees any dangers with doing this?
Note that I'm not suggesting re-location of the existing registry hives
(SOFTWARE, SYSTEM, etc.)--only the reg info specific to our
application. I don't want to re-locate SOFTWARE or SYSTEM, because
these must remain protected by EWF.
Thanks,
Ryan
First, thanks to all, especially SB and KM, for a great newgroup.
Thanks to the quality and depth of the answers in the group, I've never
had to post a question before, and I've been using XPe for nearly 6
months.

So, here's our current scenario. We are planning to use RAM EWF with a
product that contains standard consumer-grade PC parts, meaning we have
a hard disk (80GB disk/2GB RAM). Our C: partition, which contains the
OS and application, is the only EWF protected partition and is about
1GB in size. The D: partition which is about 75GB, is used for data.
We don't do any EWF commit operations except during upgrade/downgrades.
The problem for us is where to store persistent configuration
information.
Now, I'm aware that what we really SHOULD have done in our app is to
store persistent configuration information in a file on the D: drive,
but unfortunately our application was not developed with this in mind,
and is instead very registry-dependent at this stage.
So, in an attempt to avoid having to perform a costly re-write of our
configuration architecture, I had an idea for a shortcut: has anybody
using EWF ever tried putting their configuration in a registry hive
file on an unprotected partition? The idea is that your application
can use RegLoadKey to load the hive file on every startup. This way
the application's config info is written and stored on the unprotected
partition without having to perform EWF commit operations, but you
still have all the benefits of using the registry.
I haven't actually tried this yet--one thing that's slowing down
testing is that we will still have to re-locate our config info within
the registry since one can only load hives directly under HKLM or HKU
(We're currently using HKLM\Software\[App]). But I wondered if anybody
has tried this, or if anybody sees any dangers with doing this?
Note that I'm not suggesting re-location of the existing registry hives
(SOFTWARE, SYSTEM, etc.)--only the reg info specific to our
application. I don't want to re-locate SOFTWARE or SYSTEM, because
these must remain protected by EWF.
Thanks,
Ryan