I’m going to walk you through the process of installing Citrix XenApp 6.5 Enterprise Edition and StoreFront 2.1 as we run it in our test lab for SMS2. Please note this is not a production deployment – it’s simply what we’re running as a quick and easy installation for demonstration and testing purposes.
For our testing setup we run two XenApp 6.5 servers fronted by two Storefront 2.1 servers running on the local LAN, and connected to a single domain controller.

XenApp 6.5 will virtualize applications and use Active Directory on the domain controller to authenticate users, check which applications they are authorized to use, and provide access to those applications.
Storefront provides an interface for users to see a list of the applications they are allowed to use, select the applications, and will store application subscriptions along with which applications a user regularly uses and should see when they login to Storefront.
Our usual testing environment looks like this:
- Active Directory runs on a Windows Server 2012 server called DC1
- XenApp 6.5 is hosted on two Windows 2008 R2 servers called XenApp1 and XenApp2.
- Storefront 2.1 runs on two Windows 2008 R2 servers StoreFront1 and StoreFront2
- XenApp 6.5 and Microsoft®’s Remote Desktop Services (for which licenses are required) need to talk to a license server. Our license servers are installed on DC1.
Getting Started – Setting up the Domain Controller
We start with the Domain Controller (DC1) server, which will handle our licenses. We need to setup the Remote Desktop Services Licensing Server and Citrix License Server
We start by loading the Add Roles and Features Wizard.

Select the “Role-Base or feature-based installation” option.

Select the current server.

Next select Remote Desktop Services, then Next.

Choose “Add Features” on the dialog box that appears.

Click Next on the Remote Desktop Services Page to select the Role Services.

Select only “Remote Desktop Licensing” and then click next.

Click Add Features when prompted to install Web Server IIS

Select “restart the destination server automatically if required”. If the Windows Server 2012 DVD is not in the drive, enter alternate path to location of the installation files (“Specify an alternative source path”).

You’ll be asked if you want to allow for automatic restarts, select Yes. This allows for a more automated install; once the installation is complete your server will restart automatically.

Getting Started – Setting up the Citrix Licensing Server
Once the server reboots after the Remote Desktop Services Licensing Server installation, insert the XenApp 6.5 installation disc. The installation wizard should start automatically.
Start by selecting “Manually install components”.

Select Common Components, then Citrix Licensing on the following screen.


We’re keeping things simple, so we’ve left the installation directory (Destination Folder) unchanged. Click ‘Install’ to continue.

Once the installation completes, click on ‘Finish’. This will complete the installation and automatically launch the License Server Configuration Tool.
Create a password for the admin user and then click on ‘OK’ to continue.

Now we need to install the license file. Download your unique licensing file from the mycitrix.com portal. Once you have it, move (or copy) the file (which ends in “.lic”) into “Program Files (x86)\Citrix\Licensing\MyFiles\” (assuming you used the default installation directories). Once you’ve done that restart the licensing service.

Now we are done with the Citrix Licensing Server and Remote Desktop Licensing Installation.
Installing XenApp
XenApp 6.5 requires the Remote Desktop Services Session Host Role and .Net Framework 4.5 to be installed. Citrix’s setup wizard will install these automatically.
After inserting the XenApp 6.5 installation disc select a setup wizard will appear, select Install XenApp Server.

The wizard prompts to install .Net 3.5 SP1. Click OK to accept

After .Net Framework 3.5 SP1 is installed click on Add Server Roles

The XenApp Server Roles Wizard starts. Click On Enterprise Edition to begin the install of XenApp 6.5 Enterprise

Accept the License Agreement and click next

Under “Common Roles” select XenApp and click next. Leave the default subcompents as they are, then click next.


Click Next again, then click Install to begin.

Once the prerequisites are installed, you’ll have to restart the server.


At the Server Role Manager click on Reboot then select yes for the server to reboot.


After the server boots up, restart the XenApp installation wizard. The Wizard will automatically detect that it had not finished installing. Click on “Resume Install”.


On the next screen click Install to resume the installation

The installation will now complete. Click Finish once done.

At the Server Manager Windows, click on Specify Licensing in the middle of the dialogue box

Select “Connect to an existing license server” and enter dc1.wrightccs.local (or whatever your licensing server’s address may be) then click on test connection. Once verified click on Next.

Once license configuration is done, you are taken back to XenApp Server Role Manager. Select Configure to begin configuring XenApp.

Click on create new farm. We shall call our farm XenApp and the first administrator will be the current user (administrator) who is performing the install.


XenApp information is store in a SQL database. For testing we use a SQL Express.

After entering database information setup your license mode to match the licenses installed on our license server (DC1).

Keep the defaults selected.




A restart is required after the installation of XenApp completes. Click on reboot, and click on yes at the prompt that pops up to restart the server.


Repeat the same steps for XenApp2 (the second XenApp server), but at the XenApp configuration select “Add this server to an existing server farm”.
For XenApp Database select “Existing Microsoft SQL Server Express Database”


XenApp1 should appear in the dropdown box. Select it the click next. Verify the same credentials entered last time.

Take the default settings on the next three screens and select Apply.



Reboot the server after installation completes




Once we’ve install XenApp, we need to give it some applications to use. We do this through Citrix AppCenter.
Open Citrix AppCenter.

Disable Authenticate Signature Checking

Click next on configure and discovery wizard. Select XenApp and leave Single Sign-on Unchecked.


Add the local server on the next screen, then click next. Let the discovery run then click finish


A message pops up saying no applications are installed. Click OK

Select the Applications branch under the XenApp Farm, then click Publish application in the actions pane.

Click Next on the Publish Application Welcome Screen

Type Notepad for Display name the click next
Leave the default Application as type of application to publish. Server application type is installed application. Click Next

Under Command line browse to location of notepad.exe then click next.

Add the servers that will publish this application, in this case XenApp1 and XenApp2.

Add the users who are allowed to view and launch this application. In our case all Domain Users are allowed to launch this application.

We leave the default icon unchanged and click next.

Leave the defaults and click Finish.

Notepad now appears in the list of published applications.

Installation and Configuration of StoreFront 2.1
You will need the latest release of StoreFront, download the latest version from http://www.citrix.com/downloads/storefront-web-interface/product-software.html
Run the installation file after download and accept the license agreement, click next, and on the following screen click Install to begin the install of StoreFront


Click Finish once the install completes


At the storefront management console opens after the installation completes.

StoreFront will be reconfigured for multiple servers. For this first blog, we will configure one server. The URL of the current storefront server in this case is http://storefront1.wrightccs.local

Let the StoreFront deployment run

We will enter XenApp for the Store Name

On the Delivery Controller Screen select the Type as XenApp, then add the servers XenApp1.Writghtcss.local, and XenApp2.Wrightcss.local.
Transport type is http on port 80.

Then click next

Select None for Remote Access type for now. Then click create to begin the creation of the store.


Note the website URL. In this case http://storefront1.wrightccs.local/XenAppWeb

Open IIS and go to the default website. Double click on “http redirect”

Check the checkbox for Redirect requests to the destination http://storefront1.wrightccs.local/citrix/xenappweb (the URL you noted before in storefront)
Select “redirect request to exact destination (instead of relative destination)” and “Only redirect requests to content in the directory (not subdirectories)”

Deselect http redirect for AGServices, aspnet_client, and Citrix Branches.

Configuration for Storefront1 is now complete.
Test the configuration by opening a browser on Storefront1 and entering localhost in the address bar. Should redirect to http://storefront1.wrightccs.local/Citrix/XenAppWeb.
Enter credentials for administrator

Add applications by clicking on the + sign

The application we published is under All apps (Notepad)

Applications that are ticked are added to the desktop and can be launched.

This completes our simple testing and development lab.

