https://bugs.winehq.org/show_bug.cgi?id=56644
Torxed winehq@hvornum.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@hvornum.se
--- Comment #2 from Torxed winehq@hvornum.se --- It appears you can get a bit further by silently installing it, which would mean to skip the UI part of the installation.
I know this isn't the buildtools specifically, but this is what I used for buildtools:
wine cmd /S /C start /w vs_BuildTools.exe \ --quiet \ --noweb \ --norestart \ --installPath "%ProgramFiles%\Microsoft Visual Studio\2022\BuildTools" \ --add Microsoft.Component.MSBuild \ --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 \ --add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre \ --add Microsoft.VisualStudio.Component.Windows11SDK.22621
However, there appears to be an issue with the Mono package not being able to verify certificates correctly:
[014c:0011][2024-05-10T16:01:34] Package signature verification threw exception: Mono.Security.X509.X509Store.get_Crls, for path: C:\ProgramData\Microsoft\VisualStudio\Packages_bootstrapper\vs_installer\ktmrs2k.lg0\vs_installer.opc" [014c:0011][2024-05-10T16:01:34] Error 0x80096004: Package signature verification threw exception: Mono.Security.X509.X509Store.get_Crls, for path: vs_installer.opc"
The log should be in "$WINEPREFIX/drive_c/users/$(whoami)/Temp/dd_bootstrapper_*"