Changes

Jump to: navigation, search

Packages.xml:French

80 bytes added, 10:11, 12 June 2007
Actions
Les commandes '''install''' sont exécutées quand un nouveau paquet est détecté dans un profil. Les commandes '''upgrade''' sont exécutées quand une nouvelle révision est détectée. Les commandes '''remove''' sont exécutées quand un paquet est enlevé d'un profil.
In many of the examples in the Dans beaucoup d'exemples de la section [[:Category:Silent_Installers]] section, cmd.exe is executed to perform environment variable est éxecuté pour réaliser l'expansion and to use des variables d'environnement et pour utiliser 'start /wait' to wait on the command being executedpour attendre que la commande soit exécutée. This method of executing commands results in Cette méthode d'éxecution de commande a pour résultat l'apparition sur l'acran de la fenêtre cmd windows appearing on screen. HoweverPourtant, this method does not appear to be necessarycette méthode ne semble pas nécessaire. The current La version of actuelle de wpkg (0.9.10) executes commands using the exécute les commandes avec la fonction WScript.Shell.Exec() function, which should expand environment qui devrait faire l'expansion des variablesd'environnement. This isnCe n't explicitly stated in the Microsoft SDK est pas explicitement mentionné dans la documentationdu SDK Microsoft, but seems to be the casemais cela semble être le cas. Wpkg then waits until the command is completed before continuingattend jusqu'à la fin de la commande puis continue.
The correct method of executing a command interpreter is to use the %comspec% environment variable, not specifying cmd.exe explicitly. This is needed to run commands that are built into the interpreter and are not separate executables.
40
edits

Navigation menu