Winetricks questions concerning DLLs

Questions about Wine on Linux
Locked
ubotdude
Level 2
Level 2
Posts: 15
Joined: Fri Jul 03, 2020 8:23 pm

Winetricks questions concerning DLLs

Post by ubotdude »

I'm sure I am not the only person that has asked these question but my searches have not found any answers that I felt were adequate. If there is please point me there.

Which is better or safer? Running winetricks like

Method 1:

Code: Select all

WINEPREFIX=~/wine/app/32bit/productname/.name-to-use winetricks

Then selecting the DLLs to add.

OR

Method 2:

Code: Select all

sh winetricks corefonts
Installing one DLL at a time.

The reason I ask it that my app was running fine (but not perfectly). I had installed comctl32, comctl32ocx, and comdlg32ocx using the first method. When I added dotnet48 it also loaded dotnet40. Everything still worked. BUT when I attempted to add vcrun2015 I start seeing error messages telling me that comctl32 is not loaded. Yet Winetricks GUI says otherwise.

So would the second method be better and safer? Or is there a certain order that DLLs need to be installed in?

Thanks for any help or comments.

Buddy
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Winetricks questions concerning DLLs

Post by jkfloris »

I always use methode 2.
- It's a lot faster than clicking through all the options
- You can skip the Windows installer menus. (The -q option)
- You can define the Wineprefrix and Wine version
- You can install multiple tricks at once.

Code: Select all

WINEPREFIX=~/some/prefix WINE=/opt/wine-staging/bin/wine winetricks -q corefonts dotnet40 ie8
But if there is a real difference between the GUI and the command prompt, you should ask winetricks.
ubotdude
Level 2
Level 2
Posts: 15
Joined: Fri Jul 03, 2020 8:23 pm

Re: Winetricks questions concerning DLLs

Post by ubotdude »

@jkfloris

Thanks!
Locked