How to save wine libraries config

Questions about Wine on Linux
Post Reply
game12138
Level 2
Level 2
Posts: 14
Joined: Wed Oct 10, 2018 10:35 pm

How to save wine libraries config

Post by game12138 » Tue Jan 12, 2021 2:04 am

I use winetircks to install vcrun2019, winetricks create a lot config.
if I install vcrun2019 without winetricks, there are nothing config.
how can I install vcrun2019 without winetricks, and create those config ?
新建位图图像.jpg

jkfloris
Level 9
Level 9
Posts: 1281
Joined: Thu Aug 14, 2014 10:10 am

Re: How to save wine libraries config

Post by jkfloris » Tue Jan 12, 2021 5:36 am

The Dll overrides are stored in the registry
wine regedit → HKEY_CURRENT_USER → Software → Wine → DllOverrides

You can add/import/export an override with regedit or use the command line:

Code: Select all

# Add testdll as an override:
wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v testdll /t REG_SZ /d native

# Export / save all dll overrides as overrides.reg:
wine reg export 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' overrides.reg

# Import overrides.reg
wine reg import overrides.reg

Post Reply