Adobe Photoshop CC 2014

Informations

Créateur Messages
vlad88 Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 4559
Wine: 2.22

Retours d'expérience

Description

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

Wikipedia.

Code source

#!/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: 2.22


# CHANGELOG
# [Vladislav Khomenko] (2015-08-29 23-30)
#   First script.
# [Dadu042] (2019-11-28)
#   Wine 1.7.48-staging -> 2.22
#   + App categories

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="PhotoshopCC2014"
# Wine Version in which the installation runs without errors
WINE_FOR_INSTALL="2.22"
# Wine Version in which Photoshop starts and runs successfully
WINE_FOR_RUNNING="2.22"
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" "" "" "Graphics;RasterGraphics;"
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Vendredi 29 Novembre 2019 à 10:45
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -3,16 +3,24 @@
 # Distribution used to test : Linux Mint 17 Cinnamon 32-bit
 # Author: Vladislav Khomenko
 # Licence : GPLv3
-# Wine version used: 1.7.48-staging
-  
+# Wine version used: 2.22
+
+
+# CHANGELOG
+# [Vladislav Khomenko] (2015-08-29 23-30)
+#   First script.
+# [Dadu042] (2019-11-28)
+#   Wine 1.7.48-staging -> 2.22
+#   + App categories
+
 [ "$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_FOR_INSTALL="2.22"
 # Wine Version in which Photoshop starts and runs successfully
-WINE_FOR_RUNNING="1.7.50"
+WINE_FOR_RUNNING="2.22"
 TITLE="Adobe Photoshop CC 2014"
 EDITOR="Adobe Systems Inc."
 GAME_URL="http://www.adobe.com"
@@ -74,6 +82,7 @@
  
 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"
@@ -89,7 +98,7 @@
 POL_System_TmpDelete
    
 # Create Shortcuts
-POL_Shortcut "photoshop.exe" "$TITLE"
+POL_Shortcut "photoshop.exe" "$TITLE" "" "" "Graphics;RasterGraphics;"
   
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/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: 2.22


# CHANGELOG
# [Vladislav Khomenko] (2015-08-29 23-30)
#   First script.
# [Dadu042] (2019-11-28)
#   Wine 1.7.48-staging -> 2.22
#   + App categories

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="PhotoshopCC2014"
# Wine Version in which the installation runs without errors
WINE_FOR_INSTALL="2.22"
# Wine Version in which Photoshop starts and runs successfully
WINE_FOR_RUNNING="2.22"
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" "" "" "Graphics;RasterGraphics;"
  
POL_SetupWindow_Close
exit 0

Réponses

vlad88 Samedi 29 Aoüt 2015 à 22:35
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Lundi 26 Octobre 2015 à 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
Dimanche 2 Juin 2019 à 10:42
Script approved.
vlad88 Vendredi 7 Aoüt 2015 à 11:58
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Mercredi 12 Aoüt 2015 à 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
Jeudi 20 Aoüt 2015 à 13:05
In which of the Linux distributions you tested?
vlad88 Vendredi 7 Aoüt 2015 à 2:26
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

vlad88 Mardi 4 Aoüt 2015 à 8:28
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Mardi 4 Aoüt 2015 à 20:13
Nice. Attempting to test this right now. :)
Mercredi 5 Aoüt 2015 à 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
Anonymous
Mercredi 5 Aoüt 2015 à 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
Mercredi 5 Aoüt 2015 à 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 Mardi 4 Aoüt 2015 à 1:57
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

vlad88 Samedi 1 Aoüt 2015 à 20:46
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Dimanche 2 Aoüt 2015 à 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
Mardi 4 Aoüt 2015 à 2:00

Thank you, petch. I took into consideration your comments in the new version of the script.
vlad88 Samedi 1 Aoüt 2015 à 18:52
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

vlad88 Vendredi 31 Juillet 2015 à 19:57
vlad88 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

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