To fix The timestamp signature and/or certificate could not be verified or is malformed error, you need to check the certificate’s validity, and download the latest installer from the official website. Apart from that, you can disable the code signing verification as well