Wednesday, March 20, 2013

Unzipping/extracting MSI files

Not that often but sometimes I need to extract some dlls from msi packages. msiexec provides all the functions which are needed as described here.

Usually I’m working using the command line

msiexec /a foo.msi /qb TARGETDIR="C:\TEMP\Foo"

but sometimes it’s helpful to have a context menu entry like this.



To add the Extract MSI entry to the context menu you’ve to add it to the registry, details here or use gist below. The second gist shows how a .bat file which can extract all msi’s in a folder can look like.

No comments:

Post a Comment