Skip to main content
Inspiring
December 11, 2013
Question

Windows MediaCore directory resolution...

  • December 11, 2013
  • 1 reply
  • 1008 views

Hi,

I'm working on a script to automate loading of plugins/presets and one aspect of that is confirming the existence of a plugin before loading.  I notice on my Windows machine that some Adobe applications are installed into the "Program Files" directory and some into the "Program Files (x86)" directory.  This is obvious enough as some apps are built for the 64-bit architecture...some not.

However, I'm noticing that both "Adobe" directories contain the requisite "Common" folder (which when you dig down is a second location for Plugins...\Adobe\Common\Plug-ins\<VERSION>\MediaCore\).  How do I resolve which "Common" folder to look into?  Is is based upon the location of the application itself?  i.e. AE is in c:\Program Files (x86)\Adobe\ and therefore will only have access to those plugins under the c:\Program Files (x86)\Adobe\Common directory?  Or will the application have access to both directories?

Probably safer to assume that the former is true but I'd love to make my script as modular/extensible as possible and handle as many cases as possible.

Thanks!

This topic has been closed for replies.

1 reply

Legend
December 11, 2013

A lot of third party plugins use the Mediacore folder for their plugins. I'm not a windows guys, but it would be safe to assume that you would need to find what version of the app the user is using to only use one of those folders. not sure if that is possible offhand with Extendscript. You may want to include both folders as a safety net regardless.