search cancel

"Error updating database: Error calling CreateProcessW: The system cannot find the file specified. (HRESULT: 0x2)" when installing DLP 15.8 MP2

book

Article ID: 240827

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

Installing DLP 15.8 MP2 is failing with the error below in the Enforceserver log:

Action 7:26:13: updateDatabaseOnPatch.401D797E_336E_470A_B482_AFC1EA3637F4. 
MSI (s) (24:B8) [07:26:13:924]: Executing op: CustomActionSchedule(Action=updateDatabaseOnPatch.401D797E_336E_470A_B482_AFC1EA3637F4,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (24:F0) [07:26:13:924]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7092.tmp, Entrypoint: updateDatabaseOnPatch
Process wrote to standard output: 
Process wrote to standard error: 
MSI (c) (E0:B4) [07:26:14:002]: Transforming table Binary.

MSI (c) (E0:B4) [07:26:14:002]: Transforming table Binary.

MSI (c) (E0:B4) [07:26:14:002]: Note: 1: 2262 2: Binary 3: -2147287038 
Error updating database: Error calling CreateProcessW: The system cannot find the file specified.
 (HRESULT: 0x2)

MSI (s) (24!74) [07:26:27:715]: Note: 1: 2205 2:  3: Error 
MSI (s) (24!74) [07:26:27:715]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (24!74) [07:26:27:715]: Product: Symantec Data Loss Prevention 15.8.00000 MP2 Enforce Server -- Error updating database: Error calling CreateProcessW: The system cannot find the file specified.
 (HRESULT: 0x2)


CustomAction updateDatabaseOnPatch.401D797E_336E_470A_B482_AFC1EA3637F4 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

Cause

The Java JRE Directory in the registry was not pointing to the correct location.

JRE Directory was set to D:\Apps\DataLossPrevention_15.8\jdk8u262-b10-jre 

and 

Registry is showing:

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention\Enforce Server\15.8.00000\Installation

Environment

DLP 15.8

Resolution

Change the registry key to point to the correct JRE Directory.

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention\Detection Server\15.8.00000\Installation

Value Name:  JREDirectory 

Value data: (Absolute path to the JRE Directory)  example D:\Apps\DataLossPrevention_15.8\jdk8u262-b10-jre