catch .ps1 install error and handle it better