4 Replies Latest reply on Oct 31, 2011 10:39 AM by jlabomb

    Citrix Xenapp Best Practice?

    Rookie

      We need to upgrade the Citrix Xenapp on all of our machines. What would be the best way to go about this? We would like to display messages on the screen to let the user know what is happening and when it has completed successfully. Is there a best practice article for this? I was thinking of Provisioning it through OS Deployment that would give a status but I do not know how to display message in the provisioning window to let them know what is happening. I tried making a visual basic script that poped up a message but it went behine the Provisioning Agent window and also caused failed to show on the window when the window was closed. Thanks.

       

      9.0 SP2 is what we are running.

        • 1. Re: Citrix Xenapp Best Practice?
          zman Master

          If you are going to be using the new Citrix Receiver 3.0, holdoff there is a bug in it, having a "wonderful" time trying to get this rolled out.

           

          Moved to Software Distribution....

          • 2. Re: Citrix Xenapp Best Practice?
            Rookie

            Do you happen to have any information about this bug so I can send it to our Citrix people? I still would like to know how I can prompt the users that an install is occuring and that the install has completed. Is there any ideas on that? Thanks.

            • 3. Re: Citrix Xenapp Best Practice?
              zman Master

              Not usre they have a defect yet, but here are the issues:

              • Installs but we see two icons (Citrix Receiver and Older Style Blue System tray Icon)
              • Rick Click on Citrix Receiver Icon | Select Preferences | Right Click on Plugin - Not all items are listed in context menu.

               

              Work around that works (sometimes) - Delete

              • hklm\software\policies\citrix\ica client
              • hklm\software\citrix\ica client
              • hkcu\software\citrix\program neighborhood agent
              • "hkcu\software\policies\citrix\ica client"
              • "hkcu\software\citrix\ica client"

               

              As for UI you will need to script something in Autoit or VB:

               

               

              TrayTip("Citrix Receiver. Do NOT Reboot!", "Installing....", 99, 17)
              
              • 4. Re: Citrix Xenapp Best Practice?
                Rookie

                I have a BAT file that is supposed to execute some VB scripts. The file works when run on a computer and as local system through the command prompt but when I run it through LANDesk it does not pop up the messages. It does complete the installation though.

                 

                 

                Here is the BAT File

                @echo on
                echo Installing Citrix

                :: Message to user that the install is about to start
                START \\wcblandesk\ldlogon\packages\Citrix\XENApp\Receiver3.0\Message1.vbs

                :: Pauses for 60 more seconds to be sure it is done
                ping localhost -n 61 > nul

                :: Starts the installer with appropriate switches and pauses the BAT until process is complete
                START /WAIT \\wcblandesk\ldlogon\packages\Citrix\XENApp\Receiver3.0\CitrixReceiver.exe /silent /noreboot

                :: Pauses for 15 more seconds to be sure it is done
                ping localhost -n 16 > nul

                :: Second Message informing the user that the installation is complete.
                START \\wcblandesk\ldlogon\packages\Citrix\XENApp\Receiver3.0\Message2.vbs

                 

                 

                Here is the first VB Message

                 

                If WScript.Arguments.Count <> 1 Then
                     MsgBox("Citrix is installing please wait for confirmation." & Chr(13) & Chr(10) & "" & Chr(13) & Chr(10) & "" & Chr(13) & Chr(10) & "")
                     WScript.Quit
                End If

                Set objFSO = CreateObject("Scripting.FileSystemObject")
                Set objFile = objFSO.OpenTextFile(Wscript.Arguments.Item(0), 1)
                Do Until objFile.AtEndOfStream
                    strCharacters = strCharacters + objFile.Read(1)
                    'Wscript.Echo strCharacters
                Loop

                MsgBox(strCharacters)

                 

                 

                Here is the second message.

                 

                If WScript.Arguments.Count <> 1 Then
                     MsgBox("Installation is finished please check Citrix functionality." & Chr(13) & Chr(10) & "If you have any problems contact the Help Desk." & Chr(13) & Chr(10) & "" & Chr(13) & Chr(10) & "")
                     WScript.Quit
                End If

                Set objFSO = CreateObject("Scripting.FileSystemObject")
                Set objFile = objFSO.OpenTextFile(Wscript.Arguments.Item(0), 1)
                Do Until objFile.AtEndOfStream
                    strCharacters = strCharacters + objFile.Read(1)
                    'Wscript.Echo strCharacters
                Loop

                MsgBox(strCharacters)

                 

                 

                Any ideas on how to get the messages to pop up? Thanks.