Info: How to extract MSI archives manually

The wrapper, tools, and info you need to get games working

Info: How to extract MSI archives manually

PostPosted by OldBoy2k » Tue Mar 04, 2008 6:29 pm

For some games and applications you may need to extract the main files from the msi installer archive manually.To do so,follow these easy steps:

1) empty your
Code: Select all
C:\Documents and Settings\Administrator\Local Settings\Temp\
OR
Code: Select all
C:\Documents and Settings\User\Local Settings\Temp\
directory.Thats typically full with pre-installed files which arent needed anymore and use free space.

2) run the setup of the game or application

3) install the game untill it says that WinNT/Win98 is a not supported system.Dont close the installer at this stage!

4) browse to the directory mentioned in 1) and check up the new created folders.Copy all the content into some other for example c:\temp\ folder.

5) locate the main *game*.msi

6) close the installer.At this stage we can now shutdown the install process of the game or application by clicking OK.The temp files will get automatically deleted.

...to be continued...
Last edited by OldBoy2k on Tue Mar 04, 2008 6:39 pm, edited 2 times in total.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

PostPosted by OldBoy2k » Tue Mar 04, 2008 6:36 pm

Now the second part:

1. Click the Windows "Start" button

2. Click Run

3. Enter "cmd" and hit return

4. browse to the TEMP directory where you copied the files to for example c:\temp\

5. The general command to extraxct a MSI archive is:
Code: Select all
msiexec /a filepath to MSI file /qb TARGETDIR=filepath to target folder


No one needs to be worried.Heres an example.Using the desired locations to fill the above mentioned filepaths for the game msi would look like this:

File: "Game.msi"
Location: c:\temp\data\game.msi

Now enter in command prompt (START->RUN->"cmd" Enter at the game.msi location the following command code:
msiexec /a "c:\temp\data\game.msi" /qb TARGETDIR="c:\temp\test"

and press ENTER.The archive will now get extracted...

Have fun
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

PostPosted by DosFreak » Wed Mar 05, 2008 11:49 am

Universal Extractor
http://legroom.net/software/uniextract

is also usefull for extracting files from .MSI's.

Only issue is that it usually does not leave the directory structure intact for .MSI's but if you just want to grab a file out it works fine.
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by OldBoy2k » Mon Jul 21, 2008 11:32 pm

Another great repository installation was send in by a user of this forum.Do make a kind of network installation without shortcuts you need to open the command prompt launch and browse to the directory of the installation setup.exe.There you type:
Code: Select all
<setup.exe> /a

This should extract the game/application into a directory and will bypasses the OS check routines.

<thanks Demian for sending in this trick>

or for a executable *.exe /c and choose a path to extract the files to.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Info: How to extract MSI archives manually

PostPosted by JH2k » Tue Oct 27, 2009 4:04 pm

Well using the command to extract MSIs, works too, but not ever. That way is how can be installed games as X-blades or Age of Empires III, for example.

msiexec /a "x:\xxxx.msi" /qn TARGETDIR="x:\xxxxx"

(/qn is for silent extract but if you don't use it, you can fix some problems if it doesn't work)
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

msi Windows Installer hacking

PostPosted by justjohnny » Fri Nov 12, 2010 1:54 am

Sometimes the .msi file(s) are hidden inside the .exe file. Extract the .msi file by typing in:
<setup/installer file> /c /t <extract directory>
e.g.
setup.exe /c /t c:\myprogram
install.exe /c /t c:\myprogram
^^ The extract directory does not need to exist, it will be created.

Now browse to c:\myprogram to find the .msi file(s).

Reference:
http://vmblog.com/archive/2007/07/10/vh ... erver.aspx
To perform an unattended installation of the VHD Mount components

1. Extract Virtual Server 2005 Install.msi from Setup.exe by typing the following command:
setup.exe /c /t <drive letter>:\<path to the .msi file>

1. For example, to extract “Virtual Server 2005 Install.msi” to c:\SetupFiles, type:
setup.exe /c /t c:\SetupFiles
justjohnny
 
Posts: 217
Joined: Mon Apr 12, 2010 7:25 am


Return to Tools & Info

Who is online

Users browsing this forum: No registered users and 0 guests

cron