This is a problem with installing/enabling IIS on the target machine. It's normally caused by the IIS installation requiring a reboot, which you can fix by rebooting the machine and then re-running the installation.