Closed yihuajack closed 3 weeks ago
I'm 90% certain this has been raised before - let me try find the issue
dupe of #17490
Currently as per [this comment] (https://github.com/PowerShell/PowerShell/issues/17490#issuecomment-1149114712) this seems this is by design not possible
Personally, whilst not ideal, if you want a custom install location and to update regularly then Id make use of methods using the Install-PowerShell script & a scheduled task like I've blogged about in this Installing PowerShell Side by Side for testing purposes particularly as it there is a delay between a release and it being available via Microsoft Update & other places like WinGet etc
This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.
📣 Hey @yihuajack, how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback
Prerequisites
Steps to reproduce
Expected behavior
Actual behavior
Environment data
OS Data
Windows update log
Visuals
No response