Using the Spry Updater extension for Dreamweaver

The Spry Updater extension provides a visual tool that lets you update the existing Spry Framework files in your Dreamweaver CS3 site with the most current version of Spry. Additionally, once you’ve installed the updater, all new sites that you create in Dreamweaver will automatically include the most current versions of Spry CSS and JavaScript files.

System requirements

Install the Spry Updater extension

  1. Close Dreamweaver, and un-install any previous versions of the Spry Updater extension.
  2. Double-click the Spry Updater extension executable file in Windows Explorer (Windows) or in the Finder (Macintosh).

    You can download the extension from Adobe Labs:

    http://labs.adobe.com/technologies/spry/

  3. Follow the onscreen instructions to install the extension.
  4. After you’re finished, restart Dreamweaver.

Use the Spry Updater extension

  1. Open a site that includes Spry assets that you want to update.

    For example, if you used Dreamweaver to place Spry widgets on a page, and you want to update the corresponding Spry framework files from Spry 1.4 to Spry 1.6, open the site that includes those pages.

  2. Select Site > Spry Updater.
    Note: You do not need to have a page open to run the update. Keep in mind that the Spry Updater always updates selected sites, not pages. For example, if you have My Spry Site selected in the Files panel, but have a Spry page from some other site open in the document window, the Spry Updater will update the assets for My Spry Site, and not for the site that corresponds to the open page.
  3. In the Spry Updater dialog box, verify that the Spry assets you want to update are selected and click the Update button.

    The Spry Updater automatically selects assets that are using an outdated version of Spry. You can click the Check all button to select all Spry assets. When all assets are selected this option changes to Uncheck all assets.

Before the update begins, Dreamweaver adds a backed-up version of your previous Spry assets to your site. The back-up directory is in the same location as the SpryAssets folder (normally the root directory), and is called SpryAssets_backup_currentDate_uniqueID.

Note: If you’ve saved Spry assets to another folder, or changed the name of the default SpryAssets folder, Dreamweaver makes a back-up copy of that folder.

The update occurs on your local site only, and updates the selected items with the installed version of Spry. Don’t forget to upload the updated Spry CSS and JavaScript files in the SpryAssets folder to your website.

Restore a backup version of Spry

You can revert to previous versions of Spry using the backup copies of files created by the Spry Updater.

  1. Locate the backup version of the Spry assets you want to use.

    Backup folders are located in the same directory as the main Spry assets folder (usually the root directory). For example, if your main Spry assets folder is called SpryAssets, your backup folder might be SpryAssets_backup_20070830, located in the same directory

  2. Rename or delete the main Spry assets folder you’re currently using.
  3. Delete the appended text from the backup folder name(for example remove the ' _backup_currentDate_uniqueID' ).

Check for Spry updates

You can check to see if there are Spry updates.

  1. Select Site > Spry Updater.
  2. In the Spry Updater dialog box, click the Check for Spry updates link.

    If a Spry update is available, a dialog box appears indicating the new version number. You can then click on the link that takes you to the Spry home page on Adobe Labs where you can download the new update.

    Once you’ve downloaded the new update, you must re-install the extension. As a best practice, you should un-install any previous versions of the extension first.

Restore a backup version of Spry

You can revert to previous versions of Spry using the backup copies of files created by the Spry Updater.

  1. Locate the backup version of the Spry assets you want to use.
    Backup folders are located in the same directory as the main Spry assets folder (usually the root directory). For example, if your main Spry assets folder is called SpryAssets, your backup folder might be SpryAssets_backup_20070830, located in the same directory
  2. Rename or delete the main Spry assets folder you’re currently using.
  3. Delete the underscore, date, and ID (if applicable) from the backup folder.


You should be aware that backed-up files and folders lose their file rights when Dreamweaver initially performs the backup. This happens due to a native default behavior that Dreamweaver uses to copy files.
On Windows, backup files and folders do not inherit the read-only attribute.
Additionally, Dreamweaver does not back up files marked as Hidden, nor does Dreamweaver give you a warning about these files.
On the Macintosh, backed-up files and folders have “-rw-r--r--” access rights (or 644 equivalent), regardless of the folder’s original access rights.
If at least one file designated for backup has no read access for the current user, however, Dream­weaver does not perform the backup and provides a warning message.


Copyright © 2007. Adobe Systems Incorporated.
All rights reserved.