Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to run Call Of Duty in wine, but it requires 2 cd's to install, and when i insert the second cd, it doesn't recognize it. so i just grabbed the game from my friends computer and pasted it into the wine c directory. however, wine doesn't recognize it as an installed program. this is difficult if i am running a program (such as map editors) that need to see that CoD is installed. is there a way to tell wine that a program is installed without installing it through wine?
one more thing. how do i manually find the wine c directory? it says it is in home/.wine/dosdevices but there is no .wine folder in the home directory. is it somewhere else, or just hidden?
If program is on multiple CD-ROM disks you don't want to change into cd-rom's directory or you won't be able to remove disk without stopping the installer. First verify that CD-ROM is mapped to a disk drive in winecfg "Drives" tab (ex D: -> /media/cdrom). Then run installer this way:
wine start /unix /media/cdrom/setup.exe
So it can't change disks if you are sitting in the drive's directory. You need to run it from outside using the full disk path.
2) Just copying a previous installation over won't work for most programs because wine has it's own, separate registry. You need to run the installer so that the proper registry entries get written to it.
3) (Edit: I think I may have misunderstood the question at first.) All filenames that start with periods are hidden files in linux. To list them in a console you can use "ls -a". All gui file browsers should have an option to show hidden files as well.
~/.wine/dosdevices just holds the configuration links for the "drives" wine sees. They're just symlinks to the actual locations you configure in winecfg. The symlink "c:" should direct you to the location of the wine-windows directory, by default also located in .wine.
one other hint, if you can make an iso of the disk, then you can redirect the install to it, instead of switching disks, as well, that works in some isstances as well.
then mounted the first disk at /mnt/cdrom (or wherever you prefer) and start the installer, when it ask for the 2nd disk, unmount the first one and mount the second one at /mnt/cdrom again.
akuthia suggested ISO images, if you have ISO images you can also mount them all at the same place, I've had success with that.
This works for me most of the time, hope it helps you too.
ive tried to mount each indivual iso and then unmount them when it calls for the next disk, but the installer doesn't recognize the change. also, it doesn't work in the command line either. what i really need is how to add the program to the wine directory. since the program worked just fine (along with most programs i copy from other computers) i just need to have it recognized with wine so other programs can see i have it installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.