Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PlayOnLinux script for installing any photoshop version (x86) using winetricks
#!/bin/bash
# Create wineprefix using this script, install Photoshop, do not run it, then change wine version to '1.7.41-PhotoshopBrushes' emulating 'win7'
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX='Photoshop'
WINEVERSION='1.9.3-staging'
TITLE='Adobe Photoshop'
EDITOR='Adobe Systems Inc.'
GAME_URL='http://www.adobe.com'
AUTHOR='PedroHLC'
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch 'x86'
export WINEARCH='win32'
POL_Wine_PrefixCreate "$WINEVERSION"
# Dependencies (winetricks handle them better)
Set_OS 'winxp'
winetricks -q \
mdac28 jet40 msxml3 msxml6 \
vcrun6sp6 vcrun2003 vcrun2005sp1 vcrun2008
Set_OS 'win7'
winetricks -q \
atmlib gdiplus \
vcrun2010
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
winetricks -q \
vcrun2015 \
fontsmooth-rgb corefonts tahoma
POL_Call POL_Install_AdobeAir
# Configuration
Set_OS 'win2008'
# Finish
exit 0
@PedroHLC

This comment has been minimized.

Copy link
Owner Author

commented Jan 25, 2016

I know one should not mix PlayOnLinux with Winetricks, POL developers says winetricks isn't compatible, I just prefer winetricks way of "installing" things.

@PedroHLC

This comment has been minimized.

Copy link
Owner Author

commented Apr 8, 2019

[This is as far as I got for Wine 4.*]

set winXP

winetricks -q \
	mdac28 jet40 msxml3 msxml6 \
	vcrun6sp6 vcrun2003 vcrun2005sp1 vcrun2008

Set Win7

winetricks -q \
	atmlib gdiplus \
	vcrun2010 vcrun2012 vcrun2013 \
	fontsmooth-rgb corefonts tahoma adobeair

do not install vcrun2015

Set Win2008R2

winetricks -q vcrun2017

download and run:
https://ccmdls.adobe.com/AdobeProducts/KCCC/1/win32/CreativeCloudSet-Up.exe

Log-In after setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.