Please ensure that a failed install is not already present. The following articles should assist in removing any current installed version prior to installation:
How to Uninstall and Remove WD Discovery on Windows and macOS
The next article details how to troubleshoot failing installs:
WD Discovery Fails to Install on macOS
https://support-en.wd.com/app/answers/detail/a_id/28936
If you continue to see issues, please open a case with our support team, so your issue can be further reviewed: