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!