Uninstalling and installing Citrix clients automatically
Well, for those who need to uninstall a Citrix client from one or all computers on the network, be it a current customer or an old one to replace it with a new one if possible personalized (We can be guided by this: http://www.bujarra.com/?p=676), there is a utility from a friend of mine called UNICA de Gourami that is totally free and runs by command line. With this program we will be able to uninstall any version of the Citrix client from the version 4.0 to the current one 11.0 o XenApp Plugin. Apart from putting parameters to the command we can put the file to install after a successful uninstallation, another parameter to put a message while performing the process and another to generate a LOG file with the information of what happens.
Lo primero de todo es bajarnos UNICA (uninstall ICA) de su web HTTP://www.gourami.eu y dejarlo en una ruta, sólo es un fichero EXE y una DLL, no hay que instalar nada. Podremos dejarlo en CONTROLADOR_DE_DOMINIONETLOGON, crear una directiva de grupo (GPO) a nivel del directorio activo con un comando de inicio de sesión, para que cuando arranquen los usuarios de tu red se le desinstale el cliente con el comando que les pongamos.
El comando tiene los siguientes parámetros: unica.exe [msiexec /i “ARCHIVO MSI A INSTALAR TRAS LA DESINSTALACIÓN CORRECTA DEL CLIENTE VIEJO”],[“COMENTARIO”],[“ARCHIVO LOG”],
Ex.: srvdcnetlogonunica.exe msiexec /i srvdcnetlogonclientepersonalizado.msi,”Actualizando el cliente Citrix…”,srvdcnetlogonlogs,
Y cuando se ejecute se verá el proceso de desinstalación + installation of the new client if we are interested. Eye, that if we want the new XenApp client to be installed, it will need to be generated as indicated in the previous document, using the parameter /a, because otherwise the user will see the installation wizard, and it is better that it is completely transparent for them and also configured as well as possible. And that's it!!!









































