Skip to content

Windows MSI installer does not remember the previous installation settings #17222

@reduckted

Description

@reduckted

Prerequisites

Steps to reproduce

  1. 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.
  2. Now download the MSI for v7.2.3 and run it.
  3. When you reach the page for the installation directory, it shows the default directory in C:\Program Files.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-DuplicateThe issue is a duplicate.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions