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



check the "reginit.ini" to see if there are more than one [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM] in the file.

"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: [Q] How to speed up build process
    ... files that also get copied to the flat release directory. ... >> won't see the DLL in you Flat Release DIr (FRD) because it wasn't copied ...
    (microsoft.public.windowsce.platbuilder)
  • Problems with corrupted hv-files generated from regcomp during makeimg
    ... we have serious problems with corrupted hv-files generated from regcomp ... generated from regcomp.exe during makeimg from the reginit.ini file. ... the file (where there seems to be some random information (mostly the ... We have this difference even if we call regcomp.exe in the flat release ...
    (microsoft.public.windowsce.platbuilder)
  • How to add my registry entries in the image?
    ... I want to add/modify the default registry entries in the image ... There are two methods that you can use to propagate your changes. ... Manually copy the changed .bib and .reg files to the flat release ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to add additional .reg file to fmerge in MakeImage
    ... If it's in the "flat release directory", ... really have to do is copy it there somehow. ... Paul T. ... >I see from editing makeimage.out that in my project 15 .reg files are ...
    (microsoft.public.windowsce.platbuilder)

Loading