Extract MSI installation package to files manually

Use cases:
  1. You do not have Administrator right and you want to install the MSI.
  2. Some installer of legacy program refuses to install because there is either Windows version checking or platform (x86 or x64) checking imposed.
Many programs does not provide portable version.  We can make our own.

To bypass that checking, we can extract all files, and run the executable program (i.e. the .EXE file) directly.

The command to extract content of MSI is:

msiexec /a C:\YourFolder\YourInstallation.msi /qb TARGETDIR=C:\TargetFolder


Note: The TARGETDIR must be different from the MSI location.  Otherwise, you will receive Error 2203.

Last updated: 9-Mar-2017

Comments

Popular Posts