in a reinstalled primary site, the installation goes to "C:\program files" and the configuration tries to use "D:\Program Files", and obviously fail.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP, and find:
"InstallDir"="C:\\Program Files\\SMS_SRSRP\\"
I change the entry to:
"InstallDir"="D:\\Program Files\\SMS_SRSRP\\"
And all Works correctly.