Agent Upgrade or Uninstall Fails With "SECREPAIR: Error determining package source type MSI"
search cancel

Agent Upgrade or Uninstall Fails With "SECREPAIR: Error determining package source type MSI"

book

Article ID: 288320

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

Minor agent upgrade fails with errors similar to:

MSI (s) (90:A4) [09:25:41:606]: Determining source type
MSI (s) (90:A4) [09:25:41:606]: Note: 1: 2203 2: C:\temp\8.6\ParityHostAgent.msi 3: -2147287038 
MSI (s) (90:A4) [09:25:41:606]: Note: 1: 1316 2: C:\temp\8.6\ParityHostAgent.msi 
MSI (s) (90:A4) [09:25:41:606]: SECREPAIR: Error determining package source type
MSI (s) (90:A4) [09:25:41:606]: SECREPAIR: Cleanup the Hash Value
MSI (s) (90:A4) [09:25:41:606]: SECUREREPAIR: SecureRepair Failed. Error code: 5245B87910
Action start 9:25:41: ProcessComponents.
MSI (s) (90:A4) [09:25:41:622]: Note: 1: 2265 2:  3: -2147287035

Environment

  • App Control Agent: All Supported Versions

Cause

Parityhostagent.msi is missing or was renamed to something else (Ex. Parityhostagent8.9.4.msi) 

Resolution

  1. Rename the file back to parityhostagent.msi or place the latest parityhostagent.msi into the path under the determining source type message.
  2. Re-try the upgrade or uninstall.

Additional Information

Minor upgrades (where the GUID is the same) require that the name of the installer be the same. This is due to some requirements from the OS.