Adobe 29180248 User Guide - Page 57

Validate ZXP format extension, Creating Hybrid Extension packages (version 5.0 only)

Page 57 highlights

Validate ZXP format extension Upon installation of ZXP format extension, Extension Manager validates its digital signature. For some validation results, it prompts the user to decide whether to continue with the installation. Creating Hybrid Extension packages (version 5.0 only) Extension Manager CS5 supports hybrid extension , which let you package two types of files in one extension: CS extension package file with name ".zxp", and files can be contained in hybrid and ordinary extensions. These two types of files are installed in different ways. CS extension files are installed to a fixed folder, while hybrid and ordinary extension files are installed to the folder specified by destination attribute. So to create hybrid extension packages, you have to specify file type. You can do it in two ways: use file-type attribute in tag, or use default-filetype attribute in tag. Use file-type attribute For CS extension package file, you need to specify file-type attribute as csxs. For ordinary file, you need to specify file-type attribute as ordinary or plugin. For more information, refer to file-type attribute in tag. Example In the below example, file "MyCreativeSuiteExtension.zxp" is a CS Extension package file, and file "foo" is ordinary file. "MyCreativeSuiteExtension.zxp" is installed according to a fixed folder, so you don't need to specify the destination attribute. Even you do, it is ignored. While for file "foo", you has to specify destination like below example illustrates. Use default-file-type attribute You can specify default-file-type attribute in tag, so any file wrapped in that files tag use that file type if the file doesn't have attribute file-type. For more information, refer to default-file-type attribute in tag. Example In the below example, files "MyCreativeSuiteExtension1.zxp" and MyCreativeSuiteExtension2.zxp" are CS extension package, while files "foo1" and "foo2" are ordinary files. Creating Hybrid Extension packages (version 5.0 only) 57

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

Creating Hybrid Extension packages (version 5.0 only)
57
Validate ZXP format extension
Upon installation of ZXP format extension, Extension Manager validates its digital signature. For
some validation results, it prompts the user to decide whether to continue with the installation.
Creating Hybrid Extension packages (version 5.0 only)
Extension Manager CS5 supports hybrid extension , which let you package two types of files in
one extension: CS extension package file with name ".zxp", and files can be contained in hybrid
and ordinary extensions. These two types of files are installed in different ways. CS extension files
are installed to a fixed folder, while hybrid and ordinary extension files are installed to the folder
specified by destination attribute. So to create hybrid extension packages, you have to specify file
type. You can do it in two ways: use
file-type
attribute in
<
file
>
tag, or use
default-file-
type
attribute in <
files
>
tag.
Use
file-type
attribute
For CS extension package file, you need to specify
file-type
attribute as
csxs
. For ordinary file,
you need to specify
file-type
attribute as
ordinary
or
plugin
. For more information, refer to
file-type
attribute in <
file
> tag.
Example
In the below example, file "MyCreativeSuiteExtension.zxp" is a CS Extension package file, and
file "foo" is ordinary file. "MyCreativeSuiteExtension.zxp" is installed according to a fixed folder,
so you don't need to specify the
destination
attribute. Even you do, it is ignored. While for file
"foo", you has to specify
destination
like below example illustrates.
<files>
<file source="MyCreativeSuiteExtension.zxp" file-type="csxs" />
<file source="foo" destination="$dreamweaver/configuration" file-
type="ordinary" />
</files>
Use
default-file-type
attribute
You can specify
default-file-type
attribute in <
files
> tag, so any file wrapped in that files
tag use that file type if the file doesn’t have attribute
file-type
. For more information, refer to
default-file-type
attribute in <
files
> tag.
Example
In the below example, files "MyCreativeSuiteExtension1.zxp" and
MyCreativeSuiteExtension2.zxp" are CS extension package, while files "foo1" and "foo2" are
ordinary files.
<files default-file-type="csxs">
<file source="MyCreativeSuiteExtension1.zxp" />
<file source="MyCreativeSuiteExtension2.zxp" />
</files>
<files default-file-type="ordinary">
<file source="foo1" destination="$dreamweaver/configuration" />