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.
Comments
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
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.
Would you like to reply?
Login or Register to post your comment.