[Wine] Application will only run when executed from its directory

netgui68 wineforum-user at winehq.org
Thu Jan 22 09:21:52 CST 2009

Hi everyone!  I am running Wine 1.0 on Linux Mint 5.1.  I have a custom developed program that was designed in Delphi using the Borland Database library that will only run correctly if executed from the directory it is contained in.  It will not run from the start menu nor will it run from a launcher that I have built on the Desktop.  I figure it has to be something with the path referencing.   I have scoured the internet and tried many suggestions, however none of which have solved the problem. 

To be more specific, it seems like the program is unable to find the Borland files.

The path to the application is: .wine/drive_c/Scan
The path to the Borland dll's, odbc drives, and other shared libraries is:
.wine/drive_c/Program Files/Common Files/Borland Shared/BDE/

My main desire is to be able to launch this program from a launcher that I can create on the Desktop, eventually I would like to make this universally accessible to all users.  Your help and suggestions would be most appreciated.

Thank you!

More information about the wine-users mailing list