Thursday, May 12, 2011

Mounting a .iso file and running a program through wine

I have a .iso file which I want to mount in Ubuntu 10.10.  I then want to run the program through Wine, but the issue is that Wine can't find the drive.


Mount iso:
sudo mount -o loop /home/liz/image.iso media/cdrom

Tell Wine that this directory is where the cd is by making a symbolic link
cd ~/.wine/dosdevices
ln -s /media/cdrom e:
ln -s /home/liz/image.iso e::

The latter step need only be done once.  Then, when I installed the program on the .iso, it was able to find the cd when run.

No comments:

Post a Comment