Skip to content

Support PowerShell installed from MSIX package #2147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
maximpashuk opened this issue Aug 22, 2019 · 4 comments
Closed

Support PowerShell installed from MSIX package #2147

maximpashuk opened this issue Aug 22, 2019 · 4 comments
Labels
Area-Startup Issue-Enhancement A feature request (enhancement).

Comments

@maximpashuk
Copy link

maximpashuk commented Aug 22, 2019

Hi

Latest PowerShell 7.0.0-preview.3 has added support for MSIX package in addition to classic .msi package.

VSCode powershell extensions can't automatically pick up PowerShell installed from MSI package.
Workaround from issue #2110 works fine, I can use following pattern in VSCode:

"powershell.powerShellAdditionalExePaths": [
    {
        "exePath": "C:/Program Files/WindowsApps/Microsoft.PowerShell_7.0.0.3_neutral__8wekyb3d8bbwe/pwsh.exe",
        "versionName": "Powershell Core"
    }
]

And its working fine for me, but this will be fine to have built-in support in vscode-powershell

@ghost ghost added the Needs: Triage Maintainer attention needed! label Aug 22, 2019
@TylerLeonhardt
Copy link
Member

Yep! We should add this.

cc @SteveL-MSFT

@SydneyhSmith SydneyhSmith added Area-Engine Area-Startup Issue-Enhancement A feature request (enhancement). and removed Needs: Triage Maintainer attention needed! Area-Engine labels Aug 22, 2019
@rjmholt
Copy link
Contributor

rjmholt commented Mar 10, 2020

@maximpashuk is this now solved for you?

@maximpashuk
Copy link
Author

@rjmholt Not tested yet. Will wait while powershell team provide msix package for powershell 7 (see MicrosoftDocs/PowerShell-Docs#5519)

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Mar 16, 2020
@TylerLeonhardt TylerLeonhardt removed the Needs: Maintainer Attention Maintainer attention needed! label Mar 16, 2020
@TylerLeonhardt
Copy link
Member

The added logic is in so we can close this for now. Once you get around to testing it and if it doesn't work, we can reopen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Startup Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

4 participants