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
Austin English
2009-May-07 10:02 UTC
[Wine] Wine by default picks up from c:\windows\system32
On Thu, May 7, 2009 at 5:00 AM, VJ <wineforum-user at winehq.org> wrote:> 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?.cd to its directory.> 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?Sure, same place in the registry as in windows. -- -Austin
VJ wrote:> When we run wine <program.exe>, it looks like wine by default tries to pick up files from drive_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:> What do we do if the executable files are installed in a different location?Same as on windows: - 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 VJ wrote:> Is there a PATH variable or something we can set for WINE, just like we set in a OS?Yes, via registry http://wiki.winehq.org/UsefulRegistryKeys