Adding Files Through ORCA
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
- 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.
- 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. - Go to featurecomponent Table
Associate the component made in step 2 with the feature (Complete in case of captured Application).
- 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. - 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.
- Start -> Run
- Click "Next"
- Select Marked option and Click "Next"
- Click on "Add"
Add all the files in this step which You want in .CAB file - Add path where you want to store this cab file click next and finish
- Now we have the .CAB file which contains all the file we want to add in ORCA
- 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 - Go to featurecomponent Table
Associate the component made in step 2 with the feature (Complete in case of captured Application).
- 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. - 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.
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.
its a good suggestion
its a good suggestion
Wiseuser
Altiris Certified Professional
Would you like to reply?
Login or Register to post your comment.