MSI Executable–Extract to a folder

Today I had the unfortunate situation of installing sample code files. This means downloading a MSI and then running it so it can place the sample code somewhere on your computer. I don’t think any developer can appreciate this. Where is the zip file?

Well, it kind of is a zip file. In a sense. You can run a command to output that pesky MSI to a folder. How?

Running as admin:

msiexec /a yourmsi.msi /qb TARGETDIR=c:\output_to_here\

Credit to neoice for answering this in StackOverflow

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>