Loading

Monday, January 10, 2011

Install Citrix XenApp 6 Fundamentals Edition for Windows Server 2008 R2

I get this question all the time, sometimes from random people on the street: "Hey, Powercram guy, how do I install XenApp 6 Fundamentals on Windows Server 2008 R2?" Or "What are the prerequisites for XenApp 6 Fundamentals on Windows 2008 R2?" Or this one, "Can I install XenApp 6 Fundamentals on regular Windows 2008 - not R2?" Or my favorite, "How do I upgrade previous versions of XenApp Fundamentals to XenApp 6?"

Summary
  • Start with fresh install of Windows 2008 R2
  • NO Windows Updates - NO .NET 4
  • Enable .NET 3.5.1 SP1 (in Server Manager, Add Roles)
    • Other necessary roles will be installed by XenApp installation as necessary
  • Launch installer as administrator
I've gotten so tired of these questions from strangers I'm going to lay it all out here, and refer people to my blog to answer these age-old questions.  Well, actually the questions are fairly recent as XenApp 6 Fundamentals For Windows 2008 R2 was only released last month - December, 2010.  And, there's the answer to one of those questions - XenApp 6 Fundamentals can ONLY be installed on Windows 2008 R2.  Period.

Let's back up a little.  The Citrix XenApp 6 Fundamentals Edition for Windows Server 2008 R2 Administrator's Guide is a good place to start and contains some of the information herein.  However, there are a couple things learned only from experience here as well.  This is intended to be a guide to get you started in the right direction, provide some additional info and some things to watch out for.

First, XenApp 6 Fundamentals can only be installed on Windows 2008 R2, and it must be a fresh install - no upgrades from other Windows versions, and no other version of XenApp can be upgraded to version 6.  I can't stress this enough, you MUST start with a fresh install of Windows 2008 R2.  Oh, and NO Windows Updates.  Namely DO NOT install .NET 4 on this server - XenApp 6 will fail.

Next, enable .NET Framework 3.5.1.  This can be done in Server Manager, Add Features.  As stated before, DO NOT install .NET 4.

Finally, insert DVD or launch either autorun.exe or setup.exe (located in W2k8 folder, or XAF_6_0_0_ML_dvd\W2k8 if you just expanded the ISO [XAF_6_0_0_ML_dvd.iso] as I did).  **Make sure to launch installer as Administrator (right-click, Run As Administrator.  If you don't do this the install will fail with a cryptic message referring to the file C:\Users\powercram\AppData\Local\Citrix\<some_citrix_file>.txt with entries saying it failed.  These are the two I had, which I couldn't find anywhere on the 'net:
  • Failed to configure component 'Citrix Licensing'
  • Recording installation failure from component 'Citrix Licensing'
Additional notes (answers to other questions):
  • If you decide to uninstall for whatever reason you MUST start all over including installing Windows 2008 R2 afresh.
  • You CANNOT upgrade an older version of XenApp Fundamentals to XenApp Fundamentals 6.  You must start with a new installation, then migrate to the new environment.
  • Do NOT install XenApp 6 Fundamentals Edition on a domain controller.
There seem to be plenty of resources (including the above referenced administrator guide) which have details on the installation from here.  I just wanted to help people get to that point.

why the xenapp 6 fundamentals edition installer fails

    5 comments:

    1. Im trying to install Citrix XenApp 6 Fundamentals Edition for Windows Server 2008 R2 on a Virtual Server. I followed your instructions but the installation fails with the same entries as you.

      Is not posible to install Xenapp on Virtual servers maybe???

      ReplyDelete
    2. Doesn't work, I've followed everyone's instructions to the letter

      ReplyDelete
    3. I was able to install XenApp 6.0 on a server running VMware following the instructions from the Admin Guide linked in this post.

      ReplyDelete
    4. I have run XA6F in a vmware vm no problems. The ordering of installing parts is key. .Net 3.5, then RD role (session and licensing), then XAF. I have applied all windows updates prior to install and did not see any issues from it yet (I did not apply the optional .Net 4). I agree that this is up there with 'worst installs ever' next to my attempt to get 'WebSense' installed and working.

      My two biggest beefs with this product is it won't allow wildcard certs (I tried the trick of changing the httpd.conf SSLhash but it doesn't work). Nor will it accept my own 1 yr self signed cert.

      ReplyDelete
    5. Bevor you start with the setup make sure you have enabled .Net 3.5.1 and selected in the Roles the Remote Desktop Services (Remote Desktop Session Host and Remote Desktop
      Licensing components) using the Windows Add Roles wizard.

      Then you should be able to install the Software

      ReplyDelete