-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows 2022 image: Install-VisualStudio.ps1 script fails with error "Signature thumbprint do not match expected." #11024
Comments
we're working on this issue, we will update ASAP. thank you ! |
We faced the same issue, thanks for prompt response @kishorekumar-anchala :) |
We have the same issue, does anyone know where to find the correct sig so we can manually run it? |
@DushanthaS, you can download the installer from Microsoft: https://aka.ms/vs/17/release/vs_Enterprise.exe PowerShell 7.4.6
YUKI.N>cd C:\Downloads\
YUKI.N>$sig = Get-AuthenticodeSignature -FilePath "C:\Downloads\vs_Enterprise.exe"
YUKI.N>$sig | Format-Table | Out-String | Write-Host
Directory: C:\Downloads
SignerCertificate Status StatusMessage Path
----------------- ------ ------------- ----
245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D Valid Signature verified. vs_Enterprise.exe |
Hi @ghostdox , THanks for your comments , currently there is a issue with latest Visualstudio from Microsoft team. we're waiting for it , we'll inform you very soon. thank you ! |
Fixed with the PR |
Description
Description
Install-VisualStudio.ps1
script fails with errorSignature thumbprint do not match expected.
and breaks the build.After a little debugging I've found out that the visualStudio.signature value in the
toolset-2022.json
file does not match the one tested on the downloaded bootstrapper.toolset-2022.json
file :I've composed the URL from the variable found in
VisualStudioHelpers.ps1
file ($bootstrapperUrl = "https://aka.ms/vs/${Version}/${Channel}/vs_${Edition}.exe"
) downloaded the bootstrapper, run a check on the Thumbrint and got the following result which is different from the value intoolset-2022.json
file:.Build error log :
More details:
Platforms affected
Runner images affected
Image version and build link
N/A
Is it regression?
No
Expected behavior
Install-VisualStudio.ps1
script should run without errorsActual behavior
Install-VisualStudio.ps1
script fails with error "Signature thumbprint do not match expected."Repro steps
run
Install-VisualStudio.ps1
scriptThe text was updated successfully, but these errors were encountered: