I have used winetricks to install a DLL file for one of my proton prefixes to solve an issue. The issue was solved.
Now I am trying to unsolve it for some testing,and I have tried deleting and re-generating the proton prefix, I have gone to winetricks, change settings and set: alldlls=default
But something still clearly remains of this dll because the problem is still not recurring, (I know with 100% certainty that installing this dll is what resolved the issue, in short it was an error regarding gdiplus, so i installed gdiplus with winetricks, no more error, i did all the above steps to try and uninstall gdiplus, but still no error)
How am I actually supposed to do this? A web search turned up nothing except what i have already tried.
I remember having a similar issue with a dotnet package on another prefix, i deleted the prefix and re-generated it and dotnet was still somehow installed, to uninstall it i had to run the uninstaller in winetricks to properly remove it, wich is strange, where is it stored if it is not in the prefix? Is it just installed on all prefixes if i install it on one? I am so confused here.
How to remove things installed by Winetricks
It’s easy to install an entire wineprefix, so by default, winetricks installs each app into its own Wine prefix, and offers an easy way to remove wineprefixes and the menu items they created.
Winetricks does not provide a way to uninstall individual apps or DLLs inside a Wine prefix. This is for several reasons, but mainly because the preferred way to uninstall anything in Wine is to simply install into a fresh Wine prefix. (Yes, it would be nice to have uninstallers for everything, but I don’t need it myself. Patches welcome.)
If for some reason, you still don’t want to fiddle at all with your Wine prefixes, Wine does offer a built-in Uninstaller program. Like the Windows “Add/Remove Programs” applet though, it only recognizes programs installed by well-behaved Windows installers that respect the registry, like InstallShield or WISE. There are no guarantees it will work with a program installed by Winetricks or other installers like .msi packages.
That’s the official documentation. It says to just create a new prefix, but that doesn’t work.