[Wine] Problem Wine eject

by Berillionson 2010-01-24T16:32:37+00:00
Hello,
I installed Star Wars : The Force Unleashed with .iso but i have the real DVD.
The problem when i install the game thanks to the DVD, i can't eject the first DVD when the installation ask me to insert the second.
I add /media/cdrom in winecfg but i have always the problem. When i launch "wine eject d:" in a console, i have an error message told me :
The device is busy...
I don't know how to resolve this problem. I have Debian Squeeze and Wine 1.1.36.
Thanks for your help.
Berillions

[Wine] Re: Problem Wine eject

by vitaminon 2010-01-24T17:27:48+00:00.

Berillions wrote:
> I add /media/cdrom in winecfg but i have always the problem. When i launch "wine eject d:" in a console, i have an error message told me :
> The device is busy...
You didn't 'cd' into '/media/cdrom' by any chance before starting the installer?

[Wine] Re: Problem Wine eject

by Berillionson 2010-01-24T17:41:00+00:00.
i did "cd /media/cdrom" and "wine setup.exe"

[Wine] Re: Problem Wine eject

by vitaminon 2010-01-24T18:41:57+00:00.

Berillions wrote:
> i did "cd /media/cdrom" and "wine setup.exe"
That's the problem - you shouldn't cd into DVD mount point - shell will keep it open and Wine won't be able to do anything about it.
You should start installer this way instead:
Code:
cd ~
wine start /media/cdrom/setup.exe


[Wine] Re: Problem Wine eject

by Berillionson 2010-01-24T18:56:59+00:00.
Thanks vitamin,
but, which differences there is between :
Code:
cd ~
wine start /media/cdrom/setup.exe

and
Code:
cd ~
wine /media/cdrom/setup.exe

[Wine] Re: Problem Wine eject

by Berillionson 2010-01-24T19:23:25+00:00.
Edit :
When i launch this command :
Code:
wine start /media/cdrom/setup.exe
I have this error message in the console :
err:start:wmain Option 'L"/cdrom/setup.exe"' not recognized

[Wine] Re: Problem Wine eject

by vitaminon 2010-01-24T20:17:47+00:00.

Berillions wrote:
> Edit :
> When i launch this command :
>
> Code:
> wine start /media/cdrom/setup.exe
>
>
> I have this error message in the console :
> err:start:wmain Option 'L"/cdrom/setup.exe"' not recognized
then add "/U" after start:
Code:
wine start /U /media/cdrom/setup.exe

Re: [Wine] Problem Wine eject

by Vincent Povirkon 2010-01-24T20:31:30+00:00.
It really needs to be /unix
wine start /unix /media/cdrom/setup.exe
We don't accept /u in case Microsoft adds their own /u switch to start.exe.
--
Vincent Povirk

Re: [Wine] Problem Wine eject

by Charles Davison 2010-01-25T08:26:43+00:00.
Berillions wrote:
> Edit :
> When i launch this command :
>
> Code:
> wine start /media/cdrom/setup.exe
>
>
> I have this error message in the console :
> err:start:wmain Option 'L"/cdrom/setup.exe"' not recognized
Vitamin, how could you forget that many Windows utilities use slashes
instead of dashes for options?
In any case, you really need to pass a Wine path (not a UNIX path) to
the start utility. Try:
wine start 'D:\setup.exe'
and replace 'D' with the drive letter of your CD-ROM drive.
Chip

Re: [Wine] Problem Wine eject

by Charles Davison 2010-01-25T08:27:03+00:00.
vitamin wrote:
> Berillions wrote:
>> Edit :
>> When i launch this command :
>>
>> Code:
>> wine start /media/cdrom/setup.exe
>>
>>
>> I have this error message in the console :
>> err:start:wmain Option 'L"/cdrom/setup.exe"' not recognized
>
> then add "/U" after start:
>
> Code:
> wine start /U /media/cdrom/setup.exe
Oh yeah, I forgot about the /Unix option.

[Wine] Re: Problem Wine eject

by Berillionson 2010-01-25T08:48:31+00:00.
If i understand, there are two option to launch "wine start".
With Unix option :
wine start /U /media/cdrom/setup.exe
Or without but with a Windows path,
wine start D:/setup.exe.
If i use the Unix option, i must add my cdrom drive in winecfg or only without /U ?
Thanks

Re: [Wine] Problem Wine eject

by Vincent Povirkon 2010-01-25T16:10:45+00:00.
You should never have to add your cdrom drive in winecfg. It should be
added automatically.
> wine start /U /media/cdrom/setup.exe
You really need to type out /unix

[Wine] Re: Problem Wine eject

by Berillionson 2010-01-25T17:32:03+00:00.
Hum,
I use wine start /unix /media/cdrom1/setup.exe to install Fear 2 : Project Origin.
Impossible to eject the first DVD, i have this error message :
Code:
umount: /media/cdrom1: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

I don't understand....

Re: [Wine] Problem Wine eject

by Charles Davison 2010-01-26T00:05:07+00:00.
Berillions wrote:
> If i understand, there are two option to launch "wine start".
>
> With Unix option :
> wine start /U /media/cdrom/setup.exe
>
> Or without but with a Windows path,
> wine start D:/setup.exe.
>
> If i use the Unix option, i must add my cdrom drive in winecfg or only without /U ?
Either way, Wine has to be able to see the drive. Which means you have
to add your CD-ROM drive in winecfg.
Oh, and the /Unix option has to be spelled in full, as someone has
already mentioned.
Chip

[Wine] Re: Problem Wine eject

by oiaohmon 2010-01-26T09:40:36+00:00.
Using the windows drive letter is the the way I recommend. For good reasons sometimes the Unix path item picks the wrong drive ie Z: instead of cdrom and screws it up.