Friday, 18 June 2010

XenApp 6 – Streaming Acrobat Reader 9.3

This is a guide of creating a Stream for Acrobat Reader 9.3 for a XenApp 6 farm.  Its assuming you want to Stream To Server – if you need to stream to client the process is very much the same, except you would do it from a profiler running your Client OS.  This is assuming you are using a Windows Server 2008 R2 server to capture the server stream.

  • Download the .exe from the Adobe site.
  • Run the install and leave it on the following screen:

image

  • Go to this folder (assuming you are on a Windows Server 2008, Vista or 7 PC):
    ”%userprofile%\AppData\Local\Adobe\Reader 9.3\Setup Files”
  • Copy these files out somewhere and cancel the install.  Delete the original exe, you don't need it now.
  • Download Orca: http://www.softpedia.com/get/Authoring-tools/Setup-creators/Orca.shtml.  Install it on a PC.
  • Run Orca, click File, Open and select the AcroRead.msi file you just saved somewhere.
  • Click Transform, New Transform
  • In the Tables column on the left, click Feature. 
    • In the right hand pane find the line starting "AUM".  Double click its value in the Level column and change to 99.
    • Then find the line starting "Updater".  Double click its value in the Level column and change to 99.  (These stop the updater from working)

image

  • In the Tables column select Property.
    • Find "ENABLE_CACHE_FILES" - change to "NO" (Disables the copy of source files)
    • Find "EULA_ACCEPT" - change to "YES" (Disables the EULA dialog)
    • Find "SUPPRESS_APP_LAUNCH" - change to "YES" (Stops it from launching after install)
    • Find "Agree to License" - change to "YES" (Disables the license popup on first launch)
  • Click Transform, Generate Transform and save it in the same folder as your MSI as custom.mst
  • Create a batch file as well in this folder with the following text:

    msiexec /i AcroRead.msi TRANSFORMS=custom.mst
    pause

  • On your Citrix Profiler, start a new Profile.  Agree to defaults until you get to the Choose Installer screen.  Select your batch file and click Next.

image

  • Click Launch Installer and you should see your batch file launch and install.  Select the defaults in the installation and click Finish at the end.  When the command prompt window is done it should say “Press any key to continue” – press a key to close this too. 

image

  • Click Next to discover the application it should find “Adobe Reader 9”.  Launch it and agree to the license agreement.  Close Acrobat Reader.
  • Click Next, Next, Next.  Click Terminate All if there are any processes still running.  Click Next and Finish to build the profile.
  • Save it to your profile file share.
  • Load your Citrix Delivery Services Console to administer your XenApp 6 farm.
  • Create a new application.
  • Select “Accessed from a server” and “Streamed to server”. Click Next.
  • Click Browse to find the folder and profile file you just created.  The drop down should show Adobe Reader 9.  Click Next
  • Choose your server(s) that will host the stream.
  • Click Next and enter your users.  Click Next, Next and Finish.  You should now be able to launch the application.

Thursday, 6 May 2010

Citrix Client v12.0 – Windows Installer requirements

The XenApp Online plug-in v11.2 and v12.0 have a minimum requirement that I’ve just run into – the version of the Windows Installer has to be at least v3.0 or the install will fail with this lovely error message that “The version of the Windows Installer on this computer does not meet the minimum installation requirements”.

image

In case you don’t know your Windows Installer versions (shame on you!) click here or just remember that the default Windows Installer of Windows XP SP2 and later is okay:

Windows Installer version Released with OS\Service Pack Compatible with Citrix Client v11.2+
1.1 Windows 2000 No
2.0 Windows 2000 SP3, Windows XP No
3.0 Windows XP SP2 Yes
3.1 Windows XP SP3, Windows 2003 SP1 Yes
4.0 Windows Vista, Windows 2008 Yes
4.5 Windows Vista SP2, Windows 2008 SP2 Yes
5.0 Windows 7, Windows 2008 R2 Yes

The fastest way to test which version of the Windows Installer you have will be to click Start > Run and type msiexec.  You get a popup with the version number, like this from a Windows XP Professional SP1 machine:

image

You can also look at the File Version of the file c:\windows\system32\msiexec.exe – useful if you use SMS/SCCM.

Windows XP SP1 and RTM are probably your main concern – they should be upgraded to Windows Installer v3.1 (v4.5 is available too but requires Windows XP SP2) before you try to install the XenApp v11.2 or v12.0 clients.  The install requires a reboot before you can use it.

Incidentally, v11.0 did not have this requirement and will install with at least v2.0 of the Windows Installer.