View Full Version : using wine
omi291
January 27th, 2008, 06:57 PM
I am able to run programs in wine from the virtual c drive it creates, but i dual boot with windows xp, and i was wondering if there was any way i could run programs by using the executables in the windows partition. Much thanks in advance.
emarkd
January 27th, 2008, 07:00 PM
You can boot your entire Windows partition in VMWare and run them that way, but otherwise I don't think that's going to work.
omi291
January 27th, 2008, 07:04 PM
You can boot your entire Windows partition in VMWare and run them that way, but otherwise I don't think that's going to work.
It turns out that vmware can't be installed on my computer :(...but it's no big deal. There's probably a lot of linux equivalents anyway. Thanks for your help though :D
GavinZac
January 27th, 2008, 07:06 PM
It depends on the program.
If its something large that uses various DLLs and registry keys, you might have some problems. However, I'd encourage you to give it a go :)
Heres how, for an imaginary "My Application" program :) :
If your "Windows" drive already shows up in ubuntu, you can open a terminal window and "change directory" so you're in the folder with your application.
command (where XX is the id of the drive you're change into):
cd "/media/sdXX/Program Files/MyApplication"
then we want to run it with wine... which is very simple :)
command: (quotes are needed if there are spaces in the name)
wine "My Application.exe"
With luck, your program will start :) if not, the terminal will show some helpful, if ugly ;) , error messages explaining what went wrong, to help you trouble shoot.
omi291
January 27th, 2008, 10:35 PM
It depends on the program.
If its something large that uses various DLLs and registry keys, you might have some problems. However, I'd encourage you to give it a go :)
Heres how, for an imaginary "My Application" program :) :
If your "Windows" drive already shows up in ubuntu, you can open a terminal window and "change directory" so you're in the folder with your application.
command (where XX is the id of the drive you're change into):
cd "/media/sdXX/Program Files/MyApplication"
then we want to run it with wine... which is very simple :)
command: (quotes are needed if there are spaces in the name)
wine "My Application.exe"
With luck, your program will start :) if not, the terminal will show some helpful, if ugly ;) , error messages explaining what went wrong, to help you trouble shoot.
I tried changing the directory using the terminal, but this is what i get when i try to run something like internet explorer:
dominator@Javaid:~$ cd /media/SQ004224P01/Program Files/Internet Explorer/
bash: cd: /media/SQ004224P01/Program: No such file or directory
I don't understand why the termal doesn't recognize this as a valid directory...
GavinZac
January 28th, 2008, 06:22 AM
I tried changing the directory using the terminal, but this is what i get when i try to run something like internet explorer:
dominator@Javaid:~$ cd /media/SQ004224P01/Program Files/Internet Explorer/
bash: cd: /media/SQ004224P01/Program: No such file or directory
I don't understand why the termal doesn't recognize this as a valid directory...
Remember your quotation marks! :) it sees the space and assumes anything afterwards is extra info. try:
cd "/media/SQ004224P01/Program Files/Internet Explorer/"
Although I doubt Internet Explorer will work :( Not that I would want to use it, but it would be helpful for website debugging. The IEs4Linux project might get somewhere though :)
p_quarles
January 28th, 2008, 06:27 AM
Remember your quotation marks!
+1. Linux doesn't understand spaces the same way that Windows does.
I've moved this to the Wine forum, as this is where the Wine-os tend to hang out. ;)
Joeb454
January 28th, 2008, 07:29 AM
Thanks p_quarles, bet you feel all powerful now ;)
omi291
January 28th, 2008, 08:22 PM
ok. It's working. Thanks for the help everybody, I really appreaciate it. :D
GavinZac
January 28th, 2008, 10:31 PM
ok. It's working. Thanks for the help everybody, I really appreaciate it. :D
Wow, Internet Explorer is working? :) Tell me how! I keep making perfect websites in Firefox 3 then people IM me and tell me how awful it looks in IE7.
p_quarles
January 28th, 2008, 10:33 PM
Wow, Internet Explorer is working? :) Tell me how! I keep making perfect websites in Firefox 3 then people IM me and tell me how awful it looks in IE7.
A little trick I found, thanks to another forum member, that makes it really easy to test web sites:
http://browsershots.org/
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.