Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Number: 21 [installer.jsx] #5

Closed
MichaelVortex opened this issue Jun 22, 2016 · 9 comments
Closed

Error Number: 21 [installer.jsx] #5

MichaelVortex opened this issue Jun 22, 2016 · 9 comments

Comments

@MichaelVortex
Copy link

MichaelVortex commented Jun 22, 2016

Hi Davide,

something goes wrong with your install.jsx with the new Photoshop CC-2015.5 :

Wed Jun 22 2016 09:28:59 GMT+0200
Company: CS-EXTENSIONS
Product: Test product
Product version: 0.3.0
App: photoshop
App Version: 17.0.0
OS: Windows
Locale: en_US


Installer Version: 0.1.2

=======================================

Preflight

OK: PS version 17 in the range [0, 99]

Items to be installed

Installation failed: Message: undefined is not an object
File: ~/Desktop/PS-Installer-master/PS-Installer-master/Example/installer.jsx
Line: 236
Error Name: TypeError
Error Number: 21 [installer.jsx]
anonymous([Error:TypeError: undefined is not an object])

Any ideas? BTW: Thanks alot for your grandiose installer! Big help for me. Best wishes
cc2015 5_error

@undavide
Copy link
Owner

Hi Michael,
it's a known issue that I'm going to fix asap – if you want to do it by yourself in the meantime, just add (I'm referring to the JS file, around line 222):

dependencyObj = {
      "10": ["SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "11": ["FLASH_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "12": ["FLASH_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "13": ["FLASH_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "14": ["HTML_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "15": ["HTML_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "16": ["HTML_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"],
      "17": ["HTML_PANEL", "SCRIPT", "MAC_PLUGIN", "WIN_PLUGIN", "EXTRA"]
    };

This is because CC2015.5 appears to be a point version, yet it's a major version in Photoshop (internal: 17.0). I've written a blogpost about it, that you can find here.

Thanks for the kind words!

Davide

@MichaelVortex
Copy link
Author

MichaelVortex commented Jun 22, 2016

Thank YOU again Davide!!!

@undavide
Copy link
Owner

Pushed a new version, can you please try that and report back?
Thank you!

@MichaelVortex
Copy link
Author

MichaelVortex commented Jun 22, 2016

Hi Davide,

i've tested it on PC / win10:
CC-2014 and CC-2015: Error Message, but the extension is installed.
CC.2015.5: installation complete.
Hope that will help.

@undavide
Copy link
Owner

@MichaelVortex what kind of error?

@MichaelVortex
Copy link
Author

oh, did you not get my email?
cc-2014_error_message

@undavide
Copy link
Owner

I've possibly missed it @MichaelVortex! Are you running PS as an administrator?

@MichaelVortex
Copy link
Author

MichaelVortex commented Jun 23, 2016

Yes, all settings are the same. All PS versions are on the same machine. The folder is installed - but showing the error message.

@undavide
Copy link
Owner

Merging to this new issue – about permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants