Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
tuto:gestion_de_parc:wpkg:tightvnc [19/01/2012 18:38] dani créée |
tuto:gestion_de_parc:wpkg:tightvnc [18/12/2013 13:34] (Version actuelle) dani |
||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
<?xml version=" | <?xml version=" | ||
< | < | ||
- | < | + | <package id=" |
- | | + | |
- | name=" | + | |
- | revision=" | + | |
- | priority=" | + | |
- | reboot=" | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | <check type=" | + | |
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | | ||
<!-- Remove RealVNC if installed --> | <!-- Remove RealVNC if installed --> | ||
<install cmd=' | <install cmd=' | ||
+ | <!-- Remove 2.0.X TightVNC if needed --> | ||
+ | <install architecture=' | ||
+ | <exit code=" | ||
+ | </ | ||
+ | <install architecture=' | ||
+ | <exit code=" | ||
+ | </ | ||
+ | <!-- Wait a few seconds for the uninstall to run as it returns immediatly --> | ||
+ | <install cmd=' | ||
<!-- Install TightVNC --> | <!-- Install TightVNC --> | ||
- | <install cmd='" | + | <install cmd='msiexec /qn /norestart /i "%MSI%"' |
<!-- Install the TightVNC Server as a service --> | <!-- Install the TightVNC Server as a service --> | ||
<install cmd='" | <install cmd='" | ||
<exit code=" | <exit code=" | ||
- | <exit code=" | + | <exit code=" |
</ | </ | ||
<!-- Stop the TightVNC Server whilst we import settings --> | <!-- Stop the TightVNC Server whilst we import settings --> | ||
<install cmd='" | <install cmd='" | ||
<exit code=" | <exit code=" | ||
- | <exit code=" | + | <exit code=" |
</ | </ | ||
<!-- Import settings --> | <!-- Import settings --> | ||
- | <install cmd=' | + | <install cmd=' |
<!-- Restart the TightVNC Server --> | <!-- Restart the TightVNC Server --> | ||
<install cmd='" | <install cmd='" | ||
- | |||
<!-- Remove RealVNC if installed --> | <!-- Remove RealVNC if installed --> | ||
<upgrade cmd=' | <upgrade cmd=' | ||
- | <upgrade cmd='" | + | |
+ | | ||
+ | <exit code=" | ||
+ | </ | ||
+ | <upgrade architecture=' | ||
+ | <exit code=" | ||
+ | </ | ||
+ | <!-- Wait a few seconds for the uninstall to run as it returns immediatly --> | ||
+ | <upgrade cmd=' | ||
+ | <upgrade cmd=' | ||
<upgrade cmd='" | <upgrade cmd='" | ||
<upgrade cmd='" | <upgrade cmd='" | ||
<exit code=" | <exit code=" | ||
- | <exit code=" | + | <exit code=" |
</ | </ | ||
- | <upgrade cmd=' | + | <upgrade cmd=' |
<upgrade cmd='" | <upgrade cmd='" | ||
- | <remove cmd='%COMSPEC% | + | <remove cmd='msiexec |
- | <!-- Uninstall returns immediatly, so just wait a few seconds for it to remove before checking the status again | + | |
- | | + | |
- | <remove cmd=' | + | |
- | <exit code=" | + | |
- | </remove> | + | |
</ | </ | ||
</ | </ | ||
</ | </ |