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

Re: CAB containing another CAB by ctacke/>

ctacke/>
Thu Feb 22 10:50:49 CST 2007

Only with a custom installer DLL.


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


"c_xyTopa" <a.dratchnev@runtime.de> wrote in message
news:urv%23TEqVHHA.4832@TK2MSFTNGP04.phx.gbl...
> 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
>



RE: CAB containing another CAB by JamesFielding

JamesFielding
Thu Feb 22 12:30:13 CST 2007


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


"c_xyTopa" wrote:

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

RE: CAB containing another CAB by Joe

Joe
Thu Feb 22 15:54:54 CST 2007

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.

Re: CAB containing another CAB by c_xyTopa

c_xyTopa
Fri Feb 23 03:41:20 CST 2007

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

"Joe" <Joe@discussions.microsoft.com> schrieb im Newsbeitrag
news:C733D290-3136-4FC4-A31D-175F2667D452@microsoft.com...
>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.



Re: CAB containing another CAB by ctacke/>

ctacke/>
Fri Feb 23 07:23:56 CST 2007

Didn't I already say that?


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


"c_xyTopa" <a.dratchnev@runtime.de> wrote in message
news:Oiy9V8yVHHA.5068@TK2MSFTNGP03.phx.gbl...
>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
>
> "Joe" <Joe@discussions.microsoft.com> schrieb im Newsbeitrag
> news:C733D290-3136-4FC4-A31D-175F2667D452@microsoft.com...
>>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.
>
>



multiple cab installation by mattca

mattca
Thu Mar 01 19:10:27 CST 2007

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