Find the answer to your Linux question:
Results 1 to 2 of 2
hello. 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    8

    Paths with wine


    hello.

    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.
    Code:
    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
    Location
    Behind You!
    Posts
    1,108
    X_X

    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.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

Posting Permissions

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