Can't create clean 32-bit Wine Prefix, needed to install vcrun2015 via Winetricks

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Yoshimaster96

Can't create clean 32-bit Wine Prefix, needed to install vcrun2015 via Winetricks

Post by Yoshimaster96 »

I'm trying to install vcrun2015 via Winetricks, but it gives me this:

Code: Select all

------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180513-next - sha256sum: c5438329b437e02416de6278346b5d0a8cb3d586415d069288fc85a300c9a02e with wine-3.0 and WINEARCH=win64
Executing w_do_call vcrun2015
Executing load_vcrun2015 
------------------------------------------------------
Working around wine bug 37781 
------------------------------------------------------
------------------------------------------------------
This may fail in non-XP mode, see https://bugs.winehq.org/show_bug.cgi?id=37781
------------------------------------------------------
Using native,builtin override for following DLLs: api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase vcomp140 vcruntime140
Executing wine regedit C:\windows\Temp\_vcrun2015\override-dll.reg
Executing wine64 regedit C:\windows\Temp\_vcrun2015\override-dll.reg
wine client error:0: version mismatch 547/548.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
------------------------------------------------------
Note: command wine64 regedit C:\windows\Temp\_vcrun2015\override-dll.reg returned status 1. Aborting.
------------------------------------------------------
So I created a clean 32-bit prefix, but it gives me this:

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/jacob3/.wine32 winecfg
wine: '/home/jacob3/.wine32' is a 32-bit installation, it cannot support 64-bit applications.
Not sure what's going on or how to fix it. Any ideas?



I'm on Linux Mint 17 Cinnamon
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Can't create clean 32-bit Wine Prefix, needed to install vcrun2015 via Winetricks

Post by AndyMH »

Sounds like you (or winetricks) are trying to install a 64bit app into a 32 bit prefix?

Try uninstalling everything wine related and starting again. Your syntax for creating a 32bit prefix looks ok to me, mine was:

Code: Select all

WINARCH=win32 WINPREFIX=~/.win32 winecfg
THEN, to install anything into that prefix:

Code: Select all

WINEPREFIX=~/.win32 wine control
This will bring up a window and you can use add/remove to get at the setup.exe for your program. Don't use winetricks.

I found that (over a year ago), trying to install anything into wine without doing the above caused problems. Have to say, I bit the bullet and recently bought crossover cos I wanted office 2013.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Can't create clean 32-bit Wine Prefix, needed to install vcrun2015 via Winetricks

Post by Flemur »

Yoshimaster96 wrote: Mon May 28, 2018 1:13 pmYour wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
I think you need to
- uninstall wine and delete your "prefixes".
- let the repos access 32 bit packages:

Code: Select all

sudo dpkg --add-architecture i386
- reinstall wine - now it'll bring in the 32 libraries.
- remake the prefix(es).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Locked

Return to “Virtual Machines”