 |
|
|
|
| Author |
Message |
hkhokhar12
Joined: 29 Jan 2008 Posts: 1
|
Posted: Tue Jan 29, 2008 3:39 am Post subject: sqlce and compact framework as part of cab file package |
|
|
Hi All,
Is it possible to include sqlce and compact framework cab files as
part of my application's cab file.
So when the user taps the my application's cab file, it automatically
installs CF and Sqlce on the device along with installing my mobile
application.
Thanks in advance.
Haroon
Archived from group: microsoft>public>dotnet>framework>compactframework |
|
| Back to top |
|
 |
davebythesea
Joined: 22 Aug 2007 Posts: 30
|
Posted: Tue Jan 29, 2008 9:13 am Post subject: RE: sqlce and compact framework as part of cab file package |
|
|
Hi,
You can certainly put the .NET and SqlCe cab files within your main
installer CAB. However, when the main installer CAB unpacks, it will just
unpack the .NET and SqlCe cabs to whatever directory you specified in the
Installer setup. If you wanted to then install those cabs during the main
install phase, or just after, you would have to initiate that
programatically using some other means. Note, as far as I know, the unpacking
of the other CAB files would have to take place after the main CAB has
unpacked, as only one CAB can be unpacked at any one time, I think.
dave
"hkhokhar12@gmail.com" wrote:
> Hi All,
>
> Is it possible to include sqlce and compact framework cab files as
> part of my application's cab file.
> So when the user taps the my application's cab file, it automatically
> installs CF and Sqlce on the device along with installing my mobile
> application.
>
>
> Thanks in advance.
>
> Haroon
> |
|
| Back to top |
|
 |
Paul G. Tobey [eMVP]
Joined: 08 Aug 2007 Posts: 185
|
Posted: Tue Jan 29, 2008 1:02 pm Post subject: Re: sqlce and compact framework as part of cab file package |
|
|
Yes, that's true. The program that does the CAB installation can only have
one copy running at a time.
Paul T.
"davebythesea" wrote in message @microsoft.com...
> Hi,
>
> You can certainly put the .NET and SqlCe cab files within your main
> installer CAB. However, when the main installer CAB unpacks, it will just
> unpack the .NET and SqlCe cabs to whatever directory you specified in the
> Installer setup. If you wanted to then install those cabs during the main
> install phase, or just after, you would have to initiate that
> programatically using some other means. Note, as far as I know, the
> unpacking
> of the other CAB files would have to take place after the main CAB has
> unpacked, as only one CAB can be unpacked at any one time, I think.
>
> dave
>
> "hkhokhar12@gmail.com" wrote:
>
>> Hi All,
>>
>> Is it possible to include sqlce and compact framework cab files as
>> part of my application's cab file.
>> So when the user taps the my application's cab file, it automatically
>> installs CF and Sqlce on the device along with installing my mobile
>> application.
>>
>>
>> Thanks in advance.
>>
>> Haroon
>> |
|
| Back to top |
|
 |
dbgrick
Joined: 08 Aug 2007 Posts: 48
|
Posted: Tue Jan 29, 2008 1:33 pm Post subject: Re: sqlce and compact framework as part of cab file package |
|
|
I've written a cab install before that installed the CF 2 on the device from
the cab file. You have to create a setup.dll that starts a monitor thread.
The monitor threads waits for the wceload to complete execution and then call
wceload against your other cab files. You know the install directory from
the setup dll Install_Exit
or Install_Init methods. If installing sqlce or cf on the device, first
verify the current version is either not present or older. You can search
the web for Multiple cab install using setup dll. You might want to check
out this web page as a starter:
http://msdn2.microsoft.com/en-us/library/bb158796.aspx
You can also purchase a 3rd party tool that creates multiple cab installs.
Regards,
Rick D.
"Paul G. Tobey [eMVP]" wrote:
> Yes, that's true. The program that does the CAB installation can only have
> one copy running at a time.
>
> Paul T.
>
> "davebythesea" wrote in message
> @microsoft.com...
> > Hi,
> >
> > You can certainly put the .NET and SqlCe cab files within your main
> > installer CAB. However, when the main installer CAB unpacks, it will just
> > unpack the .NET and SqlCe cabs to whatever directory you specified in the
> > Installer setup. If you wanted to then install those cabs during the main
> > install phase, or just after, you would have to initiate that
> > programatically using some other means. Note, as far as I know, the
> > unpacking
> > of the other CAB files would have to take place after the main CAB has
> > unpacked, as only one CAB can be unpacked at any one time, I think.
> >
> > dave
> >
> > "hkhokhar12@gmail.com" wrote:
> >
> >> Hi All,
> >>
> >> Is it possible to include sqlce and compact framework cab files as
> >> part of my application's cab file.
> >> So when the user taps the my application's cab file, it automatically
> >> installs CF and Sqlce on the device along with installing my mobile
> >> application.
> >>
> >>
> >> Thanks in advance.
> >>
> >> Haroon
> >>
>
>
> |
|
| Back to top |
|
 |
hkhokhar
Joined: 30 Jan 2008 Posts: 4
|
Posted: Wed Jan 30, 2008 1:09 am Post subject: Re: sqlce and compact framework as part of cab file package |
|
|
On Jan 30, 3:33 am, dbgrick wrote:
> I've written a cab install before that installed the CF 2 on the device from
> the cab file. You have to create a setup.dll that starts a monitor thread.
> The monitor threads waits for the wceload to complete execution and then call
> wceload against your other cab files. You know the install directory from
> the setup dll Install_Exit
> or Install_Init methods. If installing sqlce or cf on the device, first
> verify the current version is either not present or older. You can search
> the web for Multiple cab install using setup dll. You might want to check
> out this web page as a starter:
>
> http://msdn2.microsoft.com/en-us/library/bb158796.aspx
>
> You can also purchase a 3rd party tool that creates multiple cab installs.
>
> Regards,
> Rick D.
>
> "Paul G. Tobey [eMVP]" wrote:
>
> > Yes, that's true. The program that does the CAB installation can only have
> > one copy running at a time.
>
> > Paul T.
>
> > "davebythesea" wrote in message
> >@microsoft.com...
> > > Hi,
>
> > > You can certainly put the .NET and SqlCe cab files within your main
> > > installer CAB. However, when the main installer CAB unpacks, it will just
> > > unpack the .NET and SqlCe cabs to whatever directory you specified in the
> > > Installer setup. If you wanted to then install those cabs during the main
> > > install phase, or just after, you would have to initiate that
> > > programatically using some other means. Note, as far as I know, the
> > > unpacking
> > > of the other CAB files would have to take place after the main CAB has
> > > unpacked, as only one CAB can be unpacked at any one time, I think.
>
> > > dave
>
> > > "hkhokha...@gmail.com" wrote:
>
> > >> Hi All,
>
> > >> Is it possible to include sqlce and compact framework cab files as
> > >> part of my application's cab file.
> > >> So when the user taps the my application's cab file, it automatically
> > >> installs CF and Sqlce on the device along with installing my mobile
> > >> application.
>
> > >> Thanks in advance.
>
> > >> Haroon
Hi All,
Thanks guys for all your help.
During my search I found an easy way to accomplish this task. I
download the NSIS installer which allows u to create Installation
setup for window as well as for pocket pc devices. The only tricky bit
is that you have to write the installer script to create the setup for
the device. However its quite easy to do and you can specify as many
cab files you want to install on the target device and it creates and
desktop based Installation setup.
For anyone concerned, follow below link.
http://nsis.sourceforge.net/NSIS_for_Smartphone
Haroon |
|
| Back to top |
|
 |
Simon Hart [MVP]
Joined: 03 Oct 2007 Posts: 95
|
Posted: Thu Jan 31, 2008 11:43 am Post subject: Re: sqlce and compact framework as part of cab file package |
|
|
Another product that supports this type of install for mobile devices is
InstallShield.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
"hkhokhar" wrote:
> On Jan 30, 3:33 am, dbgrick wrote:
> > I've written a cab install before that installed the CF 2 on the device from
> > the cab file. You have to create a setup.dll that starts a monitor thread.
> > The monitor threads waits for the wceload to complete execution and then call
> > wceload against your other cab files. You know the install directory from
> > the setup dll Install_Exit
> > or Install_Init methods. If installing sqlce or cf on the device, first
> > verify the current version is either not present or older. You can search
> > the web for Multiple cab install using setup dll. You might want to check
> > out this web page as a starter:
> >
> > http://msdn2.microsoft.com/en-us/library/bb158796.aspx
> >
> > You can also purchase a 3rd party tool that creates multiple cab installs.
> >
> > Regards,
> > Rick D.
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> > > Yes, that's true. The program that does the CAB installation can only have
> > > one copy running at a time.
> >
> > > Paul T.
> >
> > > "davebythesea" wrote in message
> > >@microsoft.com...
> > > > Hi,
> >
> > > > You can certainly put the .NET and SqlCe cab files within your main
> > > > installer CAB. However, when the main installer CAB unpacks, it will just
> > > > unpack the .NET and SqlCe cabs to whatever directory you specified in the
> > > > Installer setup. If you wanted to then install those cabs during the main
> > > > install phase, or just after, you would have to initiate that
> > > > programatically using some other means. Note, as far as I know, the
> > > > unpacking
> > > > of the other CAB files would have to take place after the main CAB has
> > > > unpacked, as only one CAB can be unpacked at any one time, I think.
> >
> > > > dave
> >
> > > > "hkhokha...@gmail.com" wrote:
> >
> > > >> Hi All,
> >
> > > >> Is it possible to include sqlce and compact framework cab files as
> > > >> part of my application's cab file.
> > > >> So when the user taps the my application's cab file, it automatically
> > > >> installs CF and Sqlce on the device along with installing my mobile
> > > >> application.
> >
> > > >> Thanks in advance.
> >
> > > >> Haroon
>
> Hi All,
>
> Thanks guys for all your help.
> During my search I found an easy way to accomplish this task. I
> download the NSIS installer which allows u to create Installation
> setup for window as well as for pocket pc devices. The only tricky bit
> is that you have to write the installer script to create the setup for
> the device. However its quite easy to do and you can specify as many
> cab files you want to install on the target device and it creates and
> desktop based Installation setup.
> For anyone concerned, follow below link.
>
> http://nsis.sourceforge.net/NSIS_for_Smartphone
>
> Haroon
> |
|
| Back to top |
|
 |
davebythesea
Joined: 22 Aug 2007 Posts: 30
|
Posted: Fri Feb 01, 2008 2:11 pm Post subject: Re: sqlce and compact framework as part of cab file package |
|
|
>
>
> Hi All,
>
> Thanks guys for all your help.
> During my search I found an easy way to accomplish this task. I
> download the NSIS installer which allows u to create Installation
> setup for window as well as for pocket pc devices. The only tricky bit
> is that you have to write the installer script to create the setup for
> the device. However its quite easy to do and you can specify as many
> cab files you want to install on the target device and it creates and
> desktop based Installation setup.
> For anyone concerned, follow below link.
>
> http://nsis.sourceforge.net/NSIS_for_Smartphone
>
> Haroon
>
Thats really good, thanks!
|
|
| Back to top |
|
 |
|
|
| Related Topics: | Changes to the .NET Compact Framework distributions By popular demand, we have made some changes to how the updated SP1 files of the Compact Framework are available to the developer community. The SP1 web package has been remade to include the full set of all cab files for all supported Po
Compact Framework Colors In VB.NET you can display colors with a routine such as below. Is there a way to do this in the compact framework? Thanks! Private Sub ShowColors() Dim color As For Each color In _
Connection to SQL 2000 from the Compact Framework Hi there, I am designing and developing a data layer for a Compact Framework application that connects to a SQL Server 2000 on our (wireless) network. Things work pretty OK: I can connect and retrieve data etc. However, I am trying to use the Microsoft Ap
Can't create menuitem using C# in Compact Framework! I'm trying develop a SmartPhone application in C#. But it's bad! It just can't create menuitem as following code. this.mainMenu = new = new
debugging compact framework apps I think I have resigned myself to not being able to change and execute changed code while debugging my application, but I cant seem to figure out how to move the yellow current executing line to skip over code while in the debugger. Did I miss a configu |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|