-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
24h2 oct 2024 - WinUtil Installation process not working - similar to "winget #2986" #3013
Comments
i tried to use WinGet dirrectly and it works, i tried to install PowerToys manually with ' it seems to be working... |
I have a similar problem, when trying to install anything after fresh windows installation it says "system does not have access to the file" |
@zmileski in my case the install option doesn't work.... But winget commands outside the utility work.. What can I do? I tried by updating Winget, App installer and windows in general. It doesn't work... Is there any info I can give you four troubleshooting? |
Try install with prefer choco |
Same behavior, doesn't event try to reinstall choco. I deleted two folders in program data but the terminal output at install process is the same. What is surprising is that doesn't detect that the choco folders are missing.... Either way, they didn't appeared after I deleted them and executed the utillity. |
That's strange, can't replicate the issue |
steps:
`
|
Did you press "Get Installed" button ? If you want to install use "Install/Upgrade Selected" button For more info check User Guide documentaiton here https://christitustech.github.io/winutil/userguide/#__tabbed_1_1 |
Its working, I was erroneously using the "get installed" option. I remembered badly how to use the utility apparently. thank you for your assistance and sorry for your time... |
@ChrisTitusTech what can I do or how can I overcome both the choco install a choco reinstall commands failing under win11 24H2? Regardless of whether I use it inside your tools or from the ps cmd line? I get this:
I opened an issue here #3193 but not sure it is 'your' problem or issue? Seems to me it is a chocolatey issue, right? I also created an issue on their repo here |
Hi, i tried to install programs with the utility as usual with a new windows 24h2 installation and it does a similar thing as it did with 23h2. it just doesn't install programs, and it does set configs properly.
to recreate:
(clean win 11 24h2 install)
Terminal output.
`
====Chris Titus Tech=====
=====Windows Toolbox=====
Getting Installed Programs...
Getting Installed Tweaks...
Done...
Getting Installed Programs...
Getting Installed Tweaks...
Done...
Checking if Chocolatey is Installed...
--- Chocolatey is not installed ---
Seems Chocolatey is not installed, installing now.
Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.
Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0.
Downloading https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0 to C:\Users\jcpis\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip
Not using proxy.
Extracting C:\Users\jcpis\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip to C:\Users\jcpis\AppData\Local\Temp\chocolatey\chocoInstall
Installing Chocolatey on the local machine
WARNING: It's very likely you will need to close and reopen your shell
before you can use choco.
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
WARNING: Not setting tab completion: Profile file does not exist at
'C:\Users\jcpis\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
Ensuring Chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder
Chocolatey v2.3.0
Installing the following packages:
winget
By installing, you accept licenses for the packages.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading microsoft-ui-xaml-2-7 2.7.3... 100%
microsoft-ui-xaml-2-7 v2.7.3 (forced) [Approved]
microsoft-ui-xaml-2-7 package files install completed. Performing other installation steps.
ERROR: The type initializer for '' threw an exception.
The install of microsoft-ui-xaml-2-7 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-ui-xaml-2-7\tools\chocolateyInstall.ps1'.
See log for details.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading microsoft-vclibs-140-00 14.0.33321... 100%
microsoft-vclibs-140-00 v14.0.33321 (forced)
microsoft-vclibs-140-00 package files install completed. Performing other installation steps.
ERROR: The type initializer for '' threw an exception.
The install of microsoft-vclibs-140-00 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1'.
See log for details.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading winget-cli 1.9.25180... 100%
winget-cli v1.9.25180 (forced) [Approved]
winget-cli package files install completed. Performing other installation steps.
WARNING: The installed version of the app package, 2024.1025.2351.0, is the same vesion that this Chocolatey package installs, 2024.1025.2351.0.
WARNING: The '--force' option has been used so we will attempt to install the app package version 2024.1025.2351.0.
Downloading winget-cli
from 'https://github.com/microsoft/winget-cli/releases/download/v1.9.25180/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'
Progress: 100% - Completed download of C:\ProgramData\chocolatey\lib\winget-cli\tools\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle (225.88 MB).
Download of Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle (225.88 MB) completed.
Hashes match.
C:\ProgramData\chocolatey\lib\winget-cli\tools\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Downloading winget-cli
from 'https://github.com/microsoft/winget-cli/releases/download/v1.9.25180/0a769c4da0ae4747ba4ab2f173709ced_License1.xml'
Progress: 100% - Completed download of C:\ProgramData\chocolatey\lib\winget-cli\tools\License.xml (2.63 KB).
Download of License.xml (2.63 KB) completed.
Hashes match.
C:\ProgramData\chocolatey\lib\winget-cli\tools\License.xml
WARNING: Note that the Microsoft may collect data when the WinGet-CLI software is installed.
WARNING: Please see https://github.com/microsoft/winget-cli#datatelemetry for more information on how to opt-out.
The install of winget-cli was successful.
Software install location not explicitly set, it could be in package or
default install location of installer.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading winget 1.9.25180... 100%
winget v1.9.25180 (forced) [Approved]
winget package files install completed. Performing other installation steps.
The install of winget was successful.
Deployed to 'C:\ProgramData\chocolatey\lib\winget'
Chocolatey installed 2/4 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
See log for details.
See log for details.
Getting Installed Programs...
Getting Installed Tweaks...
Done...
===========================================
--- Winget is installed ---
===========================================
Version: v1.9.25180
Getting Installed Programs...
Done...
Checking if Chocolatey is Installed...
===========================================
--- Chocolatey is installed ---
===========================================
Version: v2.3.0
Chocolatey v2.3.0
Installing the following packages:
winget
By installing, you accept licenses for the packages.
winget v1.9.25180 already installed. Forcing reinstall of version '1.9.25180'.
Please use upgrade if you meant to upgrade to a new version.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading microsoft-ui-xaml-2-7 2.7.3... 100%
microsoft-ui-xaml-2-7 v2.7.3 (forced) [Approved]
microsoft-ui-xaml-2-7 package files install completed. Performing other installation steps.
ERROR: The type initializer for '' threw an exception.
The install of microsoft-ui-xaml-2-7 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-ui-xaml-2-7\tools\chocolateyInstall.ps1'.
See log for details.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading microsoft-vclibs-140-00 14.0.33321... 100%
microsoft-vclibs-140-00 v14.0.33321 (forced)
microsoft-vclibs-140-00 package files install completed. Performing other installation steps.
ERROR: The type initializer for '' threw an exception.
The install of microsoft-vclibs-140-00 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1'.
See log for details.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading winget 1.9.25180... 100%
winget v1.9.25180 (forced) [Approved]
winget package files install completed. Performing other installation steps.
The install of winget was successful.
Deployed to 'C:\ProgramData\chocolatey\lib\winget'
Chocolatey installed 1/3 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
See log for details.
See log for details.
`
The text was updated successfully, but these errors were encountered: