Total noob question: Wine runs .exe but nothing happens.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MacFall
Newbie
Newbie
Posts: 2
Joined: Thu Sep 16, 2010 12:29 pm

Total noob question: Wine runs .exe but nothing happens.

Post by MacFall »

I am a fairly new Ubuntu user. I just started using Wine and I'm trying to install a program. I downloaded the install file, set the permissions so it would run as an executable, and opened it in Wine. It opens a new button in the taskbar that says "opening [program].exe", which runs for a few seconds - and then, nothing happens.

Halp?
John Drescher

Total noob question: Wine runs .exe but nothing happens.

Post by John Drescher »

On Thu, Sep 16, 2010 at 1:43 PM, MacFall <[email protected]> wrote:
I am a fairly new Ubuntu user. I just started using Wine and I'm trying to install a program. I downloaded the install file, set the permissions so it would run as an executable, and opened it in Wine. It opens a new button in the taskbar that says "opening [program].exe", which runs for a few seconds - and then, nothing happens.

Halp?
Run it in the terminal. Post the debug messages.

http://wiki.winehq.org/FAQ#head-a37de32 ... 52258551a4

John
MacFall
Newbie
Newbie
Posts: 2
Joined: Thu Sep 16, 2010 12:29 pm

Post by MacFall »

Ok, first I did this:
wine VisualBoyAdvance.exe
and got back this:
wine: cannot find L"C:\\windows\\system32\\VisualBoyAdvance.exe"
So I moved the file from the Downloads folder into the system32 folder in Wine's virtual C drive because it's obviously looking for it there. But when I tried again, this:
wine VisualBoyAdvance.exe
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\VisualBoyAdvance.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\VisualBoyAdvance.exe" failed, status c0000135
John Drescher

Total noob question: Wine runs .exe but nothing happens.

Post by John Drescher »

On Thu, Sep 16, 2010 at 2:23 PM, MacFall <[email protected]> wrote:
Ok, first I did this:
wine VisualBoyAdvance.exe
and got back this:
wine: cannot find L"C:\\windows\\system32\\VisualBoyAdvance.exe"
So I moved the file from the Downloads folder into the system32 folder in Wine's virtual C drive because it's obviously looking for it there. But when I tried again, this:
wine VisualBoyAdvance.exe
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\VisualBoyAdvance.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\VisualBoyAdvance.exe" failed, status c0000135
winetricks vc6

http://wiki.winehq.org/winetricks

then repeat the
wine VisualBoyAdvance.exe

make sure you do not do any of this as root, su or sudo.

Also you can look for the app in appdb.winehq.org and see if there is
any hints to get it working.

John
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

So I moved the file from the Downloads folder into the system32 folder in Wine's virtual C drive because it's obviously looking for it there.
Don't do this. It's only looking in system32 as a last resort because it's not in your current directory. Instead, use "cd" to navigate to VisualBoyAdvance.exe's location instead (like cd $HOME/Downloads/).
Locked