The installer package of the NVIDIA GeForce Experience application or the NVIDIA Graphics Driver can sometimes hit generic failures which do not pinpoint an exact error condition. These errors can be caused by an incorrect system state.
If the software installation fails, the best first step is to reboot and try the installation again.
If that doesn't help, try explicitly uninstalling the previous version (if any), rebooting, and then reinstalling.
If it continues to fail, try performing the following steps to reset the system state:
To stop the NVIDIA Windows services, run "services.msc" from the Run window, then find and stop all services where the service name starts with NVIDIA.
To look for instances of NVIDIA applications, open the Task Manager and look for processes starting with nv or NVIDIA. Kill those processes, if any.
Run Regedit and search for each key, then delete if found.
If the above steps do not resolve the issue, uninstall all NVIDIA programs using the Windows Control Panel, reboot, and then try steps 1 to 4 again.