30 June, 2011

msi: how to extract files?

Once in a while when you are playing around with stuff on your server/PC, you need to hand-fiddle with an installation. And it also happens that you need to extract the assemblies packed into the container (msi).

How do you extract files to disk when they are provided as an msi-file? Using the commandline it is possible using some rather bizarre workarounds:

Syntax is this: msiexec.exe /a <msi-file> /qb TARGETDIR=<where to extract>

Example:
Extract all files from ZuneWmdi.msi –> F:\tst\*.*

Syntax = msiexec /a ZuneWmdi.msi /qb TARGETDIR=F:\tst

StackOverflow Tags:

No comments:

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...