I had this problem too, when I uninstalled for the first time I kept the shared files, and the problem persisted when I reinstalled.
This time, I have deleted all the relevant registry entries by the third-party software, and there is no problem with the installation again.