LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is it possible to use programs istalled inmy Windows partition under Linux using Wine (https://www.linuxquestions.org/questions/linux-software-2/is-it-possible-to-use-programs-istalled-inmy-windows-partition-under-linux-using-wine-168335/)

ernesto_lelo 04-09-2004 08:27 PM

Is it possible to use programs istalled inmy Windows partition under Linux using Wine
 
I''m definitely a newbie when comes to Linux issues, so probably this is one of those obvious questions.
I'm trying to migrate from windows to linux as much as possible.
There is one application, a chat service called: Live Person, that is already installed under my Windows (Win 2000) partition and I need to run it under Linux (Red Hat 9).
I was reading about Wine, but seems to me that instead of letting me use pre-installed software under a pre-define partition, it creates a new "virtual" partition where you can "install" or better said use the windows' software.
So far I've installed wine-20040309-1rh9winehq.i386.rpm, XWine-0.3.2_en.tar.gz and winesetuptk-0-73.i586.rpm which I read on a forum will help me configuring the wine.
I tried to run the application using wine before without using Xwine, but I received this errors:

wine /mnt/windows/Program\ Files/LivePerson/hc.exe

Could not stat /mnt/floppy (No such file or directory), ignoring drive A:
Could not stat /mnt/cdrom (No such file or directory), ignoring drive D:
err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\mnt\\windows\\Program Files\\LivePerson\\hc.exe") not found
err:module:import_dll Library MSVCIRT.dll (which is needed by L"Z:\\mnt\\windows\\Program Files\\LivePerson\\hc.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\mnt\\windows\\Program Files\\LivePerson\\hc.exe" failed, status c0000135

That's what I have done so far. I know there is still a lot of reading to do, but if I get this program to run under Red Hat I could migrate finally to Linux.

Thanks.

arrruken 04-10-2004 01:11 AM

No, as far as I know, you have to install it to the "fake" directory that Wine sets up to look like Windows. Wine stores all the dll's and other files it needs in this fake directory, so even though it may be possible to start the .exe from a different partition, wine is going to look for the needed files in the fake directory.

megaspaz 04-10-2004 01:13 AM

hmmm.... not sure how good wine does on windows partitions using ntfs (or if it even works in such a case). i can say for sure that you can run windows programs already installed in windows if you're using win9X-ME. but i don't know about the program you're trying to run. it could be that the program itself won't run on wine. but http://frankscorner.org is a great place to get wine info and how to's.

ernesto_lelo 04-10-2004 11:27 AM

Thanks for the quick response. I'll be checking the address right now.
Seems like the redhat doesn't work properly when using something different than rpm files. I tried with the Debian's distribution and also some tar.gz files. Both times I deleted the .wine folder to start installing the new distribution all fresh, but still there is no way for me to make it run smoothly. Using the RPM package I got to run notepad, but seems to me that it was running a version form the folder that Wine creates instead of taking the notepad file from my Windows partition.
When I try to run the program (wine /mnt/windows/live/hc.exe) I received the errors that I mentioned before.
I check with a friend of mine and he suggested that it is possible to run the programs installed on my Windows partitions but he wasn't sure if there is a problem when using programs from NTFS partition, just like megaspaz mentioned before.
I'm pointing my effort to install the wine properly before trying to fix my problem with the hc.exe, I was reading about configuring the wine using XWine, but I haven't been able to put it to work together with the RPM distribution of wine, which is the one that seems to be working better.
Thanks again.

Metal Martian 04-10-2004 02:44 PM

I read somewhere that most windows programs try to immediately write something to the disk so if your windows partition is NTFS and is read only the program won't work. I've also read its not a good idea to give linux write access to NTFS partitions.

MM

ernesto_lelo 04-10-2004 03:57 PM

Thanks Metal.
I read that too somewhere.
I finally got the rpm distribution to work (apparently...). I even got the install.exe form warcraft 3 to start running, but now I run into a different problem. When installing the game, the installation page does open, but is giving me the message:
"Windows 95 Detected"
"Windows 95 is NOT SUPPORTED for Warcraft III"

Which I know is giving me this error because apparently the Wine is "emulating" a win95 version.

I tried to edit the configure and changed the following lines:

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
;"Windows" = "win2k"
; DOS version to imitate
;"DOS" = "6.22"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win2k"

By doing this changes I was expecting the Wine to emulate a Windows 2000 System, but still, I'm getting the same error from Warcraft 3.

I thought that if I can get the Warcraft to run using Wine, I could use the same procedure to make the chat service I need to run, works using Wine as well.

arrruken 04-10-2004 05:33 PM

Use WineX for games, and there is no reason you should be using wine for notepad. Linux has plenty of damn good text editors to work with, that would be better than emulating a crappy one like notepad. Try Gedit if you use gnome, nano or pico on the console, I believe Kedit in KDE.

ernesto_lelo 04-10-2004 07:04 PM

Maybe I wasn't very clear on my previous Reply.
I'm not trying to use notepad as a text editor. What I tried to say was that wine is working fine, using very basic windows applications, like notepad (I know open Office has a very good text editor as well). The problem is when I try to use more advance applications, there is when the problems begin.

ernesto_lelo 04-10-2004 07:17 PM

Any idea what I have to configure to "emulate" the win2k version under wine?

ShadyCharacter 04-10-2004 08:37 PM

Quote:

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
"Windows" = "win2k"
Did you remove the semicolon before "Windows" here?

ernesto_lelo 04-11-2004 07:49 AM

No, I didn't. As far as I understand, the semicolon is there so the line can be read as a commentary an not as part of the program.
My configure is just the way I posted it

ernesto_lelo 04-11-2004 08:44 AM

Thanks ShadyCharacter.
That finally solved my problem with the Wine emulating Win2k. You were right, it was just a matter of removing the semicolon.
One problem fixed, some others still on the way.
Now, this is where I am so far.
I finally got the chat service's installation program that I need to run to work (apparently...). I received one error duh at the end of the installation process.
This is what I did:

wine /mnt/windows/LivePerson/lpsetup.exe

This runs the installation process just like when installing under windows, but one error message at the end.
then when I try to run the program:

cd /.wine/c/Program \ Files/LivePerson/hc.exe

this is what I received:

Could not stat /mnt/floppy (No such file or directory), ignoring drive A:
Could not stat /mnt/cdrom (No such file or directory), ignoring drive D:
err:imagelist:ImageList_LoadImageA Error loading image!
fixme:ole:CoRegisterMessageFilter stub
You need to install the Mozilla ActiveX control to
use Wine's builtin CLSID_WebBrowser from SHDOCVW.DLL
fixme:shdocvw:WBPCI2_GetGUID stub: dwGuidKind = 1, pGUID = {00000000-0000-0000-0000-000000000000}
fixme:shdocvw:WBPCI2_GetGUID Wrongly returning IPropertyNotifySink interface {9bfbbc02-eff1-101a-84ed-00aa00341d07}
fixme:shdocvw:WBQA_QuickActivate stub: QACONTAINER = 0x4085e51c, QACONTROL = 0x4085e55c
fixme:shdocvw:WBPSI_Load stub: LPSTORAGE = 0x4085e5f0
fixme:shdocvw:WBCP_Advise stub: IUnknown = 0x41df2f88, connection cookie = 0
fixme:shdocvw:WBOOBJ_SetExtent stub: (0x41f19180, 1, (3889 x 1138))
fixme:shdocvw:WBOOBJ_DoVerb : stub iVerb = -5
fixme:shdocvw:WBOOBJ_DoVerb stub for OLEIVERB_INPLACEACTIVATE
fixme:shdocvw:WBOC_GetControlInfo stub: LPCONTROLINFO = 0x41df2f28
fixme:shdocvw:WBOIPO_GetWindow stub HWND* = 0x4085e628
fixme:shdocvw:WBOC_FreezeEvents stub: bFreeze = 1
fixme:shdocvw:WBCP_Unadvise stub: cookie to disconnect = 41df2f00
fixme:shdocvw:WBCP_Unadvise stub: cookie to disconnect = 41df2eb0
fixme:shdocvw:WBCP_Unadvise stub: cookie to disconnect = 1
fixme:shdocvw:WBOIPO_InPlaceDeactivate stub
fixme:shdocvw:WBOOBJ_SetClientSite stub: (0x41f19180, (nil))
fixme:shdocvw:WBOOBJ_Close stub: ()
You need to install the Mozilla ActiveX control to
use Wine's builtin CLSID_WebBrowser from SHDOCVW.DLL
fixme:shdocvw:WBPCI2_GetGUID stub: dwGuidKind = 1, pGUID = {00000000-0000-0000-0000-000000000000}
fixme:shdocvw:WBPCI2_GetGUID Wrongly returning IPropertyNotifySink interface {9bfbbc02-eff1-101a-84ed-00aa00341d07}
fixme:shdocvw:WBQA_QuickActivate stub: QACONTAINER = 0x4085e530, QACONTROL = 0x4085e570
fixme:shdocvw:WBPSI_Load stub: LPSTORAGE = 0x4085e604
fixme:shdocvw:WBCP_Advise stub: IUnknown = 0x41df2fe8, connection cookie = 0
fixme:shdocvw:WBOOBJ_SetExtent stub: (0x41f19180, 1, (5583 x 2566))
fixme:shdocvw:WBOOBJ_DoVerb : stub iVerb = -5
fixme:shdocvw:WBOOBJ_DoVerb stub for OLEIVERB_INPLACEACTIVATE
fixme:shdocvw:WBOC_GetControlInfo stub: LPCONTROLINFO = 0x41df2f88
fixme:shdocvw:WBOIPO_GetWindow stub HWND* = 0x4085e63c
fixme:shdocvw:WBOC_FreezeEvents stub: bFreeze = 1
fixme:shdocvw:WBCP_Unadvise stub: cookie to disconnect = 41df2f60
fixme:shdocvw:WBCP_Unadvise stub: cookie to disconnect = 41df2f10
fixme:shdocvw:WBCP_Unadvise stub: cookie to disconnect = 2
fixme:shdocvw:WBOIPO_InPlaceDeactivate stub
fixme:shdocvw:WBOOBJ_SetClientSite stub: (0x41f19180, (nil))
fixme:shdocvw:WBOOBJ_Close stub: ()
wine: Unhandled exception (thread 0009), starting debugger...
Could not stat /mnt/floppy (No such file or directory), ignoring drive A:
Could not stat /mnt/cdrom (No such file or directory), ignoring drive D:
WineDbg starting on pid 8
No debug information in ELF 'wine-kthread' ((nil))
Breakpoint 1 at 0x4000c9c0 (_end+0x3fef5b7c)
No debug information in ELF '/usr/lib/libwine.so.1' (0x40029000)
No debug information in ELF '/lib/libc.so.6' (0x40041000)
No debug information in ELF '/lib/libdl.so.2' (0x4017a000)
No debug information in ELF '/lib/libm.so.6' (0x4017d000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
No debug information in ELF '/usr/lib/wine/ntdll.dll.so' (0x4019f000)
No debug information in ELF '/usr/lib/libwine_unicode.so.1' (0x40210000)
No debug information in ELF '/lib/libnss_files.so.2' (0x40019000)
No debug information in ELF '/usr/lib/wine/kernel32.dll.so' (0x40420000)
No debug information in ELF '/usr/lib/wine/winmm.dll.so' (0x40860000)
No debug information in ELF '/usr/lib/wine/user32.dll.so' (0x408d4000)
No debug information in ELF '/usr/lib/wine/gdi32.dll.so' (0x40a2c000)
No debug information in ELF '/lib/libgcc_s.so.1' (0x40303000)
No debug information in ELF '/usr/lib/wine/advapi32.dll.so' (0x40c09000)
No debug information in ELF '/usr/lib/wine/wininet.dll.so' (0x40c3e000)
No debug information in ELF '/usr/lib/wine/mpr.dll.so' (0x40c7a000)
No debug information in ELF '/usr/lib/wine/shlwapi.dll.so' (0x40c94000)
No debug information in ELF '/usr/lib/wine/ole32.dll.so' (0x40cf2000)
No debug information in ELF '/usr/lib/wine/rpcrt4.dll.so' (0x40d73000)
No debug information in ELF '/usr/lib/wine/shell32.dll.so' (0x40dc0000)
No debug information in ELF '/usr/lib/wine/comctl32.dll.so' (0x40e52000)
No debug information in ELF '/usr/lib/wine/comdlg32.dll.so' (0x40f0c000)
No debug information in ELF '/usr/lib/wine/winspool.drv.so' (0x40f95000)
No debug information in ELF '/usr/lib/wine/oleaut32.dll.so' (0x40fbc000)
No debug information in ELF '/usr/lib/libungif.so.4' (0x40746000)
No debug information in ELF '/usr/lib/libjpeg.so.62' (0x41052000)
No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x41070000)
No debug information in ELF '/usr/lib/wine/wsock32.dll.so' (0x4114f000)
No debug information in ELF '/usr/lib/wine/ws2_32.dll.so' (0x4116c000)
No debug information in ELF '/usr/lib/wine/iphlpapi.dll.so' (0x41194000)
No debug information in ELF '/usr/lib/libfreetype.so.6' (0x411b4000)
No debug information in ELF '/usr/lib/libfontconfig.so.1' (0x41205000)
No debug information in ELF '/usr/lib/libexpat.so.0' (0x4122a000)
No debug information in ELF '/usr/lib/wine/x11drv.dll.so' (0x4124a000)
No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40751000)
No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x412d1000)
No debug information in ELF '/usr/X11R6/lib/libXrandr.so.2' (0x4030b000)
No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x412e8000)
No debug information in ELF '/usr/X11R6/lib/libXv.so.1' (0x4075a000)
No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x412f0000)
No debug information in ELF '/usr/lib/libGL.so.1' (0x412fe000)
No debug information in ELF '/lib/libpthread.so.0' (0x41371000)
No debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x413c3000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2' (0x40026000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2' (0x417cc000)
No debug information in ELF '/usr/lib/wine/imm32.dll.so' (0x417ea000)
No debug information in ELF '/usr/lib/wine/wineoss.drv.so' (0x41808000)
No debug information in ELF '/usr/lib/wine/msacm.drv.so' (0x41849000)
No debug information in ELF '/usr/lib/wine/msacm32.dll.so' (0x41861000)
No debug information in ELF '/usr/lib/wine/midimap.drv.so' (0x419a0000)
No debug information in ELF '/usr/lib/wine/shdocvw.dll.so' (0x41ef0000)
No debug information in ELF '/usr/lib/wine/olepro32.dll.so' (0x419f1000)
No debug information in 32bit DLL 'C:\Program Files\LivePerson\hc.exe' (0x400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x401c0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40450000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x40c20000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40a70000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40900000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x40870000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MPR.DLL' (0x40c80000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x40d90000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x40d10000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x40cb0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x40e60000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x40de0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WININET.DLL' (0x40c50000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV' (0x40fa0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMDLG32.DLL' (0x40f20000)
No debug information in 32bit DLL 'C:\PROGRAM FILES\LIVEPERSON\SSCE5332.DLL' (0x10000000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSVCRT.DLL' (0x78000000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MFC42.DLL' (0x5f400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL' (0x40fe0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IPHLPAPI.DLL' (0x411a0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WS2_32.DLL' (0x41180000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WSOCK32.DLL' (0x41160000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSVCIRT.DLL' (0x780a0000)
No debug information in 32bit DLL 'C:\PROGRAM FILES\LIVEPERSON\MSVCP60.DLL' (0x780c0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x41260000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IMM32.DLL' (0x417f0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0x41820000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0x41870000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0x41850000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x419b0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHDOCVW.DLL' (0x41f00000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLEPRO32.DLL' (0x41a00000)
Unhandled exception: page fault on read access to 0x044b7ab0 in 32-bit code (0x4127fc50).
In 32-bit mode.
0x4127fc50 (X11DRV_DIB_CreatePixmapFromDIB+0x15d0 in X11DRV.DLL): movl 0x0(%edi),%ecx
Wine-dbg>

and I don't know what to do.

Sorry. I know is a huge Replay. I don't know if there is a limited space to post the messages. I'm just trying to migrate to Linux, that's it.

Incredible help thru this page, you have no idea...

Thanks again.

ernesto_lelo 04-11-2004 01:38 PM

I'm geting so close...
I found an application based on Java.
Igot to install it and run it, now I'm having a problem with the internet connection. It game an error that the internet connection is down (hard to believe while I surf the web using the FireFox).
Apparently the problem is here:

You need to install the Mozilla ActiveX control to
use Wine's builtin CLSID_WebBrowser from SHDOCVW.DLL

Now, FireFox doesn't support active x.

Any idea what can I do?

ernesto_lelo 04-12-2004 09:35 AM

No ideas yet?...
Please...

paulnuffer 02-15-2005 10:40 AM

I am actually trying to do the same thing. I use LivePerson (now called Timpani for our verson, but it's got the same underlying executable) and I receive the same error message:

You need to install the Mozilla ActiveX control to use Wine's builtin CLSID_WebBrowser from SHDOCVW.DLL

However, my computer asks if I'd like to install it. I click yes, and it does the same thing about twenty times. I'm using Mandrake 10, and I haven't really configured anything (REALLY new at this).

I'll hopefully have more information later!


All times are GMT -5. The time now is 10:38 AM.