PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework SQL Mobile auto install on Pocket PC 2003 - WM 5.0

Reply

SQL Mobile auto install on Pocket PC 2003 - WM 5.0

 
Thread Tools Rate Thread
Old 06-09-2006, 02:55 PM   #1
Harsh Trivedi
Guest
 
Posts: n/a
Default SQL Mobile auto install on Pocket PC 2003 - WM 5.0


Hi,

I am using SQL Mobile 2005 for storing data on device. My application is
targetting to Pocket PC 2003 SE and WM 5.0. I got the .cab files for
different processors for WM 5.0 from C:\Program Files\Microsoft Visual
Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce500.
Here I have found cab file that I can install on WM 5.0 but not for Pocket
PC 2003... or WCE 4.*

I have looked intoC:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\SQL Server\Mobile\v2.0\wce400...but here I can see only
files for ARM not for intel [x86]. I have also try to run cab file having OS
Windows CE4.2....and Intel processor....but we know that ARM file don't work
on Intel.


Is there any way that , at the time of creating installer, [and installing
the application] it detects the OS , and processor and install the correct
version of SQL Mobile. [ie for OS : Windows CE 4.* and Windows Mobile 5.0]


Thanks in advance.



  Reply With Quote
Old 12-09-2006, 02:10 PM   #2
=?Utf-8?B?SmFtZXNGaWVsZGluZw==?=
Guest
 
Posts: n/a
Default RE: SQL Mobile auto install on Pocket PC 2003 - WM 5.0


Hi Harsh,

> Is there any way that , at the time of creating installer, [and installing
> the application] it detects the OS , and processor and install the correct
> version of SQL Mobile. [ie for OS : Windows CE 4.* and Windows Mobile 5.0]


The simplest way (without reinventing the wheel) is to just drag'n'drop
your various ARMv4 and ARMv5 .cab files into the "PocketPC Installer":
http://www.pocketpcinstaller.com

You drag'n'drop your cab files into this app, and for each one, there
are PPC2002, WM2003 and WM2005 checkboxes which you can tick
to specifyt which types of device you want to install the .cab files onto.

In return, it'll generate a single compressed PDA installer ".exe"
file for you.

This .exe contains compressed copies of all of your .cab files,
with (optionally) your own bitmap background image and all of
the code to install the .cabs intelligently.

It'll even resume installing if one of your .cab files - such as
the .Net CF 2.0 library cab file - soft-resets at the end of installing
itself.

It also creates a log file on the device, showing whether each
..cab file was installed, and if not, why not (for example, that .cab
was already installed on the device, or wasn't suitable).

This is, by far, the easiest way to create an WM2003/WM2005
installer, but please note - it doesn't support non-ARM devices.
However, devices with xScale processors are fine, as these do
run ARM .cab files.


Hope this helps,


James
http://www.pocketpcinstaller.com





"Harsh Trivedi" wrote:

> Hi,
>
> I am using SQL Mobile 2005 for storing data on device. My application is
> targetting to Pocket PC 2003 SE and WM 5.0. I got the .cab files for
> different processors for WM 5.0 from C:\Program Files\Microsoft Visual
> Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce500.
> Here I have found cab file that I can install on WM 5.0 but not for Pocket
> PC 2003... or WCE 4.*
>
> I have looked intoC:\Program Files\Microsoft Visual Studio
> 8\SmartDevices\SDK\SQL Server\Mobile\v2.0\wce400...but here I can see only
> files for ARM not for intel [x86]. I have also try to run cab file having OS
> Windows CE4.2....and Intel processor....but we know that ARM file don't work
> on Intel.
>
>
> Is there any way that , at the time of creating installer, [and installing
> the application] it detects the OS , and processor and install the correct
> version of SQL Mobile. [ie for OS : Windows CE 4.* and Windows Mobile 5.0]
>
>
> Thanks in advance.
>
>
>
>

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off