| language
Information, tips and tutorials for ZTree file manager
ZTreeUpdater
Zeta Updater
ZUpdate.js is a JScript file that checks for the latest online zeta version, and if newer than the currently installed executable, downloads and installs it.Usage
Works autonomously when run from within ZTree, or by specifying the ZTree installation folder as /home:path command-line option. Example setup:- Extract the ZUpdate.js to a Scripts directory below the ZTree home directory.
- Create two F9 menu items:
::Download and install Zeta-update :: Purpose: Launch Zeta Update :: Author: Martijn Coppoolse :: Version: 2009-02-05, v1.1 :: ZTW ver: any :: OS version: WinXP (perhaps Win2000 as well, but untested so far) :: Requires: Zeta Updater and CScript.exe (ships with Windows) :: Source: http://www.ztwiki.com/tiki-index.php?page=u_ZTreeUpdater :: Usage: n/a :: Note: ZUpdate.js must be in #ZTTools folder, otherwise adapt script :: History: n/a "%SystemRoot%\system32\CScript.exe" "%#ZTTools%\ZUpdate.js" /version:#ZTVersion
::Install ZTree update from selected archive "%SystemRoot%\system32\CScript.exe" "%#ZTTools%\ZUpdate.js" <strong>"%1"</strong>
Future plans
Improvements for later versions (when I have time- customize backup location
- add command-line switch for removal of backups older than n versions
- implement archiverBB2.list() and only back up files actually present in the archive
- verify that the archive contains ZTW.EXE
Download
Latest version: ZUpdate-2009-05-11_1102.zip (7.14 KB) 2009-May-11 11:01 +02:00 (CEDT)+ Added: support for release candidates
* Fixed: support for layout of new forum + Added: /version: command-line option to avoid automatic testing of current ZTreeWin version (which takes a few seconds)
* Fixed: version comparison now recognizes v1.60.2 as being more recent than v1.60, but also v1.60 as being more recent than v1.60.rc2
* Fixed: if a versioned exe already exists, move that to its backup folder (bug described in <a href="http://www.ztw3.com/forum/forum_entry.php?id=89057">http://www.ztw3.com/forum/forum_entry.php?id=89057</a>)
+ Fixed: more differentiation between error messages that are caused by different situations + Added: on failure to find or extract from file specified on command-line, try to download the updates
+ Added: on update, copy all files to "Zeta_v{version}" folder under #ZTHome* First public release
Contributors to this page: ian
,
vor0nwe
,
laurent
and
admin
.
Page last modified on Friday 20 of November, 2009 00:50:17 EST by ian.
Category: ZTreeWin Utilities
