Citrix Director installation failed with error "dism component failed to install".

Citrix Director installation failed with error "dism component failed to install".

book

Article ID: CTX281554

calendar_today

Updated On:

Description

Citrix Director installation failed with error "‘dism’ component failed to install with error 0x00000032." 
Installation failed as one of the Windows features could not be enabled due to errors.


 

Resolution


Enable the Windows feature WCF Services -> HTTP Activation


Problem Cause

Check the Xendesktop Installation.txt log to find out the feature that failed to install.

From the below log snippet, we could see that WCF à HTTP Activation feature was not enabled. Make sure this feature is enabled before you reinstall Citrix Director.

Xendesktop Installation.txt
12:24:46.9506       : XenDesktopSetup:Starting synchronous process 'dism' with args '/quiet /norestart /english /online /enable-feature /featurename:IIS-WebServerRole /featurename:IIS-WebServer /featurename:IIS-CommonHttpFeatures /featurename:IIS-StaticContent /featurename:IIS-DefaultDocument /featurename:IIS-DirectoryBrowsing /featurename:IIS-HttpErrors /featurename:IIS-HttpRedirect /featurename:IIS-ApplicationDevelopment /featurename:IIS-ASP /featurename:IIS-CGI /featurename:IIS-ISAPIExtensions /featurename:IIS-ISAPIFilter /featurename:IIS-ServerSideIncludes /featurename:IIS-HealthAndDiagnostics /featurename:IIS-HttpTracing /featurename:IIS-HttpLogging /featurename:IIS-LoggingLibraries /featurename:IIS-Performance /featurename:IIS-HttpCompressionStatic /featurename:IIS-HttpCompressionDynamic /featurename:IIS-WebServerManagementTools /featurename:IIS-ManagementConsole /featurename:IIS-LegacySnapIn /featurename:IIS-IIS6ManagementCompatibility /featurename:IIS-Metabase /featurename:IIS-LegacyScripts /featurename:IIS-ManagementScriptingTools /featurename:IIS-WMICompatibility /featurename:WAS-WindowsActivationService /featurename:WAS-ProcessModel /featurename:IIS-ASPNET45 /featurename:IIS-NetFxExtensibility45 /featurename:NetFx4Extended-ASPNET45 /featurename:WCF-HTTP-Activation45 /featurename:WAS-ConfigurationAPI /featurename:IIS-Security /featurename:IIS-BasicAuthentication /featurename:IIS-WindowsAuthentication /featurename:IIS-RequestFiltering /featurename:NetFx3ServerFeatures /logpath:"C:\Users\<Username>\AppData\Local\Temp\Citrix\XenDesktop Installer\IIS_Install.txt"'
12:26:19.6932       : XenDesktopSetup:Process output:
12:26:19.6932       : XenDesktopSetup:Process output: Error: 50
12:26:19.6932       : XenDesktopSetup:Process output:
12:26:19.6932       : XenDesktopSetup:Process output: The operation is complete but WCF-HTTP-Activation45 feature was not enabled.
12:26:19.6932       : XenDesktopSetup:Process output: A required parent feature may not be enabled. You can use the /enable-feature /all option to automatically enable each parent feature from the following list. If the parent feature(s) are already enabled, refer to the log file for further diagnostics.
12:26:19.6932       : XenDesktopSetup:Process output: WCF-Services45
12:26:19.7002       : XenDesktopSetup:Process completed with error code 0x00000032
12:26:19.7172 $ERR$ : XenDesktopSetup:InstallComponent: Failed to install component 'Microsoft Internet Information Services'. 'dism' component failed to install with error 0x00000032.
12:26:19.7172 $ERR$ : XenDesktopSetup:Recording installation failure. 'dism' component failed to install with error 0x00000032.
12:26:19.7172 PROC  : XenDesktopSetup:InstallComponent: Exit
12:26:19.7172       : XenDesktopSetup:Install tasks for this session have finished.
12:26:19.7182       : XenDesktopSetup:Installation failed

IIS_Install.txt
Info   DISM   DISM Package Manager: PID=2076 TID=8732 Feature WCF-HTTP-Activation45 with CBS state 4(CbsInstallStateStaged) being mapped to dism state 4(DISM_INSTALL_STATE_STAGED) - CDISMPackageFeature::LogInstallStateMapping
Error DISM   DISM Package Manager: PID=2076 TID=8732 Parent features must be enabled before this feature can be enabled. "WCF-HTTP-Activation45" - CPackageManagerCLIHandler::Private_ProcessFeatureChange
Error DISM   DISM Package Manager: PID=2076 TID=8732 One or more features could not be enabled. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x80070032)
Error DISM   DISM Package Manager: PID=2076 TID=8732 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070032)