code:
 ; -- Please refer to: http://www.winnetmag.com/Articles/Index.cfm?ArticleID=7965
 ; -- If you download the ICA32.EXE from http://www.citrix.com, you will need WinZIP or
 ; -- Similar program to Extract the files from the self-extracting archive
 ; -- Create the SETUP.ISS file by running the SETUP.EXE with a -r switch
 ; -- When completed, you will find the SETUP.ISS in your Windows Directory
 ; -- Users will need to have Power User rights or better to run this
 BREAK ON
 CLS
 $windir = READVALUE('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion','SystemRoot')
 $systemdrive = SUBSTR($windir,1,2)
 $PathString = '\\APPSERVER\Apps\Citrix'
 IF exist($systemdrive+'\Program Files\Citrix\ICA Client\pn.exe')
       RETURN
 ELSE
       'Citrix is being installed.  Please wait..'
       SLEEP 3
       RUN '$PathString\disk1\setup.exe -s -f1$PathString\setup.iss'
       RETURN
 ENDIF
Have fun!
Kent
 
 [ 09. January 2003, 03:14: Message edited by: kdyer ]