SQL Mobile auto install on Pocket PC 2003 - WM 5.0

H

Harsh Trivedi

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.
 
G

Guest

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 said:
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.
 

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