winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Winget problem

Open Throgm opened this issue 3 years ago • 4 comments

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. Screenshot 2022-10-23 000317

Throgm avatar Oct 23 '22 07:10 Throgm

@ChrisTitusTech I feel like Winget has a lot of weird quirks, should we migrate over to Chocolatey?

DeveloperDurp avatar Oct 23 '22 12:10 DeveloperDurp

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

dennyamarojr avatar Oct 23 '22 13:10 dennyamarojr

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.

ChrisTitusTech avatar Oct 23 '22 15:10 ChrisTitusTech

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.

Hahubel1 avatar Oct 23 '22 18:10 Hahubel1

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

Nico038 avatar Nov 30 '22 09:11 Nico038

@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.

ChrisTitusTech avatar Nov 30 '22 20:11 ChrisTitusTech

I found a powershell script for silent winget installation can you check it @ChrisTitusTech

https://gist.github.com/jedieaston/0e64dd0ea27ba34d72e38538fee46c20

GokhanTurk avatar Dec 10 '22 12:12 GokhanTurk

I'm going to streamline this and remove the ms-appinstaller portion and directly install the appx without ms store needing to be present.

ChrisTitusTech avatar Mar 06 '23 18:03 ChrisTitusTech

implemented in commit b229e08e37d25f12265fc584c52132c981227e05

ChrisTitusTech avatar Mar 06 '23 20:03 ChrisTitusTech

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: @.***>

Throgm avatar Mar 07 '23 02:03 Throgm