[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-wpkg/sources/wpkg/ -> config.xml (source)

   1  <?xml version="1.0" encoding="utf-8" ?>
   2  <!--
   3      *******************************************************************************
   4      * This is the WPKG configuration file.
   5      * Place it within the same directory as you place wpkg.js.
   6      * All parameters are optional. If not specified WPKG falls back to the default
   7      * values. So it's recommended just to uncomment the values you like to change.
   8      *******************************************************************************
   9  -->
  10  
  11  <config>
  12      <!--
  13          *******************************************************************************
  14          *
  15          * If you use wpkg_web, you can set wpkg_base to the base URL of your
  16          * WPKG_Web installation.  NO TRAILING SLASH (/).  This will allow WPKG to
  17          * use the web generated XML file and not require further XML Exports to the
  18          * file system.
  19          *
  20          * Examples:
  21          *     <param name='wpkg_base' value='http://wpkg.mydomain.com' />
  22          *     <param name='wpkg_base' value='http://www.mydomain.com/wpkg_web' />
  23          *     <param name='wpkg_base' value='http://USER:PASS@wpkg.mydomain.com' />
  24          *
  25          * NOTE: Replace USER and PASS with the required credentials to access your
  26          *       installation. Configure this user in config.php for WPKG_Web
  27          *       version 1.1.0 and greater.
  28          *
  29          * NOTE: If you would like to use the flat XML file instead of the web based
  30          *       method, leave the variable declaration as followed:
  31          *       <param name='wpkg_base' value='' />
  32          *
  33          * Default value      : ''
  34          * Command-line switch: /base:<base-url>
  35          ******************************************************************************
  36      -->
  37      <!--
  38          <param name='wpkg_base' value='http://wpkg:secret@wpkg.mydomain.com' />
  39      -->
  40      <!--
  41          <param name='wpkg_base' value='' />
  42      -->
  43  
  44  
  45      <!--
  46          ****************************************************************************
  47          * True : Do not consider wpkg.xml but check existence of packages.
  48          * False: Do not force re-detection. Use wpkg.xml to detect current package
  49          *        status
  50          *
  51          * Default value      : false
  52          * Command-line switch: /force
  53          ****************************************************************************
  54      -->
  55      <!--
  56          <param name='force' value='false' />
  57      -->
  58  
  59  
  60      <!--
  61          ****************************************************************************
  62          * True : Force installation over existing packages.
  63          * False: Skip package installation if package is already installed.
  64          *
  65          * Default value      : false
  66          * Command-line switch: /forceinstall
  67          ****************************************************************************
  68      -->
  69      <!--
  70          <param name='forceInstall' value='false' />
  71      -->
  72  
  73  
  74      <!--
  75          ****************************************************************************
  76          * True : Force the script to immediately quit on error.
  77          * False: Errors are logged but WPKG continues processing.
  78          *
  79          * Default value      : false
  80          * Command-line switch: /quitonerror
  81          ****************************************************************************
  82      -->
  83      <!--
  84          <param name='quitonerror' value='false' />
  85       -->
  86  
  87  
  88      <!--
  89          ****************************************************************************
  90          * True : Enable debug mode. Prints lots of ugly debug messages to event log.
  91          * False: Disable debug logging to event log.
  92          *
  93          * NOTE: This flag is independent from the log level setting. So you can even
  94          *       enable debug logging to log files without setting this flag to true
  95          *       which prevents your event log to be flooded.
  96          *
  97          * Default value      : false
  98          * Command-line switch: /debug
  99          ****************************************************************************
 100      -->
 101      <!--
 102          <param name='debug' value='false' />
 103      -->
 104  
 105  
 106      <!--
 107          ****************************************************************************
 108          * True : Enable dryrun mode. Does not apply any changes to the system.
 109          *        Enables debug output and disables reboot.
 110          * False: Apply changes to the system.
 111          *
 112          * Default value      : false
 113          * Command-line switch: /dryrun
 114          ****************************************************************************
 115      -->
 116      <!--
 117          <param name='dryrun' value='false' />
 118      -->
 119  
 120  
 121      <!--
 122          ****************************************************************************
 123          * Should be set to true in case of unattended run (WPKG service).
 124          *
 125          * True : Disable all log messages printed to the console (cscript) or
 126          *        displayed as dialog boxes (wscript).
 127          * False: Alerts the user about ongoing activity using windows messaging.
 128          *
 129          * Default value      : false
 130          * Command-line switch: /quiet
 131          ****************************************************************************
 132      -->
 133      <!--
 134          <param name='quiet' value='false' />
 135      -->
 136  
 137  
 138      <!--
 139          ****************************************************************************
 140          * True : Disable user notification about WPKG actions using windows messaging.
 141          *        Should be set to true in case of unattended run (WPKG service)
 142          * False: Alerts the user about ongoing activity using windows messaging.
 143          *
 144          * Default value      : false
 145          * Command-line switch: /nonotify
 146          ****************************************************************************
 147      -->
 148      <!--
 149          <param name='nonotify' value='false' />
 150      -->
 151  
 152  
 153      <!--
 154          ****************************************************************************
 155          * Defines how long a user notification is displayed to the user. After
 156          * timeout has been reached the message will be closed. Specify 0 in order to
 157          * specify that messages are never closed automatically.
 158          * Note: This only works on Windows Vista or newer where msg.exe is
 159          * available.
 160          *
 161          * Default value      : 10
 162          * Command-line switch: -
 163          ****************************************************************************
 164      -->
 165      <!--
 166          <param name='notificationDisplayTime' value='10' />
 167      -->
 168  
 169  
 170      <!--
 171          ****************************************************************************
 172          * True : System does not reboot regardless of need.
 173          * False: Reboot the system as specified by packages.
 174          *
 175          * Default value      : false
 176          * Command-line switch: /noreboot
 177          ****************************************************************************
 178      -->
 179      <!--
 180          <param name='noreboot' value='false' />
 181      -->
 182  
 183  
 184      <!--
 185          ****************************************************************************
 186          * True : Disable export of running state to Windows registry at
 187          *        HKCU\Software\WPKG\running
 188          * False: Export running state to Windows registry at HKCU\Software\WPKG\running
 189          *
 190          * Default value      : false
 191          * Command-line switch: /norunningstate
 192          ****************************************************************************
 193      -->
 194      <!--
 195          <param name='noRunningState'  value='false' />
 196      -->
 197  
 198  
 199      <!--
 200          ****************************************************************************
 201          * True : Matching of package and profile IDs is case sensitive.
 202          * False: Disable case sensitivity for package and profile IDs.
 203          *        WPKG will consider the package ID "SomePackage" and "SoMePaCkAgE"
 204          *        the same.
 205          *
 206          * Default value      : true
 207          * Command-line switch: /ignoreCase
 208          ****************************************************************************
 209      -->
 210      <!--
 211          <param name='caseSensitivity'  value='true' />
 212      -->
 213  
 214          <!--
 215          ****************************************************************************
 216          * True : Match multiple host entries to a single host. 
 217          * False: Only match one host entry to the executing host. If a matching host
 218          *        entry is found the algorithm stops looking for further matches.
 219          *        This way only one profile is assigned to a host.
 220          *
 221          * Default value      : false
 222          * Command-line switch: /applymultiple
 223          ****************************************************************************
 224      -->
 225  
 226      <!-- applyMultiple=true est INDISPENSABLE au fonctionnement avec l'interface Sambaedu3 : plusieurs profiles s'appliquent à un même poste -->
 227          <param name='applyMultiple' value='true' />
 228  
 229      <!--
 230          ****************************************************************************
 231          * True : Disable all downloads. In this mode all download instructions
 232          *        will be simply ignored. Exactly the same way as if they were not
 233          *        specified in the XML at all. Use this option with caution as your
 234          *        install commands might require the files downloaded in download
 235          *        specifications.
 236          *        This switch/setting might be used on hosts which get the packages
 237          *        synchronized to the download target so the download files already
 238          *        exist before WPKG execution.
 239          * False: Default behavior. All downloads are executed as specified within
 240          *        the XML files.
 241          *
 242          * Default value      : false
 243          * Command-line switch: /noDownload
 244          ****************************************************************************
 245      -->
 246          <param name='noDownload' value='true' />
 247  
 248      <!--
 249          ****************************************************************************
 250          * Use the specified command for rebooting, either with full path or relative
 251          * to the location of wpkg.js.
 252          * Setting rebootCmd to "special" will use tools\psshutdown.exe from
 253          * from www.sysinternals.com - if it exists
 254          * Any other value will make WPKG to try executing the command specified as
 255          * <command> and then exit with code 3010.
 256          *
 257          * Default value      : "standard"
 258          * Command-line switch: /rebootcmd:<command>
 259          ****************************************************************************
 260      -->
 261      <!--
 262          <param name='rebootCmd' value='standard' />
 263      -->
 264  
 265  
 266      <!--
 267          ****************************************************************************
 268          * Filename of the local package database (client-side) stored at
 269          * %SystemRoot%\system32 by default (see settings_file_path)
 270          *
 271          * Default value      : "wpkg.xml"
 272          * Command-line switch: -
 273          ****************************************************************************
 274      -->
 275      <!--
 276          <param name='settings_file_name' value='wpkg.xml' />
 277      -->
 278  
 279  
 280      <!--
 281          ****************************************************************************
 282          * Path to the local package database (client-side). It is strongly suggested
 283          * to NOT set this parameter at all if not required.
 284          * Only change this parameter if you really know what you're doing.
 285          *
 286          * Default value      : "%SystemRoot%\\system32"
 287          * Command-line switch: -
 288          ****************************************************************************
 289      -->
 290      <!--
 291          <param name='settings_file_path' value='%SystemRoot%\\system32' />
 292      -->
 293  
 294  
 295      <!--
 296          ****************************************************************************
 297          * True : Disable forced removal of packages if they are removed from the
 298          *        profile AND the package database.
 299          *  NOTE: A client might continuously try to uninstall a package if an
 300          *        uninstall command fails.
 301          * False: 
 302          *
 303          * Default value      : false
 304          * Command-line switch: /noforcedremove
 305          ****************************************************************************
 306      -->
 307      <!--
 308          <param name='noForcedRemove' value='false' />
 309      -->
 310  
 311  
 312      <!--
 313          ****************************************************************************
 314          * True : Allows to disable removing of packages. If used in conjunction with
 315          *        the /synchronize parameter it will just add packages but never remove
 316          *        them. Instead of removing a list of packages which would have been
 317          *        removed during that session is printed on exit. Packages are not
 318          *        removed from the local settings database (wpkg.xml). Therefore it
 319          *        will contain a list of all packages ever installed.
 320          *  NOTE: Each package which is requested to be removed (manually or by
 321          *        a synchronization request) will be checked for its state by executing
 322          *        its included package checks. If the package has been removed manually
 323          *        it will also be removed from the settings database. Due to the fact
 324          *        that packages whithout checks always return 'false' for during the
 325          *        install-status check these packages will disappear from the local
 326          *        wpkg.xml.
 327          * False: Remove packages from the system if they are not listed within the
 328          *        profile any more.
 329          *
 330          * Default value      : false
 331          * Command-line switch: /noremove
 332          ****************************************************************************
 333      -->
 334      <!--
 335          <param name='noRemove' value='false' />
 336      -->
 337  
 338  
 339      <!--
 340          ****************************************************************************
 341          * Controls weather WPKG prints some information about its progress to
 342          * STDOUT. This output can be read by another program (GUI) to display some
 343          * progress bar or additional status information to the user.
 344          *
 345          * True : Enable status output on STDOUT.
 346          * False: Disable status output on STDOUT.
 347          *
 348          * Default value      : false
 349          * Command-line switch: /sendStatus
 350          ****************************************************************************
 351      -->
 352      <!--
 353          <param name='sendStatus' value='false' />
 354      -->
 355  
 356  
 357      <!--
 358          ****************************************************************************
 359          * Usually WPKG upgrades a package to the latest available version before it
 360          * removes the package. This allows administrators to fix bugs in the package
 361          * and assure proper removal.
 362          * However this feature can lead to (sometimes unexpected) re-execution of
 363          * packages. For example if execution=always is used the package will run
 364          * once again before it is finally removed.
 365          * It's advised to leave this option on default unless you really know what
 366          * you're doing.
 367          *
 368          * True : Disables the upgrade-before-remove feature
 369          * False: Leave the upgrade-before-remove feature enabled
 370          *
 371          * Default value      : false
 372          * Command-line switch: /noUpgradeBeforeRemove
 373          ****************************************************************************
 374      -->
 375      <!--
 376          <param name='noUpgradeBeforeRemove' value='false' />
 377      -->
 378  
 379  
 380      <!--
 381          ****************************************************************************
 382          * Marks volatile releases and "inverts" the algorithm that a longer
 383          * version number is newer. For example 1.0RC2 would be newer than 1.0 because
 384          * it appends characters to the version. Using "rc" as a volatile release
 385          * marker the algorithm ignores the appendix and assumes that the string which
 386          * omits the marker is newer.
 387          * Resulting in 1.0 to be treated as newer than 1.0RC2.
 388          * Caution: Be careful defining volatile release markers because it could have
 389          * undesired effects. For example specifying "b" would also make 1.0b5 appear
 390          * to be older than 1.0 (where "b" is usually a build number appended to the
 391          * version).
 392          * So please change this parameter only if you really know what you're doing.
 393          *
 394          * Currently the built-in list contains the following appendices:
 395          * "rc", "i", "m", "alpha", "beta", "pre", "prerelease"
 396          *
 397          * The parameter might be defined as many times as you like. Each entry will
 398          * add another entry to the list of volatile version markers.
 399          *
 400          * Default value      : [built-in]
 401          * Command-line switch: -
 402          ****************************************************************************
 403      -->
 404      <!--
 405          <param name='volatileReleaseMarker' value='gamma' />
 406          <param name='volatileReleaseMarker' value='delta' />
 407          <param name='volatileReleaseMarker' value='testing' />
 408      -->
 409  
 410      <!--
 411          ****************************************************************************
 412          ****************************************************************************
 413          *
 414          *  Logging properties
 415          *
 416          ****************************************************************************
 417          ****************************************************************************
 418      -->
 419      <!--
 420          ****************************************************************************
 421          * Specifies if the log file should be appended or overwritten.
 422          *
 423          * True : Log files are appended instead of overwritten. Please note that
 424          *        log files could grow quite large if debug level logging is enabled.
 425          *        Depending on the pattern (date and time used) a new log file might
 426          *        be written on each run.
 427          * False: Log files are overwritten on each run. This is the default setting
 428          *        and it is aimed for the target to keep only the log of the most
 429          *        recent WPKG run.
 430          *
 431          * Default value      : false
 432          * Command-line switch: /logAppend
 433          ****************************************************************************
 434      -->
 435      <!--
 436          <param name='logAppend' value='false' />
 437      -->
 438  
 439  
 440      <!--
 441          ****************************************************************************
 442          * Log level is defined as a bitmask. Just sum up the values of each log
 443          * severity you would like to include within the log file and add this value
 444          * to your config.xml or specify it at /logLevel:<num>.
 445          * Specify 0 to disable logging.
 446          *  1: log errors only
 447          *  2: log warnings
 448          *  4: log information
 449          *  8: log audit success
 450          * 16: log audit failure
 451          *
 452          * Examples:
 453          *     31 log everything (1+2+4+8+16=31)
 454          *     13 log errors, information and audit success (1+4+8=13)
 455          *      3 log errors and warnings only (1+2=3)
 456          *
 457          * Default value      : "0xFF"
 458          * Command-line switch: /logLevel:<level>
 459          ****************************************************************************
 460      -->
 461      <!-- 
 462          <param name='logLevel' value='0xFF' />
 463      -->
 464  
 465  
 466      <!--
 467          ****************************************************************************
 468          * Path where the logfiles are written to. This might be an UNC path on the
 469          * network as well as a local path. Environment variables are expanded.
 470          *
 471          * Examples:
 472          *     <param name='log_file_path' value='%TEMP%' />
 473          *     <param name='log_file_path' value='\\\\server\\share\\dir' />
 474          *
 475          * Default value      : "%TEMP%"
 476          * Command-line switch: /log_file_path:<path>
 477          ****************************************************************************
 478      -->
 479      <!--
 480          <param name='log_file_path' value='%TEMP%' />
 481      -->
 482  
 483  
 484      <!--
 485          ****************************************************************************
 486          * Pattern to generate the log file name.
 487          * Recognized patterns:
 488          * [HOSTNAME] replaced by the executing hostname
 489          * [PROFILE]  replaced by the applying profile name
 490          * [YYYY]     replaced by year (4 digits)
 491          * [MM]       replaced by month number (2 digits)
 492          * [DD]       replaced by the day of the month (2 digits)
 493          * [hh]       replaced by hour of the day (24h format, 2 digits)
 494          * [mm]       replaced by minutes (2 digits)
 495          * [ss]       replaced by seconds (2 digits)
 496          *
 497          * Examples:
 498          *     "wpkg-[YYYY]-[MM]-[DD]-[HOSTNAME].log" results in a name like
 499          *         "wpkg-2007-11-04-myhost.log"
 500          *
 501          * NOTE: Using [PROFILE] causes all log messages from before reading
 502          *       profiles.xml to be temporarily written to the local %TEMP% folder.
 503          *       So they might appear on the final log file with some delay.
 504          *
 505          * NOTE: The default pattern allows tracing of last execution without polluting
 506          *       the log directory. Subsequent executions will overwrite the same log
 507          *       file.
 508          *
 509          * Default value      : "wpkg-[HOSTNAME].log"
 510          * Command-line switch: /logfilePattern:<pattern>
 511          ****************************************************************************
 512      -->
 513      <!--
 514          <param name='logfilePattern' value='wpkg-[HOSTNAME].log' />
 515      -->
 516  
 517  
 518      <!--
 519          ****************************************************************************
 520          ****************************************************************************
 521          *
 522          *  Path properties
 523          *
 524          ****************************************************************************
 525          ****************************************************************************
 526      -->
 527      <!--
 528          ****************************************************************************
 529          *  Names of the the XML input files.  Not used if base begins with "http"
 530          ****************************************************************************
 531      -->
 532      <!--
 533          <param name='packages_file_name' value='packages.xml' />
 534          <param name='profiles_file_name' value='profiles.xml' />
 535          <param name='hosts_file_name'    value='hosts.xml' />
 536      -->
 537  
 538      <!--
 539           ****************************************************************************
 540           *  Names of the PHP scripts which output the XML files.  Only used if
 541           *  base begins with "http"
 542           ****************************************************************************
 543      -->
 544      <!--
 545          <param name='web_packages_file_name' value='packages_xml_out.php' />
 546          <param name='web_profiles_file_name' value='profiles_xml_out.php' />
 547          <param name='web_hosts_file_name'    value='hosts_xml_out.php' />
 548      -->
 549  
 550      <!--
 551          ****************************************************************************
 552          * Registry paths
 553          ****************************************************************************
 554      -->
 555      <!--
 556          <param name='sRegPath' value='SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall' />
 557          <param name='sRegWPKG_Running' value='HKLM\\Software\\WPKG\\running' />
 558      -->
 559  
 560  
 561      <!--
 562          ****************************************************************************
 563          ****************************************************************************
 564          * Language definitions
 565          *
 566          * Defines language specific strings. Insert languages as you wish. Multiple
 567          * LCID codes might be handled by one language definition. Just separate them
 568          * by comma. A full list of LCIDs might be found at:
 569          * http://www.microsoft.com/globaldev/reference/lcid-all.mspx
 570          *
 571          * This is entirely optional. If a message is not defined here the script
 572          * will just print a built-in english message.
 573          *
 574          * Please note that the message has a maximum of 256 characters on Windows
 575          * Vista and newer operating systems due to limitation of the messaging
 576          * system. Longer messages will result in no message being displayed at all.
 577          *
 578          ****************************************************************************
 579          ****************************************************************************
 580      -->
 581      <languages>
 582          <!-- english LCIDs -->
 583          <language lcid="409,809,c09,2809,1009,2409,3c09,4009,3c09,4009,3809,1809,2009,4409,1409,3409,4809,1c09,2c09,3009">
 584              <!-- <string id="notifyUserStart">The automated software installation utility has or is currently applying software updates to your system. Please check the time shown at the beginning of this message to determine if it is out of date. If not, please save all your open documents, as the system might require a reboot. If so, the system will be rebooted with no warning when installation is complete. Thank you.</string> -->
 585              <string id="notifyUserStart">Automatic software deployment is currently updating your system. Plase safe all your documents as the the system might reboot without further notice. Thank you.</string>
 586              <string id="notifyUserStop">The automated software installation utility has completed installing or updating software on your system. No reboot was necessary. All updates are complete.</string>
 587              <string id="notifyUserFail">The software installation has failed.</string>
 588              <string id="notifyUserReboot">Rebooting to complete software installation. Please note that some software might not work until the machine is rebooted.</string>
 589          </language>
 590  
 591          <!-- french LCIDs -->
 592          <language lcid="40c,80c,2c0c,c0c,240c,300c,3c0c,140c,340c,180c,380c,e40c,200c,280c,100c,1c0c">
 593              <string id="notifyUserStart">WPKG, l'utilitaire d'installation automatique des programmes applique en ce moment des mises à jour à votre système. Veuillez sauvegarder tous vos documents régulièrement. Merci.</string>
 594              <string id="notifyUserStop">WPKG, l'utilitaire d'installation automatique de logiciels a terminé l'installation ou l'actualisation des logiciels sur votre système. Aucun redémarrage n'était requis. Toutes les mises à jour sont achevées.</string>
 595              <string id="notifyUserFail">L'installation des logiciels a échoué.</string>
 596              <string id="notifyUserReboot">Un rédémarrage est nécessaire pour compléter l'installation ou la mise à jour. Veuillez noter que les programmes nouveaux/actualisées peuvent ne pas fonctionner avant redémarrage du système.</string>
 597          </language>
 598  
 599          <!-- german LCIDs -->
 600          <language lcid="407,c07,1407,1007,807">
 601              <!-- <string id="notifyUserStart">Das WPKG Software-Installationstool installiert oder aktualisiert gerade Software auf Ihrem System. Bitte die Zeit am Anfang der Nachricht kontrollieren, ggf. ist dieser Hinweis veraltet. Wenn nicht: Speichern Sie bitte alle Ihre offenen Dokumente, da ein Neustart notwendig werden kann. Das System wird ohne weitere Warnung neu starten, wenn die Installation oder Aktualisierung beendet wurde. Danke.</string> -->
 602              <string id="notifyUserStart">Die automatische Software-Verteilung läuft gerade. Bitte speichern sie ihre offenen Dokuemnte weil das System unter Umständen ohne weitere Warnung neu startet. Danke.</string>
 603              <string id="notifyUserStop">Das WPKG Software-Installationstool hat die Installation oder Aktualisierung von Software auf Ihrem System beendet. Es war kein Neustart notwendig. Alle Updates sind komplett.</string>
 604              <string id="notifyUserFail">Die Software-Installation ist fehlgeschlagen.</string>
 605              <string id="notifyUserReboot">Neustart zum Abschliessen der Installation. Bitte beachten: Die neu installierte/aktualisierte Software funktioniert ggf. erst nach einem Neustart.</string>
 606          </language>
 607  
 608          <!-- italian LCIDs -->
 609          <language lcid="410,810">
 610              <string id="notifyUserStart">L'utilità di installazione automatica del software sta aggiornando il sistema. Verifica la marcatura temporale di questa segnalazione per capire se c'è qualche problema. Se tutto è a posto, salva e chiudi tutte le applicazioni aperte, perchè potrebbe essere necessario un riavvio. Se necessario, il sistema verrà infatti riavviato senza alcun preavviso. Grazie.</string>
 611              <string id="notifyUserStop">L'utilità di installazione automatica del software ha terminato di aggiornare il sistema. Non si è reso necessario un riavvio. Tutti gli aggiornamenti sono andati a buon fine.</string>
 612              <string id="notifyUserFail">Qualcosa nell'aggiornamento del sistema è fallito.</string>
 613              <string id="notifyUserReboot">Riavvia per completare l'aggiornamento del sistema. Qualche programma potrebbe non funzionare correttamente senza un riavvio.</string>
 614          </language>
 615      </languages>
 616  </config>


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1