Install individual components from cab installers into wine
Extract and install components from cab based installers
This tool is intended to be used with wine
The software is experimental so you should try it in a fresh wineprefix or make a backup of your wineprefix just in case (at least windows folder and .reg files at the root of your wineprefix).
python installcab.py [options] cabfile filter [wineprefix_path]
python installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe x86_microsoft-windows-mediafoundation"
will extract and install any manifest files and dlls with ‘x86_microsoft-windows-mediafoundation’ in their path.
python installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmadmod
will extract and install any manifest files and dlls with ‘wmadmod’ in their path.
You can also try the install-mf.sh file that installs WMF components from win7sp1 installer. There is also install-mf-64.sh for installing into a 64 bit wineprefix.
Note you will need to run winetricks mf
first so the installer will be cached (for now install-mf.sh does not download the installer, but relies on winetricks to have done it beforehand).
The software doesn’t try to find out dependencies or be smart about where to install dlls, it will just install dlls in the system32 or syswow64 directory, and import stuff into wine’s registry from manifest files.
It does not aim to fully support cabinet installers, but is capable of installing just parts from an installer, going a bit further than what is actually possible with ‘proper’ support.
This software is released into the Public Domain by use of the Unlicense, see the LICENSE file
for more details.