Thursday, 29 November 2012

Failed install of Rollup Pack 7 on Citrix Presentation Server 4.5 or 5.0

Yet another interesting "I cannot install the rollup pack" issue was logged to me recently. As any environment pre rollup pack 7 is not unsupported we see a few of these come trough to us here in support.

So the customer consulted and hits all the pre-requirements but the installs was failing. Using the  /L*V "C:\log\rupinst.log" switch on the installed provided the required log to start seeing where things were going wrong. As always we search for the first occurrence of "Return value 3" in the log and we produced this:

The Error Log
MSI (s) (5C:08) [10:48:41:674]: Executing op: ActionStart(Name=UnRegisterComPlusDlls.B31B9E59_1619_43B8_9D7E_969C1B67B67E,,)
Action 10:48:41: UnRegisterComPlusDlls.B31B9E59_1619_43B8_9D7E_969C1B67B67E.
MSI (s) (5C:08) [10:48:41:674]: Executing op: CustomActionSchedule(Action=UnRegisterComPlusDlls.B31B9E59_1619_43B8_9D7E_969C1B67B67E,ActionType=3073,Source=BinaryData,Target=CPSSDK_RADE_UnInstallComplusDll,)
MSI (s) (5C:98) [10:48:41:689]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI1FF.tmp, Entrypoint: CPSSDK_RADE_UnInstallComplusDll
CPSSDK_RADE_UnInstallComplusDll: Begin
InitGlobals: Failed to get Applications collection
Action ended 10:48:41: InstallFinalize. Return value 3.

From previous experience we suspected that there was an issue with the The Microsoft Distributed Transaction Coordinator service so we targeted this. We decided to remove and re-initialise the service to see if we'd have an impact. Here were the commands we followed:

The Fix:

Check the Startup Type of the MSDTC service and note it.
Start |Run | Cmd
Type msdtc -uninstall

In the registry, remove the following keys if they exist:

At the command prompt, type the following command:
msdtc -install 
Check Event Viewer for the following message:
Event Source: MSDTC 
Event ID: 4104 
Description: The Microsoft Distributed Transaction Coordinator service was successfully installed.

 Restore the Startup Type of the services to their original values, and then restart your computer. 
 At a command prompt, type the following command: 
msdtc -resetlog 

The rollup pack installed and life was good again. Now the customer was in a supported state so we could begin to troubleshoot their "main" issue :-)

Things we had tried and failed FYI:
  1. Installing Rollup Pack 6 instead
  2. Running a repair on the Citrix Presentation Server install
  3. Upgrading the MSI installed to latest version
  4. Run through
  5. Tried to fix the installer cache by issueing the command msiexec /fv PSE450W2K3X64R07.msp

No comments:

Post a Comment