web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Tip - How to extract files from msi package via command-line

Dilip Profile Picture Dilip 1,164
I had a requirement to extract files from a .msi setup to a local folder, i.e. without running the installer, I found this  blog post useful for my purpose

The command is:

msiexec /a msifilepath /qn TARGETDIR=TargetDirectoryPath

Note:

/a represents administrative purpose
/qn displays no user interface

The blog post above uses /qb as the second switch for extraction to target directory but In my case, I used a different switch /qn 
/qb displays basic user interface whereas use /qn if you don't want any UI.

You can find more about the command and the switches here
http://technet.microsoft.com/en-us/library/cc759262(WS.10).aspx


This was originally posted here.

Comments

*This post is locked for comments