The forum

Adobe Lightroom 6 Classic

dll hell, RAS login, vcrun2010

Author Replies
unhammer Sunday 21 January 2018 at 10:15
unhammer

Synopsis:

I was hoping wine3 would run the non-cloud LR6 running, but I'm seeing this on startup:

[01/21/18 09:56:38] - Running wine-3.0 lightroom.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/Lightroom6LS11/drive_c/Program Files/Adobe/Adobe Lightroom)
0028:err:module:import_dll Library mfc110u.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\substrate.dll") not found
0028:err:module:import_dll Library substrate.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\ui.dll") not found
0028:err:module:import_dll Library gdiplus.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\ui.dll") not found
0028:err:module:import_dll Library mfc110u.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\ui.dll") not found
0028:err:module:import_dll Library ui.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\lightroom.exe") not found
0028:err:module:import_dll Library mfc110u.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\substrate.dll") not found
0028:err:module:import_dll Library substrate.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\lightroom.exe") not found
0028:err:module:import_dll Library mfc110u.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Lightroom\\lightroom.exe") not found
0028:err:module:attach_dlls Importing dlls for L"C:\\Program Files\\Adobe\\Adobe Lightroom\\lightroom.exe" failed, status c0000135

Does this seem like something we could solve?


Background:

I got the LR6 Classic installer from https://helpx.adobe.com/lightroom/kb/lightroom-downloads.html ( Lightroom_6_LS11.exe ).

What I've done:

  •  installed wine 3.0 amd64 through PoL
  • deleted libz which lead to errors
 find ~/.PlayOnLinux/ -name 'libz*' -print0|xargs -0r rm
  • run this script modified from the LR5 script
#!/bin/bash
# Date : (2016-11-11)
# Distribution used to test : Mint 18 LXDE 64-bit
# Author : RoninDusette, taurin
# Licence : GPLv3
# PlayOnLinux: 4.2.10

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="Lightroom6LS11"
WINEVERSION="3.0"
TITLE="Adobe Photoshop Lightroom 6 LS11"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="RoninDusette, taurin"

#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_message "$(eval_gettext 'IMPORTANT: This program may NOT work well with most Intel graphics. Nvidia and AMD proprietary drivers are REQUIRED in most cases.
\n\n
Needs sRGB color profile for images to be visible. Copy sRGB.icm (comes with some native Linux software, such as GraphicsMagick) to "~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/windows/system32/spool/drivers/color/sRGB Color Space Profile.icm".
\n
Or if you have winetricks installed you can run "env WINEPREFIX=~/.PlayOnLinux/wineprefix/$PREFIX winetricks colorprofile"')" "$TITLE"

# Create Prefix
POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "win7"

POL_Call POL_Install_atmlib
POL_Call POL_Install_corefonts
POL_Call POL_Install_wintrust
POL_Call POL_Install_msasn1
# POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Download_Resource "https://web.archive.org/web/20061224003406/http://download.microsoft.com/download/5/0/c/50c42d0e-07a8-4a2b-befb-1a403bd0df96/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" "0c0f6e300800e49472e9b2e0890a09c1" "0c0f6e300800e49472e9b2e0890a09c1"

cd "$WINEPREFIX/drive_c/windows/temp"
cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WINHTTP.DLL
if [ "$POL_ARCH" = "amd64" ]; then
        cp -f WINHTTP.DLL ../syswow64/winhttp.dll
else
        cp -f WINHTTP.DLL ../system32/winhttp.dll
fi
POL_Wine_OverrideDLL "native, builtin" "winhttp"
POL_Download_Resource "https://web.archive.org/web/20061224003406/http://download.microsoft.com/download/5/0/c/50c42d0e-07a8-4a2b-befb-1a403bd0df96/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" "0c0f6e300800e49472e9b2e0890a09c1"
cd "$WINEPREFIX/drive_c/windows/temp"
cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL
if [ "$POL_ARCH" = "amd64" ]; then
        cp -f WININET.DLL ../syswow64/wininet.dll
else
        cp -f WININET.DLL ../system32/wininet.dll
fi
POL_Wine_OverrideDLL "native, builtin" "wininet"

# Installation
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'PlayOnLinux will now install a few required programs. Just click NEXT through IE install, as you usually would.')" "$TITLE"

#Dependencies
# Set_OS "winxp"
# POL_Call POL_Install_ie6
# POL_Call POL_Install_wmpcodecs
# Set_OS "win7"
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_gdiplus

# Create Shortcuts
POL_Shortcut "lightroom.exe" "$TITLE"
POL_Shortcut_InsertBeforeWine "$TITLE" "export LC_ALL=C.UTF-8"

POL_SetupWindow_Close
exit 0
  • Selected my exe and run the installation
  • Clicked "Try before buy"
  • Clicked "log in" – here it eventually times out, log showing things like
0034:fixme:ras:RasEnumConnectionsW (0x190fc8,0x9de3fc,0x6305fe34),stub!
0034:fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
0039:fixme:service:svcctl_EnumServicesStatusW resume index not supported
0034:fixme:ras:RasEnumEntriesW ((nil),(null),0xd8c1b0,0x9dec2c,0xd851a4),stub!
  • After the timeout, however, it lets you "log in later" and keep installing
  • At the end it says "some components failed" and links to an html file containing:
Exit Code: 6
Please see specific errors below for troubleshooting. For example,  ERROR:

-------------------------------------- Summary --------------------------------------

 - 0 fatal error(s), 8 error(s)


----------- Payload: Microsoft Visual C++ 2010 Redistributable Package (x64) 10.0.40219.325 {54B0C34F-18F9-11E2-BC1D-00215AEA26C9} -----------

ERROR: Third party payload installer vcredist_x64.exe failed with exit code: -2146762485

ERROR: Failed to install Microsoft Visual C++ 2010 Redistributable Package (x64). Please try installing it by double clicking on the executable at "C:\users\me\Desktop\Adobe\Photoshop Lightroom 6.0\payloads\Microsoft VC 2010 Redist (x64)\vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x64) from Microsoft website - www.microsoft.com

----------- Payload: Microsoft Visual C++ 2010 Redistributable Package (x86) 10.0.40219.325 {55B82130-18F9-11E2-8D43-00215AEA26C9} -----------

ERROR: Third party payload installer vcredist_x86.exe failed with exit code: -2146762485

ERROR: Failed to install Microsoft Visual C++ 2010 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\users\me\Desktop\Adobe\Photoshop Lightroom 6.0\payloads\Microsoft VC 2010 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x86) from Microsoft website - www.microsoft.com

----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x64) 11.0.61030.0 {3E272A93-C06B-4206-AD02-0EBE02535E20} -----------

ERROR: Third party payload installer vcredist_x64.exe failed with exit code: -2147467259

ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x64). Please try installing it by double clicking on the executable at "C:\users\me\Desktop\Adobe\Photoshop Lightroom 6.0\payloads\Microsoft VC 2012 Redist (x64)\vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x64) from Microsoft website - www.microsoft.com

----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x86) 11.0.61030.0 {873BE68F-480F-49A6-9649-F98CAB056AFC} -----------

ERROR: Third party payload installer vcredist_x86.exe failed with exit code: -2147467259

ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\users\me\Desktop\Adobe\Photoshop Lightroom 6.0\payloads\Microsoft VC 2012 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x86) from Microsoft website - www.microsoft.com

 

  • Then when running the Adobe Lightroom 6.lnk, it crashes with the dll errors as shown at the top of this post.

See the full playonlinux.log (it claims it can't find libpng12.so.0, but I do have this file in /lib/x86_64-linux-gnu/libpng12.so.0).

I've put the newest version of the script at https://github.com/unhammer/lr6-linux

Edited by unhammer

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com