Installing your app into the Pocket PC

  • Thread starter Thread starter bert
  • Start date Start date
B

bert

Right now I am installing my VB.NET program into the
Pocket Pc by running it thru the Visual Studio
Development environment. But how can I install it without
going into Visual Studio? Is there an easier and
practical way to do it?
 
You can create a cab file from within visual studio that you can install on
your device (look under the build menu).
 
I tried it and it creates a lot of .CAB files in my
working directory. Do I need to copy all of them via
Active Sync? Can you tell me a brief description of the
process? I really appreciate any help.

Thanks
Bert
 
There is one CAB file per CPU. That is, you will copy one of the CAB files
to you device, and it should be the appropriate one for that device CPU.
For the emulator, you should use the X86 one, for an iPaq, you should use
the ARM one. Furthermore, if you want to install the CAB files
automatically over ActiveSync, you can refer to the following tutorial :

http://msdn.microsoft.com/mobility/building/deploying/default.aspx?pull=/lib
rary/en-us/dnnetcomp/html/netcfdeployment.asp

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

--------------------
| Content-Class: urn:content-classes:message
| From: "Bert" <[email protected]>
| Sender: "Bert" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: Installing your app into the Pocket PC
| Date: Wed, 19 Nov 2003 15:35:54 -0800
| Lines: 34
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcOu9d/6BgKzjAJHTKitGgE5IrLjMw==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:38913
| NNTP-Posting-Host: tk2msftngxa11.phx.gbl 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I tried it and it creates a lot of .CAB files in my
| working directory. Do I need to copy all of them via
| Active Sync? Can you tell me a brief description of the
| process? I really appreciate any help.
|
| Thanks
| Bert
|
|
|
| >-----Original Message-----
| >You can create a cab file from within visual studio that
| you can install on
| >your device (look under the build menu).
| >
| >--
| >Regards,
| >
| >Maarten Struys, eMVP
| >PTS Software bv
| >
| >| >> Right now I am installing my VB.NET program into the
| >> Pocket Pc by running it thru the Visual Studio
| >> Development environment. But how can I install it
| without
| >> going into Visual Studio? Is there an easier and
| >> practical way to do it?
| >>
| >
| >
| >.
| >
|
 
Usually, if you develop your Applications with .NET Framework, you do not
need to install your programs, as it is an important goal of .NET Platform
not to use the registry.

It is enough to copy and paste files used by your application to the device.
Just pick all files of BIN-directory of your project after building it and
copy them to an appropriate folder on a device and run your exe file.
 
Unfortunatelt .NET and .NETCF are not the same thing.
No, you have to copy your cab or use an application
called EZSetup which lets you use batch and .inf files to
control the installation. You will need to find out what
processor your device uses then copy the ARM, ARM4 etc...
for netcf, sqlce, sql, sqldev(optional) and your app.
 
Back
Top