Re: How to add my registry entries in the image?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Looks like it. I'm guessing you aren't running the image you are building.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Felixm" <Felixm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:079E4FD8-A227-497B-97D5-95B3FB2233DC@xxxxxxxxxxxxxxxx
Hi Dean,

I don't know how to find out whether I have persistent or hive mechanism
on the device. I looked in the platform.reg for some info and found this
entry:

; @CESYSGEN IF CE_MODULES_RAMFMD
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:1 ; see comment in common.reg
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE

Does it mean that I have hive mechanism?

Felix

"Dean Ramsier" wrote:

Something is wrong, you can't be doing what you think you are doing. If
the
entry exists in reginit.ini in your flat release directory, and you
create a
new image using makeimg with that entry, and you run that image on your
device, the registry change will be there.

The only possibilities I can come up with that would cause this to fail
are:
- You didn't actually build a new image
- You aren't actually running your new image on the device (likely, since
you're not seeing your dll either)
- You have a persistent registry mechanism on the device other than the
hive
registry that is overwriting your changes. A hive registry
implementation
wouldn't fail like this because the store hive would automatically be
invalidated by your new registry in your new image.
--
Dean Ramsier - eMVP
BSQUARE Corporation


"Felixm" <Felixm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A0565D3D-F6C3-4BED-B2EF-CC55431E3CB7@xxxxxxxxxxxxxxxx
Dear all,

Yes, I know that this has been posted previously and answers are given.
I tried all of them and after failing I'm posting the question here.
I'm
sorry if I trouble you with my concern.

Problem: I want to add/modify the default registry entries in the image

I need these two

1) Modify IrCOMM to diable it

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM]
"Dll"="xIRCOMM.dll"

2) Add this

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
"Order"=dword:00000000


I have added these into the

"%_WINCEROOT%\Platform\MyPlatform\Files\platform.reg

to the last, as I read the last values overwrite the older values, if
exists.

I made a CLEAN build and noted that these entries are also taken into
the "reginit.ini" file in my flatrelease directory.

BUT, if I check the registry entries after starting the created image
in my emulator, these values are not updated/added.

I read this in the help of MSN
-----------------------------------------------------------------------
If you want to make changes in a BSP's FILES directory, you can reduce
the turnaround time that is required by a full clean and rebuild. To do
this, you can modify the .bib and .registry files and then run Makeimg.
However, Makeimg does not copy the .bib and .reg files from the
\Platform
directory to the flat release directory.

There are two methods that you can use to propagate your changes.

Manually copy the changed .bib and .reg files to the flat release
directory before running Makeimg.
- or -

Make the changes in the flat release directory until the desired
results are achieved, and then propagate these changes back into
the \Platform directory. This ensures that your changes are not lost.
-----------------------------------------------------------------------

If i search my flat release directory for platform.reg, I see 6 files
of
it (in ULDR & WPC directories and sub-directories). I don't know what
MSN
points at by saying ".reg files from flatrelease directory"?


I also have an other same problem with mydll.dll which I would like to
put
in Windows directory of the image. I modified the platform.bib in
Platform
directory with this entry.

mydll.dll c:\mydll.dll NK S

But after creating the image, I don't see this file too :-(


I would be thankfull if you can help me in this matter.


Regards,
Felix





.



Relevant Pages

  • Re: How to add my registry entries in the image?
    ... new image using makeimg with that entry, and you run that image on your ... You have a persistent registry mechanism on the device other than the hive ... you can modify the .bib and .registry files and then run Makeimg. ... directory to the flat release directory. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to add my registry entries in the image?
    ... I don't know how to find out whether I have persistent or hive mechanism ... You have a persistent registry mechanism on the device other than the hive ... you can modify the .bib and .registry files and then run Makeimg. ... directory to the flat release directory. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to add my registry entries in the image?
    ... If I add my registry values just at the end of the platform.reg then they are ... I want to add/modify the default registry entries in the image ... you can modify the .bib and .registry files and then run Makeimg. ... directory to the flat release directory. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [Q] How to speed up build process
    ... "Dean Ramsier" wrote: ... > files that also get copied to the flat release directory. ... you always need to do a buildrel at least once. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Can i download NK.bin by ethernet without makeimg after modify
    ... Have a look at all the step makeimg performs. ... romimage should be enough if you modify ... Another possibility could be modifying the registry with remote registry ... <apellerin AT adeneo DOT adetelgroup DOT com> ...
    (microsoft.public.windowsce.platbuilder)