Can't run vagex.exe on Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Can't run vagex.exe on Wine

Post by wineuser_ »

Hello new user here,

First of all I did read FAQ and Guide nothing helped. Secondly I want to run vagex.exe program on Ubuntu 10.10 x86 using Wine. But I get this error.

Image

So how to solve this problem? If you want to see what kind of exe file it is then you can download it from.

http://vagex.com/Vagex.zip

Also this application will run IE in the background and use flash player so I guess I need those too also ? Does Wine come with IE on it and Adobe Flash Player?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't run vagex.exe on Wine

Post by dimesio »

wineuser_ wrote: Also this application will run IE in the background and use flash player so I guess I need those too also ? Does Wine come with IE on it and Adobe Flash Player?
Wine has its own version of IE based on gecko, but it's insufficient for many apps, so you may have to install real IE with winetricks. You will also have to do that for Flash.

You didn't say what version of Wine you're using. If it's not the latest development release, upgrade. If it doesn't work in current Wine, post console output. http://wiki.winehq.org/FAQ#get_log
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

Ok thanks for the response. I think I use Wine 1.2 though I am not sure. I will update this thread when I do what you asked from me. I would really like to solve this problem since it might help me and others.

Thanks.
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

Code: Select all

root@cloud-4f800bb5109cd:~# cd '.wine/dosdevices/c:/users/root/Desktop/Vagex'root@cloud-4f800bb5109cd:~/.wine/dosdevices/c:/users/root/Desktop/Vagex# wine vagex.exe
fixme:sync:CreateMemoryResourceNotification (0) stub
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.VisualBasic"
fixme:imm:ImmDisableIME (-1): stub
fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime 2.0 Error Reporting"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0008,0x000000e8,0x3009a1b4,0x5dc600): stub
err:eventlog:ReportEventW L"vagex.exe"
err:eventlog:ReportEventW L"1.9.6.0"
err:eventlog:ReportEventW L"4f750cf6"
err:eventlog:ReportEventW L"kernel32.dll"
err:eventlog:ReportEventW L"5.1.2600.2180"
err:eventlog:ReportEventW L"00000000"
err:eventlog:ReportEventW L"0"
err:eventlog:ReportEventW L"00029f72"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Exception from HRESULT: 0x80070002
File name: 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

wine: Unhandled exception 0xe0434f4d at address 0x7b839f72 (thread 0009), starting debugger...
Unhandled exception: 0xe0434f4d in 32-bit code (0x7b839f72).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7b839f72 ESP:0032fd18 EBP:0032fd7c EFLAGS:00200246(   - --  I  Z- -P- )
 EAX:7b826255 EBX:7b895ff4 ECX:00000000 EDX:e0434f4d
 ESI:e0434f4d EDI:e0434f4d
Stack dump:
0x0032fd18:  0032fdb4 00000004 a32fe0f3 e0434f4d
0x0032fd28:  00000001 00000000 7b839f72 00000001
0x0032fd38:  80070002 e0434f4d 0032fdb4 00392010
0x0032fd48:  02000036 0032fd60 79e814da 0032fd6c
0x0032fd58:  02000036 00000001 0032fddc 79e87ff4
0x0032fd68:  0000012c 003f161c 7b839f2a 0013ae30
Backtrace:
=>0 0x7b839f72 in kernel32 (+0x29f72) (0x0032fd7c)
  1 0x79f97065 in mscorwks (+0x127064) (0x0032fddc)
  2 0x79f972d0 in mscorwks (+0x1272cf) (0x0032fe14)
  3 0x79fbf55a in mscorwks (+0x14f559) (0x0032fe60)
  4 0x79011b5f in mscoree (+0x11b5e) (0x0032fe70)
  5 0x7b85a01c call_process_entry+0xb() in kernel32 (0x0032fe88)
  6 0x7b85b28f in kernel32 (+0x4b28e) (0x0032fec8)
  7 0x7bc71f30 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  8 0x7bc749fd call_thread_func+0x7c() in ntdll (0x0032ffa8)
  9 0x7bc71f0e RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  10 0x7bc4a05e call_dll_entry_point+0x61d() in ntdll (0x0032ffe8)
0x7b839f72: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (69 modules)
PE	  400000-  42c000	Deferred        vagex
PE	78130000-781cb000	Deferred        msvcr80
PE	79000000-79045000	Export          mscoree
PE	79060000-790b3000	Deferred        mscorjit
PE	790c0000-794de000	Deferred        mscorlib
PE	79e70000-7a3d1000	Export          mscorwks
ELF	7b800000-7ba16000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba16000	\               kernel32
ELF	7bc00000-7bcc3000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcc3000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7e0ea000-7e11e000	Deferred        uxtheme<elf>
  \-PE	7e0f0000-7e11e000	\               uxtheme
ELF	7e11e000-7e216000	Deferred        comctl32<elf>
  \-PE	7e130000-7e216000	\               comctl32
ELF	7e28f000-7e49f000	Deferred        shell32<elf>
  \-PE	7e2a0000-7e49f000	\               shell32
ELF	7e4cd000-7e542000	Deferred        rpcrt4<elf>
  \-PE	7e4e0000-7e542000	\               rpcrt4
ELF	7e542000-7e648000	Deferred        ole32<elf>
  \-PE	7e560000-7e648000	\               ole32
ELF	7e648000-7e6d5000	Deferred        msvcrt<elf>
  \-PE	7e660000-7e6d5000	\               msvcrt
ELF	7e6d5000-7e6df000	Deferred        libxcursor.so.1
ELF	7e746000-7e76d000	Deferred        libexpat.so.1
ELF	7e76d000-7e79d000	Deferred        libfontconfig.so.1
ELF	7e79d000-7e7ab000	Deferred        libxi.so.6
ELF	7e7ab000-7e7b1000	Deferred        libxfixes.so.3
ELF	7e7b1000-7e7b5000	Deferred        libxcomposite.so.1
ELF	7e7b5000-7e7bd000	Deferred        libxrandr.so.2
ELF	7e7bd000-7e7c7000	Deferred        libxrender.so.1
ELF	7e7c7000-7e7cd000	Deferred        libxxf86vm.so.1
ELF	7e7cd000-7e7d1000	Deferred        libxinerama.so.1
ELF	7e7d1000-7e7f3000	Deferred        imm32<elf>
  \-PE	7e7e0000-7e7f3000	\               imm32
ELF	7e7f3000-7e7f9000	Deferred        libxdmcp.so.6
ELF	7e7f9000-7e813000	Deferred        libxcb.so.1
ELF	7e813000-7e930000	Deferred        libx11.so.6
ELF	7e930000-7e940000	Deferred        libxext.so.6
ELF	7e940000-7e959000	Deferred        libice.so.6
ELF	7e959000-7e962000	Deferred        libsm.so.6
ELF	7e962000-7e9f6000	Deferred        winex11<elf>
  \-PE	7e970000-7e9f6000	\               winex11
ELF	7e9f6000-7ea0b000	Deferred        libz.so.1
ELF	7ea0b000-7ea82000	Deferred        libfreetype.so.6
ELF	7ea82000-7ea9b000	Deferred        version<elf>
  \-PE	7ea90000-7ea9b000	\               version
ELF	7ea9b000-7eb58000	Deferred        gdi32<elf>
  \-PE	7eab0000-7eb58000	\               gdi32
ELF	7eb58000-7ec98000	Deferred        user32<elf>
  \-PE	7eb70000-7ec98000	\               user32
ELF	7ec98000-7ed02000	Deferred        shlwapi<elf>
  \-PE	7ecb0000-7ed02000	\               shlwapi
ELF	7ed02000-7ed62000	Deferred        advapi32<elf>
  \-PE	7ed10000-7ed62000	\               advapi32
ELF	7ed62000-7ed9b000	Deferred        libncurses.so.5
ELF	7efa9000-7efb5000	Deferred        libnss_files.so.2
ELF	7efb5000-7efcc000	Deferred        libnsl.so.1
ELF	7efcc000-7eff2000	Deferred        libm.so.6
ELF	7eff5000-7f000000	Deferred        libnss_nis.so.2
ELF	b75d2000-b75d6000	Deferred        libxau.so.6
ELF	b75d6000-b75de000	Deferred        libnss_compat.so.2
ELF	b75df000-b75e3000	Deferred        libdl.so.2
ELF	b75e4000-b7741000	Deferred        libc.so.6
ELF	b7741000-b775b000	Deferred        libpthread.so.0
ELF	b775d000-b7762000	Deferred        libuuid.so.1
ELF	b7769000-b78aa000	Dwarf           libwine.so.1
ELF	b78ae000-b78cc000	Deferred        ld-linux.so.2
ELF	b78cc000-b78cd000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\users\root\Desktop\Vagex\vagex.exe
	00000025    2
	00000024    0
	00000009    0 <==
0000000e services.exe
	00000020    0
	0000001f    0
	00000019    0
	00000018    0
	00000017    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001d    0
	0000001a    0
	00000014    0
	00000013    0
0000001b plugplay.exe
	00000021    0
	0000001e    0
	0000001c    0
00000022 explorer.exe
	00000023    0
root@cloud-4f800bb5109cd:~/.wine/dosdevices/c:/users/root/Desktop/Vagex# 
Ok I am looking now at this log and I don't understand any thing. So now what to do?
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

And now I see I didn't post Wine version. It's 1.3 . Sry for the spam. Waiting for further assistance. Thank you.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

wineuser_ wrote:

Code: Select all

root@cloud-4f800bb5109cd:~# cd '.wine/dosdevices/c:/users/root/Desktop/Vagex'root@cloud-4f800bb5109cd:~/.wine/dosdevices/c:/users/root/Desktop/Vagex# wine vagex.exe
Never run Wine as root. Install your app as a normal user.
And now I see I didn't post Wine version. It's 1.3
That's the just the Ubuntu package numbering, so there's no telling from that what version you have. Type

Code: Select all

wine --version
in a terminal to find out the real version. If it's not 1.4 or later, upgrade.
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

I typed the command. It's wine 1.4

Okey I found something about creating new user. And I created one.

I found how to on this link and named it normaluser

http://www.howtogeek.com/50082/create-a ... rver-9-10/

Now to switch to that user I typed.

Code: Select all

sudo -i -u normaluser
Now following how to in the second post I tried to change directory to that particular folder named Vagex on desktop. But the permission is the issue now as you can see in the code bellow.

Code: Select all

normaluser@cloud-4f800bb5109cd:~$ cd '/root/.wine/dosdevices/c:/users/root/Desktop/Vagex'
-bash: cd: /root/.wine/dosdevices/c:/users/root/Desktop/Vagex: Permission denied
normaluser@cloud-4f800bb5109cd:~$ sudo cd '/root/.wine/dosdevices/c:/users/root/Desktop/Vagex'
[sudo] password for normaluser: 
normaluser is not in the sudoers file.  This incident will be reported.
normaluser@cloud-4f800bb5109cd:~$ 
So now what?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

wineuser_ wrote: Now following how to in the second post I tried to change directory to that particular folder named Vagex on desktop. But the permission is the issue now as you can see in the code bellow.
Of course it's an issue. I told you to install your app as a normal user. Delete /root/.wine and run winecfg as a normal user to create the default wineprefix in /home/normaluser/.wine. Then install your app to that wineprefix.
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

hello admin,

I have to figure out how to do what you said since couple of days ago Linux OS was something new to me. I have few people whom I can ask and once I do what you said to me I'll post update here. Please keep an eye on this topic.

Thanks.
lmn40227
Newbie
Newbie
Posts: 3
Joined: Mon Apr 16, 2012 8:00 pm

Post by lmn40227 »

. I have few people whom I can ask and once I do what you said to me I'll post update here.
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Hello

Post by wineuser_ »

I am on my way to solve this. I've created normal user and used winetrick to do what you asked of me. I still can't open the .exe file. I just see in taskbar little icon "Opening.." and nothing more.
Is it possible that Wine opens it and runs it somewhere but I don't see it?
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

Hello,
I've followed instructions here and installed Wine as normal user (with sudo right) on my Centos 6. I've also installed IE8 successfully on Centos using wine. I've checked is there IE8 in the Program Files directory and it was. But I can't run it. And my .exe application uses IE and Adobe Flash player. So I think that may be the issue.

Please advise me more.

Thanks
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Can't run vagex.exe on Wine

Post by jjmckenzie »

On Fri, Apr 20, 2012 at 4:17 PM, wineuser_ <[email protected]> wrote:
Hello,
I've followed instructions here and installed Wine as normal user (with sudo right) on my Centos 6. I've also installed IE8 successfully on
Centos using wine. I've checked is there IE8 in the Program Files directory and it was. But I can't run it. And my .exe application uses IE
and Adobe Flash player. So I think that may be the issue.
If you had used winetricks to install IE8, it states that IE8 cannot
be run. It can be installed, however, to give IE8 functions when
needed. Can this program use IE7?

James
wineuser_
Level 1
Level 1
Posts: 9
Joined: Thu Apr 12, 2012 11:03 am

Post by wineuser_ »

Hello
I didn't try IE7 but I got info on IRC that IE8 can't run on Wine. Second, I am trying on Centos now to run Wine which I downloaded from here.
Link of the website

I used winetricks with >>this tutorial here<< but it didn't work.

Now the plan is now to check if Gecko can help me or if IE7 can be used to run application.

I typed wine ~/location of exe file in system32 folder but I got message that i need mono for Windows.
And I installed it of course and still no luck. Again when I type same command from terminal I got the same message.

But since I got information that this app is in the dark zone of breaching YouTube TOS then admin should consider of closing this thread.

Cheers
Locked