[Bug 57542] New: Visual studio 2022 installer can't connect to the internet
https://bugs.winehq.org/show_bug.cgi?id=57542 Bug ID: 57542 Summary: Visual studio 2022 installer can't connect to the internet Product: Wine Version: 10.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: francisco278herrera(a)gmail.com Distribution: --- The installer for visual studio 2022 will open but it will not connect to the internet as it will say that nothing is available to install and there's nothing under developer news either. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 F H <francisco278herrera(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://visualstudio.micros | |oft.com/thank-you-downloadi | |ng-visual-studio/?sku=Commu | |nity&channel=Release&versio | |n=VS2022&source=VSLandingPa | |ge&cid=2030&passive=false Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #1 from F H <francisco278herrera(a)gmail.com> --- i misremembered i checked again and found that it does connect to the internet because there's stuff under developer news but there's still nothing under available -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #2 from F H <francisco278herrera(a)gmail.com> --- Created attachment 77611 --> https://bugs.winehq.org/attachment.cgi?id=77611 terminal output -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #3 from F H <francisco278herrera(a)gmail.com> --- if i install dxvk, vkd3d, dotnet 3.5, dotnet 4.7.2, dotnet 4.8, dotnet 6, dotnet 7, dotnet 8, dotnetcore 2 and 3, dotnetcoredesktop 3, dotnetdesktop 6, 7, 8, gdiplus, mfc140, ucrtbase2019, vcrun2022, using winetricks, and run the setup program, the visual studio installer will run and will show options to install stuff but it will fail saying something similar to instalation has failed and it will be rather glitchy, the installer can seem to be stuck until you run the mouse over the loading animation if i don't misremember. it also seems there is a race condition because when run with winedebug=+all the installer will not be as glitchy. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #4 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #3)
if i install dxvk, vkd3d, dotnet 3.5, dotnet 4.7.2, dotnet 4.8, dotnet 6, dotnet 7, dotnet 8, dotnetcore 2 and 3, dotnetcoredesktop 3, dotnetdesktop 6, 7, 8, gdiplus, mfc140, ucrtbase2019, vcrun2022, using winetricks, and run the setup program, the visual studio installer will run and will show options to install stuff but it will fail saying something similar to instalation has failed and it will be rather glitchy,
the installer can seem to be stuck until you run the mouse over the loading animation if i don't misremember. it also seems there is a race condition because when run with winedebug=+all the installer will not be as glitchy.
because of the glitches you may not be able to see the error message. if you run the installer as windows 7 it will not be glitchy at all, but it will be glitchy if you run it as windows 10 or 11. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #5 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #3)
if i install dxvk, vkd3d, dotnet 3.5, dotnet 4.7.2, dotnet 4.8, dotnet 6, dotnet 7, dotnet 8, dotnetcore 2 and 3, dotnetcoredesktop 3, dotnetdesktop 6, 7, 8, gdiplus, mfc140, ucrtbase2019, vcrun2022, using winetricks, and run the setup program, the visual studio installer will run and will show options to install stuff but it will fail saying something similar to instalation has failed and it will be rather glitchy,
the installer can seem to be stuck until you run the mouse over the loading animation if i don't misremember. it also seems there is a race condition because when run with winedebug=+all the installer will not be as glitchy.
I doubt all of those things are necessary but I couldn't test it -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #6 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #3)
if i install dxvk, vkd3d, dotnet 3.5, dotnet 4.7.2, dotnet 4.8, dotnet 6, dotnet 7, dotnet 8, dotnetcore 2 and 3, dotnetcoredesktop 3, dotnetdesktop 6, 7, 8, gdiplus, mfc140, ucrtbase2019, vcrun2022, using winetricks, and run the setup program, the visual studio installer will run and will show options to install stuff but it will fail saying something similar to instalation has failed and it will be rather glitchy,
the installer can seem to be stuck until you run the mouse over the loading animation if i don't misremember. it also seems there is a race condition because when run with winedebug=+all the installer will not be as glitchy.
Everything was tested under a clean wine prefix except for this attempt at a workaround -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #7 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #3)
if i install dxvk, vkd3d, dotnet 3.5, dotnet 4.7.2, dotnet 4.8, dotnet 6, dotnet 7, dotnet 8, dotnetcore 2 and 3, dotnetcoredesktop 3, dotnetdesktop 6, 7, 8, gdiplus, mfc140, ucrtbase2019, vcrun2022, using winetricks, and run the setup program, the visual studio installer will run and will show options to install stuff but it will fail saying something similar to instalation has failed and it will be rather glitchy,
the installer can seem to be stuck until you run the mouse over the loading animation if i don't misremember. it also seems there is a race condition because when run with winedebug=+all the installer will not be as glitchy.
When using this workaround if you try to close the installer and open it again it will take a long time to show things available to install -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #8 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #5)
(In reply to F H from comment #3)
if i install dxvk, vkd3d, dotnet 3.5, dotnet 4.7.2, dotnet 4.8, dotnet 6, dotnet 7, dotnet 8, dotnetcore 2 and 3, dotnetcoredesktop 3, dotnetdesktop 6, 7, 8, gdiplus, mfc140, ucrtbase2019, vcrun2022, using winetricks, and run the setup program, the visual studio installer will run and will show options to install stuff but it will fail saying something similar to instalation has failed and it will be rather glitchy,
the installer can seem to be stuck until you run the mouse over the loading animation if i don't misremember. it also seems there is a race condition because when run with winedebug=+all the installer will not be as glitchy.
I doubt all of those things are necessary but I couldn't test it
Only dotnet 4.7.2 seems to be necessary but I couldn't test it -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #9 from F H <francisco278herrera(a)gmail.com> --- Created attachment 77624 --> https://bugs.winehq.org/attachment.cgi?id=77624 setup program not finishing in a clean wineprefix seems i cannot get the setup program to finish in a clean wineprefix anymore so it never tries to download stuff anymore it just closes itself after extracting files, it now only works if dotnet 4.7.2 is installed, please disregard the nothing under available issue in a clean wineprefix and it turns out dotnet 4.7.2 is all that is needed to run the setup program and the installer, with only dotnet 4.7.2 enough glitches go away to see the error message saying the install operation failed, and with it installed i can pick stuff to download and i can see that it tries to download stuff before saying the install operation failed -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #10 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #0)
The installer for visual studio 2022 will open but it will not connect to the internet as it will say that nothing is available to install and there's nothing under developer news either.
sorry i meant no workloads are available to install i think the setup program was able to download the installer in a clean wineprefix -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #11 from F H <francisco278herrera(a)gmail.com> --- setup terminates with AppPolicyGetProcessTerminationMethod -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #12 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #9)
Created attachment 77624 [details] setup program not finishing in a clean wineprefix
seems i cannot get the setup program to finish in a clean wineprefix anymore so it never tries to download stuff anymore it just closes itself after extracting files, it now only works if dotnet 4.7.2 is installed, please disregard the nothing under available issue in a clean wineprefix
and it turns out dotnet 4.7.2 is all that is needed to run the setup program and the installer,
with only dotnet 4.7.2 enough glitches go away to see the error message saying the install operation failed,
and with it installed i can pick stuff to download and i can see that it tries to download stuff before saying the install operation failed
when this happens visual studio creates a log file at ~/.wine/drive_c/users/asdf/AppData/Local/Temp/ with the prefix "dd_installer_elevated" and combining it with the file with the prefix "dd_installer_" it seems to fail because of "Could not find Windows Runtime type 'Windows.Networking.Connectivity.NetworkCostType'." -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #13 from F H <francisco278herrera(a)gmail.com> --- Created attachment 77756 --> https://bugs.winehq.org/attachment.cgi?id=77756 dd_installer_elevated_20250104090925.log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #14 from F H <francisco278herrera(a)gmail.com> --- Created attachment 77757 --> https://bugs.winehq.org/attachment.cgi?id=77757 dd_installer_20250104090745.log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #15 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #14)
Created attachment 77757 [details] dd_installer_20250104090745.log
on this file a few seconds later a message saying "the install operation failed" appears. the delay is due to me running the visual studio installer with WINEDEBUGsetup:+relay,seh and saving the output to a file (In reply to F H from comment #12)
(In reply to F H from comment #9)
Created attachment 77624 [details] setup program not finishing in a clean wineprefix
seems i cannot get the setup program to finish in a clean wineprefix anymore so it never tries to download stuff anymore it just closes itself after extracting files, it now only works if dotnet 4.7.2 is installed, please disregard the nothing under available issue in a clean wineprefix
and it turns out dotnet 4.7.2 is all that is needed to run the setup program and the installer,
with only dotnet 4.7.2 enough glitches go away to see the error message saying the install operation failed,
and with it installed i can pick stuff to download and i can see that it tries to download stuff before saying the install operation failed
when this happens visual studio creates a log file at ~/.wine/drive_c/users/asdf/AppData/Local/Temp/ with the prefix "dd_installer_elevated" and combining it with the file with the prefix "dd_installer_" it seems to fail because of "Could not find Windows Runtime type 'Windows.Networking.Connectivity.NetworkCostType'."
both files are found at the same location, when they appeared i ran setup.exe of the visual studio installer found at ~/.wine/drive_c/Program Files (x86)/Microsoft Visual Studio/Installer/setup.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #16 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #15)
(In reply to F H from comment #14)
Created attachment 77757 [details] dd_installer_20250104090745.log
on this file a few seconds later a message saying "the install operation failed" appears. the delay is due to me running the visual studio installer with WINEDEBUGsetup:+relay,seh and saving the output to a file
(In reply to F H from comment #12)
(In reply to F H from comment #9)
Created attachment 77624 [details] setup program not finishing in a clean wineprefix
seems i cannot get the setup program to finish in a clean wineprefix anymore so it never tries to download stuff anymore it just closes itself after extracting files, it now only works if dotnet 4.7.2 is installed, please disregard the nothing under available issue in a clean wineprefix
and it turns out dotnet 4.7.2 is all that is needed to run the setup program and the installer,
with only dotnet 4.7.2 enough glitches go away to see the error message saying the install operation failed,
and with it installed i can pick stuff to download and i can see that it tries to download stuff before saying the install operation failed
when this happens visual studio creates a log file at ~/.wine/drive_c/users/asdf/AppData/Local/Temp/ with the prefix "dd_installer_elevated" and combining it with the file with the prefix "dd_installer_" it seems to fail because of "Could not find Windows Runtime type 'Windows.Networking.Connectivity.NetworkCostType'."
both files are found at the same location, when they appeared i ran setup.exe of the visual studio installer found at ~/.wine/drive_c/Program Files (x86)/Microsoft Visual Studio/Installer/setup.exe
i meant WINEDEBUG=setup.exe:+relay,+seh and i used 2>&1 | tee vspowershell.txt to save the output -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #17 from F H <francisco278herrera(a)gmail.com> --- The logs from the visual studio installer itself were created with the visual studio installer running with dotnet 4.7.2, PowerShell core and PowerShell wrapper installed using winetricks -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #18 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #12)
(In reply to F H from comment #9)
Created attachment 77624 [details] setup program not finishing in a clean wineprefix
seems i cannot get the setup program to finish in a clean wineprefix anymore so it never tries to download stuff anymore it just closes itself after extracting files, it now only works if dotnet 4.7.2 is installed, please disregard the nothing under available issue in a clean wineprefix
and it turns out dotnet 4.7.2 is all that is needed to run the setup program and the installer,
with only dotnet 4.7.2 enough glitches go away to see the error message saying the install operation failed,
and with it installed i can pick stuff to download and i can see that it tries to download stuff before saying the install operation failed
when this happens visual studio creates a log file at ~/.wine/drive_c/users/asdf/AppData/Local/Temp/ with the prefix "dd_installer_elevated" and combining it with the file with the prefix "dd_installer_" it seems to fail because of "Could not find Windows Runtime type 'Windows.Networking.Connectivity.NetworkCostType'."
Both files are created by the visual studio installer -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 F H <francisco278herrera(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Visual studio 2022 |Visual studio 2022 |installer can't connect to |installer can't download |the internet |anything -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57542 --- Comment #19 from F H <francisco278herrera(a)gmail.com> --- This bug was particularly hard to track down until I saw logs from the visual studio installer itself since it doesn't just use the win32 API, it uses the windows runtime too -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57542 reelix(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reelix(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla