Re: How to add my registry entries in the image?
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Thu, 22 Mar 2007 09:39:37 -0400
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
.
- Follow-Ups:
- Re: How to add my registry entries in the image?
- From: Felixm
- Re: How to add my registry entries in the image?
- References:
- How to add my registry entries in the image?
- From: Felixm
- How to add my registry entries in the image?
- Prev by Date: Re: How to add my registry entries in the image?
- Next by Date: Re: UTF-8 stream to unicode conversion
- Previous by thread: Re: How to add my registry entries in the image?
- Next by thread: Re: How to add my registry entries in the image?
- Index(es):
Relevant Pages
|