var WPKG_VERSION = "1.3.0"; /******************************************************************************* * * WPKG - Windows Packager pour SambaEdu : http://sambaedu.org * * Copyright 2003 Jerry Haltom
* Copyright 2005 Aleksander Wysocki
* Copyright 2005-2006 Tomasz Chmielewski
* Copyright 2007-2011 Rainer Meier
* Copyright 2007 Jean Le Bail * * Please report your issues to the list on http://wpkg.org/ */ /******************************************************************************* * Version de wpkg.js modifiée pour SambaEdu3 * Le support de la remontée des logs d'execution des scripts batch est suspendu suite a des blocages msiexec du wpkg-se3.js adapté en version 1.2 avec la fonction exec() de la version wpkg-se3.js 1.1 de Jean Le Bail. PATCH pour SE3 (Olivier Lacroix) Les modifs par rapport à wpkg.js officiels sont délimitées par // PATCH SE3 et // FIN PATCH SE3 : 1. ajout de lignes dans installPackage() et removePackage() pour classement du menu démarrer 2. modif de la function QueryPackage pour compatibilité avec l'interface se3 actuelle et la lecture des logs d'install */ /** * Displays command usage. */ function showUsage() { var message = "" + "If you cannot read this since it is displayed within a dialog-window please \n" + "execute 'cscript wpkg.js /help' on the command line. This will print all \n" + "messages to the console. \n\n" + "Command Line Switches \n" + "===================== \n" + "Note: These command line switches overwrite parameters within config.xml. For \n" + "example the /quiet flag overwrites an eventually present quiet parameter within \n" + "config.xml. \n" + "Usually you should specify as few parameters as possible since changing \n" + "config.xml on the server might be much easier than changing all client-side \n" + "stored parameters. Typically you would use the following command-line in \n" + "production: \n" + " wpkg.js /synchronize \n" + "\n" + "Frequently used parameters (package operations, you need to choose one): \n" + "======================================================================== \n" + "\n" + "/install:[,package2[,package3,[...]]] \n" + " Install the specified package(s) on the system. \n" + "\n" + "/query: