How do people get the compact .Net framework?

K

Ken Dopierala Jr.

Hi,

I've written a small .Net cf app. I can run it just fine on all the
simulators but I can't figure out how to tell people how to use it. Is
there a link I can just have them go to so they can download the correct
..Cab file which will install it for them? I've heard I should use ARMV4 but
that doesn't seem to work. I've noticed that the Windows CE .Net Emulator
uses Netcf.all.wce4.x86.cab. However the Pocket PC 2003 Emulator uses
System_SR_Enu which I believe it is actually getting from the Smartphone
directory which has me stumped. The .Net Compact Framework is about 14MB
but I don't know if that will even work because when I bring up an emulator
and try to run it then it errors out.

Basically I have an app that runs on all the emulators I've tried. It is a
simple little test application. How do I take a brand new Pocket PC out of
the box that has a working internet connection and install the correct .Net
framework on it? Any type of link that I can give to people? Maybe
something that can detect which .Cab they need and then sends it to them?
Thanks! Ken.
 
K

Ken Dopierala Jr.

Hi,

I'm getting a little farther along. I was able to install the .Net CF on
both my non Pocket PC Windows CE device and on my Pocket PC. I did this
through trial and error until I got a .Cab file to work. How are end users
going to figure this out? As for getting my program to work I had to do the
same thing. My .ARM.Cab version worked on the non Pocket PC device but it
was the .WCE420X86.Cab that worked on my Pocket PC. How will I know what
user should get what version of my .Cab file?

I'm happy I got this working because my program is a little game that both
devices are now able to play against each in real time over the internet.
Now I have something to do next week during boring meetings. How do I make
this easy though for everyone else to both install the Framework and get the
correct version of my program on the FIRST try? I don't want to play all by
myself.

I know this is probably something basic but I just started writing for these
devices a week ago after 3 years of designing Windows Forms and Web Apps in
..Net. Any links, books, white papers on how to get this stuff installed
would be great. Thanks a lot! Ken.
 
K

Ken Dopierala Jr.

Hi Chris,

Thanks. Could you post a link to the file I need to redistribute? I've
tried distributing the NETCFSetup.msi file for the CF 1.0 SP2 but no one can
seem to install it. When they try to run it on a Dell Axiom it can't
execute from the location. If they save it to disk it doesn't even show up
as an executable. What file do I redistribute? What file do you
redistribute when you do it? Thanks! Ken.
 
G

Guest

You need to distribute the CF CAB for your target. If you're targetin
Pocket PC that makes life easier - just use the PPC.Armv4 version

-Chris
 
I

Ilya Tumanov [MS]

NETCFSetup.msi should be executed on a desktop with device connected via
Active Sync.
It would install correct CF CAB to the device automatically.
While it's not an executable file, Windows would invoke msiexec.exe if you
click on MSI.
If your settings won't do it, you can install it as follows: msiexec.exe
NETCFSetup.msi
You need MSI installer on your PC to do that (comes with all current
Windows versions, can be downloaded for older versions).

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
K

Ken Dopierala Jr.

Hi Ilya,

Thank you, that is very helpful and it works good. Does Microsoft provide
an API for the programmer to use the same detection mechanism that
NETCFSetup.msi uses so that I can also install the correct version of the
CAB of my app to the different devices? Thanks! Ken.

"Ilya Tumanov [MS]" said:
NETCFSetup.msi should be executed on a desktop with device connected via
Active Sync.
It would install correct CF CAB to the device automatically.
While it's not an executable file, Windows would invoke msiexec.exe if you
click on MSI.
If your settings won't do it, you can install it as follows: msiexec.exe
NETCFSetup.msi
You need MSI installer on your PC to do that (comes with all current
Windows versions, can be downloaded for older versions).

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
Subject: Re: How do people get the compact .Net framework?
Date: Sun, 20 Feb 2005 15:42:03 -0600
Lines: 95
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1478
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: cpe-69-76-33-242.wi.rr.com 69.76.33.242
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP0
9.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.compactframework:71545
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi Chris,

Thanks. Could you post a link to the file I need to redistribute? I've
tried distributing the NETCFSetup.msi file for the CF 1.0 SP2 but no one can
seem to install it. When they try to run it on a Dell Axiom it can't
execute from the location. If they save it to disk it doesn't even show up
as an executable. What file do I redistribute? What file do you
redistribute when you do it? Thanks! Ken.

CF
on
to
do but that
both play
all about
14MB It PC
out
 
I

Ilya Tumanov [MS]

Yes. Please see this for details:

http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdepl.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/netcfdeployment.asp

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Ken Dopierala Jr." <[email protected]>
References: <#[email protected]>
<#[email protected]>
<#[email protected]>
Subject: Re: How do people get the compact .Net framework?
Date: Tue, 22 Feb 2005 07:49:51 -0600
Lines: 172
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: cpe-69-76-33-242.wi.rr.com 69.76.33.242
Path: TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP15.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.compactframework:71627
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi Ilya,

Thank you, that is very helpful and it works good. Does Microsoft provide
an API for the programmer to use the same detection mechanism that
NETCFSetup.msi uses so that I can also install the correct version of the
CAB of my app to the different devices? Thanks! Ken.

"Ilya Tumanov [MS]" said:
NETCFSetup.msi should be executed on a desktop with device connected via
Active Sync.
It would install correct CF CAB to the device automatically.
While it's not an executable file, Windows would invoke msiexec.exe if you
click on MSI.
If your settings won't do it, you can install it as follows: msiexec.exe
NETCFSetup.msi
You need MSI installer on your PC to do that (comes with all current
Windows versions, can be downloaded for older versions).

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
Subject: Re: How do people get the compact .Net framework?
Date: Sun, 20 Feb 2005 15:42:03 -0600
Lines: 95
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1478
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: cpe-69-76-33-242.wi.rr.com 69.76.33.242
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP0
one
can show
up
..Net
CF did
this to device
but
do
I and
get Web
Apps it.
Is tried.
It
 
K

Ken Dopierala Jr.

Thanks Sergey!

Sergey Bogdanov said:
RAPI provides such functionality, see CeGetSystemInfo or
GetDeviceSystemInfo [1]. When you detect processor architecture (MIPS,
Alpha, ARM, etc.) you may use CopyFileToDevice method to copy
architecture dependent CAB of your application.

[1]
http://www.opennetcf.org/SourceBrow...ource/OpenNETCF.Desktop.Communication/RAPI.cs


Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com

Hi Ilya,

Thank you, that is very helpful and it works good. Does Microsoft provide
an API for the programmer to use the same detection mechanism that
NETCFSetup.msi uses so that I can also install the correct version of the
CAB of my app to the different devices? Thanks! Ken.


TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP0
 
K

Ken Dopierala Jr.

Thanks Ilya!

"Ilya Tumanov [MS]" said:
Yes. Please see this for details:

http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdepl.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/netcfdeployment.asp

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.<#[email protected]>
<#[email protected]>
Subject: Re: How do people get the compact .Net framework?
Date: Tue, 22 Feb 2005 07:49:51 -0600
Lines: 172
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: cpe-69-76-33-242.wi.rr.com 69.76.33.242
Path:
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP15.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.compactframework:71627
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi Ilya,

Thank you, that is very helpful and it works good. Does Microsoft provide
an API for the programmer to use the same detection mechanism that
NETCFSetup.msi uses so that I can also install the correct version of the
CAB of my app to the different devices? Thanks! Ken.

"Ilya Tumanov [MS]" said:
NETCFSetup.msi should be executed on a desktop with device connected via
Active Sync.
It would install correct CF CAB to the device automatically.
While it's not an executable file, Windows would invoke msiexec.exe if you
click on MSI.
If your settings won't do it, you can install it as follows: msiexec.exe
NETCFSetup.msi
You need MSI installer on your PC to do that (comes with all current
Windows versions, can be downloaded for older versions).

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Ken Dopierala Jr." <[email protected]>
References: <#[email protected]>
<#[email protected]>
<#[email protected]>
Subject: Re: How do people get the compact .Net framework?
Date: Sun, 20 Feb 2005 15:42:03 -0600
Lines: 95
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1478
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: cpe-69-76-33-242.wi.rr.com 69.76.33.242
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP0
Net are
end had
to
How
do writing
for all
the Pocket
PC
it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top