Build and install an Adobe Dreamweaver CS4 extension from a *.mxi


/ Published in: Bash
Save to your folder(s)

This will build and install a Dreamweaver CS4 extension automatically and silently. The version number will be taken from the *.mxi file and appended to the packed *.mxp. Set the extensionfile variable to the name of the *.mxi file without the extension.

If the the extensionfile variable is set to "DreamweaverExtension", Adobe Extension manager will build "DreamweaverExtension.mxi", generate "DreamweaverExtension-1.0.0.mxp" (version number taken from the *.mxi), and install it.


Copy this code and paste it in your HTML
  1. extensionfile=DreamweaverExtension; extensionversion=`xpath $extensionfile.mxi /macromedia-extension/@version | sed -e "s/^.*version=[\'\"]\(.*\)[\'\"].*$/\1/"`; /Applications/Adobe\ Extension\ Manager\ CS4/Adobe\ Extension\ Manager\ CS4.app/Contents/MacOS/Adobe\ Extension\ Manager\ CS4 -suppress -package mxi="$extensionfile.mxi" mxp="$extensionfile-`echo $extensionversion`.mxp"; sleep 1; /Applications/Adobe\ Extension\ Manager\ CS4/Adobe\ Extension\ Manager\ CS4.app/Contents/MacOS/Adobe\ Extension\ Manager\ CS4 -suppress -install mxp="$extensionfile-`echo $extensionversion`.mxp"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.