The forum

POL executes wrong .exe

Launch of uninst000.exe instead of Launcher.exe

Author Replies
Braini Sunday 4 May 2014 at 13:05
BrainiAnonymous

Hi
I'm not able to tell POL which .exe to start in my virtual drive.

After successfully installing Tomb Raider Angel of Darkness from GOG, I'm fully able to run it when I open a command window from wine and start Launcher.exe

But POL Launcher 1st tried to run uninst000.exe, and when I remove this, it tries now to start bin/TRAOD.exe, which I can't remove, because it's needed, but can't be started directly...

Is there a way to tell POL which .exe to run?

Tried with
 POL 4.2.2
 Wine 1.3.1, 1.5.31 and 1.6.2
 Debian 7.4 unstable with XFCE 4.10
 GTX 750 TI with NVidia non free drivers


Braini Monday 5 May 2014 at 19:37
BrainiAnonymous

Ok, after looking the POL Python script, i found myself...

lib\playonlinux.lib:
detect_appexec()
{
  # Read the program of a shortcut
  # Usage: detect_appexec [Shortcut]
  file="$REPERTOIRE/shortcuts/$1"
  if [ -e "$file" ]
  then
    fichier=`cat "$file" | grep "POL_Wine " | cut -d'"' -f2`
  fi
  echo $fichier
}

-->

So in ~/.PlayOnLinux/shortcuts/Tomb Raider Angel of Darkness
I could correct the command
cd
and
POL_Wine parameter

It's working now, but configuration was more complicated than with native wine :(

Edited by Braini