Uninstallation of the Citrix License Server Fails with Error 1722

Uninstallation of the Citrix License Server Fails with Error 1722

book

Article ID: CTX138466

calendar_today

Updated On:

Description

The uninstallation of the Citrix License Server fails and the following error message is displayed:
“Product: Citrix Licensing -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CA_UninstallEndpointExe_Cmd, location: C:\Program Files (x86)\Citrix\Licensing\LicensingConfig\Service\Citrix.LicensingConfig.SdkWcfEndpoint.exe, command: /UNINSTALL”

The following is an extract from the MSI Log file:

“MSI (s) (88:10) [10:18:04:716]: PROPERTY CHANGE: Adding RemoveFirewallRules_Property property. Its value is C:\Windows\SysWOW64\netsh.exe" advfirewall firewall delete rule name="Citrix Licensing Web Port Rule.
Aktion gestartet 10:18:04: RemoveFirewallRules_CmdLine.
MSI (s) (88:10) [10:18:04:716]: Doing action: RemoveFirewallRules_Property
Aktion beendet 10:18:04: RemoveFirewallRules_CmdLine. Rückgabewert: 1.”

Resolution

To resolve the issue, temporarily enable the Firewall Service prior to uninstallation. 

Problem Cause

The issue is because of Windows Firewall Service that is disabled on the Server. The following details in the Process Monitor indicate that a process is locked:
The uninstallation failed because of a locked file:
12:29:57,8958446     msiexec.exe 732   CreateFileMapping C:\Program Files (x86)\Citrix\Licensing\LicensingConfig\Service\Citrix.LicensingConfig.SdkWcfEndpoint.exe   FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection:
12:29:57,8991473     csrss.exe   404   CreateFileMapping C:\Program Files (x86)\Citrix\Licensing\LicensingConfig\Service\Citrix.LicensingConfig.SdkWcfEndpoint.exe.Config   FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection:
12:29:57,9003644     Citrix.LicensingConfig.SdkWcfEndpoint.exe 3260  CreateFileMapping   C:\Windows\System32\mscoree.dll     FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection:

Issue/Introduction

This article provides a resolution for the failure of uninstallation of Citrix License Server.