Skip to content

winetricks does not support environment variable WINEPREFIX for installing dll overrides in user-defined wine prefixes #2319

@rhabacker

Description

@rhabacker

With actual winetricks, when installing a dll in a custom wine prefix by using WINEPREFIX=<custom-wine-prefix> /usr/bin/winetricks ole32, I got a message box

regedit: The file C:\Windows\Temp\override-dll.regnot found

and in the command line i see

Using native,builtin override for following DLLs: ole32
++ WINEPREFIX=/home/<user>/.wine64
++ /usr/bin/wine64 'C:\windows\regedit.exe' 'C:\windows\Temp\override-dll.reg'

which means that the specified wine prefix has been ignored.

/usr/bin/winetricks --version
Executing cd /usr/bin
20250102 - sha256sum: 657e0c4260424723476aea7668414a10ed859baf4660f96626694df9b2398460

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions