Whenever I try and build from either the command line or the IDE I see the
following error message:
Failed to load d:\myprojects\someproject.pbxml:

Tools Install Dir in registry is missing.

I've tracked it down to the following call:
C:>PBXmlUtils.exe /getbuildenv /workspace d:\myprojects\someproject.pbxml
/config %_CONFIG%

Failed to load d:\myprojects\someproject.pbxml:

Tools Install Dir in registry is missing.

I'm running on Vista Ultimate 64 bit with:
1. Visual Studio 2005
2. Visual Studio 2005 SP1
3. Visual Studio 2005 SP1 Update for Vista
4. Windows Embedded CE 6.0 Platform Builder
5. Windows Embedded CE 6.0 SP1
6. Windows Embedded CE 6.0 R2
7. Windows Embedded CE 6.0 Cumulative Product Update Rollup 12/31/2007
8. Monthy updates from January 2008 to present

Please help, as this is blocking our entire build on this machine. This
setup works fine outside of Vista 64 bit (on an XP 32 bit machine); but we
are trying to move all the developers up to this new dev machine setup, and
cannot with this problem.

Thanks

RE: PBXmlUtils error message on Vista 64 bit by JeremyK

JeremyK
Mon Jun 23 10:28:00 PDT 2008

"Andrew Hayes" wrote:

> Whenever I try and build from either the command line or the IDE I see the
> following error message:
> Failed to load d:\myprojects\someproject.pbxml:
>
> Tools Install Dir in registry is missing.
>
> I've tracked it down to the following call:
> C:>PBXmlUtils.exe /getbuildenv /workspace d:\myprojects\someproject.pbxml
> /config %_CONFIG%
>
> Failed to load d:\myprojects\someproject.pbxml:
>
> Tools Install Dir in registry is missing.
>
> I'm running on Vista Ultimate 64 bit with:
> 1. Visual Studio 2005
> 2. Visual Studio 2005 SP1
> 3. Visual Studio 2005 SP1 Update for Vista
> 4. Windows Embedded CE 6.0 Platform Builder
> 5. Windows Embedded CE 6.0 SP1
> 6. Windows Embedded CE 6.0 R2
> 7. Windows Embedded CE 6.0 Cumulative Product Update Rollup 12/31/2007
> 8. Monthy updates from January 2008 to present
>
> Please help, as this is blocking our entire build on this machine. This
> setup works fine outside of Vista 64 bit (on an XP 32 bit machine); but we
> are trying to move all the developers up to this new dev machine setup, and
> cannot with this problem.

I was using Vista x32 Prof, with the above software up until my HD died, and
I had to reinstall. I now have the exact same setup as above (Vista Ultimate
x64, VS2k5 with patches, and Platform Builder CE60 with patches). My builds
which used to work no longer build completely. Does anyone know how to fix
this? Is it something wrong with x64 versions of Vista? or maybe just the
Ultimate version?

RE: PBXmlUtils error message on Vista 64 bit by JeremyK

JeremyK
Mon Jun 23 10:42:01 PDT 2008

I have this same problem (same software and patched, same OS). Anyone know
how to fix it?

"Andrew Hayes" wrote:

> Whenever I try and build from either the command line or the IDE I see the
> following error message:
> Failed to load d:\myprojects\someproject.pbxml:
>
> Tools Install Dir in registry is missing.
>
> I've tracked it down to the following call:
> C:>PBXmlUtils.exe /getbuildenv /workspace d:\myprojects\someproject.pbxml
> /config %_CONFIG%
>
> Failed to load d:\myprojects\someproject.pbxml:
>
> Tools Install Dir in registry is missing.
>
> I'm running on Vista Ultimate 64 bit with:
> 1. Visual Studio 2005
> 2. Visual Studio 2005 SP1
> 3. Visual Studio 2005 SP1 Update for Vista
> 4. Windows Embedded CE 6.0 Platform Builder
> 5. Windows Embedded CE 6.0 SP1
> 6. Windows Embedded CE 6.0 R2
> 7. Windows Embedded CE 6.0 Cumulative Product Update Rollup 12/31/2007
> 8. Monthy updates from January 2008 to present
>
> Please help, as this is blocking our entire build on this machine. This
> setup works fine outside of Vista 64 bit (on an XP 32 bit machine); but we
> are trying to move all the developers up to this new dev machine setup, and
> cannot with this problem.
>
> Thanks

Re: PBXmlUtils error message on Vista 64 bit by Arnie

Arnie
Tue Aug 05 14:25:12 PDT 2008

There is a reg key in current user\software\microsoft\platformbuild\

I think it's called OS install dir or something similar.

Your build/context can't seem to read that key. To the build it's as if PB
is not installed.

You might check the key manually ... not sure what else 64bit vista might be
doing to make this difficult??

-jeff

"JeremyK" <JeremyK@discussions.microsoft.com> wrote in message
news:ECE5FF41-3936-45E8-BCCD-E875BCB591FC@microsoft.com...
>I have this same problem (same software and patched, same OS). Anyone know
> how to fix it?
>
> "Andrew Hayes" wrote:
>
>> Whenever I try and build from either the command line or the IDE I see
>> the
>> following error message:
>> Failed to load d:\myprojects\someproject.pbxml:
>>
>> Tools Install Dir in registry is missing.
>>
>> I've tracked it down to the following call:
>> C:>PBXmlUtils.exe /getbuildenv /workspace d:\myprojects\someproject.pbxml
>> /config %_CONFIG%
>>
>> Failed to load d:\myprojects\someproject.pbxml:
>>
>> Tools Install Dir in registry is missing.
>>
>> I'm running on Vista Ultimate 64 bit with:
>> 1. Visual Studio 2005
>> 2. Visual Studio 2005 SP1
>> 3. Visual Studio 2005 SP1 Update for Vista
>> 4. Windows Embedded CE 6.0 Platform Builder
>> 5. Windows Embedded CE 6.0 SP1
>> 6. Windows Embedded CE 6.0 R2
>> 7. Windows Embedded CE 6.0 Cumulative Product Update Rollup 12/31/2007
>> 8. Monthy updates from January 2008 to present
>>
>> Please help, as this is blocking our entire build on this machine. This
>> setup works fine outside of Vista 64 bit (on an XP 32 bit machine); but
>> we
>> are trying to move all the developers up to this new dev machine setup,
>> and
>> cannot with this problem.
>>
>> Thanks


Re: PBXmlUtils error message on Vista 64 bit by Doug

Doug
Thu Aug 14 18:05:01 PDT 2008

This is correct. PBXmlUtils is a pure .NET application, which means that on a
64-bit OS, it runs as a 64-bit process and uses the 64-bit registry.

Most of the rest of PB runs as a 32-bit process and uses the 32-bit
registry. The necessary registry keys are only present in the 32-bit registry.

PB was only tested on 32-bit operating systems. It is strongly recommended
that you use a 32-bit operating system for any CE 6.0 development.

You can probably resolve this current issue by copying the registry keys
from the 32-bit "HKLM\Software\Microsoft\Platform Builder\6.00\Directories"
hive to the equivalent 64-bit hive. However, you might subsequently run into
other issues.

Hope this helps!

- Doug[MS]

"Arnie" wrote:

> There is a reg key in current user\software\microsoft\platformbuild\
>
> I think it's called OS install dir or something similar.
>
> Your build/context can't seem to read that key. To the build it's as if PB
> is not installed.
>
> You might check the key manually ... not sure what else 64bit vista might be
> doing to make this difficult??
>
> -jeff
>
> "JeremyK" <JeremyK@discussions.microsoft.com> wrote in message
> news:ECE5FF41-3936-45E8-BCCD-E875BCB591FC@microsoft.com...
> >I have this same problem (same software and patched, same OS). Anyone know
> > how to fix it?
> >
> > "Andrew Hayes" wrote:
> >
> >> Whenever I try and build from either the command line or the IDE I see
> >> the
> >> following error message:
> >> Failed to load d:\myprojects\someproject.pbxml:
> >>
> >> Tools Install Dir in registry is missing.
> >>
> >> I've tracked it down to the following call:
> >> C:>PBXmlUtils.exe /getbuildenv /workspace d:\myprojects\someproject.pbxml
> >> /config %_CONFIG%
> >>
> >> Failed to load d:\myprojects\someproject.pbxml:
> >>
> >> Tools Install Dir in registry is missing.
> >>
> >> I'm running on Vista Ultimate 64 bit with:
> >> 1. Visual Studio 2005
> >> 2. Visual Studio 2005 SP1
> >> 3. Visual Studio 2005 SP1 Update for Vista
> >> 4. Windows Embedded CE 6.0 Platform Builder
> >> 5. Windows Embedded CE 6.0 SP1
> >> 6. Windows Embedded CE 6.0 R2
> >> 7. Windows Embedded CE 6.0 Cumulative Product Update Rollup 12/31/2007
> >> 8. Monthy updates from January 2008 to present
> >>
> >> Please help, as this is blocking our entire build on this machine. This
> >> setup works fine outside of Vista 64 bit (on an XP 32 bit machine); but
> >> we
> >> are trying to move all the developers up to this new dev machine setup,
> >> and
> >> cannot with this problem.
> >>
> >> Thanks
>

Re: PBXmlUtils error message on Vista 64 bit by MarkDW

MarkDW
Wed Sep 03 02:20:00 PDT 2008

Hi Doug,

I'm having the same issue here, trying to create an SDK for my OS Design
from PB 6.0 on Vista 64.

I copied the registry entries from 32-bit to 64-bit registry, but still no
luck. Getting an error message "Required files may be missing" from
GenSdk.exe.

Any further suggestions? We're about to roll out 64-bit across most of our
development machines, so this would be a bit of a showstopper...

Mark

"Doug" wrote:

> This is correct. PBXmlUtils is a pure .NET application, which means that on a
> 64-bit OS, it runs as a 64-bit process and uses the 64-bit registry.
>
> Most of the rest of PB runs as a 32-bit process and uses the 32-bit
> registry. The necessary registry keys are only present in the 32-bit registry.
>
> PB was only tested on 32-bit operating systems. It is strongly recommended
> that you use a 32-bit operating system for any CE 6.0 development.
>
> You can probably resolve this current issue by copying the registry keys
> from the 32-bit "HKLM\Software\Microsoft\Platform Builder\6.00\Directories"
> hive to the equivalent 64-bit hive. However, you might subsequently run into
> other issues.
>
> Hope this helps!
>
> - Doug[MS]
>
> "Arnie" wrote:
>
> > There is a reg key in current user\software\microsoft\platformbuild\
> >
> > I think it's called OS install dir or something similar.
> >
> > Your build/context can't seem to read that key. To the build it's as if PB
> > is not installed.
> >
> > You might check the key manually ... not sure what else 64bit vista might be
> > doing to make this difficult??
> >
> > -jeff
> >
> > "JeremyK" <JeremyK@discussions.microsoft.com> wrote in message
> > news:ECE5FF41-3936-45E8-BCCD-E875BCB591FC@microsoft.com...
> > >I have this same problem (same software and patched, same OS). Anyone know
> > > how to fix it?
> > >
> > > "Andrew Hayes" wrote:
> > >
> > >> Whenever I try and build from either the command line or the IDE I see
> > >> the
> > >> following error message:
> > >> Failed to load d:\myprojects\someproject.pbxml:
> > >>
> > >> Tools Install Dir in registry is missing.
> > >>
> > >> I've tracked it down to the following call:
> > >> C:>PBXmlUtils.exe /getbuildenv /workspace d:\myprojects\someproject.pbxml
> > >> /config %_CONFIG%
> > >>
> > >> Failed to load d:\myprojects\someproject.pbxml:
> > >>
> > >> Tools Install Dir in registry is missing.
> > >>
> > >> I'm running on Vista Ultimate 64 bit with:
> > >> 1. Visual Studio 2005
> > >> 2. Visual Studio 2005 SP1
> > >> 3. Visual Studio 2005 SP1 Update for Vista
> > >> 4. Windows Embedded CE 6.0 Platform Builder
> > >> 5. Windows Embedded CE 6.0 SP1
> > >> 6. Windows Embedded CE 6.0 R2
> > >> 7. Windows Embedded CE 6.0 Cumulative Product Update Rollup 12/31/2007
> > >> 8. Monthy updates from January 2008 to present
> > >>
> > >> Please help, as this is blocking our entire build on this machine. This
> > >> setup works fine outside of Vista 64 bit (on an XP 32 bit machine); but
> > >> we
> > >> are trying to move all the developers up to this new dev machine setup,
> > >> and
> > >> cannot with this problem.
> > >>
> > >> Thanks
> >