NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

Nice! Could you elaborate about the different options you gave to the installer (except for --silent as that looks obvious in a script).
I never give options to the installer and it just works.