Can't install program from CDROM / DVD

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Cosmo Lee

Can't install program from CDROM / DVD

Post by Cosmo Lee »

I'm having trouble installing a program from the CDROM / DVD drive. I've checked to see that the mapping of the d: drive is correctly pointing to the
right place - it is:

~/.wine/dosdevices$ ls -l
total 0
lrwxrwxrwx 1 cosmo cosmo 10 2009-10-04 18:46 c: -> ../drive_c
lrwxrwxrwx 1 cosmo cosmo 13 2010-08-12 20:19 d: -> /media/cdrom0
lrwxrwxrwx 1 cosmo cosmo 8 2010-07-25 19:12 d:: -> /dev/sr0


I run the install program, it runs from the DVD as expected:

~/.wine/dosdevices$ wine start d:\Komplete\ 6\ Setup\ PC.exe



However, after answering the setup questions (storage directories, etc - I don't change anything, I just accept the defaults), once it gets to the point
of actually installing the software, a pop-up alert says "Disk Not Found", "Please insert Komplete 6". The disk it is asking for is the same one I've
run the installation program from, so I don't understand why it can't see those files. It's obviously seeing the DVD since it's running the
installation program from it...

Any ideas??

Thanks much for any help...Cosmo
Martin Gregorie

Can't install program from CDROM / DVD

Post by Martin Gregorie »

On Thu, 2010-08-12 at 21:06 -0400, Cosmo Lee wrote:
I run the install program, it runs from the DVD as expected:

~/.wine/dosdevices$ wine start d:\Komplete\ 6\ Setup\ PC.exe

Many Windows programs expect the current working directory to be the one
they are loaded from so, assuming that the installer's name is "Komplete
6 Setup PC.exe" try this:

cd .wine/dosdevices/d:
wine Komplete\ 6\ Setup\ PC.exe


Martin
James McKenzie

Can't install program from CDROM / DVD

Post by James McKenzie »

Cosmo Lee wrote:
I'm having trouble installing a program from the CDROM / DVD drive. I've checked to see that the mapping of the d: drive is correctly pointing to the
right place - it is:

~/.wine/dosdevices$ ls -l
total 0
lrwxrwxrwx 1 cosmo cosmo 10 2009-10-04 18:46 c: -> ../drive_c
lrwxrwxrwx 1 cosmo cosmo 13 2010-08-12 20:19 d: -> /media/cdrom0
lrwxrwxrwx 1 cosmo cosmo 8 2010-07-25 19:12 d:: -> /dev/sr0


I run the install program, it runs from the DVD as expected:

~/.wine/dosdevices$ wine start d:\Komplete\ 6\ Setup\ PC.exe



However, after answering the setup questions (storage directories, etc - I don't change anything, I just accept the defaults), once it gets to the point
of actually installing the software, a pop-up alert says "Disk Not Found", "Please insert Komplete 6". The disk it is asking for is the same one I've
run the installation program from, so I don't understand why it can't see those files. It's obviously seeing the DVD since it's running the
installation program from it...

Any ideas??
Think about how you would install this in Windows:

D:
cd "Komplete 6 Setup PC.exe

This translates to:

Code: Select all


cd /media/cdrom0

wine "Komplete 6 Setup PC.exe"

Wine will take care of the translation of the cd location for the program.

Setup programs MUST be run from the directory from which the
installation is to take place.

James McKenzie
Thanks much for any help...Cosmo





Cosmo Lee

Can't install program from CDROM / DVD

Post by Cosmo Lee »

Martin & James:

Thanks for your responses guys. Unfortunately, neither solution fixed the problem. I tried both of them, but still got the identical problem.

Oddly, when I actually clicked to begin the installation, the DVD drive spun up, but then the pop-up message again indicates "Disk Not Found"....


HOWEVER, I think I may have found the source of the problem. In checking things out on an actual Win XP box I noticed something VERY odd. When
I explored the DVD with XP, the DVD appears to have 8 hidden folders which do not show up in Linux. Even running `ls -lai` the additional
directories don't appear. When I viewed the DVD with the graphical Nautilus file browser the directories were also not revealed, even though I had the
"Show hidden files" option engaged.


$ ls -lai
total 82390
834 drwxr-xr-x 12 4294967295 4294967295 924 2009-08-14 06:16 .
9747 drwxr-xr-x 4 root root 4096 2010-08-12 21:24 ..
836 drwxr-xr-x 2 4294967295 4294967295 452 2009-08-10 03:55 Installation and Activation Documentation
837 -rwxr-xr-x 1 4294967295 4294967295 4774 2009-08-13 13:13 Komplete 6 Installation Readme.txt
838 dr-xr-xr-x 3 4294967295 4294967295 136 2009-08-13 05:17 Komplete 6 Installer Mac.mpkg
839 -rwxr-xr-x 1 4294967295 4294967295 84350616 2009-08-14 10:35 Komplete 6 Setup PC.exe



Here, under XP I run `dir /a:d` to show all (including hidden) directories:

C:>dir /a:d e:
Volume in drive E is Komplete 6
Volume Serial Number is 78E4-8DE7

Directory of E:\

08/10/2009 03:55 AM Installation and Activation Documentation

08/13/2009 05:17 AM Komplete 6 Installer Mac.mpkg
08/14/2009 04:21 AM Kontakt 4 Library Band Patches.pkg
08/14/2009 04:21 AM Kontakt 4 Library Choir Patches.pkg
08/14/2009 04:21 AM Kontakt 4 Library Orchestral Patches.pkg
08/14/2009 04:22 AM Kontakt 4 Library Synth Patches.pkg
08/14/2009 04:22 AM Kontakt 4 Library Urban Beats Patches.pkg

08/14/2009 04:22 AM Kontakt 4 Library Vintage Patches.pkg
08/14/2009 04:22 AM Kontakt 4 Library World Patches.pkg
08/14/2009 04:32 AM sub installers
0 File(s) 0 bytes
10 Dir(s) 0 bytes free



Might this mean that WINE is not showing the files to the installer program? If Linux can't see the directories, I'm assuming WINE can't see them
either.

Any idea what is going on here?? How do I get Linux to see the files so that WINE can show them as well?? Thanks...


-Cosmo



On Thu Aug 12 22:03 , James McKenzie [email protected]> sent:
Cosmo Lee wrote:
I'm having trouble installing a program from the CDROM / DVD drive. I've checked to see that the mapping of the d: drive is correctly pointing to
the
right place - it is:

~/.wine/dosdevices$ ls -l
total 0
lrwxrwxrwx 1 cosmo cosmo 10 2009-10-04 18:46 c: -> ../drive_c
lrwxrwxrwx 1 cosmo cosmo 13 2010-08-12 20:19 d: -> /media/cdrom0
lrwxrwxrwx 1 cosmo cosmo 8 2010-07-25 19:12 d:: -> /dev/sr0


I run the install program, it runs from the DVD as expected:

~/.wine/dosdevices$ wine start d:\Komplete\ 6\ Setup\ PC.exe



However, after answering the setup questions (storage directories, etc - I don't change anything, I just accept the defaults), once it gets to the
point
of actually installing the software, a pop-up alert says "Disk Not Found", "Please insert Komplete 6". The disk it is asking for is the same one
I've
run the installation program from, so I don't understand why it can't see those files. It's obviously seeing the DVD since it's running the
installation program from it...

Any ideas??
Think about how you would install this in Windows:

D:
cd "Komplete 6 Setup PC.exe

This translates to:

Code: Select all


cd /media/cdrom0

wine "Komplete 6 Setup PC.exe"

Wine will take care of the translation of the cd location for the program.

Setup programs MUST be run from the directory from which the
installation is to take place.

James McKenzie
Thanks much for any help...Cosmo






User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install program from CDROM / DVD

Post by dimesio »

Cosmo Lee wrote: HOWEVER, I think I may have found the source of the problem. In checking things out on an actual Win XP box I noticed something VERY odd. When
I explored the DVD with XP, the DVD appears to have 8 hidden folders which do not show up in Linux. Even running `ls -lai` the additional
directories don't appear. When I viewed the DVD with the graphical Nautilus file browser the directories were also not revealed, even though I had the
"Show hidden files" option engaged.
http://forum.winehq.org/viewtopic.php?t=5912
perryh

Can't install program from CDROM / DVD

Post by perryh »

James McKenzie <[email protected]> wrote:
Setup programs MUST be run from the directory from which the
installation is to take place.
Unless, IIRC, it is a multi-CD installation. The shell from which
wine was started is still camped out waiting for wine to exit, and
the shell's current directory is on the CD. This keeps the first
CD from being unmounted and replaced with the second one, even if
"wine eject" is used, because the CD can't be unmounted while any
process has its current directory there and "wine eject" can't
change the shell's current directory. I think the FAQ recommends

Code: Select all


wine "/media/cdrom0/Komplete 6 Setup PC.exe"

if it is the first disk of a multi-CD installation.


If there's some multi-CD set that doesn't work when run that way,
you could try something like this (untested), being sure to include
the parentheses:

Code: Select all


( cd /media/cdrom0 && exec wine "Komplete 6 Setup PC.exe" )

The parentheses cause everything within them to be run in a
subshell -- a subprocess of the current shell -- so only the
subshell changes its current directory to /media/cdrom0.
Then the "exec" arranges for wine to _replace_ the subshell
process, rather than being run as a child of the subshell,
so only the wine process has its current directory on the
CD (and one hopes that "wine eject" knows how to deal with
that).
walt

Can't install program from CDROM / DVD

Post by walt »

On 08/12/2010 11:13 PM, Cosmo Lee wrote:
the DVD appears to have 8 hidden folders which do not show up in Linux.
Pure guesswork: do you have UDF support in your linux kernel?

For example, on my machine:

#mount | grep udf
/dev/sr0 on /media/DISCRETE_MATH_DVD_2 type udf (ro,nosuid,nodev,uhelper=hal,uid=1001)
^^^
The dvd is mounted as a udf filesystem (an extension of iso fs) and
like any other fs it must have kernel support to make it accessible.
Gert van den Berg

Can't install program from CDROM / DVD

Post by Gert van den Berg »

The dvd is mounted as a udf filesystem (an extension of iso fs) and
An alternative... it is not compatible... (but discs often contain
both...) (UDF is also used for packet writing, such as DirectCD..)
like any other fs it must have kernel support to make it accessible.
And, since DVDs often contain a ISO9660 filesystem as well, it needs
to be mounted with udf...

do cat /proc/filesystems to see what your kernel supports

Gert
James McKenzie

Can't install program from CDROM / DVD

Post by James McKenzie »

Cosmo Lee wrote:
Martin & James:

Thanks for your responses guys. Unfortunately, neither solution fixed the problem. I tried both of them, but still got the identical problem.

Oddly, when I actually clicked to begin the installation, the DVD drive spun up, but then the pop-up message again indicates "Disk Not Found"....


HOWEVER, I think I may have found the source of the problem. In checking things out on an actual Win XP box I noticed something VERY odd. When
I explored the DVD with XP, the DVD appears to have 8 hidden folders which do not show up in Linux. Even running `ls -lai` the additional
directories don't appear. When I viewed the DVD with the graphical Nautilus file browser the directories were also not revealed, even though I had the
"Show hidden files" option engaged.


$ ls -lai
total 82390
834 drwxr-xr-x 12 4294967295 4294967295 924 2009-08-14 06:16 .
9747 drwxr-xr-x 4 root root 4096 2010-08-12 21:24 ..
836 drwxr-xr-x 2 4294967295 4294967295 452 2009-08-10 03:55 Installation and Activation Documentation
837 -rwxr-xr-x 1 4294967295 4294967295 4774 2009-08-13 13:13 Komplete 6 Installation Readme.txt
838 dr-xr-xr-x 3 4294967295 4294967295 136 2009-08-13 05:17 Komplete 6 Installer Mac.mpkg
839 -rwxr-xr-x 1 4294967295 4294967295 84350616 2009-08-14 10:35 Komplete 6 Setup PC.exe



Here, under XP I run `dir /a:d` to show all (including hidden) directories:

C:>dir /a:d e:
Volume in drive E is Komplete 6
Volume Serial Number is 78E4-8DE7

Directory of E:\

08/10/2009 03:55 AM Installation and Activation Documentation

08/13/2009 05:17 AM Komplete 6 Installer Mac.mpkg
08/14/2009 04:21 AM Kontakt 4 Library Band Patches.pkg
08/14/2009 04:21 AM Kontakt 4 Library Choir Patches.pkg
08/14/2009 04:21 AM Kontakt 4 Library Orchestral Patches.pkg
08/14/2009 04:22 AM Kontakt 4 Library Synth Patches.pkg
08/14/2009 04:22 AM Kontakt 4 Library Urban Beats Patches.pkg

08/14/2009 04:22 AM Kontakt 4 Library Vintage Patches.pkg
08/14/2009 04:22 AM Kontakt 4 Library World Patches.pkg
08/14/2009 04:32 AM sub installers
0 File(s) 0 bytes
10 Dir(s) 0 bytes free


These are Mac installation files. It is interesting that Linux could
not 'see' these as the entries and files are usually in standard ISO9660
file format.

James McKenzie
frau_frosty
Newbie
Newbie
Posts: 1
Joined: Mon Sep 06, 2010 11:49 am

Post by frau_frosty »

I had the same problem with Komplete 6 on Ubuntu 8.10. It turns out the DVD is being mounted as UDF but must be mounted as ISO9660 to work.

This is how I made it work:

1. Make sure the first DVD is in the drive
2. Open a terminal and become root
3. umount /media/cdrom0
4. mount -t iso9660 /dev/scd0 /media/cdrom0
5. Close the root shell
5. Try launching the installer now

The DVD should now be mounted as ISO9660. If this doesn't work then go verify the device /dev/scd0 and mount point /media/cdrom0 are correct. On your computer the logical device numbering may be different.
shuur
Newbie
Newbie
Posts: 2
Joined: Sun Nov 27, 2011 5:06 pm

Post by shuur »

Hi,

I'm sorry to dig this old post, but first of all : thanks for this answer. I had the same problem with the Native Instrument Vintage Keys and it solved my problem. :)

However, I am now trying to install Native Instrument West Africa and I have the same problem but this time it doesn't work...

I am on Ubuntu 10.11 with wine-1.3.33

I did :

sudo mkdir "/media/West Africa"
sudo mount -t iso9660 -o uid=***,gid=*** /dev/cdrom "/media/West Africa"

I had to add uid and gid to have the proper permissions.

Then I run the install with :
cd ~/.wine/dosdevices/f\:
wine "west africa 110 setup pc.exe"

the installation begins, but it suddenly stops and asks : "Please insert West Africa"...

I don't know what to do...

I've noticed that a ls in the dvd gives me :
2720 -rwx------ 1 *** *** 2784560 2011-06-20 11:03 west africa 110 setup pc.exe
2 dr-xr-xr-x 1 *** *** 2048 2011-06-07 12:56 west africa installer macmpkg
2 dr-xr-xr-x 1 *** *** 2048 2011-06-07 12:53 west africa library west afric

However the same ls but in the dvd automatically mounted (in udf) gives me :
dr-x------ 4 *** *** 260 2011-06-20 11:04 .
drwxr-xr-x 4 root root 4096 2011-11-27 21:28 ..
-rwx------ 1 *** *** 2784560 2011-06-20 11:03 West Africa 1.1.0 Setup PC.exe
dr-x------ 3 *** *** 88 2011-06-07 12:56 West Africa Installer Mac.mpkg

I don't get why the files names are differents...

Well, any help would be greatly appreciated!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

shuur
Newbie
Newbie
Posts: 2
Joined: Sun Nov 27, 2011 5:06 pm

Post by shuur »

Thanks but I already tried with the norock option and it still doesn't work...
any ideas?
jhernberg
Newbie
Newbie
Posts: 3
Joined: Sun Jan 27, 2013 9:38 am

Re: Can't install program from CDROM / DVD

Post by jhernberg »

I realize that this is a very old thread but just neeeded to reinstall my old DVD copy of Komplete 8. Thought that I'd share the mount line I needed to use in case someone else needs to do the same. What I needed to do was the following:

mount -t udf -o uid=500,gid=500,unhide /dev/sr0 /mnt

Where uid and gid are my users. What stumped me for a long time was whether to mount as udf or iso9660, and the unhide option.
Locked