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.

Adding Files Through ORCA

Updated: 06 Aug 2009 | 3 comments
nac's picture
+6 6 Votes
Login to vote

Many times there will occur a situation when we are not able to add files through MST (not able to compile MST after adding file). In such cases we can add file through orca. But it's bit tough as Orca is not able to compress file into a package. So we need to use any of the following methods to add file through ORCA.

1. MAKECAB COMMAND

  1. Make the .CAB FILE of the File you want to add using makecab command.

    Makecab [Source] [Destination]

    Where source = path of the file along with file name

    Destination = Path where you want .CAB file.

  2. Go to Component Table
       a. Make component with the name of the file you want to add
       b. Set the directory column with the path where you want to install the file.
  3. Go to featurecomponent Table

    Associate the component made in step 2 with the feature (Complete in case of captured Application).

  4. Go to File table
       a. Add Row
       b. Give File name, Component column should contain the name of component made in step 2
       c. File Size column should contain file size in KB.
       d. Its attribute should be set to 16384 as file source type is compressed
       e. Its Sequence column should be set to the last sequence in that table.
  5. Go to media table
       a. Add row with unique diskid, Lastsequence no should be set to the sequence no give in the file table & cabinet column should contain the name of .CAB file we made in step 1.

2. ADDING FILES USING IEXPRESS COMMAND

If we have to add more than 1 file we can use iexpress command. It will generate a.CAB file which can contain more than one file.

  1. Start -> Run

    imagebrowser image

  2. Click "Next"

    imagebrowser image

  3. Select Marked option and Click "Next"

    imagebrowser image

  4. Click on "Add"
    Add all the files in this step which You want in .CAB file

    imagebrowser image

  5. Add path where you want to store this cab file click next and finish
  6. Now we have the .CAB file which contains all the file we want to add in ORCA
  7. Go to Component Table
       Make component with the name of the file you want to add
       Set the directory column with the path where you want to install the file.
       Add file in the Sequence they are in .CAB file
  8. Go to featurecomponent Table

    Associate the component made in step 2 with the feature (Complete in case of captured Application).

  9. Go to File table
       Add Row
       Give File name, Component column should contain the name of component made in step 2
       File Size column should contain file size in KB.
       Its attribute should be set to 16384 as file source type is compressed
       Its Sequence column should be set to the last sequence in that table.
  10. Go to media table

    Add row with unique diskid, Lastsequence no should be set to the sequence no give in the file table & cabinet column should contain the name of .CAB file we made in step 1.

Comments

EdT's picture
18
Aug
2009
1 Vote +1
Login to vote

ORCA

You can of course leave the file as external uncompressed when adding a file using ORCA - this avoids having to mess around with CAB files.
Unfortunately, although ORCA allows you to import an external CAB into the CAB table of a transform, windows installer is not able to merge the two cab tables at install time, so you are stuck with having an external file, whether it be a cab or an uncompressed file.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

WiseUser's picture
26
Oct
2009
0 Votes 0
Login to vote

its a good suggestion

its a good suggestion

Wiseuser
Altiris Certified Professional

rlinhartpdx's picture
10
Jan
2012
0 Votes 0
Login to vote

I'm trying to repackage Adobe

I'm trying to repackage Adobe AIR 3.0.1.4880 to disable auto-updates and pre-accept the EULA. I'm using ORCA to create an MST. I'll distribute the package with SCCM.

I extracted the MSI and discovered ORCA doesn't like the AIR MSI. One of the first challenges is to get a working MSI. The first solution I found was to remove the SetSHAREDADDINFOLDER row from the CustomAction table. Every time I tried this ORCA stopped responding. The second solution I found was to replace the SHAREDADDINFOLDER property with a value of "c:\". This produces a working MSI installer.

It was easy to add a registry key to disable auto-updates.

The problem I'm having is figuring out how to deploy the "eulaAccepted" to "%ALLUSERSPROFILE%\Application Data\Adobe\AIR". I think step 7 above is wrong in that you don't enter the target path where the file is to be copied. Rather you should reference an entry in the Directory table. If this is the case, I'm not sure how to populate the Directory table for this.