安装过程中出现闪退现象,查询%temp%文件夹中安装日志,发现
[0568:0003][2025-07-10T22:15:48] Using Offline package: D:\Offline\vs_installer.opc
[0568:0003][2025-07-10T22:15:48] Saving Certificates to layout folder
[0568:0003][2025-07-10T22:15:49] Certificate is invalid: D:\Offline\vs_installer.opc
[0568:0003][2025-07-10T22:15:49] Error: Unable to verify the certificate: InvalidCertificate
[0568:0003][2025-07-10T22:15:49] Error 0x80131509: Signature verification failed. Error: Unable to verify the integrity of the installation files: the certificate could not be verified. 在 Microsoft.VisualStudio.Setup.OpcVerifier.Verify(Stream packageStream, String layoutLocation, Boolean skipSavingCertificate) 在 Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.VerifyLayoutPackage(Stream packageStream)
[0568:0003][2025-07-10T22:15:49] Bootstrapper failed with known error.