Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Paths with wine

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Paths with wine


    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.
    env WINEPREFIX "/opt/WPrefix" wine "C:\Program Files\Test\test.exe"
    now I programmed the exe, so that a messagebox shows @WorkingDir.
    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?

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Behind You!

    Try this command.
    env WINEPREFIX="/opt/WPrefix" wine "C:\Program Files\Test\test.exe
    You can't assisgn a env variable without an assignment operator.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts