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.