search cancel

SCM v13.0.4 Refresh Pack for the client component results in error code 2711

book

Article ID: 200570

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

We found a situation where applying the SCM v13.0.4 refresh pack for the client component produced an error message:

Cause

This will happen when you install the previous version of the SCM Client using the “Workbench Only” version of the installation package, then when you try to apply the 13.0.4 refresh pack you use the “Full Client” version of the refresh pack installer.  The difference between the two is that if you look in the feature table for the SCM Client, the “Administrator” feature is there for the full client, but missing from the Workbench only client.  So to avoid this error we need to check the feature table to see if “Administrator” is found there.

Environment

CA Harvest SCM v13.0.4

Resolution

One way to determine which type of client installer was used during the last installation of SCM is with a 2-step registry query.  The first step will get the unique code in the registry for the SCM Client installation.  This code will be different for each version of SCM, and will even be different for 32 or 64-bit installations, so you’ll need to find this code first.  This is the query that will provide the answer
 
reg query hklm\SOFTWARE\Classes\Installer\Products /s /v ProductName
 
Here’s the result you’d get:
 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\67D6ECF5CD5FBA732B8B22BAC8DE1B4D
    ProductName    REG_SZ    Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161
 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\6E815EB96CCE9A53884E7857C57002F0
    ProductName    REG_SZ    Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\9CE6116528A292A478F9137D3737534D
    ProductName    REG_SZ    CA Harvest Software Change Manager r12.6 Client
 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\B7713DFF87B854E41B49FE29ED4E9405
    ProductName    REG_SZ    CA Harvest Software Change Manager r12.6 Agent
 
End of search: 4 match(es) found.
 
We’re looking for the 2-line entry related to the SCM Client (highlighted above).  Once we find this, we need to look at the last 32 characters of the first line, which gives us the unique code for the SCM Client component installation.
 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\9CE6116528A292A478F9137D3737534D
    ProductName    REG_SZ    CA Harvest Software Change Manager r12.6 Client
 
The second step is to use this unique code to locate the “Features” table for the SCM Client.  Here’s the query that lists the Features table:
 
reg query hklm\SOFTWARE\Classes\Installer\Features\9CE6116528A292A478F9137D3737534D
 
The result of the second query looks similar to this for a Workbench-only installation:
 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\9CE6116528A292A478F9137D3737534D
    CommandLine    REG_SZ
    Documentation    REG_SZ
    Workbench    REG_SZ
    HarWin    REG_SZ  
 
What we’re looking for is the “Administrator” feature.  If the full client installer was used, the “Administrator” feature will be listed here.  In the above case, I used the Workbench Only installer and that is evident because the “Administrator” feature is missing.
 
So the bottom line is, to avoid the error message, first check the feature table before applying the SCM 13.0.4 refresh pack.  If “Administrator” is found in the feature table, you can use the full client version of the 13.0.4 refresh pack (Client32 or Client64), and if it is not found you will need to use the workbench only version (WBonly32 or WBonly64).
 
Attached is an example Windows batch script that will perform the 2 queries and determine if “Administrator” is found in the features table.  It is provided as-is, and is only meant to show how this could be done and to provide a starting point for you in case you would like to develop a script of your own.  

Attachments

1601473628405__full_or_wbonly_client_bat.txt get_app