To extract files from a .msi file at the command line, type (example):

msiexec /a “C:\Example\Example.msi” /qb TARGETDIR=”C:\Example\TargetDirectory”

If the target folder doesn’t exists, it will be created for you.

Good luck!