Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: "Bruce Eitman [eMVP]" <bruce.eitman.nospam@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 May 2009 07:59:58 -0400
You might want to review:
http://geekswithblogs.net/BruceEitman/archive/2008/06/04/platform-builder--managing-the-registry.aspx
http://geekswithblogs.net/BruceEitman/archive/2008/05/23/platform-builder-pulling-it-all-together-with-makeimg.aspx
http://geekswithblogs.net/BruceEitman/archive/2008/05/20/platform-builder--using-bldrel.aspx
Since you are building Windows Mobile, I don't know the order of inclusion
of reg files. But in these articles, I explain how you can determine the
order. I suspect that the order is the problem that you have.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
<ce.developer@xxxxxxxxx> wrote in message
news:343648a1-e16a-4877-a3b7-1fff8cf704db@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 12, 5:01 pm, ce.develo...@xxxxxxxxx wrote:
On May 12, 4:04 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
Hi Paul,
Sorry about the confusion I am putting the above key in the
PLATFORM.REG.
This is a reasonable place to put it.
Actually this entry is not at all there and I thought may be putting
these entries might override the default but it is not doing.
What does this mean?! It sounds like you're modifying platform.reg, but
then just doing a MakeImg and assuming that platform.reg will be
recopied to
the flat release directory and used. You need to understand what the
various build commands actually do. If the changes that you make in
platform.reg are not showing up in reginit.ini, then you're not doing a
real
build. If all you want to do is change the registry, change platform.reg
where it lives and copy that file to the flat release folder before
doing a
MakeImg to rebuild nk.bin with the new registry.
I have an image explorer and when I see these keys I can see that it
tried to write "myuniquename" but somehow got overwritten by
POCKET_PC.
I can see like "myuniquename" is STRIKEDOUT means it did try to wrote
this but somehow got overwritten by POCKET_PC.
You should not be able to randomly edit the nk.bin file.
Are there any other ways to do this since putting the keys under
platform.reg didn't seem to work?
You just need to modify your understanding of what happens when you do a
build. Everyone else knows how this works and does the right thing. It's
not that you need another way to modify the registry, but you need to
understand how registry modifications get built into the image.
Paul T.
I understood what you are saying Paul.
I am making all the changes in \wpc\platform.reg to avoid doing
blddemo -qbsp thats y I am doing only makimg.(to save some bld time)
The other thing is I can see my changes in reginit.ini and don't know
for what reasons I can see changes in "OrigName" key and not in "Name"
key.
Hope you got what I mean to say.
As per MSDN they said like OEM can use sethostname() api to change the
device name. Is it advisable to use?
Thanks,
ce.developer- Hide quoted text -
- Show quoted text -
Adding the changes that I am making in wpc\platform.reg is for
checking if it works correctly.
If it works then I will put them under \platform\bsp\Files
\Platform.reg
Thanks
ce.developer
.
- Follow-Ups:
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: ce . developer
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- References:
- How to change the default device name from POCKET_PC to "myuniquename"
- From: ce . developer
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: Paul G. Tobey [eMVP]
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: ce . developer
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: Paul G. Tobey [eMVP]
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: ce . developer
- Re: How to change the default device name from POCKET_PC to "myuniquename"
- From: ce . developer
- How to change the default device name from POCKET_PC to "myuniquename"
- Prev by Date: Re: Synchronize Issue
- Next by Date: Re: Problem using SetKMode() and RDMSR
- Previous by thread: Re: How to change the default device name from POCKET_PC to "myuniquename"
- Next by thread: Re: How to change the default device name from POCKET_PC to "myuniquename"
- Index(es):
Relevant Pages
|