Utility Node Installer Fails with error "Failed to delete file D:\CW\V101_UN\exe\pst\mapi32.dll"

book

Article ID: 100054138

calendar_today

Updated On:

Description

Error Message

From the installation log:

10-11-2022-22:25:47: ********************************************
10-11-2022-22:25:47: * Uninstalling Cygwin
10-11-2022-22:25:47: ********************************************
10-11-2022-22:25:47:   install cmd: D:\CW\V101_UN\b.bat start-services > "D:\CW\Installer\log\10-11-2022-22.10.12\cwinstall_b_cmd_start-services_10-11-2022-22.21.28.log" 2>&1
10-11-2022-22:26:07: check log file: D:\CW\Installer\log\10-11-2022-22.10.12\cwinstall_b_cmd_start-services_10-11-2022-22.21.28.log for BUILD SUCCESSFUL
10-11-2022-22:26:07: 
10-11-2022-22:26:07: ********************************************
10-11-2022-22:26:07: * check services running status ...
10-11-2022-22:26:07: ********************************************
10-11-2022-22:26:07: EsaPstRetrieverService is running.
10-11-2022-22:26:07: EsaPstCrawlerService is running.
10-11-2022-22:26:07: EsaNsfRetrieverService is running.
10-11-2022-22:26:07: EsaNsfCrawlerService is not running!
10-11-2022-22:26:07: 
EsaNsfCrawlerService 

Are not running.  Please enable the above services after the installation finishes.
10-11-2022-22:37:31: Failed to delete file D:\CW\V101_UN\exe\pst\mapi32.dll
10-11-2022-22:37:31: 
10-11-2022-22:37:31: ********************************************
10-11-2022-22:37:31: * OnAbort...
10-11-2022-22:37:31: ********************************************
10-11-2022-22:37:31: Rollback files ...
10-11-2022-22:37:31: 
10-11-2022-22:37:31: ********************************************

Cause

User Account Control (UAC) is enabled.  Or disabled but not fully showing a warning like in the following picture:

Resolution

  1. Manually uninstall the software left behind from the installation attempt.
  2. Disable UAC fully.  If there is a warning like in the above image press the OK button, restart the server and once server is back up login and double check that UAC is disabled.
  3. If Group Policy (GPO) is being applied to the server, checked that UAC is disabled in the policy.  Otherwise, on each reboot or GPO update UAC will be reenabled.  If disabled, the following registry value will be set to 0.  This could be manually set to 0 to get through installation successfully but should really be disabled in GPO to prevent other issues.
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA
  4. Then run the installer again.

 

Issue/Introduction

Utility Node installation fails near end of installation, says rolling back, and in the installation log says Failed to delete file D:\CW\V101_UN\exe\pst\mapi32.dll. Once the rollback has completed, the Clearwell services will be started and only a fraction of the software is removed requiring steps to now manually uninstall the software from the server.

Additional Information

JIRA: CFT-4920