https://bugs.winehq.org/show_bug.cgi?id=51099
Bug ID: 51099 Summary: Visual Studio Installer refuses to run with unelevated token in quiet mode Product: Wine-staging Version: 6.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: w@zeroitlab.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
This patchset: https://github.com/wine-staging/wine-staging/commit/811467bf6a4c43de2485b37a... breaks the second stage of Visual Studio Installer (needed for products: Visual Studio 2015, Visual Studio 2017, Visual Studio 2019, Visual Studio Build Tools 2015, Visual Studio Build Tools 2017, Visual Studio Build Tools 2019)
Reproduction:
Skip first stage installer blocked by another bug:
wget https://aka.ms/vs/16/release/installer -O installer.zip unzip installer.zip mkdir "~/.wine/drive_c/Program Files (x86)/Microsoft Visual Studio" mv Contents "~/.wine/drive_c/Program Files (x86)/Microsoft Visual Studio/Installer"
Try invoking installer:
wine "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" /finalizeInstall install --locale en-US --productId Microsoft.VisualStudio.Product.BuildTools --channelId VisualStudio.16.Release --channelUri "https://aka.ms/vs/16/release/channel" --quiet --norestart --nocache --installPath C:\BuildTools --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended
After it fails check log at `C:\Users\user\Temp`, latest one starting with dd_installer:
[0108:0001][2021-05-05T14:22:56] Commands with --quiet or --passive should be run elevated from the beginning.
https://bugs.winehq.org/show_bug.cgi?id=51099
w@zeroitlab.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |811467bf6a4c43de2485b37a74b | |afb70d072617e
https://bugs.winehq.org/show_bug.cgi?id=51099
--- Comment #1 from w@zeroitlab.com --- Created attachment 70016 --> https://bugs.winehq.org/attachment.cgi?id=70016 Wine elevating helper program
https://bugs.winehq.org/show_bug.cgi?id=51099
--- Comment #2 from w@zeroitlab.com --- When ran with the previous program visual studio installer gets past the elevation check and gets stuck on some other unrelated problem.
https://bugs.winehq.org/show_bug.cgi?id=51099
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- May be fixed by wine-staging commit be3928a8091e36197bc9894c4a09f13cf5459138; please retest.
https://bugs.winehq.org/show_bug.cgi?id=51099
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=51099
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Any news on this?