Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Quickly Unpack an MSI

Updated: 02 Jun 2008 | 5 comments
marco.baars-123's picture
0 0 Votes
Login to vote

When you want to know what an MSI contains or if you want to just extract a single file from a single MSI you usually open a cmd and type something like "msiexec /a name.msi".

To make unpacking easier i created a registry tweak to add this administrative install to your right click-menu.

Just right-click an MSI and select "Extract all files"

You can download it at http://k00tje.f-sw.com/

Comments

trb48's picture
08
Jun
2007
0 Votes 0
Login to vote

It works, sometimes

Not all MSIs come with an administrator install feature. This may work sometimes, but don't expect it to work all of the time. What I like to do is create a new layer, and have it capture just long enough for the installer to unpack itself. Then I stop capturing. The installer files can easily be found inside the layer. It has worked for me several times this week.

Harsh Mokal's picture
11
Jun
2007
0 Votes 0
Login to vote

Use /a with TARGETDIR

I guess /a - administrative Image option works with most of MSI, Yes in some MSI Administrative Image UI is disabled, In this you can use /a option with TARGETDIR public property in silent mode.
So Your final commnad will be soemthing like this.
MSIEXEC /a MSI_NAME.MSI TARGETDIR=Directory_Name /qb!
or Qn
Unpacking can be done using Wise Package studio also with changing media into Uncompressed External.

trb48's picture
11
Jun
2007
0 Votes 0
Login to vote

It works!

I stand corrected! I tried the suggestion above and it worked. Thanks for the update Harsh!

Harsh Mokal's picture
12
Jun
2007
0 Votes 0
Login to vote

Most of time even unpacking

Most of time even unpacking is not 100% correct unless and untill packaging engineer had taken care of directory structure.
I will explain in brief. If there are two files with same name but with differant functionality which are conditionalized and get install in same folder. Example ABC.DLL file get install in C:\Program Files\Test\ directory. This file have two version 1. when office 2003 is present on system and 2. when office XP is present on system. In this case if directory structure is not properly resolved then only one file will get unpacked.

DustyPete's picture
28
May
2008
0 Votes 0
Login to vote

Quick a bit late but...

I've been using a simple utility, which essentially uses a bunch of other utilities to do the work: UniExtract

It integrates to Explorer and allows extraction of MSI, but also CAB files, InstallShield and a variety of other setup and compressor software.

Not perfect but it does the trick. Plus, this tool is made in my favorite freeware scripting language (AutoIt) .

Cheers,

Pete.