HI,
When we run wine <program.exe>, it looks like wine by default tries to pick up files from drive_c\windows\system32.
What do we do if the executable files are installed in a different location?.
Wine cannot load it and fails.
Is there a PATH variable or something we can set for WINE, just like we set in a OS?
Cheers
Wine by default picks up from c:\windows\system32
Wine by default picks up from c:\windows\system32
On Thu, May 7, 2009 at 5:00 AM, VJ <[email protected]> wrote:
--
-Austin
cd to its directory.HI,
When we run wine <program.exe>, it looks like wine by default tries to pick up files from drive_c\windows\system32.
What do we do if the executable files are installed in a different location?.
Sure, same place in the registry as in windows.Wine cannot load it and fails.
Is there a PATH variable or something we can set for WINE, just like we set in a OS?
--
-Austin
Re: Wine by default picks up from c:\windows\system32
That is actually the last place it looks in. The message that you get "can't find c:\windows\system32\program.exe" is misleading.VJ wrote:When we run wine <program.exe>, it looks like wine by default tries to pick up files from drive_c\windows\system32.
Same as on windows:VJ wrote:What do we do if the executable files are installed in a different location?
- CD into that directory (current directory is the first to look for the program.exe)
- Specify full path to the executable
- Add directory with the executable it to the PATH
Yes, via registry http://wiki.winehq.org/UsefulRegistryKeysVJ wrote:Is there a PATH variable or something we can set for WINE, just like we set in a OS?