Re: How to change the default device name from POCKET_PC to "myuniquename"

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



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


.



Relevant Pages

  • Re: How to change the default device name from POCKET_PC to "myuniquename"
    ... the flat release directory and used. ... MakeImg to rebuild nk.bin with the new registry. ... I can see like "myuniquename" is STRIKEDOUT means it did try to wrote ... this but somehow got overwritten by POCKET_PC. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to change the default device name from POCKET_PC to "myuniquename"
    ... MakeImg to rebuild nk.bin with the new registry. ... I can see like "myuniquename" is STRIKEDOUT means it did try to wrote ... this but somehow got overwritten by POCKET_PC. ... not that you need another way to modify the registry, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Wont boot after repair install
    ... run reg files also. ... So i did a repair install, and half way through it it ... and replaced the registry with the repair one, booted, then copied my old ... Now being able to boot, ...
    (microsoft.public.windowsxp.general)
  • Re: The Case of the Disappearing Default Programs (long)
    ... Merging reg files adds their contents to the registry, ... Next lesson was right click, open in notepad, read what it says. ... didn't do with their pcs, I suppose other folk do the same, so its not a bad ...
    (uk.people.silversurfers)
  • Re: Fine adjusting tracks: OS1:25k or Google Earth?
    ... and maybe a new graphics card - frankly you'd do ... match where you have put them (note that .reg files use DOUBLE slashes). ... Then 'run' the .reg file to add the stuff to the registry, after which mapsource should admit to there being a new product which is 'contours V2', and from which you can select regions just like you would with any other mapping product. ...
    (uk.rec.walking)