Changes

Jump to: navigation, search

Packages.xml:French

4 bytes added, 09:57, 12 June 2007
Actions
==Actions==
Wpkg comprend trois actions :'''install''', '''upgrade''' et '''remove'''. De multiples commandes pour chacune de ces actions peuvent être listées dans le fichier de config et wpkg les éxecutera dans l'ordre dans lequel ils elles sont listéslistées.
The Les commandes '''install''' commands are executed by wpkg when a new package comes into scope for a profilesont exécutées quand un nouveau paquet est détecté dans un profil. The Les commandes '''upgrade''' commands are executed when a new revision of a package comes into scopesont exécutées quand une nouvelle révision est détectée. The Les commandes '''remove''' commands are executed when a package is removed from a profilesont exécutées quand un paquet est enlevé d'un profil.
In many of the examples in the [[:Category:Silent_Installers]] section, cmd.exe is executed to perform environment variable expansion and to use 'start /wait' to wait on the command being executed. This method of executing commands results in cmd windows appearing on screen. However, this method does not appear to be necessary. The current version of wpkg (0.9.10) executes commands using the WScript.Shell.Exec() function, which should expand environment variables. This isn't explicitly stated in the Microsoft SDK documentation, but seems to be the case. Wpkg then waits until the command is completed before continuing.
40
edits

Navigation menu