Powershell: PS 7 Preview 5 Windows MSIX x64 Install does not work

Created on 16 Nov 2019  路  3Comments  路  Source: PowerShell/PowerShell

Steps to reproduce

  1. Download PowerShell 7 Preview 5 MSIX Package for Windows x64
  2. Execute it from Downloads Folder
  3. Press "Install"
  4. Get an error message 馃槓
    image

Expected behavior

PowerShell 7 Preview 5 installs.

Actual behavior

Get Error Message from MSIX installer before Installation starts.

Environment data

Output of

Get-ComputerInfo

env.txt

Area-Maintainers-Build Issue-Question Resolution-Answered

Most helpful comment

@vexx32 talking to the AppX team, it seems that because our pkg requires unvirtualized resources (because it's a shell!), it won't allow installing by simply double clicking on the pkg. Using Add-AppXPackage is required to install the msix pkg. The msix is planned to be available in the MS App Store by Preview.6. However, for anyone doing offline installs of the msix, they will still need to use Add-AppXPackage.

I'll submit a PR to update https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-6 with instructions for installing the MSIX.

Information about installing PowerShell Core on Windows

All 3 comments

Currently the MSIX can only be installed via Add-AppXPackage -Path $msixPath - note that you must also have Developer Mode enabled in the Windows settings for it to allow the install. I don't recall that the exact issue with the MSIX was, but I think @SteveL-MSFT and team managed to sort it out for the next release, if I'm not mistaken? 馃

@vexx32 talking to the AppX team, it seems that because our pkg requires unvirtualized resources (because it's a shell!), it won't allow installing by simply double clicking on the pkg. Using Add-AppXPackage is required to install the msix pkg. The msix is planned to be available in the MS App Store by Preview.6. However, for anyone doing offline installs of the msix, they will still need to use Add-AppXPackage.

I'll submit a PR to update https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-6 with instructions for installing the MSIX.

Information about installing PowerShell Core on Windows

@vexx32 @SteveL-MSFT Thanks guys for clarifying, awesome!

Was this page helpful?
0 / 5 - 0 ratings