Orca: extracting files from merge module

Posted by Mystagogue on Stack Overflow See other posts from Stack Overflow or by Mystagogue
Published on 2010-04-23T18:00:19Z Indexed on 2010/04/23 18:03 UTC
Read the original article Hit count: 789

Filed under:
|
|
|

All I want is a command-line tool that can extract files from a merge module (.msm) onto disk. I looked up Orca (version 3.1), whose documentation states:

Many merge module options can be specified from the command line...

Extracting Files from a Merge Module

Orca supports three different methods for extracting files contained in a merge module. Orca can extract the individual CAB file, extract the files into a module tree and extract the files into a source image once it has been merged into a target database...

Extracting Files

To extract the individual files from a merge module, use the

... -x ... option on the command line, where is the desired path to the new directory tree.

The specified path is used as the root path for the extracted files. All files are extracted from the CAB file embedded in the module and placed in the specified path. The directory layout for the extracted files is based on the directory tree of the merge module.

It mostly sounds like exactly what I need. But when I try it, orca simply opens up an editor (with info on the msm I specified) and then does nothing. I've tried a variety of command lines:

orca -x theDirectory theModule.msm

orca theModule.msm -x theDirectory

...and others. I get nowhere. The closest I've gotten was this:

orca -q -x theDirectory -m theModule.msm

...but then it complains that I didn't specifiy a database to merge into. But I'm not trying to merge anything, no less into a database. I just want the files extracted.

Can someone explain what I'm doing wrong with the command line options?

© Stack Overflow or respective owner

Related posts about merge-module

Related posts about orca