EPM - CLI Upgrade Fails Due to REINSTALLMODE

EPM - CLI Upgrade Fails Due to REINSTALLMODE

137
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:12 PM


Symptom


This article is to help identify a problem.  The issue described in this article is only if ALL of the following are true:
  • You are attempting to upgrade an older version of EPM agent to a newer version of the EOM agent using a msiexec /i command
  • msiexec command contains argument REINSTALLMODE=vm
  • msiinstaller log has many of these errors:
    • Error 1904. Module C:\Program Files\CyberArk\Endpoint Privilege Manager\Agent\vf_tslocal.dll failed to register.  HRESULT -2147220473.  Contact your support personnel.
    • MSI (s) (7C:90) [09:37:56:841]: Product: Idira Endpoint Privilege Manager Agent -- Error 1904. Module C:\Program Files\CyberArk\Endpoint Privilege Manager\Agent\vf_tslocal.dll failed to register.  HRESULT -2147220473.  Contact your support personnel.
    • Info 1603. The file C:\Program Files\CyberArk\Endpoint Privilege Manager\Agent\x64\vftrace.dll is being held in use by the following process: Name: OUTLOOK, ID: 284, Window Title: (not determined yet).  Close that application and retry. 
  • After the failed upgrade attempt, the "%programfiles%\CyberArk\Endpoint Privilege Manager\Agent" directory is almost totally empty, except for a few log files in the trace subfolder.


Environment


24.2 EPM Windows Agent Windows

Cause


The REINSTALLMODE=vm argument should only be used when attempting to reinstall the same version of EPM over the top of itself.  It should not be used when attempting to upgrade EPM from an older version to a newer version.

Resolution


Remove REINSTALLMODE=vm from the msiexec command.

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001dNZCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail