Je viens de tester avec WinRAR, même chose, il cherche réellement ce dossier et ne trouvant pas il chercher l'exe dans system32.
EDIT : Je donne le script que j'ai créer pour WinRAR, si cela peut aider à me dire ce qui ne vas pas :
#!/bin/bash
[ "$PLAYONLI?UX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
PREFIX="WinRAR"
TITLE="WinRAR 3.90"
LANG_DL="PlayOnLinux télécharge WinRAR"
cd "$REPERTOIRE/tmp"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "RarLab" "www.rarlab.com" "Christophedlr" "$PREFIX"
#Sélection du préfix
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
#Téléchargement de WinRAR
if [ ! -e $REPERTOIRE/tmp/wrar390fr.exe ]; then
POL_SetupWindow_download "$LNG_DL Version 3.90" "WinRAR 3.90" "http://www.rarlab.com/rar/wrar390fr.exe"
fi
#Lancement de l'installation
wine "wrar390fr.exe"
#Création du raccourcis
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/WinRAR/" "WinRAR.exe" "" "$TITLE" "" ""
clean_tmp
#Fin de l'installation
POL_SetupWindow_message "WinRAR 3.90 FR (32 bits) est bien installé" "$TITLE"
POL_SetupWindow_Close
exit
Edytowane przez christophedlr