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 21:43 UTC
Read the original article Hit count: 601

Filed under:
|
|
|
|

All I want is a command-line tool that can extract files from a merge module (.msm) onto disk. I'm trying msidb.exe and orca.exe The documentation for orca 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, usually starting with this:

orca -x theDirectory theModule.msm

I use "theDirectory" as whatever empty folder I want. Like I said - it didn't do anything.

Then I tried msidb, where a couple of attempts I've made look like this:

msidb -d theModule.msm -w {storage}

msidb -d theModule.msm -x {stream}

In both cases, I don't know what to insert for {storage} or {stream} to make it happy - I don't know what those represent.

Can someone explain what I'm doing wrong with the command line options? Is there any other tool that can do this?

© Stack Overflow or respective owner

Related posts about merge-module

Related posts about orca