Re: .CAB file issue !!

From: K. S. Huang (ks_huang_at_dlink.com.tw.remove.this)
Date: 04/02/04


Date: Fri, 2 Apr 2004 21:50:20 +0800

While the platform cold boot, the OS will check if pReadRegistryFromOEM
function pointer is null or not.
If it is not null, the os will invoke this function pointer to restore the
Registry data.
So to prevent the registry read back from Persistent Storage (like IPSM)
during bootup, you may set the pReadRegistryFromOEM
to NULL in your OemInit() OAL funciton

"RF" <rickfang@ms58.hinet.net> ¼¶¼g©ó¶l¥ó·s»D
:71811AD6-428D-4541-B6A4-FC217667225C@microsoft.com...
> Hi,
> I write one simple .CAB file and be executed under WinCE4.2 OS. I find it
will call "RegFlushKey" API to save registry to persistent storage as IPSM
we have. The .inf file of .CAB does not call "RegFlushKey" API during
installation, it seems the WinCE kernel make it. After COLD Boot, there is
one issue that registry do still exist, but program file disappear. Because
COLD Boot doesn't clean the content of Persistent Storage (IPSM), it will
clean all content in DRAM.
> How to prevent this issue by modified .CAB file? Or, it need to clean IPSM
all data once COLD Boot in platform builder.
>
> thanks
> RF



Relevant Pages

  • WinCE 5.0 RegFlush on Cold Boot
    ... I have a WinCE 5.00 OS with IPSM 4.0 set up with Hive Registry, ... know how to stop the OS from backing up the Registry on a cold boot. ... RegFlushKey and they are not. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Restoring Registry Problem
    ... I am not sure that persisting the registry is ... welcome.exe before a cold boot, then cold booting reverts the welcome.exe ... >> screen alignment and set region screens still appear. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Registry recovery on cold boot
    ... On a cold boot - about 90% of the time - the system shows a registry ... recovery message indicating that the registry was successfully ... iterations with no problems found with the memory. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: WinCE 4.2 user authentication
    ... it has undergone a cold boot, and clear the object store. ... >> registry when you're using the RAM-based registry, if you have it set up ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Restoring Registry Problem
    ... Well, RegFlushKey() isn't going to do anything for you, in this situation. ... the registry and then do a warm reboot. ... cold boot built into the OS, ... I am not sure that persisting the registry is ...
    (microsoft.public.dotnet.framework.compactframework)