On trying to install the new PSCC 2017,I initially got Code 145, so I tried uninstalling. This didn't work so I tried to change the name but couldn't because I needed to have administrator rights, which I am btw. By then, even after uninstalling there was still a folder called Adobe Photoshop CC 2017 so it still wont install.
Oh, and when I tried to change the name, I got a message that it was being used elsewhere, but I had nothing else open.
You may try to have a look here or here::