Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rmi1974/2313bba0f9edc63635ff76d9f02b7b34 to your computer and use it in GitHub Desktop.
Save rmi1974/2313bba0f9edc63635ff76d9f02b7b34 to your computer and use it in GitHub Desktop.
Hack to register registry-free COM servers #wine #hack #commandlinefu

Hack to register registry-free COM servers in Wine

Courtesy of Wine Bugzilla #30438.

Only works on dlls that export DllRegisterServer and have typelib data.

$ pwd
/home/focht/.wine/drive_c/Program Files/Lexware/buchhalter/2012

$ find . -type f -iname "*.dll" | xargs grep -l DllRegisterServer | xargs -i regsvr32 {}

Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment