Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / February 2008

Tip: Looking for answers? Try searching our database.

sqlce and compact framework as part of cab file package

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hkhokhar12@gmail.com - 29 Jan 2008 06:39 GMT
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
davebythesea - 29 Jan 2008 12:13 GMT
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

> Hi All,
>
[quoted text clipped - 7 lines]
>
> Haroon
Paul G. Tobey [eMVP] - 29 Jan 2008 15:02 GMT
Yes, that's true.  The program that does the CAB installation can only have
one copy running at a time.

Paul T.

> Hi,
>
[quoted text clipped - 21 lines]
>>
>> Haroon
dbgrick - 29 Jan 2008 16:33 GMT
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.

> Yes, that's true.  The program that does the CAB installation can only have
> one copy running at a time.
[quoted text clipped - 26 lines]
> >>
> >> Haroon
hkhokhar - 30 Jan 2008 04:09 GMT
> 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.
[quoted text clipped - 45 lines]
>
> > >> 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
Simon Hart [MVP] - 31 Jan 2008 14:43 GMT
Another product that supports this type of install for mobile devices is
InstallShield.
Signature

Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com

> > 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.
[quoted text clipped - 61 lines]
>
> Haroon
davebythesea - 01 Feb 2008 17:11 GMT
> <snip>
>
[quoted text clipped - 13 lines]
>
> Haroon

Thats really good, thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.