I had this issue after uninstalling PS 4.0 and trying to install 4.5. I hunted around and the issue is with the IMA service log on account. When you install try pausing the install right after SNMP for Resource Manager appears(be quick because right after that it tries to start the Citrix IMA service). Now open Services and change the IMA service log on account from NetworkService to Local System Account. Now unpause the install.