[THIN] Re: Citrix XenDesktop 7.6 install hangs

  • From: Webster <webster@xxxxxxxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Tue, 17 Mar 2015 14:00:00 +0000

Now that you say that, that setting bit me once before.  You need to put that 
in a blog article.

Thanks


Webster

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
James Rankin
Sent: Tuesday, March 17, 2015 8:58 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Citrix XenDesktop 7.6 install hangs

Well, doesn't it always happen that when you write out a query, you solve the 
problem.

Client has some funky user rights defined. Namely, the permission to "manage 
auditing and security log" has been removed from local Administrators. Add this 
back in - and now it works just fine.

Thanks to Web for replying - he was on the right track!

On 17 March 2015 at 13:26, James Rankin 
<kz20fl@xxxxxxxxxxxxxx<mailto:kz20fl@xxxxxxxxxxxxxx>> wrote:
Wonder if anyone could possibly help me out with a Citrix install issue?

I am trying to put the evaluation version of XenDesktop 7.6 onto a Server 2012 
R2 member server. I run the AutoSelect executable, select XenApp or XenDesktop, 
but then when I click on Get Started | Delivery Controller, at first the 
program was crashing with a .Net error.

Digging out the log from %LOCALAPPDATA%Temp\Citrix\XenDesktop 
Installer\XenDesktop Installation.txt showed an error of

11:07:44.7764 $ERR$ : AutoRun:Unable to record application type in the 
registry, error Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Citrix' 
is denied.

So I created the Registry key manually and gave Administrators Full Control of 
the key. Now, instead of crashing, the installer looks like it is doing 
something, but never completes.

Analyzing the log file again now shows this - there are a couple of errors near 
the start which I can't fathom out, highlighted in bold below. However, it does 
seem to continue after those and then come to a stop at a later point

Date: Tuesday, March 17, 2015
Application version 7.6.0.5019
Running from C:\Testing\x64\XenDesktop Setup\MetaInstallerCore.dll
12:05:58.9597 $ERR$ : XenDesktopSetup:The follow command line arguments were 
specified: '/NOSPLASHSCREEN /XENDESKTOP '
12:05:58.9627 $ERR$ : XenDesktopSetup:Error whilst parsing arguments: 
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at Citrix.MetaInstaller.ArgumentParser..ctor(String[] args, ICollection`1 
availableGroups)
   at 
Citrix.MetaInstaller.Server.MetaInstallerServerApplication.ParseArguments(String[]
 args)
   at Citrix.MetaInstaller.MetaInstallerApplication.Run(String[] args)
12:05:58.9627       : XenDesktopSetup:Current User Preferences follows state: 
invalid-cmdline
12:05:58.9687       : XenDesktopSetup:ShowUI = False
NoReboot = False
NoPrerequisites = False
UIMode = Normal
LogPath =
VerboseLog = False
WorkingDirectory = 
C:\Users\gklp76a\AppData\Local\Temp\rbt_fed69622-52aa-420e-b0ed-38e2dfb8be4f
InstallDirectory = C:\Program Files\Citrix
PreselectedComponents =
CDRoot =
InstallationResuming = False
EnableFlashSecurity = False
EnableProGraphics = False
ChangeFirewall = False
ConfigureUdpPorts = False
ConfigureRemoteAssistance = False
InstallRemoteAssistance = True
OptimizeVirtualMachine = False
IsVirtualMachine = False
IsVMWareVirtualMachine = False
XenAppServerLocation =
FarmGuid =
ControllerNames =
WcfPort =
NoCitrixWDDM = False
CitrixWddmOnHyperV = False
EnablePersonalVDisk = False
DoNotEnableDesktopExperience = False
MasterImage = False
User overriden virtual machine False
NoResume = False
AllowClientHostedAppsUrl (LAA)False


12:05:58.9697       : XenDesktopSetup:MetaInstaller terminating
12:05:58.9697       : XenDesktopSetup:InstallationManager instantiated
12:05:58.9697       : XenDesktopSetup:InstallationManager instantiated
12:05:58.9697       : XenDesktopSetup:InstallationManager instantiated
12:05:58.9717       : XenDesktopSetup:Component 'Microsoft Visual x64 C++ 2008 
Runtime' and dependencies instantiated.
12:05:58.9717       : XenDesktopSetup:Component 'Printing Server Role' and 
dependencies instantiated.
12:05:58.9727       : XenDesktopSetup:Component 'Citrix Universal Print Server' 
and dependencies instantiated.
12:05:58.9797       : XenDesktopSetup:Product with upgrade code 
{C6B77583-0ED3-4E64-B9EF-19AFB65A5CEE} is not installed.
12:05:58.9817       : XenDesktopSetup:InstallationManager instantiated
12:05:58.9817       : XenDesktopSetup:InstallationManager instantiated
12:05:58.9817       : XenDesktopSetup:InstallationManager instantiated
12:05:58.9817       : XenDesktopSetup:Component 'Microsoft Visual x64 C++ 2008 
Runtime' and dependencies instantiated.
12:05:58.9817       : XenDesktopSetup:Component 'Printing Server Role' and 
dependencies instantiated.
12:05:58.9817       : XenDesktopSetup:Component 'Citrix Universal Print Server' 
and dependencies instantiated.
12:05:58.9817       : XenDesktopSetup:Product with upgrade code 
{C6B77583-0ED3-4E64-B9EF-19AFB65A5CEE} is not installed

And that is as much as is ever written to the log.

Running Process Monitor and filtering by XenDesktopInstall.exe simply reveals 
the following three entries, repeated constantly

"Time of Day","Process Name","Operation","PID","Path","Result","Detail"
"12:08:23.2351971 
PM","XenDesktopInstall.exe","CreateFile","532","C:\ProgramData\Citrix AutoRun 
Waiting","SUCCESS","Desired Access: Read Attributes, Disposition: Open, 
Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, 
AllocationSize: n/a, OpenResult: Opened"
"12:08:23.2352648 
PM","XenDesktopInstall.exe","QueryNetworkOpenInformationFile","532","C:\ProgramData\Citrix
 AutoRun Waiting","SUCCESS","CreationTime: 3/17/2015 11:54:03 AM, 
LastAccessTime: 3/17/2015 11:54:03 AM, LastWriteTime: 3/17/2015 12:05:58 PM, 
ChangeTime: 3/17/2015 12:05:58 PM, AllocationSize: 1/1/1601 12:00:00 AM, 
EndOfFile: 1/1/1601 12:00:00 AM, FileAttributes: ANCI"
"12:08:23.2352783 
PM","XenDesktopInstall.exe","CloseFile","532","C:\ProgramData\Citrix AutoRun 
Waiting","SUCCESS",""

I can see that there is a 0KB file created in C:\ProgramData called "Citrix 
AutoRun Waiting", but nothing happens to it. Permissions on this file seem to 
be OK. If you delete the file, the installer exits.

I've tried all sorts of things (messing about with UAC, installing various 
roles and features, running from the command line), but I can't seem to get 
past this stage. The XenDesktop install is good - I've downloaded it twice and 
it installs without any issue on the systems in my lab.

Anyone have any thoughts? Kind of stumped here.

TIA,




--
James Rankin
---------------------
RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization 
Practice Analyst - Desktop Virtualization
http://appsensebigot.blogspot.co.uk



--
James Rankin
---------------------
RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization 
Practice Analyst - Desktop Virtualization
http://appsensebigot.blogspot.co.uk

Other related posts: