Skip to content
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

[Bug]: PowerShell Core Incompatibility #379 [Feature Request]: Winget… #385

Closed
wants to merge 2 commits into from

Conversation

KnifMelti
Copy link
Contributor

@KnifMelti KnifMelti commented Aug 27, 2023

Update to Winget v1.5.2201

Proposed Changes

Fixes WSB and Powershell Core compatibility

Related Issues

#379 #381 #384

… update #380 VC_redist vs VCLibs VC_redist vs VCLibs #381 [Bug]: Windows Sandbox incompatibility #384
@KnifMelti KnifMelti temporarily deployed to megalinter August 27, 2023 03:46 — with GitHub Actions Inactive
@KnifMelti KnifMelti temporarily deployed to megalinter August 27, 2023 11:06 — with GitHub Actions Inactive
@KnifMelti
Copy link
Contributor Author

...or, is this a better option (from Winget-Install-GUI.ps1):

# import Appx module if the powershell version is 7/core
if ( $psversionTable.PSEdition -eq "core" ) {
    import-Module -name Appx -UseWIndowsPowershell -WarningAction:SilentlyContinue
}

@KnifMelti
Copy link
Contributor Author

Add-AppxPackage "$PSScriptRoot\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" fails under SYSTEM!

Deployment Add operation rejected on package Microsoft.DesktopAppInstaller_2023.808.2243.0_neutral_~_8wekyb3d8bbwe from
: Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle install request because the Local System account is not allowe
d to perform this operation.

@KnifMelti
Copy link
Contributor Author

Closing...

@KnifMelti KnifMelti closed this Sep 2, 2023
@gabriel-vanca
Copy link

Just to check: is this now compatible with Powershell Core? I just tried it and seems to work, but the main repo page still says it doesn't.

@Romanitho
Copy link
Owner

Should be. If this is the case, readme will be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants