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.
>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
On Oct 29, 1:24 am, "James levertopf" <ja...@levertopf.com> wrote:
> 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.
> 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.