Prerequisites
Steps to reproduce
- Download the MSI for v7.2.2 and run it.
a. Use a custom directory (in my case I choose D:\PowerShell)
b. Untick the options to update automatically through Windows Update or WSUS.
- Now download the MSI for v7.2.3 and run it.
- When you reach the page for the installation directory, it shows the default directory in
C:\Program Files.
- When you reach the page for automatic updates, both options are ticked.
Expected behavior
The installer for a new version should respect the options that were selected for the previous verison.
Actual behavior
The installer for a new version uses the default options.
Error details
No response
Environment data
Name Value
---- -----
PSVersion 7.2.3
PSEdition Core
GitCommitId 7.2.3
OS Microsoft Windows 10.0.19042
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Related Issues
This could be related to #17211, which is about the original installation directory not being respected when PowerShell is automatically updated through Windows Update.
Prerequisites
Steps to reproduce
a. Use a custom directory (in my case I choose
D:\PowerShell)b. Untick the options to update automatically through Windows Update or WSUS.
C:\Program Files.Expected behavior
The installer for a new version should respect the options that were selected for the previous verison.
Actual behavior
The installer for a new version uses the default options.
Error details
No response
Environment data
Visuals
No response
Related Issues
This could be related to #17211, which is about the original installation directory not being respected when PowerShell is automatically updated through Windows Update.