Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Placing CAB files into a Vendor Install

Updated: 21 May 2010 | 4 comments
DomC's picture
0 0 Votes
Login to vote

A vendor's install came with an MSI and 2 CAB files.
I built an transform and was able to embed it into the MSI (using Orca)and the install works fine.
My question now is: Can the CAB files be packed into the MSI so that I have a single file install?
I am running Wise Package Studio 6 (and Orca).

discussion Filed Under:

Comments

piyushnasa's picture
09
Nov
2008
0 Votes 0
Login to vote

Trick to do it

Yes, you can embed the cab file inside MSI. Though I suggest this is not good to do, but if you don't have an option and you have to just provide a single MSI, then do like this.
Go to Cabs table and add the cab file in there.
Just click on the row in there in ORCA and you will get a screen where you can enter the Cab name. Suppose you enter your cab name as w2.cab. Now upload your cab file as binary in there. Now go to Media table and make an entry there same as it was coming in transform, but just replace the cabinet column as #Cabs.w2.cab
Hope this helps.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/

DomC's picture
10
Nov
2008
0 Votes 0
Login to vote

More detail Please

Thanks, the MSI has become larger, so it seems to have the CABs inside. but the install is still looking for the files. Would you please give me a little more detail.
Thanks
Dom

piyushnasa's picture
10
Nov
2008
0 Votes 0
Login to vote

Sequence number

The Sequence number has to be maintained as it was when the cabs were outside. This is very important part. First create the transform as it was with cabs outside. You will get some Sequence number in Last Sequence column. you can also verify the sequence of file added in transform and their last sequence. Verify that this is correct and is not modified by you. If it doesn't work, please put screen shots of media and cab table so that I can verify everything is correct.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/

AngelD's picture
03
Mar
2009
0 Votes 0
Login to vote

re: Placing CAB files into a Vendor Install

If I recall correct; Wise is the only one that uses the Cabs (binary) table to store the internal cabinets.

 

First check if the Cabs table exists.

If yes; then add the cabs to that table instead of the Binary table. Then prefix the Media.Cabinet column value with "#Cabs.".

If no; then I would suggest the quickest way. Download InstEd (www.instedit.com) which is similar to ORCA but with some nice features. Open the MSI in InstEd, go to the Media table, prefix "#" (Cabinet column) for each entry and then add them to the _Streams table. Make sure the (_Streams table) Name column is the exact as (Media table) Cabinet without the "#" prefix.