Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
asheroto committed Nov 6, 2023
1 parent 485441f commit 14cda9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ winget-install

- Before releasing a new version, the script is tested on a clean install of Windows 10 22H2, Server 2022 21H2, and Windows 11 22H2
- If you run into an issue, please ensure your system is compatible & fully updated
- Note that PowerShell 7 `pwsh.exe` doesn't work well with the `Appx` commands on *some* systems, so if you see a warning about `Appx`, so try using the plain built-in Powershell `powershell.exe` instead

This comment has been minimized.

Copy link
@uffemcev

uffemcev Nov 6, 2023

Contributor

Maybe Import-Module Appx -UseWindowsPowerShell can help in PowerShell 7+.

This comment has been minimized.

Copy link
@asheroto

asheroto Nov 6, 2023

Author Owner

Maybe Import-Module Appx -UseWindowsPowerShell can help in PowerShell 7+.

Excellent, thank you. I'm adding this so I can suppress the output... (tried Out-Null but no luck)

Import-Module Appx -UseWindowsPowerShell *>$null;
- Try running `winget-install` again, sometimes the script will fail due to a temporary issue with the prerequisite server URLs
- Try using the `-DebugMode` and `-DisableCleanup` parameters to see if it provides any additional information
- If you're getting a `resource in use` error message, run the script again with the `-ForceClose` parameter
Expand Down

0 comments on commit 14cda9a

Please sign in to comment.