multiple cab into one cab-file

J

James levertopf

Hello

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

Thanks

James
 
P

Paul G. Tobey [eMVP]

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

r_z_aret

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

Hello

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

Thanks

James

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

MagicCab

Hello

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

Thanks

James

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.

Virginie - http://magiccab.tech.officelive.com
 
M

Marc

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
 
C

Christopher Fairbairn [MVP]

Hi James,

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

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://msdn.microsoft.com/en-us/library/bb158796.aspx - Multiple CAB
Install). This may be of help in providing pointers on how to create the
required setup.dll etc.

Hope this helps,
Christopher Fairbairn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top