I am trying to integrate a Widows Programm into Wine. For that i try it with a simple Autoit-Exe.
At the moment I am trying to install the exe-file in the Program-Path of an individual Wine-Prefix. This exe-file reads an Inifile, which is in the same Directory.
When I use Winefile to open the .exe, the inifile is read correctly.
When I use it in a .desktop shortcut with the order below, it does not work.
now I programmed the exe, so that a messagebox shows @WorkingDir.Code:
env WINEPREFIX "/opt/WPrefix" wine "C:\Program Files\Test\test.exe"
with Winefile the Workingdir is "C:\Program Files\Test"
With the shortcut "Z:\\root".
What is the problem and what can I do about it?