Skip to content

MSI installer shows incorrect default INSTALLDIR (causes double \7\7 path) #27794

Description

Prerequisites

Steps to reproduce

Summary

The MSI installer displays "C:\Program Files\PowerShell\7" as the default INSTALLDIR, but the MSI itself appends "\7" automatically. This causes the actual install path to become: C:\Program Files\PowerShell\7\7 (incorrect)

Steps to Reproduce

  1. Download PowerShell-7.x.x-win-x64.msi 2. Run the installer GUI 3. Check the displayed default install path → shows \7 already 4. Click Next without changing the path 5. Result: installed to C:\Program Files\PowerShell\7\7

Expected Behavior

Default display should be "C:\Program Files\PowerShell" so that after MSI appends \7, the result is correct: C:\Program Files\PowerShell\7

Actual Behavior

Installed to: C:\Program Files\PowerShell\7\7

Error details

Environment data

Environment - PowerShell version: 7.6.4 - OS: Windows 11 - Installer: PowerShell-7.6.4-win-x64.msi

インストーラーが表示するデフォルト値: C:\Program Files\PowerShell\としてほしい ← そのまま使っても… MSI が \7 を追記して: C:\Program Files\PowerShell\7 まとも✅ 正常!
インストーラーが表示するデフォルトがおかしい

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageThe issue is new and needs to be triaged by a work group.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions