Can't install vb6run

Questions about Wine on Linux
Locked
Superphilipp
Newbie
Newbie
Posts: 2
Joined: Sat Mar 22, 2014 2:44 pm

Can't install vb6run

Post by Superphilipp »

Hi there!

I am trying to get Minesweeper X to run under Wine. I am running:

Linux Mint 16 Cinnamon 64-bit
wine-1.4.1

This is what happens:

Code: Select all

$ wine c:/mines_x
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\mines_x.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\mines_x.exe" failed, status c0000135
So obviously I need to install The VB6 runtime. Hence I install winetricks and do:

Code: Select all

$ winetricks vb6run
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call vb6run
Executing load_vb6run
Executing wine /home/philipp/.cache/winetricks/vb6run/VB6.0-KB290887-X86.exe /T:C:\windows\Temp\_vb6run /c
wine: Unhandled page fault on write access to 0x0000000d at address 0x7bc4717b (thread 0028), starting debugger...
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc493a0
------------------------------------------------------
Note: command 'wine /home/philipp/.cache/winetricks/vb6run/VB6.0-KB290887-X86.exe /T:C:\windows\Temp\_vb6run /c' returned status 5.  Aborting.
------------------------------------------------------
This happens to me whatever I do. I tried a fresh wineprefix (32-bit and 64-bit), but installing the dll fails every time.

The really weird part is that it works on my 32-bit Linux Mint inside VirtualBox (Win7 host) without problems. I guess 64-bit could be the source of the problem, but I really don't feel like installing a 32-bit OS just for this. Also, other people seem to manage this on 64-bit Linux.

What else can I try?

Thank you very much!
User avatar
dimesio
Moderator
Moderator
Posts: 13368
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install vb6run

Post by dimesio »

Your Wine version is old and no longer supported; upgrade. You should also make sure you have the latest winetricks.

You can create a 32 bit wineprefix without installing a 32 bit OS. http://wiki.winehq.org/FAQ#32_bit_wineprefix
Superphilipp
Newbie
Newbie
Posts: 2
Joined: Sat Mar 22, 2014 2:44 pm

Re: Can't install vb6run

Post by Superphilipp »

THANK YOU! That solved my problem instantly.

I hadn't guessed that there would be a 2 years old version of wine on the most recent Mint repository. Wouldn't they just update to the most recent stable release?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Can't install vb6run

Post by Bob Wya »

Superphilipp wrote: This happens to me whatever I do. I tried a fresh wineprefix (32-bit and 64-bit), but installing the dll fails every time.
Don't get caught out by the classic Wine Multi-lib/Multi-arch "gotcha". Quoting from the link dimesio gave to you:
Do not manually create the directory before running that command; Wine must create it.
So make sure the final directory of Wineprefix path does not exist before you use the 32-bit Wineprefix.

If things have worked you should see something like...

Code: Select all

ls ~/.wine32
 ls: cannot access /home/robert/.wine32: No such file or directory
export WINEARCH=win32
export WINEPREFIX=~/.wine32
winecfg
'ls' -ahl ~/.wine32/drive_c/
 drwxr-xr-x  4 robert users 4.0K Feb  8  2013 Program Files/
 drwxr-xr-x  4 robert users 4.0K Feb 28 23:36 users/
 drwxr-xr-x 17 robert users 4.0K Jan 14 00:03 windows/
tatsu
Newbie
Newbie
Posts: 4
Joined: Fri Nov 14, 2014 1:19 pm

Re: Can't install vb6run

Post by tatsu »

I've tried everything on this page : http://askubuntu.com/questions/127848/w ... -pkcs11-so
and on this page : http://askubuntu.com/questions/177192/h ... ine-prefix

no matter what I do when i run a winetricks command i get the error.

I'm on ubuntu 14.04 64 bit wine 1.7.30
tatsu
Newbie
Newbie
Posts: 4
Joined: Fri Nov 14, 2014 1:19 pm

Re: Can't install vb6run

Post by tatsu »

Locked