I create an application for Pocket PC , need SQL CE 2.0 support. Could I
make cab file ,When user down the CAB to PDA , intall SQL CE & my
application automatically .

Re: How can I create a intallation CAB include multiple CAB by Robert

Robert
Wed Mar 09 09:38:54 CST 2005

Yes, you can do this by creating a custom setup.dll but be careful - the
installer is being rearchitechted in the next version of Windows Mobile and
you'll no longer be able to have more than once instance of wceload running
at a time (Smartphone already has this restriction). This means that having
a setup.dll that just launches other CABs recursively won't work in the
future. Here's the workaround (straight from the mouth of our wceload
developer):

"In short, what you need to do is to have a small exe in the cab that the
setup.dll will invoke createprocess on, at the Install_Exit entry point.
This app would then get a handle to the running wceload process and wait for
it to get done and once it is done, it will start installing the contained
cabs as instructed."


--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

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

Vernaltown Guo wrote:
> I create an application for Pocket PC , need SQL CE 2.0 support.
> Could I make cab file ,When user down the CAB to PDA , intall SQL CE
> & my application automatically .



Re: How can I create a intallation CAB include multiple CAB by a-nlewis

a-nlewis
Wed Mar 09 11:55:23 CST 2005

------=_NextPart_0001_3E10DA34
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Or you could do it the recommended way: Provide a desktop-to-device
installer which copies the CAB files to the desktop PC, then launches the
Windows CE Application Manager to complete the installation. Here are a
couple of links to get you started:

Developing and Deploying Pocket PC Setup Applications

http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp

Packaging and Deploying Pocket PC Applications
http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp


---

Nathan Lewis
Microsoft Mobile and Embedded Devices Developer Support

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



--------------------
From: "Robert Levy [MS]" <rlevy@online.microsoft.com>
Subject: Re: How can I create a intallation CAB include multiple CAB
Date: Wed, 9 Mar 2005 07:38:54 -0800

Yes, you can do this by creating a custom setup.dll but be careful - the
installer is being rearchitechted in the next version of Windows Mobile and
you'll no longer be able to have more than once instance of wceload running
at a time (Smartphone already has this restriction). This means that
having
a setup.dll that just launches other CABs recursively won't work in the
future. Here's the workaround (straight from the mouth of our wceload
developer):

"In short, what you need to do is to have a small exe in the cab that the
setup.dll will invoke createprocess on, at the Install_Exit entry point.
This app would then get a handle to the running wceload process and wait
for
it to get done and once it is done, it will start installing the contained
cabs as instructed."


--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

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

Vernaltown Guo wrote:
> I create an application for Pocket PC , need SQL CE 2.0 support.
> Could I make cab file ,When user down the CAB to PDA , intall SQL CE
> & my application automatically .



------=_NextPart_0001_3E10DA34
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Or you could do it the recommended way: Provide a desktop-to-device installer which copies the CAB files to the desktop PC, then launches the Windows CE Application Manager to complete the installation. Here are a couple of links to get you started:
\par
\par Developing and Deploying Pocket PC Setup Applications
\par http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp
\par
\par Packaging and Deploying Pocket PC Applications
\par http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp
\par
\par
\par ---
\par
\par Nathan Lewis
\par Microsoft Mobile and Embedded Devices Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par
\par \pard\li720 --------------------
\par From: "Robert Levy [MS]" <rlevy@online.microsoft.com>
\par Subject: Re: How can I create a intallation CAB include multiple CAB
\par Date: Wed, 9 Mar 2005 07:38:54 -0800
\par
\par Yes, you can do this by creating a custom setup.dll but be careful - the
\par installer is being rearchitechted in the next version of Windows Mobile and
\par you'll no longer be able to have more than once instance of wceload running
\par at a time (Smartphone already has this restriction). This means that having
\par a setup.dll that just launches other CABs recursively won't work in the
\par future. Here's the workaround (straight from the mouth of our wceload
\par developer):
\par
\par "In short, what you need to do is to have a small exe in the cab that the
\par setup.dll will invoke createprocess on, at the Install_Exit entry point.
\par This app would then get a handle to the running wceload process and wait for
\par it to get done and once it is done, it will start installing the contained
\par cabs as instructed."
\par
\par
\par --
\par Robert Levy
\par Program Manager
\par Mobile Devices Product Group
\par http://blogs.msdn.com/windowsmobile
\par
\par This posting is provided "AS IS" with no warranties, and confers no
\par rights.
\par
\par Vernaltown Guo wrote:
\par > I create an application for Pocket PC , need SQL CE 2.0 support.
\par > Could I make cab file ,When user down the CAB to PDA , intall SQL CE
\par > & my application automatically .
\par
\par
\par \pard
\par
\par }
------=_NextPart_0001_3E10DA34--