Git Product home page Git Product logo

adobe-packager's Introduction

What is this and for what

This is a script that allows you to download portable installers of programs from Adobe for macOS with different versions and different or all languages. This can help system administrators who need to install the same program from Adobe on several computers, as well as those people who do not want to use the latest version of programs from Creative Cloud or install the application on an officially unsupported version of macOS (see instructions partition here).

How to use it

  1. For the script to work, the Creative Cloud application must be installed.

    • here for "offline" installer of Creative Cloud under "macOS | Alternative downloads"
  2. For the script to work, Python 3 and XCode (or XCode components) must be installed

    • just run this command xcode-select --install in terminal to install it
  3. Clone the repository git clone https://github.com/Drovosek01/adobe-packager or download files via your browser (and of course unpack archive with files)

  4. In the Finder double click on the ccdl.command file and follow the prompts in the terminal. You can also run the installer in the terminal to have it install into /Applications/Adobe\ Packager.command. Note that it needs the folder from github to remain on your system when you installed it.

    • You also can type python3 in terminal and type path to ccdl.py file or just drop it to terminal window and press Enter. You can add attributes for launch ccdl.py file for specific work.
  5. Be sure to keep your script updated by running git pull in the terminal where you have this cloned to.

Donate

Sponsor the project

You can support this repository at the link above.

P.S.

Yes, I am not the original creator of this script and so far I have only formatted this code, but I will try to share the donation among everyone who took part in writing and correcting this script.

Known issues

  • Postfix macarm64 can mean macuniversal architecture

Resolved issues

  • For Photoshop (and possibly some other applications), only the Intel version of the application installer is downloaded

To Do

  • Find a way to download Adobe Acrobat
  • Fix the script for downloading applications via xml v5
  • Find the difference between xml v5 and v4
  • Refactoring the script - split it into different files
  • Make the script fully or partially cross-platform
  • Make interactive examples of requests for downloading an xml file in the browser
  • Make it possible to select the language of the program in installer GUI
  • Make it possible to download all the language packs
  • Find a way to download Photoshop native for ARM

P.S. At the moment, I do not know the Python language, but I will learn it sometime and maybe do scheduled tasks. Help is always welcome.

Instructions

How to install an application with all languages or choose a specific application language if all language packs are downloaded

Firstly, you should take into account that Adobe applications are quite specific and although they are made in approximately the same style, they often differ greatly in the implementation of the interface. For example, whichever language you choose when downloading Lightroom Classic or Media Encoder (tested on versions 10.4 and CC 2021, respectively), after installation they will have the same interface language as the system language and in the application settings you can change the interface language and it will change after restarting the application. Alas, this does not work with Photoshop, Illustrator (it was tested on CC 2021) and many other Adobe applications, and in order to change their interface language, you will have to reinstall the application after downloading it with the necessary language using our Adobe Packager or change the system interface language in the system settings and in the Creative Cloud settings in the "Apps" item to change the language to the same, restart the computer and only then install the application from Creative Cloud with the desired language.

Our Adobe Packager from a certain commit allows you to download the installer of your chosen application with all the languages available for the selected application (for this, at the language selection stage, you need to enter the word "ALL"), but this does not guarantee that in the installed application it will be possible to change the interface language to any available one. It all depends on the specific application.

For example, as already mentioned here, Lightroom Classic and Media Encoder, regardless of the language selected when downloading, will be installed with all languages and they can be easily switched in the application settings. Adobe XD application (tested on version 44.0.12) if you download (by selecting "ALL") and install with all languages, then after installation, you can select any interface language in the application settings and it will be applied after restarting the application. If you select one language during the Adobe XD download, then after installing the application, only this selected language will be present in its settings. With Illustrator (tested on CC 2021 v25.4.1) the situation is slightly different. If you download (by selecting "ALL") and install Illustrator with all languages, then after installation it will have the interface language "en_US" and all interface languages will be available for selection in the application settings, but after selecting the desired language and restarting the application, the interface language will not change.

I repeat, the interface language settings are specific to each Adobe program and therefore it is more convenient to have 1 installer with all languages and, if necessary, choose which interface language to install the application with.

If you downloaded the application with all the language packs (by selecting "ALL"), then you can set which interface language to install this application by changing in the file driver.xml the text between the "InstallLanguage" tags to one of the available language interface codes available for this application. You can view them in the application.json file (I recommend using some JSON beautifier to make it easier to read this JSON file). If you leave the word "ALL" between these tags, then the application will be installed either with the language "en_US" and in its settings it will not be possible to change the interface language, or it will be installed with the interface language of your system and in its settings it will be possible to change the interface language.

File driver.xml located on the path <create_package>.app/Contents/Resouces/products

The application.json file is located at <create_package>.app/Contents/Resouces/products/<application_sapcode>

P.S.

To be sure that the application will install exactly with the selected language after changing the text between the "InstallLanguage" tags, you can also delete all language packs except the one selected from the application.json folder

How to install an application on an unsupported version of macOS

If you don't have the most up-to-date version of macOS (for example, macOS Mojave 10.14.6) if you try to download the latest version of the application from Creative Cloud (for example Adobe InDesign CC 2022 v17.0), then Creative Cloud will give an error that the requested version of the application is incompatible with your version of macOS and you need to upgrade (in this situation to macOS 10.15 or newer macOS).

If you want to try your luck and find out if the version of the application you requested really can't work on the current version of macOS, you can download the installer with the version of the application you need using our Adobe Packager script. If you then run the installer, you will most likely immediately see error 192 and to install the downloaded version of the application on your macOS, you will need to open the application.json file and there, in the file search, enter "macOS 10." and see what minimum version of macOS Adobe wants for this application to work (for InDesign 2022 v17.0 it was macOS 10.15) and then in the entire application.json file replace this version (in my case it is "10.15") with the macOS version that you have now (in my case it is "10.14") and start the installation again.

After the installation is complete, open the Application folder and there is a folder with the installed application and if there is no crossed-out circle on the application icons, then it will start without problems and most likely will also work without problems. So on macOS Mojave I managed to work in InDesign CC 2022 v17.0, but Photoshop CC 2022 installed on macOS Mojave was displayed with a crossed circle and even changing the requirements of the minimum version of macOS in the Info.plist file inside Adobe Photoshop 2022 did not help to launch it, because, as I understand, it is compiled specifically for macOS 10.15 and newer.

Used code

As far as I know, this script was started by the user "ayyybe" on github gist, but then he stopped supporting the script and then the script stopped working and it was fixed by the user "thpryrchn". You can see this in the commit history.

Here are the links to the used sources:

adobe-packager's People

Contributors

1byte2bytes avatar antibioticss avatar benstonezhang avatar drovosek01 avatar jc-tanedo avatar nmcc1212 avatar oscarrojasl avatar seanghay avatar thpryrchn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adobe-packager's Issues

ValueError: unknown locale: UTF-8

Please enter the desired version. Nothing for 23.4.1: 23.4

Traceback (most recent call last):
File "./ccdl.py", line 662, in
runccdl()
File "./ccdl.py", line 449, in runccdl
deflocal = locale.getdefaultlocale()
File "/Users/knucklehead/.pyenv/versions/3.6.8/lib/python3.6/locale.py", line 562, in getdefaultlocale
return _parse_localename(localename)
File "/Users/knucklehead/.pyenv/versions/3.6.8/lib/python3.6/locale.py", line 490, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8

On OS 12.4

Screenshot 2022-06-28 at 14 34 56

Adobe InDesign damaged and can't be opened

A pop up window shows up when I open Indesign saying "“Adobe InDesign 2020” is damaged and can’t be opened. You should move it to the Bin.".

How can I resolve this issue?

Suddenly started getting a network error out of nowhere

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 438, in _error_catcher
yield
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 462, in read
n = self.readinto(b)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 506, in readinto
n = self.fp.readinto(b)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 54] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 753, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 455, in _error_catcher
raise ProtocolError("Connection broken: %r" % e, e)
urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/yes/Documents/adobe-packager/./ccdl.py", line 634, in
runccdl()
File "/Users/yes/Documents/adobe-packager/./ccdl.py", line 589, in runccdl
for data in response.iter_content(block_size):
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 756, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer'))
44%|████████████████▊ | 785M/1.77G [00:31<00:39, 24.7MiB/s]

Saving session...completed.

[Process completed]

No module named 'requests'

When attempting to run the packager, I get the following issue:

Traceback (most recent call last):
File "./ccdl.py", line 33, in
import requests
ModuleNotFoundError: No module named 'requests'
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

I have tried manually installing the 'requests' module from here, but this doesn't seem to have had any effect.

error 182 while installing

For those of you getting an error 182 while trying to install, check the log file. Open terminal, and type:

sudo nano /Library/Logs/Adobe/Installers/Install.log

go to the end of the file and check for errors. I had downloaded the en_US file but somehow the installer was trying to install pt_BR which is my default OS language. I then downloaded the pt_BR and it worked. I also copied the missing file inside the en_US Contents, like the log said, and it installed both en_US and pt_BR versions.

TypeError: 'in <string>' requires string as left operand, not NoneType

[PHSP_22.5] Parsing available packages
Traceback (most recent call last):
File "/Users/mike/Downloads/adobe-packager/./ccdl.py", line 615, in
runccdl()
File "/Users/mike/Downloads/adobe-packager/./ccdl.py", line 551, in runccdl
if ((not pkg.get('Condition')) or installLanguage in pkg['Condition'] or oslang in pkg['Condition']):
TypeError: 'in ' requires string as left operand, not NoneType

Any idea what this is?

Stuck at process completed. No sign of further prompt.

My goal is to install Adobe Acrobat DC Pro.

The problem is that ccdl.command stops at [process completed].

What I've did:

  1. Download this repository. Unpack it at the download folders.
  2. CTRL+left click the ccdl.command file.
  3. Input y to prompt of Do you want to make M1 native packages (Y/n)

The log:

Last login: Mon Jun 20 15:02:35 on ttys000
/Users/x/Downloads/adobe-packager-master/ccdl.command ; exit;
x@xs-Mac-mini ~ % /Users/x/Downloads/adobe-packager-master/ccdl.command ; exit;
python3 found!
requests found!
starting ccdl
=================================
= Adobe macOS Package Generator =
============= 0.1.4 =============

Do you want to make M1 native packages (Y/n): y
Downloading products.xml

https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macarm64,macuniversal&productType=Desktop
Parsing products.xml
Traceback (most recent call last):
  File "./ccdl.py", line 662, in <module>
    runccdl()
  File "./ccdl.py", line 369, in runccdl
    products, cdn = parse_products_xml(products_xml)
  File "./ccdl.py", line 283, in parse_products_xml
    dependencies = list(
TypeError: 'NoneType' object is not iterable

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

How to install .app silently

Is there any way to automate the installation of the .app's this script downloads? It runs the binary 'applet' in Contents/MacOS/applet but this presents a pop-up "Adobe Package Installer, start the installation now?" (Cancel/Install buttons). This pop-up occurs even if the applet binary is ran from command line. Applet apparently doesn't have any --help or --mode=silent options. Is there a way to install them silently?

Error Code 146

I have sucessfully installed Install PHSP_22.4.2-en_US-macarm64 but when ive tried to Install AEFT_18.0-en_US-osx10-64 on both rosetta and not gives me this error I have check other versions of AEFX and having the same issue my MacOs version is Venture 13.0.1

Error running the script

Getting below error while running the script on MacBook Pro M1 (Monterey):

Please enter the desired version. Nothing for 11.0: 10.4

Available languages: en_US, en_GB, en_IL, en_AE, es_ES, es_MX, pt_BR, fr_FR, fr_CA, fr_MA, it_IT, de_DE, nl_NL, ru_RU, uk_UA, zh_TW, zh_CN, ja_JP, ko_KR, pl_PL, hu_HU, cs_CZ, tr_TR, sv_SE, nb_NO, fi_FI, da_DK

Please enter the desired install language, or nothing for [en_US]: 

Please navigate to the desired downloads folder, or cancel to abort.
70:83: execution error: Terminal got an error: Application isn’t running. (-600)
Exiting...

Terminal Log Says:

WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000378900 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000378900 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000378900 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000379740 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x60000037a400 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000374150 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
-------------------------------------------------------------------------------------

11/03/21 17:16:56:188 | [WARN] | 2398 | HDSetup | OOBEUtils | CommBridge |  | OOBEUtils | 86628 | 0 | Error in reading packet info from the pipe 10, errno = 9
11/03/21 17:16:56:189 | [INFO] | 2398 | HDSetup | HDSetup | AppContext |  | HDSetup | 86617 | 0 | *************************  END Adobe Setup  *************************

Requirement already satisfied: tqdm... You need tqdm!

when running the command file it returns this

requests found!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tqdm'
Requirement already satisfied: tqdm in ./Library/Python/3.9/lib/python/site-packages (4.62.3)
starting ccdl
Trying to Install required module: tqdm

Requirement already satisfied: tqdm in /Users/x/Library/Python/3.9/lib/python/site-packages (4.62.3)
You need tqdm!
                install it from http://pypi.python.org/pypi/tqdm
                or run: pip3 install tqdm.

[Process completed]

tqdm should already be installed and it tells me this when I pip3 install tqdm.
sorry I am not very advanced but having trouble here!

Failed with error code 103 - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Creating Install PHSP_22.5.1-es_ES-macarm64.app on MacBookPro18,2
When running the installer it raises "Failed with error code 103"
Looking back to the terminal window where the file was created one can read:

`
sapCode: PHSP
version: 22.5.1
installLanguage: es_ES
dest: /Users/romar/Downloads/Install PHSP_22.5.1-es_ES-macarm64.app
[{'sapCode': 'PHSP', 'version': '22.5.1', 'buildGuid': '55a47fbd-a836-4fd3-995d-33d2d277b29b'}, {'sapCode': 'ACR', 'version': '9.6', 'buildGuid': '3fc409fc-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COCM', 'version': '1.0', 'buildGuid': '3fc3cb53-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COSY', 'version': '2.4.1', 'buildGuid': '3fcf9f00-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORG', 'version': '1.0', 'buildGuid': '3fc3cf0a-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORE', 'version': '1.0', 'buildGuid': '3fc3d387-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COPS', 'version': '1.0', 'buildGuid': '3fc3df37-c3fa-11e9-b9c5-12148b63a89a'}]

Creating Install PHSP_22.5.1-es_ES-macarm64.app
.: replacing existing signature

Preparing...

[PHSP_22.5.1] Downloading application.json
[PHSP_22.5.1] Creating folder for product
[PHSP_22.5.1] Saving application.json

[ACR_9.6] Downloading application.json
Traceback (most recent call last):
File "./ccdl.py", line 655, in
runccdl()
File "./ccdl.py", line 546, in runccdl
app_json = get_application_json(p['buildGuid'])
File "./ccdl.py", line 321, in get_application_json
return json.loads(r(ADOBE_APPLICATION_JSON_URL, headers))
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Proceso completado]
`

Any thoughts?

Issue when installing the apps

When I try to install a downloaded app it says the following error:

Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

No After Effects before version 22.1.1

I wanted to use ae 2021, but the previous version just aren’t available. I’m not sure why but please fix this thank you so much

EDIT: Removed Piracy

could not detect lanuage

Please enter the your OS Language, or nothing for [en_US]:
 Could not detect your default Language for MacOS.

even if I enter the language manually it shows the same error

Failed to launch task: Bad CPU type in executable

  • I don't have Rosetta2 installed.
  • I chose to make native M1 packages
  • I generated Install PHSP_23.3.2-en_GB-macuniversal

When I run the installer:

  1. prompt to start install
  2. prompt for password
  3. error "Failed to launch task: The operation couldn’t be completed. Bad CPU type in executable"

This is surprising as it implies some part of the installer is Intel only.

Screenshot

Screen shot 2022-06-09 at 17 00 16

Missing Open Source License

Please add an Open Source license file with suggested GPL 3 or MIT license. I am aware, that this might require contacting the original author(s), but would be helpful for future contributions.

I am asking, because I am making use of the script in my own GPL 3 application which packages the ccdl script with all dependencies (python and modules) using pyinstaller and using Platypus as a script launcher. This makes it unnecessary (for the enduser) to download and install about 500 MB of dependencies. Take a look here: CC Offline Package Generator

Error happen when trying to download Photoshop and Illustrator

However, it doesn't happen when I download Premiere Pro and After Effect through the script.

Traceback (most recent call last):
  File "./ccdl.py", line 615, in <module>
    runccdl()
  File "./ccdl.py", line 551, in runccdl
    if ((not pkg.get('Condition')) or installLanguage in pkg['Condition'] or oslang in pkg['Condition']):
TypeError: 'in <string>' requires string as left operand, not NoneType

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

0.1.4 doesn't support downloading new Adobe Substance tools

Based on looking somewhere else, the earlier script 0.1.2-hotfix1 does support downloading and detecting Adobe Substance tools. However. It doesn't ask you to create an M1 package at the start.

Meanwhile the latest version 0.1.4 does support asking and presumably creating M1 packages, it's just it doesn't know how to display and obtain Adobe Substance tools.

Screen Shot 2021-09-14 at 11 27 16 AM

Screen Shot 2021-09-14 at 11 27 41 AM

This is where the earlier version of the script lives on.

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/ayyybe/a5f01c6f40020f9a7bc4939beeb2df1d/raw/install.sh)" to execute.

Please investigate, why this one was able to show the Substance tools, unlike your newer script.
Can you guys fix this soon? Pretty sure this is just a quick fix.

  • Support displaying and downloading Adobe Substance tools
  • Support creating M1 packages for Adobe Substance tools.

Thanks

Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

Hello,

First I'd like to thank you for sharing this impressive solution.

I managed to install Illustrator/Photoshop but I deleted my first install of Illustrator, switched the language of my computer to english and tried the install again. The outcome is I get "Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)". And I put the language back on french after a reboot.

I deleted the creative cloud, every files linked with Illustrator and tried again, nothing works. I'm still able to install other products..

Thanks for you help!

Cheers

code errors

Hi I followed all the instructions to my ability and when I try to open the installer I'm having code error 195 what can I do to fix this IM ALSO GETTING 107 AND 103 when I tried tor reinstall older version because I thought that was my issue please help >.<I think it may be helpful to add that I am on a mac.13.6 but I downloaded the earlierst version I could

Failed with error code 182

Download AEFT 23.1 on mac M1 native and it always fails with error 182. My native os language is english canada but using en_US for both or en_GB doesnt work. I reinstalled cc but no solution

osacompile: no such component "JavaScript".

Had this bug when I launched ccdl.command after indicating my choices, at the time it tried to download:

Creating Install PHSP_22.5.1-en_US-osx10-64.app
osacompile: no such component "JavaScript".
Traceback (most recent call last):
  File "./ccdl.py", line 665, in <module>
    runccdl()
  File "./ccdl.py", line 542, in runccdl
    shutil.copyfile(icon_path, os.path.join(install_app_path,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 261, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/gemp/Downloads/Install PHSP_22.5.1-en_US-osx10-64.app/Contents/Resources/applet.icns'
logout

Solved it by deleting ~/Library/Components/Script Debugger.component (source)

Error when run ccdl.py

I get some error 'no such file or directory'

python3 ./ccdl.py     
=================================
= Adobe macOS Package Generator =
============= 0.1.4 =============

Do you want to make M1 native packages (Y/n): 
Downloading products.xml

https://cdn-ffc.oobesaas.adobe.com/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://cdn-ffc.oobesaas.adobe.com/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://cdn-ffc.oobesaas.adobe.com/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macarm64,macuniversal&productType=Desktop
Parsing products.xml
CDN: https://ccmdls.adobe.com
Note: If the Adobe program is not listed here, there is no native M1 version.
      Use the non native version with Rosetta 2 until an M1 version is avaliable.
23 products found:

[AEFTBETA] After Effects (Beta)
[AICY] InCopy
[AME] Media Encoder
[AMEBETA] Media Encoder (Beta)
[AUDT] Audition
[AUDTBETA] Audition (Beta)
[CHAR] Character Animator
[CHARBETA] Character Animator (Beta)
[DRWV] Dreamweaver
[IDSN] InDesign
[IDSNBETA] InDesign (Beta)
[ILST] Illustrator
[LRCC] Lightroom
[LTRM] Lightroom Classic
[PHSP] Photoshop
[PHSPBETA] Photoshop (Beta)
[PPRO] Premiere Pro
[PPROBETA] Premiere Pro (Beta)
[RUSH] Premiere Rush
[RUSHBETA] Premiere Rush (Beta)
[SPRK] XD
[SPRKBE] XD (Beta)
[UXPD] UXP Developer Tools

Please enter the SAP Code of the desired product (eg. PHSP for Photoshop): ILST

Illustrator Platform: macuniversal - 25.3.1
Illustrator Platform: macuniversal - 25.4.1
Illustrator Platform: macuniversal - 26.0
Illustrator Platform: macuniversal - 26.0.1

Please enter the desired version. Nothing for 26.0.1: 

Available languages: en_US, en_GB, en_IL, en_AE, es_ES, es_MX, pt_BR, fr_FR, fr_CA, fr_MA, it_IT, de_DE, nl_NL, ru_RU, uk_UA, zh_TW, zh_CN, ja_JP, ko_KR, pl_PL, hu_HU, cs_CZ, tr_TR, sv_SE, nb_NO, fi_FI, da_DK, ALL

Please enter the desired install language, or nothing for [ru_RU]: 

Please navigate to the desired downloads folder, or cancel to abort.

sapCode: ILST
version: 26.0.1
installLanguage: ru_RU
dest: /Users/int-0x03/Documents/Install ILST_26.0.1-ru_RU-macuniversal.app
[{'sapCode': 'ILST', 'version': '26.0.1', 'buildGuid': '03160a31-1d2f-4b73-bc82-cceaaab8cf7a'}, {'sapCode': 'COCM', 'version': '1.0', 'buildGuid': '3fc3cb53-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COSY', 'version': '2.4.1', 'buildGuid': '3fcf9f00-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORG', 'version': '1.0', 'buildGuid': '3fc3cf0a-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORE', 'version': '1.0', 'buildGuid': '3fc3d387-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CCXP', 'version': '2.2.1', 'buildGuid': '3fdc5e2b-c3fa-11e9-b9c5-12148b63a89a'}]

Creating Install ILST_26.0.1-ru_RU-macuniversal.app
.: replacing existing signature
Traceback (most recent call last):
  File "./ccdl.py", line 634, in <module>
    runccdl()
  File "./ccdl.py", line 522, in runccdl
    shutil.copyfile(icon_path, os.path.join(install_app_path,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app/Contents/Resources/CreativeCloudInstaller.icns'

Please add option "q" to gracefully quit script at any time

Hello @Drovosek01 thank you again for your great work.
Please, can you kindly consider adding "q" as an option, at any moment there is a user-input, to gracefully quit your script?
(provided there are no temporary files, I guess)
I think it's better to quit the running process internally via "q" at input, rather than Ctrl+C instead.
This is convenient when checking for version numbers for example, without the need to download or package anything.
Thanks for your consideration!

URL are blocked

All the URL are blocked means the process just can continue. tested in Intel and Silicon.

Error 182 when trying to install a package

I was using adobe packager to download the latest versions of PS and AI, but the installation always aborts with the error 182. The log files say that the files for en_US are missing although I downloaded the de_DE version (my Mac only uses German language). When I create another package with the en_US language files and then copy them to the de_DE package the installation works flawless. Could you maybe add an option to always include the en_US language files even if another language is selected? IT would make the whole process a little easier and faster. Thanks in advance!

Edit: Just had another look at the contents of the packages. The installers for en_US also included the de_DE files, but not vice verso. Is there a reason for that?

Python errors

Hi,

I installed Xcode via xcode-select --install, Installed Adobe Creative Cloud Desktop, and cloned the repository, but when I tried to run ./ccdl.command, I get the below.

python3 found!
installing requests...
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/__main__.py", line 16, in <module>
    from pip._internal import main as _main  # isort:skip # noqa
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 11, in <module>
    from pip._internal.commands import (
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 26, in <module>
    from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/index/__init__.py)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tqdm'
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/usr/bin/pip3", line 6, in <module>
    from pip._internal import main
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 11, in <module>
    from pip._internal.commands import (
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 26, in <module>
    from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/index/__init__.py)
starting ccdl
Traceback (most recent call last):
  File "./ccdl.py", line 33, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

ERROR CODE 127

When i try to install ''AEFT_13.8.1-en_US-osx10-64'' i get ''Failed with error code 127''

openssl error

getting an error on trying to execute of ssl version, openssl 1.1.1 is deprecated

Traceback (most recent call last):
File "/Users/andyzeo/adobe-packager/./ccdl.py", line 39, in
import requests
File "/Users/andyzeo/Library/Python/3.9/lib/python/site-packages/requests/init.py", line 43, in
import urllib3
File "/Users/andyzeo/Library/Python/3.9/lib/python/site-packages/urllib3/init.py", line 38, in
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: urllib3/urllib3#2168

code error 195,127 and 107

I have a mac 10.13.6 and tried to download the oldest versions of Lightroom, premier pro and photoshop and have received all of those codes. I'm not sure what I can do to solve this please help>.<

Just a Thank you

Hi @Drovosek01

No issue. Just a message to thank you for taking the initiative to gather up this script into a new project, and for adding an excellent readme.md. I've been tracking this script across its various iterations since it emerged via ayyybe, and it's great to see the current working version now has a good home.

Be well ...

runccdl error

python3 found!
requests found!
starting ccdl

= Adobe macOS Package Generator =
============= 0.1.4 =============

Do you want to make M1 native packages (Y/n): Y
Downloading products.xml

https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macarm64,macuniversal&productType=Desktop
Parsing products.xml
Traceback (most recent call last):
File "/Users/Downloads/adobe-packager-master 2/./ccdl.py", line 662, in
runccdl()
File "/Users/Downloads/adobe-packager-master 2/./ccdl.py", line 369, in runccdl
products, cdn = parse_products_xml(products_xml)
File "/Users/Downloads/adobe-packager-master 2/./ccdl.py", line 283, in parse_products_xml
dependencies = list(
TypeError: 'NoneType' object is not iterable

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Resume Downloads

Often a package will hang while downloading. I have left the script running overnight, but the progress will never continue. When this happens the download has not stopped - for example, the current package has hung and the speed is stuck a
ts 4.55MiB/s, not 0MiB/s.

The only way to fix this is to kill the script and start over, but the downloads start from the beginning. Is would it be possible to resume a failed download?

Adobe Premire 22.3

When i use script to download premire pro 22.3 and choose en_US the script download all languages
and the file become very big
hope to solve this issue

Downloading an M1 installer packages it for Intel

When downloading it asks if you want to make an app native for M1. I selected Yes and chose Photoshop. Once done, the installer was called: Install PHSP_22.4.2-en_US-macarm64.

When I opened the installer I was prompted to install Rosetta 2 which I declined because I don't want to run Rosetta 2 on this machine.

On inspection of the application it was listed as for Intel Mac's.

It seems the M1 native package doesn't actually create an M1 native installer.

tqdm not detcted even though installed

Hello :)
Im trying to run your program, but it got stuck:

adobe-packager|master ⇒ pip install tqdm
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
adobe-packager|master ⇒ pip3 install tqdm
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
adobe-packager|master ⇒ /Applications/Adobe\ Packager.command
python3 found!
requests found!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tqdm'
Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
starting ccdl
Trying to Install required module: tqdm

Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
You need tqdm!
                install it from http://pypi.python.org/pypi/tqdm
                or run: pip3 install tqdm.

Am i doing something wrong here? Python3 is installed via brew, maybe thats the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.