multiple cab into one cab-file

multiple cab into one cab-file

Post by James leve » Fri, 30 Oct 2009 17:24:57


Hello

Is it possible to create a cab which is containing several cabs, and that
the cab installs these cabs?

Thanks

James
 
 
 

multiple cab into one cab-file

Post by UGF1bCBHLi » Sat, 31 Oct 2009 03:52:01

That won't happen automatically, no. The main problem is that you can only
expect one instance of the CAB installer to run at a time and extracting a
contained cab and installing it would require two instances. If you create a
setup EXE and have it fork off instances of WCELOAD to install each cab, as
they are extracted, you could do this, but my guess is that most people are
not trying to embed CABs within CABs.

Paul T.

 
 
 

multiple cab into one cab-file

Post by r_z_are » Mon, 02 Nov 2009 01:03:18

You might be able to write a setup DLL that installs the "inner" CABs.

On Thu, 29 Oct 2009 09:24:57 +0100, "James levertopf"



-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com
 
 
 

multiple cab into one cab-file

Post by MagicCa » Wed, 04 Nov 2009 02:44:48


It's a little bit tricky.

A Cab file can contains other CAB files, but the installation needs to
be driven by another process because a Cab Installer is not re-
entrant. So one solution is to install the cab files and a setup
application to a temp location on the device and the Setup.dll of this
cab start a setup application that will launch the Cab installer on
the other cabs sequentially.

*** ie - http://www.yqcomputer.com/
 
 
 

multiple cab into one cab-file

Post by TWFyY » Tue, 10 Nov 2009 16:54:01


Have a look at Pocket PC Installer, www.pocketpcinstaller.com

You can drag and drop your .cabs (including the .net cf cab) and data files
into this app, and it'll make a Desktop and/or PDA installer .exe for you.

As Paul said, you can't run wceload.exe (the program which installs a .cab
file on your device) more than once at a time.


Marc
 
 
 

multiple cab into one cab-file

Post by Christophe » Thu, 12 Nov 2009 05:13:17

Hi James,




As the other posts have suggested, it is possible, but can be a little messy
to configure and setup.

Microsoft have created a sample application which you probably already have
installed as part of your Visual Studio installation
( http://www.yqcomputer.com/
Install). This may be of help in providing pointers on how to create the
required setup.dll etc.

Hope this helps,
Christopher Fairbairn