Extracting Files from an MSI

By |2017-12-11T15:56:01+00:00June 24th, 2015|Windows|0 Comments

Have you ever needed to extract some files from an MSI to get a specific document but you don’t want to install the program to get it, or are unable to?

Well there is a simple tool you can use that will extract the files as if it is installing but it won’t actually install the program.

In an elevated Command Prompt run the following command to extract the files:-

MSIExec /a <filepath to MSI> /qb TARGETDIR=<filepath to target folder>

So for example if we wanted to extract an MSI file named “testfile” located on the Root of the C: drive and place the extracted files in a folder named “Extracted” on the Root of the C: drive we would run the following.

MSIExec /a C:testfile.msi /qb TARGETDIR=C:Extracted

Once completed you will see the files in the MSI package extracted to the specified folder!

Hope this helps you in the future!

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.