In setting up a linux/wine system that has two disk partitions, one for windows & one for Linux (capitalization intentional), what is the linux/wine convention for setting up paths on the windows partition executables. Is it reasonable to make a script that emulates the path environment of the windows partition when it is booted and execute that script when wine is used to access some executables on the windows partition? Being a bit new to wine, I am struggling with the right way to accomplish this. Charles p.s. Thanks for the hints on binfmt_misc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20061222/f4122fa6/attachment.htm
Charles Krinke wrote:> In setting up a linux/wine system that has two disk partitions, one for > windows & one for Linux (capitalization intentional), what is the > linux/wine convention for setting up paths on the windows partition > executables. > > > > Is it reasonable to make a script that emulates the path environment of > the windows partition when it is booted and execute that script when > wine is used to access some executables on the windows partition? Being > a bit new to wine, I am struggling with the right way to accomplish this.In general, the best thing to do is to install the apps separately into Wine. You can still use the mounted Windows partition to share data files. Many apps install registry entries that you would need to transfer from the Windows registry to the Wine registry. Is there some reason you are attempting to share this disk space?
-----Original Message----- From: wine-users-bounces@winehq.org on behalf of Duane Clark Sent: Fri 12/22/2006 1:30 PM To: wine-users@winehq.com Cc: Subject: [Wine] Re: paths, paths & more paths Charles Krinke wrote: > In setting up a linux/wine system that has two disk partitions, one for > windows & one for Linux (capitalization intentional), what is the > linux/wine convention for setting up paths on the windows partition > executables. > > > > Is it reasonable to make a script that emulates the path environment of > the windows partition when it is booted and execute that script when > wine is used to access some executables on the windows partition? Being > a bit new to wine, I am struggling with the right way to accomplish this. In general, the best thing to do is to install the apps separately into Wine. You can still use the mounted Windows partition to share data files. Many apps install registry entries that you would need to transfer from the Windows registry to the Wine registry. Is there some reason you are attempting to share this disk space? The answer is fairly simple. I have a few apps, starting with CodeWright and next MetaDeveloper (a C compiler for an ARC processor that only exists as a Windows set of .EXE files) that I would like to run from Linux to avoid using two computers for a project that compiles using both Windows and Linux toolchains using wine. There are few if any registry entries, but there are a few DLL's. So, it seems that adding the .EXE's and .DLL's to the path when using the Windows partition is the most straightforward solution. Charles
-----Original Message----- From: wine-users-bounces@winehq.org on behalf of Duane Clark Sent: Sat 12/23/2006 1:17 PM To: wine-users@winehq.com Cc: Subject: [Wine] Re: paths, paths & more paths Charles Krinke wrote: > The answer is fairly simple. I have a few apps, starting with > CodeWright and next MetaDeveloper (a C compiler for an ARC processor > that only exists as a Windows set of .EXE files) that I would like to > run from Linux to avoid using two computers for a project that > compiles using both Windows and Linux toolchains using wine. > > There are few if any registry entries, but there are a few DLL's. So, > it seems that adding the .EXE's and .DLL's to the path when using > the Windows partition is the most straightforward solution. There is no "Wine convention" that I am aware of for doing something like that, so I guess just try things until you like how it works. I would still suggest copying over the apps, unless you are really determined to save the disk space. Then you can be sure running under Wine won't do anything to mess up your Windows partition. Assuming there is no reason to be changing the environment variables, why not just set them permanently? In your ~/.wine/system.reg, there is a section that begins: [System\\CurrentControlSet\\Control\\Session Manager\\Environment] I guess that is where you would want to set them. I prefer to use a plain text editor, but I guess regedit could be used too. Thank you Duane, thats the sort if information I was interested in. At this point, I am more interested in understanding how wine fits together then pertubating files on the windows partition. Charles