El Foro

Set path to executable

Use of another HD for programm installation

Autor Respuestas
Brueckentroll Wednesday 4 February 2015 at 14:34
BrueckentrollAnonymous

Hi,

I try to Install gog.com - The Witcher Enhanced Edition Director's Cut

Because the partition of my system is out of space I want to Install in another directory. Therefore I mount a directory from another HD (same filesystem as the system - ext4) in my home directory, configure this in the used Wine preface and install the game in the new partition (D:\). Install works perfektly but in the end I get the message: binary not found. Is the program installed in your standard directory? (free translation, I'm from Germany)

I don't know how to change the script that POL will find the executable, because the documentation says:

"You should not specify the whole path to the executable, PlayOnLinux will find it automatically."

Can somebody help me?

Ronin DUSETTE Wednesday 4 February 2015 at 15:57
Ronin DUSETTE

I believe you want to symlink the new folder to the playonmac folder, if I am not mistaken. 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Brueckentroll Wednesday 4 February 2015 at 18:11
BrueckentrollAnonymous

Hi, yes I think you're right. I want to symlink the new folder to POL respectively to the Wine preface, that the Program can be executed with POL. It's not listened but the install routine is finished.

And sorry for the lack of information.

I run a Lubuntu 14.04 Trusty Thar, my POL version is 4.2.2 did you need more information?

When I try to install I get the following debug output:

POL_Wine_PrefixCreate] Message: Setting version to 1.7.6
02/04/15 17:51:09 - [POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.7.6
02/04/15 17:51:09 - [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name
02/04/15 17:51:09 - [POL_Wine] Message: Running wine-1.7.6 cmd /c echo %ProgramFiles% (Working directory : /usr/share/playonlinux/python)
02/04/15 17:51:09 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
C:\Program Files
02/04/15 17:51:10 - [POL_Wine] Message: Wine return: 0
02/04/15 17:51:13 - [POL_Call] Message: Calling POL_GoG_install
02/04/15 17:51:13 - [POL_Call] Message: ----- Starting function POL_GoG_install -----
02/04/15 17:51:13 - [POL_GPG_auth_script] Message: Checking signature of POL_GoG_install
02/04/15 17:51:13 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
02/04/15 17:51:13 - [POL_Source] Message: POL GPG : Good signature
02/04/15 17:51:13 - [POL_Call] Message: Calling POL_Function_SetNativeExtension
02/04/15 17:51:14 - [POL_Call] Message: ----- Starting function POL_Function_SetNativeExtension -----
02/04/15 17:51:14 - [POL_GPG_auth_script] Message: Checking signature of POL_Function_SetNativeExtension
02/04/15 17:51:14 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
02/04/15 17:51:14 - [POL_Source] Message: POL GPG : Good signature
02/04/15 17:51:14 - [POL_Wine] Message: Running wine-1.7.6 regedit /home/crs/.PlayOnLinux//tmp/nativeext.reg (Working directory : /home/crs/.PlayOnLinux/tmp)
02/04/15 17:51:14 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
02/04/15 17:51:14 - [POL_Wine] Message: Wine return: 0
02/04/15 17:51:14 - [POL_Call] Message: ----- Ending function POL_Function_SetNativeExtension -----
02/04/15 17:51:14 - [POL_Call] Message: Calling POL_Install_gdiplus
02/04/15 17:51:15 - [POL_Call] Message: ----- Starting function POL_Install_gdiplus -----
02/04/15 17:51:15 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_gdiplus
02/04/15 17:51:15 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
02/04/15 17:51:15 - [POL_Source] Message: POL GPG : Good signature
02/04/15 17:51:15 - [POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe
02/04/15 17:51:15 - [POL_Download_Resource] Message: Resource already present
02/04/15 17:51:15 - [POL_System_CheckFS] Message: Checking filesystem for WindowsXP-KB975337-x86-ENU.exe
02/04/15 17:51:15 - [POL_Wine] Message: Running wine-1.7.6 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /home/crs/.PlayOnLinux/ressources)
fixme:advapi:DecryptFileA ("C:\\Tmp\\", 00000000): stub
02/04/15 17:51:16 - [POL_Wine] Message: Wine return: 0
02/04/15 17:51:16 - [POL_Wine_OverrideDLL] Message: Overriding DLLs
02/04/15 17:51:16 - [POL_Wine] Message: Running wine-1.7.6 regedit /home/crs/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/crs/.PlayOnLinux/wineprefix/TheWitcher_gog/drive_c/Tmp)
02/04/15 17:51:16 - [POL_Wine] Message: Wine return: 0
02/04/15 17:51:16 - [POL_Call] Message: ----- Ending function POL_Install_gdiplus -----
02/04/15 17:51:17 - [POL_System_CheckFS] Message: Checking filesystem for /home/crs/the_witcher/setup_the_witcher_enhanced_edition_2.0.0.12.exe
02/04/15 17:51:17 - [POL_Wine] Message: Running wine-1.7.6 /home/crs/the_witcher/setup_the_witcher_enhanced_edition_2.0.0.12.exe /nogui (Working directory : /home/crs/.PlayOnLinux/tmp)
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c057 00000001
fixme:msg:ChangeWindowMessageFilter c057 00000001
fixme:msg:ChangeWindowMessageFilter c057 00000001
fixme:msg:ChangeWindowMessageFilter c057 00000001
fixme:shell:SHAutoComplete stub
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ba enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ba enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100c8 enable 0: stub!
fixme:msg:ChangeWindowMessageFilter c057 00000001
fixme:msg:ChangeWindowMessageFilter c057 00000001
fixme:shell:SHAutoComplete stub
err:shell:SHGetFileInfoW pidl is null!
fixme:win:WINNLSEnableIME hwnd 0x100c8 enable -1: stub!
err:shell:SHGetFileInfoW pidl is null!
err:shell:SHGetFileInfoW pidl is null!
fixme:win:WINNLSEnableIME hwnd 0x100dc enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100dc enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100c8 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100c8 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:sfc:SfcIsFileProtected ((nil), L"D:\\The Witcher Enhanced Edition Director's Cut\\unins000.exe") stub
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100ae enable -1: stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33cdc8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d0d8,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b0 enable -1: stub!
02/04/15 18:07:00 - [POL_Wine] Message: Wine return: 0
02/04/15 18:07:00 - [POL_Call] Message: ----- Ending function POL_GoG_install -----
02/04/15 18:07:00 - [Set_OS] Message: Setting Windows OS to winxp
02/04/15 18:07:00 - [POL_Wine] Message: Running wine-1.7.6 regedit /home/crs/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/crs/.PlayOnLinux/tmp)
02/04/15 18:07:00 - [POL_Wine] Message: Wine return: 0
02/04/15 18:07:00 - [POL_Call] Message: Calling POL_install_d3dx9_36
02/04/15 18:07:00 - [POL_Call] Message: ----- Starting function POL_install_d3dx9_36 -----
02/04/15 18:07:00 - [POL_GPG_auth_script] Message: Checking signature of POL_install_d3dx9_36
02/04/15 18:07:00 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
02/04/15 18:07:00 - [POL_Source] Message: POL GPG : Good signature
02/04/15 18:07:00 - [POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
02/04/15 18:07:01 - [POL_Download_Resource] Message: Resource already present
02/04/15 18:07:01 - [source] Message: Extracting only x86 dll
02/04/15 18:07:01 - [source] Message: Overriding all d3dx9_36 dll
02/04/15 18:07:01 - [POL_Wine_OverrideDLL] Message: Overriding DLLs
02/04/15 18:07:02 - [POL_Wine] Message: Running wine-1.7.6 regedit /home/crs/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/crs/.PlayOnLinux/ressources)
02/04/15 18:07:02 - [POL_Wine] Message: Wine return: 0
02/04/15 18:07:02 - [POL_Call] Message: ----- Ending function POL_install_d3dx9_36 -----
02/04/15 18:07:02 - [POL_Call] Message: Calling POL_install_d3dx9_43
02/04/15 18:07:02 - [POL_Call] Message: ----- Starting function POL_install_d3dx9_43 -----
02/04/15 18:07:02 - [POL_GPG_auth_script] Message: Checking signature of POL_install_d3dx9_43
02/04/15 18:07:02 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
02/04/15 18:07:02 - [POL_Source] Message: POL GPG : Good signature
02/04/15 18:07:02 - [POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
02/04/15 18:07:02 - [POL_Download_Resource] Message: Resource already present
02/04/15 18:07:02 - [source] Message: Extracting only x86 dll
02/04/15 18:07:03 - [source] Message: Overriding d3dx9_43 dll
02/04/15 18:07:03 - [POL_Wine_OverrideDLL] Message: Overriding DLLs
02/04/15 18:07:03 - [POL_Wine] Message: Running wine-1.7.6 regedit /home/crs/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/crs/.PlayOnLinux/ressources)
02/04/15 18:07:03 - [POL_Wine] Message: Wine return: 0
02/04/15 18:07:03 - [POL_Call] Message: ----- Ending function POL_install_d3dx9_43 -----
02/04/15 18:07:03 - [POL_Wine_Direct3D] Message: Setting wine Direct3D /home/crs/.PlayOnLinux//wineprefix/TheWitcher_gog VideoMemorySize 1024
02/04/15 18:07:03 - [POL_Wine] Message: Running wine-1.7.6 regedit /home/crs/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/crs/.PlayOnLinux/tmp)
02/04/15 18:07:03 - [POL_Wine] Message: Wine return: 0
02/04/15 18:07:04 - [POL_Wine] Message: Running wine-1.7.6 wineboot (Working directory : /home/crs/.PlayOnLinux/tmp)
02/04/15 18:07:04 - [POL_Wine] Message: Wine return: 0
02/04/15 18:07:04 - [POL_Shortcut] Error: Binärdatei nicht gefunden: launcher.exe\nIst das Programm im Standardverzeichnis installiert?
02/04/15 18:07:30 - [POL_Shortcut] Message: Shortcut created:  The Witcher Enhanced Edition DC
02/04/15 18:07:30 - [POL_SetupWindow_Close] Message: Closing window for pid 17828
02/04/15 18:07:34 - [POL_SetupWindow_question] Message: question answer: TRUE

 

 

 

Ronin DUSETTE Wednesday 4 February 2015 at 18:30
Ronin DUSETTE

Copy the whole ~/.PlayOnLinux folder to your new folder, and then:

ln -s path-to-new-folder $HOME/.PlayOnLinux

I THINK that is the syntax. I never actually make symbolic links that often, oddly enough. You are basically just saying that this folder (first argument) should have a shortcut named ~/.PlayOnLinux/ (second argument).

I am sure someone will correct me, as I am jsut going off the top of my head (which, again, is odd, because I should know this. haha.), but that is the just of it. 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Wednesday 4 February 2015 at 18:38
Ronin DUSETTE

Actually, read this. I was looking for this thread, but couldn't find it. This will explain the process. 

http://www.playonlinux.com/en/topic-9822-Changing_Default_Dir_for_Virtual_Drives.html


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Brueckentroll Wednesday 4 February 2015 at 19:08
BrueckentrollAnonymous

Thank you, I will try it later and tell how it works.

petch Wednesday 4 February 2015 at 19:32
petch

Ronin DUSETTE Wednesday 4 February 2015 at 19:38
Ronin DUSETTE

 

Let's start a FAQ page in the Wiki ;)

http://wiki.playonlinux.com/index.php/FAQ

 

I totally forgot we have that. I am sorry about that.  


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts