Hello,
I have a small Windows database application written in Delphi. It was programmed so that no installation was needed - the application looks for its files in the directory from which it is run. It also stores several pieces of information in the registry. In Windows, it was tested that moving the app in another directory makes no harm.
When I ran this application under wine for the first time, everything was working correctly. After some time, I decided to move it in another directory. First, I just made a copy of the whole directory, and tried to run the app from the new directory. It worked. Then I deleted the old directory. After that, when I tried to run the app from the new dir again, it failed with an OLE error (most likely when opening one of its auxiliary files).
So it seems to me that even though the program itself does not store the path to the data, and does not care about its own location, there is a remembered information somewhere in WINE which - incorrectly - refers to the old directory.
(To be precise: there IS one path being stored in the registry, but this key was changed to the new dir, so it can hardly be the cause of the problem.)
As the program has no installer, it cannot be uninstalled. Is there any way to remove the hidden info in wine and to start "from the scratch"? Or what else could be the cause of this strange behaviour?
The problem was experienced under Linux Mint 17.1, Wine version 1.6.2.
Thanks for help!
problem with a moved application
Re: problem with a moved application
Delete the whole wineprefix.
Re: problem with a moved application
Okay, it should work, I guess.dimesio wrote:Delete the whole wineprefix.
But what happens to other (installed) applications...? How to prevent data loss?
Thanks.
Re: problem with a moved application
If you delete the wineprefix, they will be deleted too.