Adobe Photoshop CC 2014

Informations

Creator Message
vlad88 Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 817
Wine: 1.7.48-staging

Feedbacks

Description

Adobe Photoshop software is a popular professional-quality bitmap image editor that handles Graphics editing package.

Wikipedia.

Source code

#!/bin/bash
# Date : (2015-08-29 23-30)
# Distribution used to test : Linux Mint 17 Cinnamon 32-bit
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.48-staging
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="PhotoshopCC2014"
# Wine Version in which the installation runs without errors
WINE_FOR_INSTALL="1.7.48-staging"
# Wine Version in which Photoshop starts and runs successfully
WINE_FOR_RUNNING="1.7.50"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"
 
 
  
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
         
POL_Debug_Init
 
 
         
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"
  
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_FOR_INSTALL"
POL_System_TmpCreate "$PREFIX"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi
 
# Configuration
Set_OS "win7"
  
  
#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma2
  
 
 
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
#Select the version wine fo running. We perform the same steps that POL_Wine_PrefixCreate,
# but avoid the window with the message that prefix already exists
POL_Wine_InstallVersion "$WINE_FOR_RUNNING"
POL_Wine_SetVersionPrefix "$WINE_FOR_RUNNING"
POL_Wine_AutoSetVersionEnv
POL_Debug_InitPrefix
wine wineboot
POL_LoadVar_PROGRAMFILES
[ -e "$POL_USER_ROOT/configurations/post_prefixcreate" ] && \
source "$POL_USER_ROOT/configurations/post_prefixcreate"
 
  
POL_System_TmpDelete
   
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
vlad88 Saturday 29 August 2015 at 22:35
vlad88 Anonymous

Information

This update has been approved by the team.

Message

Added installation tahoma2. Wine version for running is 1.7.50

Differences

@@ -0,0 +1,95 @@
+#!/bin/bash
+# Date : (2015-08-29 23-30)
+# Distribution used to test : Linux Mint 17 Cinnamon 32-bit
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.48-staging
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+PREFIX="PhotoshopCC2014"
+# Wine Version in which the installation runs without errors
+WINE_FOR_INSTALL="1.7.48-staging"
+# Wine Version in which Photoshop starts and runs successfully
+WINE_FOR_RUNNING="1.7.50"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+ 
+ 
+  
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+         
+POL_Debug_Init
+ 
+ 
+         
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"
+  
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINE_FOR_INSTALL"
+POL_System_TmpCreate "$PREFIX"
+  
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+  
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
+        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+ 
+# Configuration
+Set_OS "win7"
+  
+  
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_FontsSmoothRGB
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_tahoma2
+  
+ 
+ 
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+#Select the version wine fo running. We perform the same steps that POL_Wine_PrefixCreate,
+# but avoid the window with the message that prefix already exists
+POL_Wine_InstallVersion "$WINE_FOR_RUNNING"
+POL_Wine_SetVersionPrefix "$WINE_FOR_RUNNING"
+POL_Wine_AutoSetVersionEnv
+POL_Debug_InitPrefix
+wine wineboot
+POL_LoadVar_PROGRAMFILES
+[ -e "$POL_USER_ROOT/configurations/post_prefixcreate" ] && \
+source "$POL_USER_ROOT/configurations/post_prefixcreate"
+ 
+  
+POL_System_TmpDelete
+   
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+  
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-29 23-30)
# Distribution used to test : Linux Mint 17 Cinnamon 32-bit
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.48-staging
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="PhotoshopCC2014"
# Wine Version in which the installation runs without errors
WINE_FOR_INSTALL="1.7.48-staging"
# Wine Version in which Photoshop starts and runs successfully
WINE_FOR_RUNNING="1.7.50"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"
 
 
  
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
         
POL_Debug_Init
 
 
         
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"
  
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_FOR_INSTALL"
POL_System_TmpCreate "$PREFIX"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi
 
# Configuration
Set_OS "win7"
  
  
#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma2
  
 
 
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
#Select the version wine fo running. We perform the same steps that POL_Wine_PrefixCreate,
# but avoid the window with the message that prefix already exists
POL_Wine_InstallVersion "$WINE_FOR_RUNNING"
POL_Wine_SetVersionPrefix "$WINE_FOR_RUNNING"
POL_Wine_AutoSetVersionEnv
POL_Debug_InitPrefix
wine wineboot
POL_LoadVar_PROGRAMFILES
[ -e "$POL_USER_ROOT/configurations/post_prefixcreate" ] && \
source "$POL_USER_ROOT/configurations/post_prefixcreate"
 
  
POL_System_TmpDelete
   
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"
  
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Monday 26 October 2015 at 15:05
I tried it out didn't seem to work I get a crash error when I run photoshop.exe. Running Xubuntu 15.05
Sunday 2 June 2019 at 10:42
Script approved.
vlad88 Friday 7 August 2015 at 11:58
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,94 @@
+#!/bin/bash
+# Date : (2015-08-04 02-54)
+# Distribution used to test : Linux Mint 17
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="PhotoshopCC2014"
+# Wine Version in which the installation runs without errors
+WINE_FOR_INSTALL="1.7.48-staging"
+# Wine Version in which Photoshop starts and runs successfully
+WINE_FOR_RUNNING="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+
+
+ 
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+        
+POL_Debug_Init
+
+
+        
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINE_FOR_INSTALL"
+POL_System_TmpCreate "$PREFIX"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
+        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+# Configuration
+Set_OS "win7"
+ 
+ 
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_FontsSmoothRGB
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+POL_Call POL_Install_corefonts
+ 
+
+
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+# Select the version wine fo running. We perform the same steps that POL_Wine_PrefixCreate, 
+# but avoid the window with the message that prefix already exists
+POL_Wine_InstallVersion "$WINE_FOR_RUNNING"
+POL_Wine_SetVersionPrefix "$WINE_FOR_RUNNING"
+POL_Wine_AutoSetVersionEnv
+POL_Debug_InitPrefix
+wine wineboot
+POL_LoadVar_PROGRAMFILES
+[ -e "$POL_USER_ROOT/configurations/post_prefixcreate" ] && \
+source "$POL_USER_ROOT/configurations/post_prefixcreate"
+
+ 
+POL_System_TmpDelete
+  
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-04 02-54)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="PhotoshopCC2014"
# Wine Version in which the installation runs without errors
WINE_FOR_INSTALL="1.7.48-staging"
# Wine Version in which Photoshop starts and runs successfully
WINE_FOR_RUNNING="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"


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


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

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_FOR_INSTALL"
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

# Configuration
Set_OS "win7"
 
 
#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko
POL_Call POL_Install_corefonts
 


POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
# Select the version wine fo running. We perform the same steps that POL_Wine_PrefixCreate, 
# but avoid the window with the message that prefix already exists
POL_Wine_InstallVersion "$WINE_FOR_RUNNING"
POL_Wine_SetVersionPrefix "$WINE_FOR_RUNNING"
POL_Wine_AutoSetVersionEnv
POL_Debug_InitPrefix
wine wineboot
POL_LoadVar_PROGRAMFILES
[ -e "$POL_USER_ROOT/configurations/post_prefixcreate" ] && \
source "$POL_USER_ROOT/configurations/post_prefixcreate"

 
POL_System_TmpDelete
  
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Wednesday 12 August 2015 at 16:23
While the install works fine now, running the program leads to several issues. One is that it crashes randomly as it's starting. Sometimes restarting the program works, sometimes it doesn't. When you actually can get into Photoshop, none of the tools can be clicked, and no fonts show up (you should be able to add tahoma2 to the script to fix that). Basically, if Photoshop even manages to start, it's not usable. At least not from my testing (attempted install multiple times.).
Anonymous
Thursday 20 August 2015 at 13:05
In which of the Linux distributions you tested?
vlad88 Friday 7 August 2015 at 2:26
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The new version of the script I am using wine "1.7.48-staging" for installation. With this version Photoshop installed without errors. Then I switch to the wine "1.7.44". With this version Photoshop has successfully launched and running.

Differences

@@ -0,0 +1,80 @@
+#!/bin/bash
+# Date : (2015-08-06 03-25)
+# Distribution used to test : Linux Mint 17
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="PhotoshopCC2014"
+WINEFORINSTALL="1.7.48-staging"
+WINEFORRUNNING="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+
+
+ 
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+        
+POL_Debug_Init
+
+        
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"
+
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEFORINSTALL"
+POL_System_TmpCreate "$PREFIX"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
+        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+# Configuration
+Set_OS "win7"
+ 
+ 
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_FontsSmoothRGB
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+ 
+
+
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+POL_Wine_PrefixCreate "$WINEFORRUNNING" 
+POL_System_TmpDelete
+  
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-06 03-25)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="PhotoshopCC2014"
WINEFORINSTALL="1.7.48-staging"
WINEFORRUNNING="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"


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

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

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not click the "Launch now" at the end of the installation. It is not going to work.')" "$TITLE"

 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEFORINSTALL"
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

# Configuration
Set_OS "win7"
 
 
#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko
 


POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
POL_Wine_PrefixCreate "$WINEFORRUNNING" 
POL_System_TmpDelete
  
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

vlad88 Tuesday 4 August 2015 at 8:28
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,88 @@
+#!/bin/bash
+# Date : (2015-08-04 09-27)
+# Distribution used to test : Linux Mint 17
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="PhotoshopCC2014"
+WINEVERSION="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+ 
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+        
+POL_Debug_Init
+        
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+POL_System_TmpCreate "$PREFIX"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
+        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+# Configuration
+Set_OS "win7"
+ 
+ 
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_FontsSmoothRGB
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+ 
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Perphas the installer will say that it has failed but it will actually keep installing. 
+Do not close the installer. Watch the progress of the installation in this window Playonlinux')" "$TITLE"
+POL_Wine "$INSTALLER"
+
+installed=0
+prevInstalled=-1
+finalInstalled=1490460
+POL_SetupWindow_pulsebar "$(eval_gettext 'Installing Photoshop')" "$TITLE"
+persentage=0
+while [[ $installed -le  $finalInstalled || $prevInstalled != $installed ]]
+	do
+	prevInstalled=$installed
+	installed=`du -s ~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program\ Files | awk '{print$1}'`
+	POL_SetupWindow_set_text "$(eval_gettext '$installed of $finalInstalled bytes installed')"
+	persentage=$(($installed * 100 / $finalInstalled))				
+	
+	POL_SetupWindow_pulse "$persentage"
+	sleep 2
+done
+
+  
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-04 09-27)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="PhotoshopCC2014"
WINEVERSION="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"
 
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
        
POL_Debug_Init
        
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

# Configuration
Set_OS "win7"
 
 
#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko
 

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Perphas the installer will say that it has failed but it will actually keep installing. 
Do not close the installer. Watch the progress of the installation in this window Playonlinux')" "$TITLE"
POL_Wine "$INSTALLER"

installed=0
prevInstalled=-1
finalInstalled=1490460
POL_SetupWindow_pulsebar "$(eval_gettext 'Installing Photoshop')" "$TITLE"
persentage=0
while [[ $installed -le  $finalInstalled || $prevInstalled != $installed ]]
        do
        prevInstalled=$installed
        installed=`du -s ~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program\ Files | awk '{print$1}'`
        POL_SetupWindow_set_text "$(eval_gettext '$installed of $finalInstalled bytes installed')"
        persentage=$(($installed * 100 / $finalInstalled))                                
        
        POL_SetupWindow_pulse "$persentage"
        sleep 2
done

  
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Tuesday 4 August 2015 at 20:13
Nice. Attempting to test this right now. :)
Wednesday 5 August 2015 at 0:46
What I'm a bit afraid of is "du" not reporting the same results based on filesystem (and clusters size, etc.) because it really reports effective disk usage
Wednesday 5 August 2015 at 1:55
Progressbar while watching directory is something that is going to be directly supported in POLv5. Meanwhile, I do not advise to use it because it will slow down the script
Wednesday 5 August 2015 at 3:29
What I noticed is that when the Install happens for PS, you have to disconnect the Internet connection for the install to actually even get to the point that it goes through the Install. If you try to sign in during the Install, for either the demo or full version, it crashes when trying to connect to the site and stops the Install. This is something that I experienced when writing the cs6 script, but now that CC is specifically cloud based for it's DRM, it doesn't want to continue beyond the initialization of the installer without disconnecting from the Internet. Worst case, you could add a Note about disabling the connection before the actual ps installer starts.
vlad88 Tuesday 4 August 2015 at 1:57
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,98 @@
+#!/bin/bash
+# Date : (2015-08-04 02-54)
+# Distribution used to test : Linux Mint 17
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="PhotoshopCC2014"
+WINEVERSION="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+ 
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+        
+POL_Debug_Init
+        
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+POL_System_TmpCreate "$PREFIX"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
+        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+# Configuration
+Set_OS "win7"
+ 
+ 
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_FontsSmoothRGB
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+ 
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Perphas the installer will say that it has failed but it will actually keep installing. 
+Do not close the installer. Follow the progress of the installation in this window Playonlinux')" "$TITLE"
+POL_Wine "$INSTALLER"
+
+downloaded=0
+installed=0
+finalDownloaded=1478884
+finalInstalled=1261684
+POL_SetupWindow_pulsebar "$(eval_gettext 'Installing Photoshop')" "$TITLE"
+persentage=0
+while [ true ]
+	do
+	if [ -d "$HOME/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files/Adobe/Adobe Photoshop CC 2014 (32 Bit)" ] 
+	then
+		installed=`du -s ~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program\ Files/Adobe/Adobe\ Photoshop\ CC\ 2014\ \(32\ Bit\) | awk '{print$1}'`
+		POL_SetupWindow_set_text "$(eval_gettext '$installed of $finalInstalled bytes installed')"
+		persentage=$(($installed * 100 / $finalInstalled))				
+		if [ $installed -ge $finalInstalled ]
+		then
+			break
+		fi
+        else	
+		downloaded=`du -s ~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program\ Files/Common\ Files/Adobe | awk '{print$1}'`
+		persentage=$(($downloaded * 100 / $finalDownloaded))
+		POL_SetupWindow_set_text "$(eval_gettext '$downloaded of $finalDownloaded bytes downloaded')"
+        fi
+	
+	POL_SetupWindow_pulse "$persentage"
+done
+
+  
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-04 02-54)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="PhotoshopCC2014"
WINEVERSION="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"
 
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
        
POL_Debug_Init
        
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip" "586f2c7f8cf5e87cbaf46b3115d0a43d"
        POL_System_unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

# Configuration
Set_OS "win7"
 
 
#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko
 

POL_SetupWindow_message "$(eval_gettext 'NOTICE: Perphas the installer will say that it has failed but it will actually keep installing. 
Do not close the installer. Follow the progress of the installation in this window Playonlinux')" "$TITLE"
POL_Wine "$INSTALLER"

downloaded=0
installed=0
finalDownloaded=1478884
finalInstalled=1261684
POL_SetupWindow_pulsebar "$(eval_gettext 'Installing Photoshop')" "$TITLE"
persentage=0
while [ true ]
        do
        if [ -d "$HOME/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program Files/Adobe/Adobe Photoshop CC 2014 (32 Bit)" ] 
        then
                installed=`du -s ~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program\ Files/Adobe/Adobe\ Photoshop\ CC\ 2014\ \(32\ Bit\) | awk '{print$1}'`
                POL_SetupWindow_set_text "$(eval_gettext '$installed of $finalInstalled bytes installed')"
                persentage=$(($installed * 100 / $finalInstalled))                                
                if [ $installed -ge $finalInstalled ]
                then
                        break
                fi
        else        
                downloaded=`du -s ~/.PlayOnLinux/wineprefix/$PREFIX/drive_c/Program\ Files/Common\ Files/Adobe | awk '{print$1}'`
                persentage=$(($downloaded * 100 / $finalDownloaded))
                POL_SetupWindow_set_text "$(eval_gettext '$downloaded of $finalDownloaded bytes downloaded')"
        fi
        
        POL_SetupWindow_pulse "$persentage"
done

  
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

vlad88 Saturday 1 August 2015 at 20:46
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

I removed the Russian text of the message. Removed unnecessary use winetricks

Differences

@@ -0,0 +1,75 @@
+#!/bin/bash
+# Date : (2015-08-01 21-41)
+# Distribution used to test : Linux Mint 17
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="PhotoshopCC2014"
+WINEVERSION="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+       
+POL_Debug_Init
+       
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014      When the number stops changing, the installation is done and you can exit it.')" "$TITLE"
+
+
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+POL_System_TmpCreate "$PREFIX"
+
+[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+	cd "$POL_System_TmpDir"
+	POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip"
+	unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+	INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+export WINEARCH=win32
+# Configuration
+Set_OS "win7"
+
+
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_vcrun2005
+POL_Call POL_Install_FontsSmoothRGB
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2015-08-01 21-41)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44

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

PREFIX="PhotoshopCC2014"
WINEVERSION="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"

#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
       
POL_Debug_Init
       
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"


POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014      When the number stops changing, the installation is done and you can exit it.')" "$TITLE"


 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$PREFIX"

[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip"
        unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

export WINEARCH=win32
# Configuration
Set_OS "win7"


#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call POL_Install_msxml6
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_FontsSmoothRGB
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko

POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

Sunday 2 August 2015 at 10:37
Hi vlad88,
my script review:
POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014 When the number stops changing, the installation is done and you can exit it.')" "$TITLE"

I wonder how much of this can be avoided or at least automated...

[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

If $POL_SELECTED_FILE is defined, $INSTALL_METHOD won't and the rest of the script will fall apart. If you really mean to support that feature, it should make a local installation of the file; However since it's no longer possible in the new repository web interface to associate a list of MD5 hashes to a script, that feature is currently unusable, so I'm not sure it's worth the trouble.

unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop

You can use POL_System_unzip instead of unzip, that way in case of error the user will be warned instead of the error silently ignored

export WINEARCH=win32

No, no, no $WINEARCH is off limits, it's managed by PlayOnLinux thru POL_System_SetArch statement. But it should be set to win32 already anyway, since it's the default, so just remove that line
Anonymous
Tuesday 4 August 2015 at 2:00

Thank you, petch. I took into consideration your comments in the new version of the script.
vlad88 Saturday 1 August 2015 at 18:52
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fixed sintax error in script.

Differences

@@ -0,0 +1,81 @@
+#!/bin/bash
+# Date : (2015-07-31 20-46)
+# Distribution used to test : Linux Mint 17 Cinnamon 32 bit
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="PhotoshopCC2014"
+WINEVERSION="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+       
+POL_Debug_Init
+       
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+if [ "$LANG" = "ru_UA.UTF-8" ]
+then
+POL_SetupWindow_message "$(eval_gettext '???????? ????????:???????? ?????????? ?????? ??? ????????? ?? ???????. ?? ????? ???? ????????? ????? ????????????. ????????? ? ?????????: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014   ????? ????? ?????????? ????????, ????????? ???????????, ???????? ?????????? ? ????????')" "$TITLE"
+else
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014      When the number stops changing, the installation is done and you can exit it.')" "$TITLE"
+fi
+
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+POL_System_TmpCreate "$PREFIX"
+
+[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+	cd "$POL_System_TmpDir"
+	POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip"
+	unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+	INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+export WINEARCH=win32
+# Configuration
+Set_OS "win7"
+
+
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call_POL_Install_msxml6
+POL_Call_POL_Install_vcrun2005
+wget "http://www.kegel.com/wine/winetricks"
+chmod +x ./winetricks
+WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks vcrun2005sp1
+WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks fontsmooth-rgb
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2015-07-31 20-46)
# Distribution used to test : Linux Mint 17 Cinnamon 32 bit
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44

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

PREFIX="PhotoshopCC2014"
WINEVERSION="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"

#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
       
POL_Debug_Init
       
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

if [ "$LANG" = "ru_UA.UTF-8" ]
then
POL_SetupWindow_message "$(eval_gettext '???????? ????????:???????? ?????????? ?????? ??? ????????? ?? ???????. ?? ????? ???? ????????? ????? ????????????. ????????? ? ?????????: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014   ????? ????? ?????????? ????????, ????????? ???????????, ???????? ?????????? ? ????????')" "$TITLE"
else
POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014      When the number stops changing, the installation is done and you can exit it.')" "$TITLE"
fi

 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$PREFIX"

[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip"
        unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

export WINEARCH=win32
# Configuration
Set_OS "win7"


#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call_POL_Install_msxml6
POL_Call_POL_Install_vcrun2005
wget "http://www.kegel.com/wine/winetricks"
chmod +x ./winetricks
WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks vcrun2005sp1
WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks fontsmooth-rgb
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko

POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

vlad88 Friday 31 July 2015 at 19:57
vlad88 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,84 @@
+#!/bin/bash
+# Date : (2015-07-31 20-46)
+# Distribution used to test : Ubuntu 9.10
+# Author: Vladislav Khomenko
+# Licence : GPLv3
+# Wine version used: 1.7.44
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="PhotoshopCC2014"
+WINEVERSION="1.7.44"
+TITLE="Adobe Photoshop CC 2014"
+EDITOR="Adobe Systems Inc."
+GAME_URL="http://www.adobe.com"
+AUTHOR="Vladislav Khomenko"
+
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+       
+#POL_Debug_Init
+       
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+if [ "$LANG" = "ru_UA.UTF-8" or "$LANG" = "ru_RU.UTF-8"]
+then
+POL_SetupWindow_message "$(eval_gettext ???????? ????????:
+???????? ?????????? ?????? ??? ????????? ?? ???????. ?? ????? ???? ????????? ????? ????????????. ????????? ? ?????????: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014   ????? ????? ?????????? ????????, ????????? ???????????, ???????? ?????????? ? ????????
+')" "$TITLE"
+else
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014                      When the number stops changing, the installation is done and you can exit it.
+')" "$TITLE"
+fi
+
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+POL_System_TmpCreate "$PREFIX"
+
+[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+	cd "$POL_System_TmpDir"
+	POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip"
+	unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
+	INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+fi
+
+export WINEARCH=win32
+# Configuration
+Set_OS "win7"
+
+
+#Dependencies
+POL_Call POL_Install_atmlib
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_msxml3
+POL_Call_POL_Install_msxml6
+POL_Call_POL_Install_vcrun2005
+wget "http://www.kegel.com/wine/winetricks"
+chmod +x ./winetricks
+WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks vcrun2005sp1
+WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks fontsmooth-rgb
+POL_Call POL_Install_vcrun2008
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_gecko
+
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Create Shortcuts
+POL_Shortcut "photoshop.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2015-07-31 20-46)
# Distribution used to test : Ubuntu 9.10
# Author: Vladislav Khomenko
# Licence : GPLv3
# Wine version used: 1.7.44

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

PREFIX="PhotoshopCC2014"
WINEVERSION="1.7.44"
TITLE="Adobe Photoshop CC 2014"
EDITOR="Adobe Systems Inc."
GAME_URL="http://www.adobe.com"
AUTHOR="Vladislav Khomenko"

#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/PhotoshopCS6/top.jpg" "http://files.playonlinux.com/resources/setups/PhotoshopCS6/left.jpg" "$TITLE"
POL_SetupWindow_Init
       
#POL_Debug_Init
       
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

if [ "$LANG" = "ru_UA.UTF-8" or "$LANG" = "ru_RU.UTF-8"]
then
POL_SetupWindow_message "$(eval_gettext ???????? ????????:
???????? ?????????? ?????? ??? ????????? ?? ???????. ?? ????? ???? ????????? ????? ????????????. ????????? ? ?????????: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014   ????? ????? ?????????? ????????, ????????? ???????????, ???????? ?????????? ? ????????
')" "$TITLE"
else
POL_SetupWindow_message "$(eval_gettext 'NOTICE: The installer will say that it has failed but it will actually keep installing. Run in terminal: watch du -s ~/.PlayOnLinux/wineprefix/PhotoshopCC2014                      When the number stops changing, the installation is done and you can exit it.
')" "$TITLE"
fi

 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$PREFIX"

[ -z "$POL_SELECTED_FILE" ] && POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://download.adobe.com/pub/adobe/photoshop/win/cc/AdobePhotoshop2014-32bit-mul.zip"
        unzip AdobePhotoshop2014-32bit-mul.zip -d $POL_System_TmpDir/photoshop
        INSTALLER="$POL_System_TmpDir/photoshop/Set-up.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

export WINEARCH=win32
# Configuration
Set_OS "win7"


#Dependencies
POL_Call POL_Install_atmlib
POL_Call POL_Install_gdiplus
POL_Call POL_Install_msxml3
POL_Call_POL_Install_msxml6
POL_Call_POL_Install_vcrun2005
wget "http://www.kegel.com/wine/winetricks"
chmod +x ./winetricks
WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks vcrun2005sp1
WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/$PREFIX sh winetricks fontsmooth-rgb
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_gecko

POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"
 
# Create Shortcuts
POL_Shortcut "photoshop.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies