
20
Packaging Extensions with Extension Manager CS5
Attributes
source
,
destination
,
{platform}
,
{shared}
,
{systemfile}
,
{win-extension},
{isresourcefile}, {file-type}, {minVersion}, {maxVersion}
source
The name of the file. It can include a path relative to the location of the installation file;
the extension’s files don’t all have to be in the same folder. The filename must be a valid name in
both Windows and Mac OS, unless you specify a value for the
platform
attribute. You can use a
colon (:), slash (/), or backslash (\) as the separator between folder names (and before the
filename) in the path. Note that in some operating systems, filenames are case-sensitive; make
sure to use the same capitalization in the
source
attribute as you use for the corresponding file
and folder names on your disk. Filenames should be a total of 30 characters or less.
Do not use the same filenames as Adobe extensions unless your extension is intended as a
substitute for an Adobe extension.
To create an extension as part of a bundle or framework on Mac OS, use either of the following
formats, without wildcards:
•
<files><file source="sourceFolder" destination="$photoshop/" /></files>
•
<files><file source="sourceFolder/" destination="$photoshop/" /></files>
destination
The name of the folder the file will be copied to. If the folder doesn’t exist, the
Extension Manager creates it during installation. Note that this attribute should contain a folder
name, not a filename. The filename is specified by the
source
attribute.
Attributes you can use to refer to installation folders include the following:
Various applications and system folders
Attribute
Description
$dreamweaver
Specifies the Dreamweaver installation folder
$dreamweaver/
Configuration
Specifies the Dreamweaver configuration folder under the user home folder
$fireworks
Specifies the Fireworks installation folder
$flash
Specifies the Flash installation folder
$System
Specifies the System or System32 folder
$Fonts
Specifies the Font folder on the computer’s hard disk
$ExtensionSpecificEM
Store
Attribute for version 5.0 that degrade gracefully. Specifies the folder that
stores extension-specific file.