Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Plugin deployment

Explorer ,
Sep 06, 2012 Sep 06, 2012

Hello

I'm developing plugins for CS3, 4, 5 and 6 for MacOSX and Windows. I want to simplify the deployment process for our customers. Today they have to set an additional folder in the preferences of Illustrator.

How can we know the version of Illustrator and where to put automatically the plugins in a directory where Illustrator will find them without user intervention ?

On MacOSX I use packagemaker and on Windows I use a Windows Installer.

TOPICS
SDK
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Sep 06, 2012 Sep 06, 2012

I can't help you on Mac, but there's a whole lot of painful stupidity to try and figure this out on the PC. I have to check two different registry keys (one in the WOW64Node to see if I'm finding a 32-bit on a 64-bit system) just to identify the proper Illustrator root folder (for each architecture that exists -- this is for CS6 mind you. Then I have to go looking one level down from there for something like '3D.aip' -- that gives me a folder one up from the plugin folder.

Granted, if the 3D.aip isn't there, you're boned. But there's no other way then to look for a 'built-in' plugin -- and its hard to find one that doesn't change names between different language versions.

For CS5 its the same process, I just use HKEY_CLASSES_ROOT\Adobe.Illustrator.CS5.DefaultIcon and get the Illustrator.exe's location from there. I imagine it'd work similarly for CS3 & CS4. Then I do the same as above, searching for 3D.aip.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 16, 2014 Dec 16, 2014

I used PackageMaker too on MacOSX to create package. This application allows you to set the plugin installation directory.

I guess you could add scripts to your package to deal with Illustrator revision and installation directories. 

(I had a single package for each Illustrator revison, so I did not have the issue you have.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 17, 2014 Dec 17, 2014
LATEST

I'm using the pkgbuild tool to make my packages.
I'm using scripts to locate the different versions of Illustrator installed on the customer's computer.

To locate where is Illustrator I'm using system_profiler.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines