All Projects → tonix64 → python-installcab

tonix64 / python-installcab

Licence: Unlicense license
Install individual components from cab installers into wine

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to python-installcab

VoiceBridge
VoiceBridge - an AI-TOOLKIT Open Source C++ Speech Recognition Toolkit
Stars: ✭ 17 (-39.29%)
Mutual labels:  dll
DllLoaderShellcode
Shellcode to load an appended Dll
Stars: ✭ 72 (+157.14%)
Mutual labels:  dll
Inflame
User-mode Windows DLL injector written in Assembly language (FASM syntax) with WinAPI.
Stars: ✭ 63 (+125%)
Mutual labels:  dll
hexen-dll-injector
HEX-EN DLL Injector
Stars: ✭ 20 (-28.57%)
Mutual labels:  dll
d2launcher
Diablo II • Median XL • Mod Launcher for Linux
Stars: ✭ 20 (-28.57%)
Mutual labels:  wine
deepin-wine-containers-for-ubuntu
Container Archives of Deepin wine for ubuntu
Stars: ✭ 91 (+225%)
Mutual labels:  wine
ProcessInjector.NET
Learning Process Injection and Hollowing techniques
Stars: ✭ 23 (-17.86%)
Mutual labels:  dll
Phobos
Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
Stars: ✭ 123 (+339.29%)
Mutual labels:  dll
Fusion360WineInstaller
No description or website provided.
Stars: ✭ 55 (+96.43%)
Mutual labels:  wine
FAudio-Builds
FAudio builds for Wine
Stars: ✭ 63 (+125%)
Mutual labels:  wine
Xamarin-iOS
PSPDFKit for iOS wrapper for the Xamarin platform.
Stars: ✭ 14 (-50%)
Mutual labels:  dll
Standard-Toolkit
An update to Component factory's krypton toolkit to support .NET Framework 4.6.2 - 4.8.1 to .NET Core/.NET
Stars: ✭ 194 (+592.86%)
Mutual labels:  dll
UniversalUnityHooks
A framework designed to hook into and modify methods in unity games via dlls
Stars: ✭ 78 (+178.57%)
Mutual labels:  dll
Krypton-Toolkit-Suite-NET-Core
A update to Component factory's krypton toolkit to support .NET Framework 3.5 to .NET Core
Stars: ✭ 27 (-3.57%)
Mutual labels:  dll
d3d9-to-11
Direct3D 9 to Direct3D 11 converter
Stars: ✭ 69 (+146.43%)
Mutual labels:  wine
d-l-l
Simplified DLL config creator & handler
Stars: ✭ 27 (-3.57%)
Mutual labels:  dll
Compiler-Principle
词法分析,LL(1) 文法分析,LR(1) 文法分析
Stars: ✭ 18 (-35.71%)
Mutual labels:  dll
dll-diagnostics
Tools for diagnosing DLL dependency loading issues
Stars: ✭ 24 (-14.29%)
Mutual labels:  dll
ScareCrow-CobaltStrike
Cobalt Strike script for ScareCrow payloads intergration (EDR/AV evasion)
Stars: ✭ 387 (+1282.14%)
Mutual labels:  dll
wine-bundler
wine bundler - simple command line alternative to wine bottler and wineskin for macOS
Stars: ✭ 18 (-35.71%)
Mutual labels:  wine

python-installcab

Extract and install components from cab based installers

This tool is intended to be used with wine

Experimental

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).

Usage:

python installcab.py [options] cabfile filter [wineprefix_path]
  • cabfile: an exe installer or cab file that can be extracted with cabextract
  • filter: a filter for the components inside the cab file (will match anywhere in available files inside the cabinet)
  • wineprefix_path: you can set this, otherwise it will try to get from your WINEPREFIX environment variable

Options

  • --nocleanup: do not perform cleanup after running
  • --noreg: do not import registry entries
  • --nodll: do not install dlls into system dir
  • --register: register dlls with regsrv32
  • --stripdllpath: strip full path for dlls in registry so wine can find them through it's own resolver

Examples

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.

install-mf examples

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).

What exactly it does

  1. Extracts from the cab file using cabextract with 'component' as filter
  2. Finds out what dll files and manifest files where extracted
  3. Will place dll files in $WINEPREFIX/windows/system32/ or syswow64 depending on arch
  4. Will convert manifest data to .reg file and import it through wine/wine64

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.

Dependencies

  • python
  • cabextract
  • wine

License

This software is released into the Public Domain by use of the Unlicense, see the LICENSE file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].