Posted By

s3xym4n on 12/07/09


Tagged

Bash macosx build install dreamweaver extension adobe cs4


Versions (?)

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


 / Published in: Bash
 

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.

  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  

You need to login to post a comment.