XenApp 6.5 Unattended deployment through SCCM 2007

I have been busy troubleshooting an unattended XenApp 6.5 for Windows 2008 R2 SP1 deployment lately. This deployment was done through SCCM 2007.

The whole installation went correct up until the point of running XenAppConfigConsole.exe with it’s appropriate parameters. After trying a whole bunch of different deployment techniques, I found one that works!

The Task Sequence (at least the part of the XenApp 6.5 setup), looks as follows:

  • Move Computer Object in AD to an OU without policy objects
  • Restart Computer
  • Install Citrix XenApp 6.5
  • Restart Computer
  • Disable COM+ Application Access Check
  • Install Citrix Hotfixes XA 6.5 EN
  • Restart Computer
  • Copy XenApp Configuration DSN file to %TEMP%
  • Copy MDT Tools to %TEMP%
  • Run Citrix XenApp Config Tool
  • Restart Computer
  • Install Citrix EdgeSight 5.4 XenApp Agent
  • Restart Computer

 

The syntax for the task: Run Citrix XenApp Config Tool is as follows:

“%WINDIR%\Temp\MDT\ServiceUI.exe” -process:tsprogressui.exe “C:\Progra~2\Citrix\XenApp\ServerConfig\XenAppConfigConsole.exe” /ExecutionMode:%Citrix_Create_Join% /FarmName:%Citrix_Farmname% /CitrixAdministratorAccount:%Citrix_Username% /DsnFile:%WINDIR%\Temp\%Citrix_DSNFile% /AuthenticationType:Windows /ODBCUserName:%Citrix_Username% /ODBCPassword:%Citrix_Password% /LicenseServerName:%Citrix_LicenseServer% /LicenseModel:XA /AddLocalAdmin:True /ForceShadowPopup:True /ForceShadowLogging:True /CreateAnonymousUserAccounts:False

The variables are set through Collection Variables in SCCM and contain the appropriate information for creating / joining a Citrix XenApp 6.5 Farm.

 

Hope it helps!