multiple cab into one cab-file

  • Thread starter Thread starter James levertopf
  • Start date Start date
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
 
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.
 
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
 
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
 
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
 
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
 
Back
Top