Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

multiple cab into one cab-file

1 view
Skip to first unread message

James levertopf

unread,
Oct 29, 2009, 4:24:57 AM10/29/09
to
Hello

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

Thanks

James

Paul G. Tobey [ eMVP ]

unread,
Oct 29, 2009, 2:52:01 PM10/29/09
to
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.

"James levertopf" wrote:

> .
>

r_z_...@pen_fact.com

unread,
Oct 31, 2009, 12:03:18 PM10/31/09
to
You might be able to write a setup DLL that installs the "inner" CABs.

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

MagicCab

unread,
Nov 2, 2009, 12:44:48 PM11/2/09
to

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

Marc

unread,
Nov 9, 2009, 2:54:01 AM11/9/09
to

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


"James levertopf" wrote:

> .
>

Christopher Fairbairn [MVP]

unread,
Nov 10, 2009, 3:13:17 PM11/10/09
to
Hi James,

"James levertopf" <ja...@levertopf.com> wrote in message
news:%23PIgNFH...@TK2MSFTNGP06.phx.gbl...


> 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


0 new messages