PowerShell / PowerShell

PowerShell for every system!
https://microsoft.com/PowerShell
MIT License
43.55k stars 7.06k forks source link

The silent installation option does not take effect #21524

Closed ichat001 closed 5 days ago

ichat001 commented 3 weeks ago

Prerequisites

Steps to reproduce

I use the following command line to install the latest version, but the option still gets added to the context menu. ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=0 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=0

msiexec.exe /package PowerShell-7.4.2-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=0 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=0 ENABLE_PSREMOTING=0 REGISTER_MANIFEST=1 USE_MU=0 ENABLE_MU=0 ADD_PATH=1

Expected behavior

no

Actual behavior

no

Error details

no

Environment data

7.4.2

Visuals

No response

krzydoug commented 3 weeks ago

If I only read the expected and actual behavior sections, it appears it's working as you desire.

StevenBucher98 commented 1 week ago

@krzydoug can you please add more details expected and actual behavior sections? It is unclear which ones are not getting set and if you are expecting a silent install or if the settings are not getting set via CLI command you provide

microsoft-github-policy-service[bot] commented 5 days ago

This issue has been marked as "Waiting on Author" and has not had any activity for 7 day. It has been closed for housekeeping purposes.

microsoft-github-policy-service[bot] commented 5 days ago

📣 Hey @ichat001, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Microsoft Forms