
PowerShell 7 Preview 5 installs.
Get Error Message from MSIX installer before Installation starts.
Output of
Get-ComputerInfo
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!
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-AppXPackageis 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 useAdd-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.