23
2
Related: How to extract files from MSI package?
To extract the contents of a MSI installer using Linux, I can either use msiexec
with wine or use 7zip
.
However, the latter does not preserve directories and file names only in part. Is there any way to properly extract MSI files without having to use wine
?
edit: to illustrate the issue with Microsoft's Infer.NET, here is a list of files that 7zip produces and here one that msiexec produces (where the latter is what I want)
You can use this article for Ubuntu hope it will help you. And also try Jsmsix.exe.
– avirk – 2012-05-27T02:55:20.883Thanks, I already read the article and it does not resolve the 7zip issues (neither in combination with e.g. cabextract). Jsmsix would still require
wine
because you can't run Windows executables natively. – Michael Schubert – 2012-05-28T12:33:52.417What issue you are facing with
7zip
can you explain? – avirk – 2012-05-29T01:30:16.220added an example – Michael Schubert – 2012-05-29T12:13:14.647
Dumb question but: What's wrong in using wine? – Pitto – 2012-05-30T16:25:58.483
2What I'd like to do is create a buildscript for Archlinux, for which a set up wine is quite a bulky dependency just to be able to install something that should depend solely on mono. – Michael Schubert – 2012-05-30T19:12:50.067
Did you try and use msiexec with wine? – happenpappen – 2012-05-31T18:33:38.850