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

Winget cannot be accessed in MicroWin installation #3077

Closed
runitmisra opened this issue Nov 28, 2024 · 2 comments
Closed

Winget cannot be accessed in MicroWin installation #3077

runitmisra opened this issue Nov 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@runitmisra
Copy link

runitmisra commented Nov 28, 2024

Describe the bug

Winget cannot be accessed in MicroWin installation. Getting the following error:

====Chris Titus Tech=====
=====Windows Toolbox=====
@{winget=Discord.Discord; choco=discord}
Queueing Discord.Discord for Winget install
WARNING: Winget was not found due to un-availablity reasons
Deployment operation progress: https://cdn.winget.microsoft.com/cache/source.msix
Processing
[oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]
Downloading Winget Prerequsites

Downloading Microsoft.VCLibs Dependency...
Downloading Microsoft.UI.Xaml Dependency...

Downloading Winget and License File
Latest Version: v1.9.25200

Downloading...
Installing Winget w/ Prerequsites
Manually adding Winget Sources, from Winget CDN.
Winget Installed
Enabling NuGet and Module...
===========================================
--    Configuring winget packages       ---
===========================================
===========================================
Error: This command cannot be run due to the error: The file cannot be accessed by the system.
===========================================

An error has occurred that was not properly handled. Additional information is shown below. The Windows PowerShell process will exit.

Unhandled Exception: System.Management.Automation.PipelineStoppedException: The pipeline has been stopped.
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeAsDelegateHelper(Object dollarUnder, Object dollarThis, Object[] args)
   at lambda_method(Closure , IntPtr , Int32 , IntPtr , IntPtr , Boolean& )
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

[process exited with code 3221226525 (0xc000041d)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

To Reproduce

  • Create MicroWin ISO from winutil (Windows 11 Pro)
  • Use winutil to install anything

Expected behavior

Package should be installed

Screenshots

Will provide if required

Additional context

N/A

@runitmisra runitmisra added the bug Something isn't working label Nov 28, 2024
@CodingWonders
Copy link
Contributor

@runitmisra, it's a known problem with WinGet right now. Even some people with regular Windows 10 installations are experiencing this problem:

microsoft/winget-cli#5005

It is recommended that you wait for either a cumulative OS update, or an update to the App Installer

@runitmisra
Copy link
Author

It worked after I updated the Powershell version. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants