chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.66k stars 254 forks source link

Win 10 64bit error when updating Chocolatey GUI ERROR: Running "C:\WINDOWS\System32\msiexec.exe" /i #918

Closed Sigizmund2012 closed 4 months ago

Sigizmund2012 commented 2 years ago

What You Are Seeing?

Chocolatey GUI updated for half an hour, then gave an error: ERROR: Running ["C:\WINDOWS\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /qn /norestart /l*v "C:\Users\User\AppData\Local\Temp\chocolatey\ChocolateyGUI.0.20.0.log" ] was not successful. Exit code was '1601'. See log for possible error messages. The upgrade of chocolateygui was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'. See log for details.

What is Expected?

Update the Chocolatey GUI

How Did You Get This To Happen? (Steps to Reproduce)

I entered the Powershell batch upgrade command "choco upgrade all" and got an error.

System Details

OS Build 10.0.18362.0 PowerShell Name Value


PSVersion 5.1.18362.1171 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.18362.1171 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 Chocolatey version 0.12.1

Output Log

Log Content

~~~sh 2022-02-11 09:58:50,533 17944 [INFO ] - python2 v2.7.18 is the latest version available based on your source(s). 2022-02-11 09:58:50,549 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:50,549 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:50,550 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:50,582 17944 [DEBUG] - Package 'python3' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:50,583 17944 [INFO ] - python3 v3.10.2 is the latest version available based on your source(s). 2022-02-11 09:58:50,599 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:50,600 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:50,600 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:50,675 17944 [DEBUG] - Package 'scrcpy' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:50,675 17944 [INFO ] - scrcpy v1.22 is the latest version available based on your source(s). 2022-02-11 09:58:50,691 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:50,692 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:50,692 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:50,733 17944 [DEBUG] - Package 'sourcecodepro' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:50,734 17944 [INFO ] - SourceCodePro v2.030.0 is the latest version available based on your source(s). 2022-02-11 09:58:50,754 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:50,754 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:50,755 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,501 17944 [DEBUG] - Package 'sqlite' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,501 17944 [INFO ] - SQLite v3.37.2 is the latest version available based on your source(s). 2022-02-11 09:58:51,516 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,516 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,517 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,556 17944 [DEBUG] - Package 'sqlite-studio.portable' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,557 17944 [INFO ] - sqlite-studio.portable v3.3.3 is the latest version available based on your source(s). 2022-02-11 09:58:51,571 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,571 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,572 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,610 17944 [DEBUG] - Package 'sqlitestudio' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,610 17944 [INFO ] - sqlitestudio v3.3.3 is the latest version available based on your source(s). 2022-02-11 09:58:51,625 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,625 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,626 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,656 17944 [DEBUG] - Package 'toolsroot' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,656 17944 [INFO ] - toolsroot v0.1.0 is the latest version available based on your source(s). 2022-02-11 09:58:51,672 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,673 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,673 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,853 17944 [DEBUG] - Package 'vagrant' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,854 17944 [INFO ] - vagrant v2.2.19 is the latest version available based on your source(s). 2022-02-11 09:58:51,868 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,868 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,869 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,909 17944 [DEBUG] - Package 'vcredist140' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,910 17944 [INFO ] - vcredist140 v14.30.30708 is the latest version available based on your source(s). 2022-02-11 09:58:51,924 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,925 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,925 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:51,968 17944 [DEBUG] - Package 'vcredist2013' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:51,969 17944 [INFO ] - vcredist2013 v12.0.40660.20180427 is the latest version available based on your source(s). 2022-02-11 09:58:51,983 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:51,984 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:51,984 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:52,028 17944 [DEBUG] - Package 'vcredist2015' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:52,029 17944 [INFO ] - vcredist2015 v14.0.24215.20170201 is the latest version available based on your source(s). 2022-02-11 09:58:52,042 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:52,044 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:52,044 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:52,072 17944 [DEBUG] - Package 'vcredist2017' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:52,073 17944 [INFO ] - vcredist2017 v14.16.27033 is the latest version available based on your source(s). 2022-02-11 09:58:52,089 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:52,089 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:52,090 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:52,147 17944 [DEBUG] - Package 'virtualbox' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:52,148 17944 [INFO ] - virtualbox v6.1.32 is the latest version available based on your source(s). 2022-02-11 09:58:52,163 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:52,164 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:52,164 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:52,188 17944 [DEBUG] - Package 'visualstudio-installer' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:52,189 17944 [INFO ] - visualstudio-installer v2.0.2 is the latest version available based on your source(s). 2022-02-11 09:58:52,204 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:52,205 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:52,205 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:52,444 17944 [DEBUG] - Package 'visualstudio2019buildtools' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:52,445 17944 [INFO ] - visualstudio2019buildtools v16.11.9.0 is the latest version available based on your source(s). 2022-02-11 09:58:52,460 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:52,460 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:52,461 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:52,496 17944 [DEBUG] - Package 'windirstat' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:52,496 17944 [INFO ] - windirstat v1.1.2.20161210 is the latest version available based on your source(s). 2022-02-11 09:58:52,511 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:52,511 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:52,512 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:53,078 17944 [DEBUG] - Package 'yarn' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:53,078 17944 [INFO ] - yarn v1.22.15 is the latest version available based on your source(s). 2022-02-11 09:58:53,096 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:53,096 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:53,097 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:53,134 17944 [DEBUG] - Package 'zeal' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:53,135 17944 [INFO ] - zeal v0.6.1 is the latest version available based on your source(s). 2022-02-11 09:58:53,150 17944 [DEBUG] - Using 'https://chocolatey.org/api/v2/'. 2022-02-11 09:58:53,150 17944 [DEBUG] - - Supports prereleases? 'True'. 2022-02-11 09:58:53,151 17944 [DEBUG] - - Is ServiceBased? 'True'. 2022-02-11 09:58:53,179 17944 [DEBUG] - Package 'zeal.install' found on source 'https://chocolatey.org/api/v2/' 2022-02-11 09:58:53,180 17944 [INFO ] - zeal.install v0.6.1 is the latest version available based on your source(s). 2022-02-11 09:58:53,186 17944 [WARN ] - Chocolatey upgraded 4/68 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). 2022-02-11 09:58:53,187 17944 [INFO ] - 2022-02-11 09:58:53,187 17944 [WARN ] - Upgraded: 2022-02-11 09:58:53,188 17944 [INFO ] - - dotnet4.5.2 v4.5.2.20140902 2022-02-11 09:58:53,189 17944 [INFO ] - - docker-cli v20.10.12 2022-02-11 09:58:53,190 17944 [INFO ] - - calibre v5.36.0 2022-02-11 09:58:53,191 17944 [INFO ] - - nodejs-lts v16.14.0 2022-02-11 09:58:53,192 17944 [INFO ] - 2022-02-11 09:58:53,193 17944 [ERROR] - Failures 2022-02-11 09:58:53,194 17944 [ERROR] - - chocolateygui (exited 1601) - Error while running 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'. See log for details. 2022-02-11 09:58:53,195 17944 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2022-02-11 09:58:53,293 17944 [DEBUG] - Exiting with 1601 2022-02-11 10:34:09,615 2876 [DEBUG] - XmlConfiguration is now operational 2022-02-11 10:34:09,638 2876 [INFO ] - ============================================================ 2022-02-11 10:34:09,738 2876 [INFO ] - 0.12.1 2022-02-11 10:34:09,740 2876 [DEBUG] - Exiting with 0 ~~~

corbob commented 7 months ago

@Sigizmund2012 Thank you for reporting this issue. In looking at the log, and looking into what exit 1601 means, it seems to usually indicate an MSIexec issue that is often environment related. That coupled with the age of this issue, could you verify if this is still an issue you're seeing? If it is, and assuming you're still on Chocolatey 0.12.1, in order for us to assist further, we need you to get to a supported version. The currently supported versions of Chocolatey CLI is 2.2.2 and Chocolatey GUI is 2.1.0. In order to do the upgrade, I would highly suggest upgrading Chocolatey CLI to 1.4.0 and Chocolatey GUI to 1.1.3 (This may be possible with choco upgrade chocolateygui --version 1.1.3). Once at these versions, please follow the upgrade guide to upgrade to the new 2.x versions.

github-actions[bot] commented 4 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue will be closed in 14 days if it continues to be inactive.

github-actions[bot] commented 4 months ago

Dear contributor,

As this issue seems to have been inactive for quite some time now, it has been automatically closed. If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request has been added. Thank you for your contribution.