PC Review


Reply
Thread Tools Rate Thread

Deploy to PPC 2003

 
 
Francisco Caselli
Guest
Posts: n/a
 
      24th Sep 2003
I'm using the article «Developing and Deploying Pocket PC Setup
Applications» to create a setup to install a PPC 2003 Application from the
desktop.
t creates the CAB files, and then pack them into an MSI that launches the
WinCE Application Manager to select the correct CAB file and deploy it to
the device.

The cabwizard produces 5 cabs:

MyApplication_PPC.WCE420X86.CAB
MyApplication_PPC.X86.CAB
MyApplication_PPC.MIPS.CAB
MyApplication_PPC.SH3.CAB
MyApplication_PPC.ARM.CAB
MyApplication_PPC.ARMV4.CAB


I tried the setup with several PPC 2002 and it all worked ok.

Now i'm trying it in a iPAQ 5500 with PPC2003 and the WinCE Application
Manager is trying to use the CAB MyApplication_PPC.WCE420X86.CAB wich fails
on the device.
I know that if I mannually copy the MyApplication_PPC.ARMV4.CAB to the iPAQ
and run it it installs ok.

Why is the WinCE Application Manager trying to install the wrong cab file ?
I think that the MyApplication_PPC.WCE420X86.CAB is to the pocket pc 2003
emulator. am I correct ?
Is the WinCE Application Manager trying to use it because it is the only one
to WinCE 4 ?
How can I solve this ?

Thank for any help


 
Reply With Quote
 
 
 
 
PeterB
Guest
Posts: n/a
 
      24th Sep 2003
Your guess is as good as mine. You use WCE4 for PPC2003 devices and hence
the manager takes the best choice. You should add WCE4.ARMV4 to your
installation program.

This brings another question up. PPC2003 is backwards comaptible, and that
is the reason for the wce3.armv4 cabs to work as well right? I mistakingly
installed those cabs on some PPC2003 devices and they ran just as good...

/ Peter

"Francisco Caselli" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I'm using the article «Developing and Deploying Pocket PC Setup
> Applications» to create a setup to install a PPC 2003 Application from the
> desktop.
> t creates the CAB files, and then pack them into an MSI that launches the
> WinCE Application Manager to select the correct CAB file and deploy it to
> the device.
>
> The cabwizard produces 5 cabs:
>
> MyApplication_PPC.WCE420X86.CAB
> MyApplication_PPC.X86.CAB
> MyApplication_PPC.MIPS.CAB
> MyApplication_PPC.SH3.CAB
> MyApplication_PPC.ARM.CAB
> MyApplication_PPC.ARMV4.CAB
>
>
> I tried the setup with several PPC 2002 and it all worked ok.
>
> Now i'm trying it in a iPAQ 5500 with PPC2003 and the WinCE Application
> Manager is trying to use the CAB MyApplication_PPC.WCE420X86.CAB wich

fails
> on the device.
> I know that if I mannually copy the MyApplication_PPC.ARMV4.CAB to the

iPAQ
> and run it it installs ok.
>
> Why is the WinCE Application Manager trying to install the wrong cab file

?
> I think that the MyApplication_PPC.WCE420X86.CAB is to the pocket pc 2003
> emulator. am I correct ?
> Is the WinCE Application Manager trying to use it because it is the only

one
> to WinCE 4 ?
> How can I solve this ?
>
> Thank for any help
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      24th Sep 2003
It most definitely is *not* an x86. It's an ARM device. That said, since
it's a .NET app, the cabs should all, in theory, have an identical binary in
them. I'm actually not sure what the difference between each would be
unless there are processor-specific registry entries that must be made.

-Chris


"Francisco Caselli" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I'm using the article «Developing and Deploying Pocket PC Setup
> Applications» to create a setup to install a PPC 2003 Application from the
> desktop.
> t creates the CAB files, and then pack them into an MSI that launches the
> WinCE Application Manager to select the correct CAB file and deploy it to
> the device.
>
> The cabwizard produces 5 cabs:
>
> MyApplication_PPC.WCE420X86.CAB
> MyApplication_PPC.X86.CAB
> MyApplication_PPC.MIPS.CAB
> MyApplication_PPC.SH3.CAB
> MyApplication_PPC.ARM.CAB
> MyApplication_PPC.ARMV4.CAB
>
>
> I tried the setup with several PPC 2002 and it all worked ok.
>
> Now i'm trying it in a iPAQ 5500 with PPC2003 and the WinCE Application
> Manager is trying to use the CAB MyApplication_PPC.WCE420X86.CAB wich

fails
> on the device.
> I know that if I mannually copy the MyApplication_PPC.ARMV4.CAB to the

iPAQ
> and run it it installs ok.
>
> Why is the WinCE Application Manager trying to install the wrong cab file

?
> I think that the MyApplication_PPC.WCE420X86.CAB is to the pocket pc 2003
> emulator. am I correct ?
> Is the WinCE Application Manager trying to use it because it is the only

one
> to WinCE 4 ?
> How can I solve this ?
>
> Thank for any help
>
>



 
Reply With Quote
 
Francisco Caselli
Guest
Posts: n/a
 
      24th Sep 2003
Yes I already suspected of something like that.

But how do I add the correct cab file to my instalation program ?
I tried to change the inf file and the buildcab.bat so that the cabwiz
creates me a MyApplication_PPC.WCE4.ARMV4.CAB but I wasn't successful.

How can I create it ?



"PeterB" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Your guess is as good as mine. You use WCE4 for PPC2003 devices and hence
> the manager takes the best choice. You should add WCE4.ARMV4 to your
> installation program.
>
> This brings another question up. PPC2003 is backwards comaptible, and that
> is the reason for the wce3.armv4 cabs to work as well right? I mistakingly
> installed those cabs on some PPC2003 devices and they ran just as good...
>
> / Peter
>
> "Francisco Caselli" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > I'm using the article «Developing and Deploying Pocket PC Setup
> > Applications» to create a setup to install a PPC 2003 Application from

the
> > desktop.
> > t creates the CAB files, and then pack them into an MSI that launches

the
> > WinCE Application Manager to select the correct CAB file and deploy it

to
> > the device.
> >
> > The cabwizard produces 5 cabs:
> >
> > MyApplication_PPC.WCE420X86.CAB
> > MyApplication_PPC.X86.CAB
> > MyApplication_PPC.MIPS.CAB
> > MyApplication_PPC.SH3.CAB
> > MyApplication_PPC.ARM.CAB
> > MyApplication_PPC.ARMV4.CAB
> >
> >
> > I tried the setup with several PPC 2002 and it all worked ok.
> >
> > Now i'm trying it in a iPAQ 5500 with PPC2003 and the WinCE Application
> > Manager is trying to use the CAB MyApplication_PPC.WCE420X86.CAB wich

> fails
> > on the device.
> > I know that if I mannually copy the MyApplication_PPC.ARMV4.CAB to the

> iPAQ
> > and run it it installs ok.
> >
> > Why is the WinCE Application Manager trying to install the wrong cab

file
> ?
> > I think that the MyApplication_PPC.WCE420X86.CAB is to the pocket pc

2003
> > emulator. am I correct ?
> > Is the WinCE Application Manager trying to use it because it is the only

> one
> > to WinCE 4 ?
> > How can I solve this ?
> >
> > Thank for any help
> >
> >

>
>



 
Reply With Quote
 
Pawel Achtel
Guest
Posts: n/a
 
      28th Sep 2003
I have the same problem. Looks to me that it is not Windows Mobile 2003 vs.
2002 problem, but ARM and PXA250 CPU problem. None of the CPU CABs seem to
pick up the new Intel XSale processor as ARM. If you don't specify the
processor type in you INI and fore ARM binaries - it works on XScale. But,
of course, you don't support all the other CPUs in your setup.
Microsoft, can you please correct the problem and send us the fix.

Kind Regards,

Pawel Achtel
www.24x7.com.au


"Francisco Caselli" <(E-Mail Removed)> wrote in message
news:uwN3$(E-Mail Removed)...
> Yes I already suspected of something like that.
>
> But how do I add the correct cab file to my instalation program ?
> I tried to change the inf file and the buildcab.bat so that the cabwiz
> creates me a MyApplication_PPC.WCE4.ARMV4.CAB but I wasn't successful.
>
> How can I create it ?
>
>
>
> "PeterB" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Your guess is as good as mine. You use WCE4 for PPC2003 devices and

hence
> > the manager takes the best choice. You should add WCE4.ARMV4 to your
> > installation program.
> >
> > This brings another question up. PPC2003 is backwards comaptible, and

that
> > is the reason for the wce3.armv4 cabs to work as well right? I

mistakingly
> > installed those cabs on some PPC2003 devices and they ran just as

good...
> >
> > / Peter
> >
> > "Francisco Caselli" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > I'm using the article «Developing and Deploying Pocket PC Setup
> > > Applications» to create a setup to install a PPC 2003 Application from

> the
> > > desktop.
> > > t creates the CAB files, and then pack them into an MSI that launches

> the
> > > WinCE Application Manager to select the correct CAB file and deploy it

> to
> > > the device.
> > >
> > > The cabwizard produces 5 cabs:
> > >
> > > MyApplication_PPC.WCE420X86.CAB
> > > MyApplication_PPC.X86.CAB
> > > MyApplication_PPC.MIPS.CAB
> > > MyApplication_PPC.SH3.CAB
> > > MyApplication_PPC.ARM.CAB
> > > MyApplication_PPC.ARMV4.CAB
> > >
> > >
> > > I tried the setup with several PPC 2002 and it all worked ok.
> > >
> > > Now i'm trying it in a iPAQ 5500 with PPC2003 and the WinCE

Application
> > > Manager is trying to use the CAB MyApplication_PPC.WCE420X86.CAB wich

> > fails
> > > on the device.
> > > I know that if I mannually copy the MyApplication_PPC.ARMV4.CAB to the

> > iPAQ
> > > and run it it installs ok.
> > >
> > > Why is the WinCE Application Manager trying to install the wrong cab

> file
> > ?
> > > I think that the MyApplication_PPC.WCE420X86.CAB is to the pocket pc

> 2003
> > > emulator. am I correct ?
> > > Is the WinCE Application Manager trying to use it because it is the

only
> > one
> > > to WinCE 4 ?
> > > How can I solve this ?
> > >
> > > Thank for any help
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Konstantin Kipa
Guest
Posts: n/a
 
      29th Sep 2003
Francisco Caselli

Just out of interest. I noticed in the article that you mentioned, that you
supposed to create a custom installer to run the CE Manager. Does that mean
that .NET Framework must be installed on the desktop PC as well prior the
installation? This is C# code isn't it? Therefore, you have to not only
deploy the .NET Compact Framework, you must be sure that a user has .NET
Framework installed on his desktop PC just to be able to use your installer
for Pocket PC. Am I right?

Thanks in advance

> I'm using the article «Developing and Deploying Pocket PC Setup
> Applications» to create a setup to install a PPC 2003 Application from the
> desktop.
> t creates the CAB files, and then pack them into an MSI that launches the
> WinCE Application Manager to select the correct CAB file and deploy it to
> the device.



 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      30th Sep 2003
Konstantin,

It is also possible to write your own installer that does not require the
desktop .Net framework. I use the Remote API (Rapi) to write apps that install
my CE apps and DLLs as well as downloading data.
--
Ginny Caughey
Windows Embedded MVP

"Konstantin Kipa" <(E-Mail Removed)> wrote in message
news:uIg%(E-Mail Removed)...
> Francisco Caselli
>
> Just out of interest. I noticed in the article that you mentioned, that you
> supposed to create a custom installer to run the CE Manager. Does that mean
> that .NET Framework must be installed on the desktop PC as well prior the
> installation? This is C# code isn't it? Therefore, you have to not only
> deploy the .NET Compact Framework, you must be sure that a user has .NET
> Framework installed on his desktop PC just to be able to use your installer
> for Pocket PC. Am I right?
>
> Thanks in advance
>
> > I'm using the article «Developing and Deploying Pocket PC Setup
> > Applications» to create a setup to install a PPC 2003 Application from the
> > desktop.
> > t creates the CAB files, and then pack them into an MSI that launches the
> > WinCE Application Manager to select the correct CAB file and deploy it to
> > the device.

>
>



 
Reply With Quote
 
Pawel Achtel
Guest
Posts: n/a
 
      1st Oct 2003
Ginny,

You are missing the point. Windows Mobile 2003 running on XScale does not
tell the installer it is an ARM processor it is running on. Therefore, if
your setup .inf file has different cabs as you generate with VC 2003 (Create
Cabs function) thie resulting setup will FAIL on all XScale-processor
running WM 2003, but it will be fine on Pocket PC 2002. It is a bug in
either the operating system (not returning the right processor type that can
be matched with ARM) or/and VS 2003 generating inf with CAB signature for
XScale not present or/and CE AppManager that doesn't recognise XScale as
ARM. Consequently NO SETUP PROJECT GENERATED FROM INF FILE BY VC2003 WOULD
WORK on XScale with Windows Mobile 2003.
If you modify the inf file not to contain specific CPU CABs, it installs OK.

Microsoft should fix the problem.

Kind Regards,

Pawel
www.24x7.com.au





"Ginny Caughey [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Konstantin,
>
> It is also possible to write your own installer that does not require the
> desktop .Net framework. I use the Remote API (Rapi) to write apps that

install
> my CE apps and DLLs as well as downloading data.
> --
> Ginny Caughey
> Windows Embedded MVP
>
> "Konstantin Kipa" <(E-Mail Removed)> wrote in message
> news:uIg%(E-Mail Removed)...
> > Francisco Caselli
> >
> > Just out of interest. I noticed in the article that you mentioned, that

you
> > supposed to create a custom installer to run the CE Manager. Does that

mean
> > that .NET Framework must be installed on the desktop PC as well prior

the
> > installation? This is C# code isn't it? Therefore, you have to not only
> > deploy the .NET Compact Framework, you must be sure that a user has .NET
> > Framework installed on his desktop PC just to be able to use your

installer
> > for Pocket PC. Am I right?
> >
> > Thanks in advance
> >
> > > I'm using the article «Developing and Deploying Pocket PC Setup
> > > Applications» to create a setup to install a PPC 2003 Application from

the
> > > desktop.
> > > t creates the CAB files, and then pack them into an MSI that launches

the
> > > WinCE Application Manager to select the correct CAB file and deploy it

to
> > > the device.

> >
> >

>
>



 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      1st Oct 2003
Ok, thanks Pawel.
--
Ginny Caughey
Windows Embedded MVP

"Pawel Achtel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ginny,
>
> You are missing the point. Windows Mobile 2003 running on XScale does not
> tell the installer it is an ARM processor it is running on. Therefore, if
> your setup .inf file has different cabs as you generate with VC 2003 (Create
> Cabs function) thie resulting setup will FAIL on all XScale-processor
> running WM 2003, but it will be fine on Pocket PC 2002. It is a bug in
> either the operating system (not returning the right processor type that can
> be matched with ARM) or/and VS 2003 generating inf with CAB signature for
> XScale not present or/and CE AppManager that doesn't recognise XScale as
> ARM. Consequently NO SETUP PROJECT GENERATED FROM INF FILE BY VC2003 WOULD
> WORK on XScale with Windows Mobile 2003.
> If you modify the inf file not to contain specific CPU CABs, it installs OK.
>
> Microsoft should fix the problem.
>
> Kind Regards,
>
> Pawel
> www.24x7.com.au
>
>
>
>
>
> "Ginny Caughey [MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Konstantin,
> >
> > It is also possible to write your own installer that does not require the
> > desktop .Net framework. I use the Remote API (Rapi) to write apps that

> install
> > my CE apps and DLLs as well as downloading data.
> > --
> > Ginny Caughey
> > Windows Embedded MVP
> >
> > "Konstantin Kipa" <(E-Mail Removed)> wrote in message
> > news:uIg%(E-Mail Removed)...
> > > Francisco Caselli
> > >
> > > Just out of interest. I noticed in the article that you mentioned, that

> you
> > > supposed to create a custom installer to run the CE Manager. Does that

> mean
> > > that .NET Framework must be installed on the desktop PC as well prior

> the
> > > installation? This is C# code isn't it? Therefore, you have to not only
> > > deploy the .NET Compact Framework, you must be sure that a user has .NET
> > > Framework installed on his desktop PC just to be able to use your

> installer
> > > for Pocket PC. Am I right?
> > >
> > > Thanks in advance
> > >
> > > > I'm using the article «Developing and Deploying Pocket PC Setup
> > > > Applications» to create a setup to install a PPC 2003 Application from

> the
> > > > desktop.
> > > > t creates the CAB files, and then pack them into an MSI that launches

> the
> > > > WinCE Application Manager to select the correct CAB file and deploy it

> to
> > > > the device.
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploy Office 2003 SP2 by GPO =?Utf-8?B?QSBMYWtl?= Windows XP Setup 0 6th Jun 2006 12:17 PM
Re: deploy to 2003 server Jairo Nieto Microsoft ASP .NET 0 23rd Aug 2004 11:16 PM
Re: deploy to 2003 server Curt_C [MVP] Microsoft ASP .NET 0 23rd Aug 2004 04:47 PM
Can VS.NET 2003 Deploy over USB or IrDA? Tony Kobine Microsoft Dot NET Compact Framework 1 5th Mar 2004 05:36 PM
What to install to deploy from VS.NET 2003 Paul Turley Microsoft Dot NET Compact Framework 2 9th Jan 2004 04:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:29 PM.