Re: Noob question on registry



OK so the file I edit within PB is not the file that ends up on the platform?
When I tried copying C:\WINCE500\PLATFORM\855gme\Files\platform.reg to
C:\WINCE500\PBWorkspaces\P6LC_855\RelDir\855GME_x86_Release\platform.reg I
got a fatal error when I did makeimg (some #include file was not found). The
two files are completely different... If the file in the release directory is
not the file in PB then where does the release directory verson come from in
the first place? And how do I properly edit the release version so it ends up
on my platform?

Thank you,
Richard

"Paul G. Tobey [eMVP]" wrote:

That's a safe place. You then just have to make sure that *that* file ends
up in the flat release folder before you make the image. If you change that
file and simply select Make Image from the build menu, that file doesn't get
copied to the release folder and the last version of the file copied there
will be used instead.

Again, check reginit.ini to see if the right entries are getting into the
flat release folder.

Paul T.

<Richard@xxxxxxxxxxxxx> wrote in message
news:A0AD5E68-5D1E-4CCE-ACD1-F1F7721A3235@xxxxxxxxxxxxxxxx
Thanks Bruce,
I'm getting at the file by double clicking on platform.reg under P6LC_855
parameters, C:\WINCE500, 855GME, Hardware Specific Files from the
Parameter
View tab. Is this correct?

Thank you,
Richard

"Bruce Eitman (eMVP)" wrote:

What files are you editing? and in which directories? It is a common
mistake to either edit in the release directory which gets overwritten by
the build, or in the Files directories and not have them copied to the
release directory before running makeimg.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

<Richard@xxxxxxxxxxxxx> wrote in message
news:323F556A-8846-4209-A426-925A4E807FF3@xxxxxxxxxxxxxxxx
I changed all of them because I can't tell from the "IF" directives
which
of
the several blocks is the appropriate one. At any rate the reginit.ini
in
the
release directory still has "EnableDHCP"=dword:1 (and a new date/time
stamp)
so I'm still doing something wrong... Any more ideas?

Thank you,
Richard

"Paul G. Tobey [eMVP]" wrote:

Check reginit.ini in the flat release directory and see what settings
actually ended up in the registry (and make sure that you don't have
persistent registry on the device and are using an old registry saved
that
way). You should also make sure that you're changing the *right*
EnableDHCP. It's silly to change all of them. Change the one
associated
with the card whose IP you actually want to set.

Paul T.

<Richard@xxxxxxxxxxxxx> wrote in message
news:AAC06BED-0D9C-48FB-A87C-E772552B4E81@xxxxxxxxxxxxxxxx
Thanks Paul,
I found several entries in platform.reg for "EnableDHCP" and set
them
all
to
dword:0 and added my static IP settings then did a Make Run-Time
Image
and
Attach Device. When I go to my connection properties on my platform
it
still
has DHCP as the default. Do I need to do a Build and Sysgen or am I
missing
something else?

Thank you,
Richard

"Paul G. Tobey [eMVP]" wrote:

The build system is set up to allow registry settings from a
variety
of
sources. Any .REG file in the flat release directory when the
image
is
built will contribute its settings to the registry. In particular,
platform.reg (highest priority), and project.reg (next highest),
are
accessible via Platform Builder for platform/project-wide types of
settings.

The particular settings you are talking about won't be anywhere,
because
it
would be silly for Microsoft to try to assign a static IP address,
subnet,
etc. as a default for all devices. The default for any network
device
is
going to be DHCP assignment of IP and other parameters. You can
change
that
with your own new settings (and set EnableDHCP to 0, rather than
the
default
of 1).

Paul T.

<Richard@xxxxxxxxxxxxx> wrote in message
news:D80A7ECF-1906-4CA4-8770-472F301C9A75@xxxxxxxxxxxxxxxx
Hello all,
How is it possible to modify registry settings in PB?
Specifically I
want
to
setup the static IP, Subnet, Gateway and DNS settings so when the
platform
boots it has those settings without having to set them in the
dialog. I
think
it's in Parameter View but I can't find those settings.

Thanks in advance,
Richard












.



Relevant Pages

  • Re: Noob question on registry
    ... to the special release folder, where the operating system is assembled from ... on my platform? ... actually ended up in the registry (and make sure that you don't ... dword:0 and added my static IP settings then did a Make Run-Time ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Noob question on registry
    ... of items will get the changed registry file into the right place. ... Paul T. ... dword:0 and added my static IP settings then did a Make Run-Time ... accessible via Platform Builder for platform/project-wide types ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Increasing the Number of customized Folders
    ... If you're curious about exactly which registry keys are ... select Edit from the menu. ... Courtesy of Ramesh Srinivasan, MS-MVP ... XP forgets your folder view settings? ...
    (microsoft.public.windowsxp.customize)
  • Re: Noob question on registry
    ... Paul T. ... new registry in your new OS? ... dword:0 and added my static IP settings then did a Make Run-Time ... When I go to my connection properties on my platform ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Noob question on registry
    ... Paul T. ... new registry in your new OS? ... dword:0 and added my static IP settings then did a Make Run-Time ... When I go to my connection properties on my platform ...
    (microsoft.public.windowsce.platbuilder)