Error 'Failed to open file dialog: error calling GetDisplayName: The parameter is incorrect. (HRESULT: 0x80070057)
search cancel

Error 'Failed to open file dialog: error calling GetDisplayName: The parameter is incorrect. (HRESULT: 0x80070057)

book

Article ID: 211405

calendar_today

Updated On:

Products

Data Loss Prevention Discover Suite Data Loss Prevention

Issue/Introduction

When running through the Detection Server installation wizard, you browse to select the JRE Directory, click Next and the following error appears:

In the detectionserver_install.log file you see the following error sequence:

Action 16:21:54: openFolderDialog. 
Action start 16:21:54: openFolderDialog.
MSI (c) (8C:4C) [16:21:54:142]: Invoking remote custom action. DLL: C:\Users\z096874\AppData\Local\Temp\MSIE4A5.tmp, Entrypoint: openFolderDialog
Action ended 16:22:31: openFolderDialog. Return value 3.
MSI (c) (8C:B8) [16:22:31:464]: Note: 1: 2205 2:  3: Error 
MSI (c) (8C:B8) [16:22:31:464]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2896 
DEBUG: Error 2896:  Executing action openFolderDialog failed.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: openFolderDialog, , 
Action ended 16:22:31: WelcomeDlg. Return value 3.
MSI (c) (8C:74) [16:22:31:464]: Doing action: FatalError
MSI (c) (8C:74) [16:22:31:464]: Note: 1: 2205 2:  3: ActionText 
Action 16:22:31: FatalError. 
Action start 16:22:31: FatalError.
Action 16:22:31: FatalError. Dialog created
Action ended 16:22:32: FatalError. Return value 2.
Action ended 16:22:32: INSTALL. Return value 3.





As per the second screenshot, this was also found when selecting the installation directory.

Environment

DLP 15.x, 16.x

Cause

This issue occurs due to a custom action error in the MSI package.

Resolution

Do not use the browse button to set the JRE Directory. Instead, copy and paste the full path into the text field before clicking Next.