Finished install code

Added detect already installed binary
Checked for the sudo.cmd file existing instead of trying to run it and
waiting for it to fail