XenApp 6 Unattended Installation
Everybody agrees that the install of XenApp 6 has progressed a lot. Where you needed to complete a long wizard in the near past, now it’s just a matter of a few clicks and your XenApp installation is finished. After that the real work starts when you need to configure your server. However Citrix managed to keep your serverconfig real simpel as well, so it really isn’t a big deal. The same applies to the command line installation. You still need to include a lot of parameters in your script, only this time they’re more logical, and you need less.
So let’s get to do some installation work …………
Ofcourse you need to do some preconfiguration to make your life easier. For XenApp 6 make sure you install the Remote Desktop Services Role and DotNet 3.5 (you can just install it as a W2K8R2 feature). Then you’re pretty much set to go.
XenApp Command line installation
First you fire up the XenAppSetupConsole.exe command to do some pre-installation work.
XenAppSetupConsole.exe /install:XenApp /Enterprise /logfile:%windir%\temp INSTALLDIR=”D:\Citrix”
You can find the complete command reference in the download section at the bottom of this page. After the setup is done you can configure your server.
XenApp Command line Configuration (Server Role Manager)
Now this is the fun part. With the XenAppConfigConsole.exe tool you’ll configure the role of your server. Keep in mind that when your datastore is on another server (eg. a SQL server) you need to make your connection through ODBC. To do that you need to create a DSN file. I’ll explain how to do this below.
Example parameters to join a farm with a SQL datastore on a different server (with SQL Authentication)
/LicenseServerName:<License Server Name>
The complete list of parameters are in the downloadsection at the bottom of this page
Create a DSN File
•Open the Data Sources (ODBC) Utility (in Administrative Tools).
•Click File DSN.
•Choose a driver (eg. SQL Server).
•Choose a location to save your DSN file (.dsn).
•Set a description and type in your datastore servername, click next.
•Choose an authentication method and if nessecary type in your username and password, click next.
•Set the default database to the right one, click next.
•Click Finish en test your connection.
•You can now use this DSN file for your unattended install. You’ll find it in your save location.