CAB containing another CAB  
Author Message
Margolotta





PostPosted: Thu Feb 22 10:50:49 CST 2007 Top

PocketPCDev >> CAB containing another CAB

Hi all!
I would like to make a CAB file containing another CAB.
The target is NOT to install all the needed libraries manualy.

It would be nice if one CAB automaticly installs all the others.
It should function for WM5.

Is their some way to do it?

Thank you in advance

Computer63  
 
 
ctacke/>





PostPosted: Thu Feb 22 10:50:49 CST 2007 Top

PocketPCDev >> CAB containing another CAB Only with a custom installer DLL.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--




> Hi all!
> I would like to make a CAB file containing another CAB.
> The target is NOT to install all the needed libraries manualy.
>
> It would be nice if one CAB automaticly installs all the others.
> It should function for WM5.
>
> Is their some way to do it?
>
> Thank you in advance
>


 
 
JamesFielding





PostPosted: Thu Feb 22 12:30:13 CST 2007 Top

PocketPCDev >> CAB containing another CAB
Hiya,

Will a selection of .cab files within a single .exe file suit your needs ?

If so, have a look at "PocketPC Installer":
http://www.pocketpcinstaller.com

Bascially, you drag'n'drop your .Net CF .cab file, application .cab file,
and any other library .cab / data files into our app, and it'll compress
them all into a single PDA installer .exe file.

By default, when this is run on your device, it'll just install the
.cab files that *need* to be installed on this device.


This should save you a bit of programming... ;-)


James




> Hi all!
> I would like to make a CAB file containing another CAB.
> The target is NOT to install all the needed libraries manualy.
>
> It would be nice if one CAB automaticly installs all the others.
> It should function for WM5.
>
> Is their some way to do it?
>
> Thank you in advance
>
>
>
 
 
Joe





PostPosted: Thu Feb 22 15:54:54 CST 2007 Top

PocketPCDev >> CAB containing another CAB I did something like that.

I create 2 .INF scripts for CabWiz.

First, create an .INF script like MakeCab1.INF with all of your files for
installing your app. If you run "cabwiz.exe MakeCab1.INF /err cab1.log /cpu
ARM", you will get MakeCab1.ARM.CAB.

Next, create another .INF script like MakeCab2.INF that specifies
MakeCab1.ARM.CAB (or whatever your output CAB file from above is) in your
list of files to install. If you run "cabwiz.exe MakeCab1.INF /err cab1.log
/cpu ARM", you will get MakeCab2.ARM.CAB.

Hope that helps.
 
 
c_xyTopa





PostPosted: Fri Feb 23 03:41:20 CST 2007 Top

PocketPCDev >> CAB containing another CAB i included the 1st CAB in the [SourceDisksFiles] and [CopyToProgramFiles]
sections of *.inf file for the 2nd CAB.
but the 1st CAB file does not execute itself.

it seems that custom installer is needed.
http://msdn2.microsoft.com/en-us/library/ms838273.aspx



>I did something like that.
>
> I create 2 .INF scripts for CabWiz.
>
> First, create an .INF script like MakeCab1.INF with all of your files for
> installing your app. If you run "cabwiz.exe MakeCab1.INF /err cab1.log
> /cpu
> ARM", you will get MakeCab1.ARM.CAB.
>
> Next, create another .INF script like MakeCab2.INF that specifies
> MakeCab1.ARM.CAB (or whatever your output CAB file from above is) in your
> list of files to install. If you run "cabwiz.exe MakeCab1.INF /err
> cab1.log
> /cpu ARM", you will get MakeCab2.ARM.CAB.
>
> Hope that helps.


 
 
ctacke/>





PostPosted: Fri Feb 23 07:23:56 CST 2007 Top

PocketPCDev >> CAB containing another CAB Didn't I already say that?


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--




>i included the 1st CAB in the [SourceDisksFiles] and [CopyToProgramFiles]
>sections of *.inf file for the 2nd CAB.
> but the 1st CAB file does not execute itself.
>
> it seems that custom installer is needed.
> http://msdn2.microsoft.com/en-us/library/ms838273.aspx
>


>>I did something like that.
>>
>> I create 2 .INF scripts for CabWiz.
>>
>> First, create an .INF script like MakeCab1.INF with all of your files for
>> installing your app. If you run "cabwiz.exe MakeCab1.INF /err cab1.log
>> /cpu
>> ARM", you will get MakeCab1.ARM.CAB.
>>
>> Next, create another .INF script like MakeCab2.INF that specifies
>> MakeCab1.ARM.CAB (or whatever your output CAB file from above is) in your
>> list of files to install. If you run "cabwiz.exe MakeCab1.INF /err
>> cab1.log
>> /cpu ARM", you will get MakeCab2.ARM.CAB.
>>
>> Hope that helps.
>
>


 
 
mattca





PostPosted: Thu Mar 01 19:10:27 CST 2007 Top

PocketPCDev >> CAB containing another CAB Have you looked at the cabwiz utility provided by mircosoft throught the Microsoft SDK for Windows Mobile 5.0?

I also use a tool from PocketPCToolkit.com called PocketPC Installer which can create a single .exe as a wrapper for multiple cabs. You can specify a ton of parameters, seeding data, regsitry keys, & custom splash screen during install.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com