Skip to content
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

Error -87: "--norestart requires either --quiet or --passive to also be specified" installing vsbuildtoolsvs2022 #156

Open
benh57 opened this issue Jan 14, 2025 · 1 comment

Comments

@benh57
Copy link

benh57 commented Jan 14, 2025

With latest code, installing vsbuildtoolsvs2022 gives:

`[92f0:0001][2025-01-13T14:44:45] Visual Studio Installer Version: 3.12.2149
[92f0:0001][2025-01-13T14:44:45] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" --in "C:\ProgramData\Microsoft\VisualStudio\Packages_bootstrapper\vs_setup_bootstrapper_202501131444439577.json" update --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" --norestart --locale en-US --activityId "af7fda26-2639-4b1d-9ff6-ebd02e371240"
[92f0:0001][2025-01-13T14:44:45] Warning: Closing the installer with exit code 87
[92f0:000d][2025-01-13T14:44:45] Warning: Command line errors:
--norestart requires either --quiet or --passive to also be specified.

@jberezanski
Copy link
Owner

The package scripts are implemented in such a way that one of --quiet or --passive should always be passed to the VS Installer, so this is curious.

Could you please run choco.exe with --verbose --debug and share the full output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants