LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2005, 10:07 AM   #1
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Rep: Reputation: 16
wine says success but complains there is no CD in drive


I have installed wine in Debian (Sid) and it appears to be working. I want to run a program which is on a CD. I mount the CD and try to run the program and wine says it has "success" but also a window comes up saying "CD not found. Please insert publication CD."

Is there any way to get this working? I tried copying the relevant exe file to my hard disk but the same message appears. Some protection dodge perhaps?
 
Old 07-11-2005, 10:26 AM   #2
anandj
Member
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92

Rep: Reputation: 15
Did u set up the CD-drive correctly in your wine config file?

I can't quite figure out from your mail if you are experimented with wine before or not. Incase you are a newbie, then the easiest way to setup wine would be through wine-tools.
http://www.von-thadden.de/Joachim/WineTools/

Once you install wine-tools, first do a basic wine setup. After asking couple of questions, it will setup the CD drive correctly.
Basically, windows expect a CD-drive to be called D: or E: etc.. i.e. as a seperate drive. Whereas in linux your cd-drive is just another directory in your filesystem (/mnt/cdrom etc). So in wine-config you will have explicitly specify that /mnt/cdrom should be interpretted a D:.
Wine-tools gives you a menu-driven interface which will help you do this.
 
Old 07-11-2005, 10:41 AM   #3
anandj
Member
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92

Rep: Reputation: 15
In case you don't have any experience installing applications through wine,
here is a HOWTO for installing office2K through wine.

http://ajayaraman.0catch.com/office2k-wine-howto.html
 
Old 07-11-2005, 12:09 PM   #4
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by anandj
Did u set up the CD-drive correctly in your wine config file?

I can't quite figure out from your mail if you are experimented with wine before or not. Incase you are a newbie, then the easiest way to setup wine would be through wine-tools.
http://www.von-thadden.de/Joachim/WineTools/

Once you install wine-tools, first do a basic wine setup. After asking couple of questions, it will setup the CD drive correctly.
Basically, windows expect a CD-drive to be called D: or E: etc.. i.e. as a seperate drive. Whereas in linux your cd-drive is just another directory in your filesystem (/mnt/cdrom etc). So in wine-config you will have explicitly specify that /mnt/cdrom should be interpretted a D:.
Wine-tools gives you a menu-driven interface which will help you do this.

Yes, I think it is set up correctly. In the config file I have:

[Drive E]
"Path" = "/cdrom"
"Type" = "cdrom"
"Label" = "/cdrom"
"Filesystem" = "win95"
"Device" = "/dev/hdc"

And there is a link in .wine/dosdevices:

lrwxrwxrwx 1 ac ac 8 2005-07-11 14:30 a:: -> /dev/fd0
lrwxrwxrwx 1 ac ac 10 2005-07-11 14:27 c: -> ../drive_c/
lrwxrwxrwx 1 ac ac 10 2005-07-11 14:51 cdrom -> /dev/cdrom
lrwxrwxrwx 1 ac ac 8 2005-07-11 14:30 e:: -> /dev/hdc
lrwxrwxrwx 1 ac ac 1 2005-07-11 14:27 z: -> //

What command should I use to run the program? I've tried:

wine /cdrom/Points.exe
 
Old 07-11-2005, 01:53 PM   #5
anandj
Member
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92

Rep: Reputation: 15
ahh.. the cd drive is not identified correctly.

Which version of wine are you using?
Most recent versions of wine do not require those entires in the config file. Instead they require you to put correct links in the dosdevices directory.

You have put a link to /dev/cdrom

I would remove it and put
ln -s /cdrom d:

Try if that works.

(/cdrom should also be mounted).
That should work.. however if for some reason that doesn't work, I would repeat my original suggestion.
Try wine tools.
It would def fix all these issues.
 
Old 07-12-2005, 03:50 AM   #6
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by anandj
ahh.. the cd drive is not identified correctly.

Which version of wine are you using?
Most recent versions of wine do not require those entires in the config file. Instead they require you to put correct links in the dosdevices directory.

You have put a link to /dev/cdrom

I would remove it and put
ln -s /cdrom d:

Try if that works.

(/cdrom should also be mounted).
That should work.. however if for some reason that doesn't work, I would repeat my original suggestion.
Try wine tools.
It would def fix all these issues.
I took your advice and installed wine tools. It produced progress of a sort: instead of the error about the CD, it said that various libraries are missing which are needed by the program (ole32.dll, shlwapi.dll, shell32.dll, avifil32.dll, comdlg32.dll, oleaut32.dll ...).

I've no idea about any of these or where or how to install them, so I think I shall have to give up on this.
 
Old 07-12-2005, 01:32 PM   #7
anandj
Member
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92

Rep: Reputation: 15
All those are part of DCOM98 that can be installed through winetools.

Just follow the procedure given in the page below all the way through, right upto the point where the CD-software installation starts.
http://ajayaraman.0catch.com/office2k-wine-howto.html
 
Old 07-12-2005, 05:25 PM   #8
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by anandj
All those are part of DCOM98 that can be installed through winetools.

Just follow the procedure given in the page below all the way through, right upto the point where the CD-software installation starts.
http://ajayaraman.0catch.com/office2k-wine-howto.html
I've got dcom98 but now it's gone back to saying that the CD is not there.
I don't know if the GLX missing has anything to do with it. GLX doesn't work with my card.

ac:~:$ wine /cdrom/Points.exe
Invoking /usr/lib/wine/wine.bin /cdrom/Points.exe ...
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00010024,00000008)
fixme:avifile:AVIFileInit (): stub!
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00000000,00000008)
Wine exited with a successful status
 
Old 07-26-2005, 07:13 AM   #9
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by acampbell
I've got dcom98 but now it's gone back to saying that the CD is not there.
I don't know if the GLX missing has anything to do with it. GLX doesn't work with my card.

ac:~:$ wine /cdrom/Points.exe
Invoking /usr/lib/wine/wine.bin /cdrom/Points.exe ...
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00010024,00000008)
fixme:avifile:AVIFileInit (): stub!
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00000000,00000008)
Wine exited with a successful status
A follow-up: I was away for 12 days and while I was away tried again on a laptop. I did get the program to run, sort of, by changing to the cd directory first. However, the program was unacceptably slow so it wasn't much use anywaty.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone had success running Photoshop CS under WINE? EOHooligan Linux - Software 3 01-31-2005 03:38 PM
wine success? dr_zayus69 Linux - Software 9 11-26-2004 09:44 AM
wine photoshop 7 success popup demmylls Linux - General 1 03-05-2004 08:27 AM
Wine success stories mhearn LinuxQuestions.org Member Success Stories 1 02-13-2004 08:24 PM
Success Story -- Doom 3 Alpha Leak and Wine Xylon Linux - Games 0 10-05-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration