Changes

Jump to: navigation, search

Packages.xml:French

1,290 bytes removed, 07:51, 12 June 2007
Traduc en cours...
Evidemment, il serait inapproprié de lancer l'installation d'un logiciel déjà installé... C'est pourquoi on peut trouver des conditions de vérifications.
 
Of course it would be unwise to launch the installer if the software is already installed. That's why there are "check conditions".
Il existe 3 catégories de conditions de vérifications:
Check conditions are broken down into 3 categories:
 
<ul>
<li>'''Désinstallation''' - Teste les conditions par rapport aux logiciels apparaissant dans Ajout/Suppression de programmes
</ul>
 
<ul>
<li>'''Registry''' - Checks the registry for conditions
<li>'''File''' - Verifies various information about files within the filesystem
<li>'''Uninstall''' - Checks the software installation registry key (as displayed in Windows' Add/Remove Programs section) for the existence of an existing package
</ul>
 
'''Registre'''
Les tests sur le registre permettent de vérifier l'exsitence ou la valeur d'une clé spécifique. Il y a deux type de conditions appliquables au registre système: ''exists'' et ''equals''
 
 
'''Registry'''
 
Registry checks allow you to check for the existence of or a specific value in a registry key. There are two possible conditions available for registry checks: ''exists'' and ''equals''.
 
 
 
<div style="margin-left: 30px">
'''equals''' - Vérifie la valeur d'une clé de registre. Si la clé de registre est trouvée et que la valeur correspond, la condition retourne vrai, sinon elle retourne faux.
</div>
 
<div style="margin-left: 30px">
'''exists''' - This checks for the existence of a registry key. If the registry key is found, the condition returns true, otherwise it returns false.
 
'''equals''' - This checks a specific value of a registry key. If the registry value is found and that value is equal to the supplied value, the condition returns true, otherwise it returns false.
</div>
Cet exemple teste la présence d' Acrobat Reader dans le registre système:
 
Examples:
 
This checks for the existence of Adobe Reader within the registry:
<pre>
Cet exemple vérifie que Firefox en Anglais US et en version 1.5.0.6 est installé:
 
This checks to see if Firefox, US English, version 1.5.0.6, is installed:
<pre>
</pre>
'''Fichier'''
Les vérifications sur les fichiers permettent de tester l'''File''' File checks allow you to check for the existence of a file, check for a particular filela taille ou la version d's size, or examine version information about a fileun fichier. There are several possible conditions available for file checksVoici les possibilités:
<div style="margin-left: 30px">
'''exists''' - This checks for the existence of a fileVérifie l'exsitence d'un fichier. If the file is foundSi le fichier est trouvé, the la condition returns trueretourne vrai.
'''sizeequals''' - This checks the size of a fileVérifie la taille d'un fichier. If the file is found and the size equals the value suppliedSi le fichier est trouvé et que la taille est conforme à celle attendue, the la condition returns trueretourne vrai.
'''versionsmallerthan''' - This checks the Vérifie la version of a particular filed'un fichier. If the file is found and the Si le fichier est trouvé et que la version is less than the supplied version numberest plus petite que celle attendue, the la condition returns trueretourne vrai.
'''versionlessorequal''' - This checks the Vérifie la version of a particular filed'un fichier. If the file is found and the Si le fichier est trouvé et que la version is less than or equal to the supplied version numberest plus petite ou égale que celle attendue, the la condition returns trueretourne vrai.
'''versionequalto''' - This checks the Vérifie la version of a particular filed'un fichier. If the file is found and the Si le fichier est trouvé et que la version is equal to the supplied version numberest égale à celle attendue, the la condition returns trueretourne vrai.
'''versiongreaterorequal''' - This checks the Vérifie la version of a particular filed'un fichier. If the file is found and the Si le fichier est trouvé et que la version is greater than or equal to the supplied version numberest plus grande ou égale que celle attendue, the la condition returns trueretourne vrai.
'''versiongreaterthan''' - This checks the Vérifie la version of a particular filed'un fichier. If the file is found and the Si le fichier est trouvé et que la version is greater than the supplied version numberest plus grande que celle attendue, the la condition returns trueretourne vrai.
</div>
ExamplesExemples:
This checks for the Cet exemple vérifie l'existence of d'Adobe Reader within the filesystemdans le système de fichiers:
<pre>
</pre>
This checks to see if Cet exemple vérifie que Firefox Anglais US English en version 1.56.0.6 is installed based on the file size of the executable:est installé ( test basé sur la taille du fichier firefox.exe )
<pre>
</pre>
This checks whether the Cet exemple vérifie que la version of Firefox du fichier firefox.exe that's currently installed is less than actuellement installé est inférieure à 1.5.0.6:
<pre>
'''UninstallDésinstallation'''
Uninstall checks allow you to check the Microsoft software installation registry keys (as displayed in Windows' Add/Remove Programs section) for the existence of a particular package. Microsoft maintains the list
Anonymous user

Navigation menu