Login to participate
Endpoint Management & Virtualization ArticlesRSS

Adding Files Through ORCA

nac's picture

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.

EdT's picture

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

its a good suggestion

its a good suggestion

Wiseuser
Altiris Certified Professional