Changes

Packages.xml

787 bytes removed, 10:50, 19 October 2010
Uninstall
===Uninstall===
Uninstall checks allow you to check the La desinstalación le permite comprobar la instalación de software según las claves de registro de Microsoft software installation registry keys (as displayed in visualizado por Windows' Add/Remove Programs sectionen la sección de agregar o quitar programas) for the existence of a , y asi comprobar si se ha instalado una aplicación particular package. Microsoft maintains the listof applications installed and available for uninstallation in the mantiene la lista de aplicaciones instaladas y disponibles para desinstalar en la clave de registro ''HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'' registry key. The value in the El valor de DisplayName key of a de una entrada en particular package is what's matched by this checkes lo que se pretende encontrar. Versiones pre-1.1.0 versions of de WPKG have only one condition available for this option: disponen sólo de la condición de comprobar si esta opción ''exists''.
<div style="margin-left: 30px">
'''exists''' - This checks for the existence of the particular Esto comprueba la existencia de un paquete de software package in the installation databaseen particular en la base de datos de instalaciones. If the package is foundSi el paquete se encuentra, the condition returns la condición devuelve ''true''.
</div>
Since version Desde la versión 1.1.0 this check is extended with several other conditionsla comprobación se extiende con otras condiciones:
<div style="margin-left: 30px">
'''versionsmallerthan''' - This checks for the existence of a Esto comprueba la existencia de un paquete en particular software package in the installation database and also checks the version of that la base de datos de instalaciones y también comprueba la versión de ese software package. If the package is found, and the version is smaller than the supplied valueSi se encuentra el pquete y la versión es más pequeña que el valor proporcionado, the condition returns la condición devuelve ''true''.
'''versionlessorequal''' - This checks for the existence of a particular software package in the installation database and also checks the version of that software packageidem. If the package is found, and the version is less than or equal to the supplied value, the condition returns truecon menor o igual...
'''versionequalto''' - This checks for the existence of a particular software package in the installation database and also checks the version of that software packageidem. If the package is found, and the version is equal to the supplied value, the condition returns truecon igual...
'''versiongreaterorequal''' - This checks for the existence of a particular software package in the installation database and also checks the version of that software packageidem. If the package is found, and the version is greater than or equal to the supplied value, the condition returns truecon mayor o igual...
'''versiongreaterthan''' - This checks for the existence of a particular software package in the installation database and also checks the version of that software packageidem. If the package is found, and the version is greater than the supplied value, the condition returns truecon mayor que...
</div>
ExamplesEjemplos:
This checks for the existence of Esto comprueba que está instalado Adobe Reader through the installation listatravés de la lista de instalaciones:
<source lang="xml">
</source>
This checks to see if Esto comprueba si la versión de Firefox version , 1.5.0.6 is installed in the installation listestá instalada en la lista de instalaciones:
<source lang="xml">
</source>
This checks for the existence of The Esto compruba la existencia de la aplicación Gimp 2.6.6 or higher through the installation listo superior en la lista de programas instalados:
<source lang="xml">
<check type="uninstall" condition="versiongreaterorequal" path="GIMP" value="2.6.6" />
</source>
 
===Execute===
61
edits