winutil
winutil copied to clipboard
Winget problem
I launched iwr -useb https://christitus.com/win | iex
The utility opened to the install software page
I selected Notepad++ and clicked Start Install
I saw it check for winget and it said winget is already installed
then it continued to "install Notepad++" and reported Installed Programs Notepad++.Notepad++
I clicked OK. The script seems frozen just after --- Installs are Finished ---
Notepad++ is not installed on my computer
Nor can powershell or DOS recognize winget as anything usable
The script is seemingly still running with just a blinking cursor for the last 15 minutes or so.

@ChrisTitusTech I feel like Winget has a lot of weird quirks, should we migrate over to Chocolatey?
Try to update Microsoft Desktop App Installer to the latest version in Microsoft Store. After update to the latest version, run powershell as admin and type winget and them accept the terms, and try again
I'm just going to switch from the microsoft store and push to using nuget with all the fixings. This will prevent winget from not working.
The nuget version will install in the windows 10 sandbox too. After installing VCLibs 14 and Microsoft.UI.Xaml.2.7.
In a fresh sandbox Add-AppxProvisionedPackage doesn't work though but Add-AppxPackage is fine.
Hi,
I had the same issue. To solve it, I've added the missing environnement variable : %userprofile%\AppData\Local\Microsoft\WindowsApps
You could try that. Regards
@ChrisTitusTech I feel like Winget has a lot of weird quirks, should we migrate over to Chocolatey?
Yes, I think between choco and scoop it should cover most things. winget is becoming more and more problematic.
I found a powershell script for silent winget installation can you check it @ChrisTitusTech
https://gist.github.com/jedieaston/0e64dd0ea27ba34d72e38538fee46c20
I'm going to streamline this and remove the ms-appinstaller portion and directly install the appx without ms store needing to be present.
implemented in commit b229e08e37d25f12265fc584c52132c981227e05
Thank you
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Chris Titus @.> Sent: Monday, March 6, 2023 2:52:12 PM To: ChrisTitusTech/winutil @.> Cc: Jim Chappelear @.>; Author @.> Subject: Re: [ChrisTitusTech/winutil] Winget problem (Issue #319)
Closed #319https://github.com/ChrisTitusTech/winutil/issues/319 as completed.
— Reply to this email directly, view it on GitHubhttps://github.com/ChrisTitusTech/winutil/issues/319#event-8678702024, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACVPZJE7SO7MQ7HTZHTOVXDW2ZE7ZANCNFSM6AAAAAARMFJV7U. You are receiving this because you authored the thread.Message ID: @.***>