[Wine] running program with .exe that does not need being installed

matifou wineforum-user at winehq.org
Mon Jun 8 06:52:03 CDT 2009


Hi

I'm trying to run a program called GAUSS. Under windows, I just needed to launch the .exe  even without installing it, (there is no setup.exe). That means I can just have the file containing different .exe/.dll and so on a usb key and it runs. 

I tried with wine (1.1.23 with ubuntu 8.04), putting it in:

> /home/user/.wine/drive_c/Program Files/


then cd to it and launch:

Code:
wine gauss.exe



But I the have:

> .wine/drive_c/Program Files/gauss6.0$ wine gauss.exe 
> err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\gauss6.0\\cmx20.dll") not found
> err:module:import_dll Library cmx20.dll (which is needed by L"C:\\Program Files\\gauss6.0\\gauss.exe") not found
> err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\gauss6.0\\gauss.exe") not found
> err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\gauss6.0\\gauss.exe" failed, status c0000135


It seems it needs MSVCP60.dll MFC42.DLL. I installed those through wintericks, using 
Code:
winetricks vcrun6



it seems that this helps as I don't get the previous error message and it starts the GUI but then crashes.. I put the log/debug report? at the end of the message. 

Could someone help me and tell where the problem seems to lie? Thanks so much!!

> 
> wine gauss.exe 
> err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
> err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
> wine: Unhandled page fault on read access to 0x0000120c at address 0x41683e (thread 0009), starting debugger...
> Unhandled exception: page fault on read access to 0x0000120c in 32-bit code (0x0041683e).
> Register dump:
>  CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
>  EIP:0041683e ESP:0030646c EBP:003064c4 EFLAGS:00210202(  R- --  I   - - - )
>  EAX:00000000 EBX:00000001 ECX:008866d4 EDX:00000000
>  ESI:005f5d38 EDI:008866d4
> Stack dump:
> 0x0030646c:  008866d4 00306498 0000000c 7bc3bb30
> 0x0030647c:  00000000 00000001 00000000 003064b0
> 0x0030648c:  0000000c 7bc3bb30 0000000c 00000000
> 0x0030649c:  7bc91448 003065b8 005f0ec0 ffffffff
> 0x003064ac:  00416819 00000000 00000000 5f4023d8
> 0x003064bc:  005f5d38 00000111 003064f4 5f4022ae
> Backtrace:
> =>0 0x0041683e in gauss (+0x1683e) (0x003064c4)
>   1 0x5f4022ae in mfc42 (+0x22ae) (0x003064f4)
>   2 0x5f402976 in mfc42 (+0x2976) (0x00306544)
>   3 0x5f401dcc in mfc42 (+0x1dcc) (0x003065c4)
>   4 0x5f401cea in mfc42 (+0x1cea) (0x003065e4)
>   5 0x5f401c73 in mfc42 (+0x1c73) (0x00306644)
>   6 0x5f401bfb in mfc42 (+0x1bfb) (0x00306660)
>   7 0x5f401bba in mfc42 (+0x1bba) (0x0030668c)
>   8 0x7ed3b10a WINPROC_wrapper+0x1a() in user32 (0x003066bc)
>   9 0x7ed3b7ee WINPROC_wrapper+0x6fe() in user32 (0x003066fc)
>   10 0x7ed40bab in user32 (+0xb0bab) (0x0030673c)
>   11 0x7ed017c1 in user32 (+0x717c1) (0x0030679c)
>   12 0x7ed058dd in user32 (+0x758dd) (0x003067fc)
>   13 0x7ed05cee SendMessageA+0x4e() in user32 (0x0030683c)
>   14 0x00425912 in gauss (+0x25912) (0x00886210)
>   15 0x00000001 (0x005f8a98)
>   16 0x004246a0 in gauss (+0x246a0) (0x00424130)
>   17 0x9090c300 (0x5f7ec0b8)
> 0x0041683e: movl	0x120c(%eax),%ecx
> Modules:
> Module	Address			Debug info	Name (112 modules)
> PE	  330000-  33d000	Deferred        pthreadvc
> PE	  3b0000-  3f4000	Deferred        opnx32
> PE	  400000-  660000	Export          gauss
> PE	  990000-  a20000	Deferred        gauss
> PE	  b60000-  b68000	Deferred        import
> PE	  b70000-  b7c000	Deferred        xls
> PE	10000000-10037000	Deferred        cmx20
> PE	5f400000-5f4f2000	Export          mfc42
> PE	78000000-78044000	Deferred        msvcrt
> PE	780c0000-78121000	Deferred        msvcp60
> ELF	7b800000-7b94f000	Deferred        kernel32<elf>
>   \-PE	7b820000-7b94f000	\               kernel32
> ELF	7bc00000-7bcad000	Deferred        ntdll<elf>
>   \-PE	7bc10000-7bcad000	\               ntdll
> ELF	7bf00000-7bf03000	Deferred        <wine-loader>
> ELF	7dcda000-7ddbc000	Deferred        oleaut32<elf>
>   \-PE	7dcf0000-7ddbc000	\               oleaut32
> ELF	7de6c000-7de70000	Deferred        libgpg-error.so.0
> ELF	7de70000-7debd000	Deferred        libgcrypt.so.11
> ELF	7debd000-7decd000	Deferred        libtasn1.so.3
> ELF	7decd000-7ded0000	Deferred        libkeyutils.so.1
> ELF	7ded0000-7df02000	Deferred        libcrypt.so.1
> ELF	7df02000-7df78000	Deferred        libgnutls.so.13
> ELF	7df78000-7df9b000	Deferred        libk5crypto.so.3
> ELF	7df9b000-7e028000	Deferred        libkrb5.so.3
> ELF	7e028000-7e051000	Deferred        libgssapi_krb5.so.2
> ELF	7e051000-7e084000	Deferred        libcups.so.2
> ELF	7e0a0000-7e0b8000	Deferred        spoolss<elf>
>   \-PE	7e0b0000-7e0b8000	\               spoolss
> ELF	7e0b8000-7e0d5000	Deferred        localspl<elf>
>   \-PE	7e0c0000-7e0d5000	\               localspl
> ELF	7e12c000-7e151000	Deferred        msacm32<elf>
>   \-PE	7e130000-7e151000	\               msacm32
> ELF	7e151000-7e214000	Deferred        libasound.so.2
> ELF	7e214000-7e21c000	Deferred        libkrb5support.so.0
> ELF	7e21c000-7e230000	Deferred        midimap<elf>
>   \-PE	7e220000-7e230000	\               midimap
> ELF	7e230000-7e265000	Deferred        winealsa<elf>
>   \-PE	7e240000-7e265000	\               winealsa
> ELF	7e265000-7e298000	Deferred        uxtheme<elf>
>   \-PE	7e270000-7e298000	\               uxtheme
> ELF	7e298000-7e2a1000	Deferred        libxcursor.so.1
> ELF	7e2a1000-7e2a6000	Deferred        libxfixes.so.3
> ELF	7e2a6000-7e2a9000	Deferred        libxcomposite.so.1
> ELF	7e2a9000-7e2af000	Deferred        libxrandr.so.2
> ELF	7e2af000-7e2b7000	Deferred        libxrender.so.1
> ELF	7e2b7000-7e2bc000	Deferred        libxxf86vm.so.1
> ELF	7e2bc000-7e2bf000	Deferred        libxinerama.so.1
> ELF	7e2bf000-7e2de000	Deferred        imm32<elf>
>   \-PE	7e2d0000-7e2de000	\               imm32
> ELF	7e2de000-7e2e3000	Deferred        libxdmcp.so.6
> ELF	7e2e3000-7e2fb000	Deferred        libxcb.so.1
> ELF	7e2fb000-7e2fe000	Deferred        libxau.so.6
> ELF	7e2fe000-7e3e5000	Deferred        libx11.so.6
> ELF	7e3e5000-7e3f3000	Deferred        libxext.so.6
> ELF	7e3f3000-7e40b000	Deferred        libice.so.6
> ELF	7e40b000-7e413000	Deferred        libsm.so.6
> ELF	7e413000-7e416000	Deferred        libcom_err.so.2
> ELF	7e416000-7e42d000	Deferred        msacm32<elf>
>   \-PE	7e420000-7e42d000	\               msacm32
> ELF	7e42f000-7e4c8000	Deferred        winex11<elf>
>   \-PE	7e440000-7e4c8000	\               winex11
> ELF	7e4e9000-7e50a000	Deferred        libexpat.so.1
> ELF	7e50a000-7e534000	Deferred        libfontconfig.so.1
> ELF	7e534000-7e549000	Deferred        libz.so.1
> ELF	7e549000-7e5b6000	Deferred        libfreetype.so.6
> ELF	7e5b6000-7e5dc000	Deferred        netapi32<elf>
>   \-PE	7e5c0000-7e5dc000	\               netapi32
> ELF	7e5dc000-7e5ef000	Deferred        libresolv.so.2
> ELF	7e5ef000-7e5f1000	Deferred        libxcb-xlib.so.0
> ELF	7e60b000-7e629000	Deferred        iphlpapi<elf>
>   \-PE	7e610000-7e629000	\               iphlpapi
> ELF	7e629000-7e656000	Deferred        ws2_32<elf>
>   \-PE	7e630000-7e656000	\               ws2_32
> ELF	7e656000-7e670000	Deferred        wsock32<elf>
>   \-PE	7e660000-7e670000	\               wsock32
> ELF	7e670000-7e683000	Deferred        lz32<elf>
>   \-PE	7e680000-7e683000	\               lz32
> ELF	7e683000-7e69c000	Deferred        version<elf>
>   \-PE	7e690000-7e69c000	\               version
> ELF	7e69c000-7e707000	Deferred        rpcrt4<elf>
>   \-PE	7e6b0000-7e707000	\               rpcrt4
> ELF	7e707000-7e7fd000	Deferred        ole32<elf>
>   \-PE	7e720000-7e7fd000	\               ole32
> ELF	7e7fd000-7e832000	Deferred        winspool<elf>
>   \-PE	7e800000-7e832000	\               winspool
> ELF	7e832000-7e88d000	Deferred        shlwapi<elf>
>   \-PE	7e840000-7e88d000	\               shlwapi
> ELF	7e88d000-7ea17000	Deferred        shell32<elf>
>   \-PE	7e8a0000-7ea17000	\               shell32
> ELF	7ea17000-7eac8000	Deferred        comdlg32<elf>
>   \-PE	7ea20000-7eac8000	\               comdlg32
> ELF	7eaea000-7eb7f000	Deferred        winmm<elf>
>   \-PE	7eb00000-7eb7f000	\               winmm
> ELF	7eb7f000-7ebd4000	Deferred        advapi32<elf>
>   \-PE	7eb90000-7ebd4000	\               advapi32
> ELF	7ebd4000-7ec73000	Deferred        gdi32<elf>
>   \-PE	7ebe0000-7ec73000	\               gdi32
> ELF	7ec73000-7edb9000	Export          user32<elf>
>   \-PE	7ec90000-7edb9000	\               user32
> ELF	7edb9000-7ee7c000	Deferred        comctl32<elf>
>   \-PE	7edc0000-7ee7c000	\               comctl32
> ELF	7ef9c000-7efa7000	Deferred        libnss_files.so.2
> ELF	7efa7000-7efbf000	Deferred        libnsl.so.1
> ELF	7efbf000-7efe4000	Deferred        libm.so.6
> ELF	7efed000-7eff7000	Deferred        libnss_nis.so.2
> ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
> ELF	b7c27000-b7c2b000	Deferred        libdl.so.2
> ELF	b7c2b000-b7d7a000	Deferred        libc.so.6
> ELF	b7d7b000-b7d93000	Deferred        libpthread.so.0
> ELF	b7daf000-b7eea000	Deferred        libwine.so.1
> ELF	b7eec000-b7f08000	Deferred        ld-linux.so.2
> Threads:
> process  tid      prio (all id:s are in hex)
> 00000008 (D) C:\Program Files\gauss6.0\gauss.exe
> 	00000009    0 <==
> 0000000c 
> 	00000013    0
> 	00000012    0
> 	0000000e    0
> 	0000000d    0
> 0000000f 
> 	00000015    0
> 	00000014    0
> 	00000011    0
> 	00000010    0
> 00000016 
> 	00000017    0
> Backtrace:
> =>0 0x0041683e in gauss (+0x1683e) (0x003064c4)
>   1 0x5f4022ae in mfc42 (+0x22ae) (0x003064f4)
>   2 0x5f402976 in mfc42 (+0x2976) (0x00306544)
>   3 0x5f401dcc in mfc42 (+0x1dcc) (0x003065c4)
>   4 0x5f401cea in mfc42 (+0x1cea) (0x003065e4)
>   5 0x5f401c73 in mfc42 (+0x1c73) (0x00306644)
>   6 0x5f401bfb in mfc42 (+0x1bfb) (0x00306660)
>   7 0x5f401bba in mfc42 (+0x1bba) (0x0030668c)
>   8 0x7ed3b10a WINPROC_wrapper+0x1a() in user32 (0x003066bc)
>   9 0x7ed3b7ee WINPROC_wrapper+0x6fe() in user32 (0x003066fc)
>   10 0x7ed40bab in user32 (+0xb0bab) (0x0030673c)
>   11 0x7ed017c1 in user32 (+0x717c1) (0x0030679c)
>   12 0x7ed058dd in user32 (+0x758dd) (0x003067fc)
>   13 0x7ed05cee SendMessageA+0x4e() in user32 (0x0030683c)
>   14 0x00425912 in gauss (+0x25912) (0x00886210)
>   15 0x00000001 (0x005f8a98)
>   16 0x004246a0 in gauss (+0x246a0) (0x00424130)
>   17 0x9090c300 (0x5f7ec0b8)








More information about the wine-users mailing list