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

(everything) error windows when upgrading 1.4.11024 -> 1.4.11026 #2528

Open
1 of 2 tasks
zippydan opened this issue Aug 30, 2024 · 1 comment
Open
1 of 2 tasks

(everything) error windows when upgrading 1.4.11024 -> 1.4.11026 #2528

zippydan opened this issue Aug 30, 2024 · 1 comment

Comments

@zippydan
Copy link

Checklist

  • I have verified that this is the correct repository, and the package is maintained by the chocolatey-community user.
  • I have verified that this is happening in the latest available version of the package.

Chocolatey Version

2.3.0

Chocolatey License

None

Package Version

v1.4.11024 -> v1.4.11026

Current Behaviour

Several error dialog windows pop up during upgrade process.

Text of three dialog windows of errors:

  1. .\src\main.c(588): _main_do_command_line_install(): Fatal error: Failed to copy Everything.exe: 322024-08-30 10_21_09-Window
  2. I failed to write down this window accurately, but it was something like failed to run admin command. Note that I am logged into the computer as Administrator and the Powershell window in question also says 'Administrator' in the title bar.
  3. `Unable to create the Everything service: 1072
    2024-08-30 10_36_42-Window

Expected Behaviour

No response

Steps To Reproduce

choco upgrade everything using the same Windows OS and same Everything versions.

Environment

- Operating System: Microsoft Windows NT 10.0.19045.0
- PowerShell Version: 5.1.19041.4780

Chocolatey Log

2024-08-30 10:20:40,883 9120 [DEBUG] - Running 'ChocolateyScriptRunner' for Everything v1.4.11026 with packageScript 'C:\ProgramData\chocolatey\lib\Everything\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\Everything', installArguments: '', packageParameters: '/run-on-system-startup /client-service /folder-context-menu /efu-association', preRunHookScripts: '', postRunHookScripts: '',
2024-08-30 10:20:40,883 9120 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\Everything\tools\chocolateyInstall.ps1'
2024-08-30 10:20:40,913 9120 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/S' -file 'C:\ProgramData\chocolatey\lib\Everything\tools\Everything-1.4.1.1026.x86-Setup.exe' -file64 'C:\ProgramData\chocolatey\lib\Everything\tools\Everything-1.4.1.1026.x64-Setup.exe' -fileType 'exe' -validExitCodes '0 1223' -packageName 'Everything' 
2024-08-30 10:20:40,913 9120 [DEBUG] - Running Get-OSArchitectureWidth -compare '32' 
2024-08-30 10:20:40,928 9120 [INFO ] - Installing 64-bit Everything...
2024-08-30 10:20:40,928 9120 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1223' -workingDirectory 'C:\ProgramData\chocolatey\lib\Everything\tools' -statements '/S' -exeToRun 'C:\ProgramData\chocolatey\lib\Everything\tools\Everything-1.4.1.1026.x64-Setup.exe' 
2024-08-30 10:20:40,928 9120 [DEBUG] - Running Test-ProcessAdminRights
2024-08-30 10:20:40,928 9120 [DEBUG] - Test-ProcessAdminRights: returning True
2024-08-30 10:20:40,928 9120 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2024-08-30 10:20:40,928 9120 [DEBUG] - Elevating permissions and running ["C:\ProgramData\chocolatey\lib\Everything\tools\Everything-1.4.1.1026.x64-Setup.exe" /S]. This may take a while, depending on the statements.
2024-08-30 10:22:31,505 9120 [DEBUG] - Command ["C:\ProgramData\chocolatey\lib\Everything\tools\Everything-1.4.1.1026.x64-Setup.exe" /S] exited with '0'.
2024-08-30 10:22:31,505 9120 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-08-30 10:22:31,505 9120 [INFO ] - Everything has been installed.
2024-08-30 10:22:31,520 9120 [INFO ] - VERBOSE: Trying local and machine (x32 & x64) Uninstall keys
2024-08-30 10:22:31,520 9120 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'everything$' 
2024-08-30 10:22:31,520 9120 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2024-08-30 10:22:31,699 9120 [DEBUG] - Registry uninstall keys on system: 117
2024-08-30 10:22:31,699 9120 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2024-08-30 10:22:31,789 9120 [WARN ] - WARNING: No registry key found based on  'everything$'
2024-08-30 10:22:31,789 9120 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'everything$'
2024-08-30 10:22:31,804 9120 [INFO ] - VERBOSE: Found 0 keys, aborting this method
2024-08-30 10:22:31,804 9120 [DEBUG] - Running Get-OSArchitectureWidth -compare '64' 
2024-08-30 10:22:31,804 9120 [INFO ] - VERBOSE: Trying Program Files with 2 levels depth: C:\Program Files C:\Program Files\*\* C:\Program Files (x86) C:\Program Files (x86)\*\*
2024-08-30 10:22:32,013 9120 [INFO ] - Everything installed to 'C:\Program Files\Everything'
2024-08-30 10:22:32,043 9120 [INFO ] - Everything registered as Everything
2024-08-30 10:22:32,043 9120 [DEBUG] - Running Get-PackageParameters 
2024-08-30 10:22:32,043 9120 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2024-08-30 10:22:32,058 9120 [DEBUG] - Adding package param 'run-on-system-startup'='True'
2024-08-30 10:22:32,058 9120 [DEBUG] - Adding package param 'client-service'='True'
2024-08-30 10:22:32,058 9120 [DEBUG] - Adding package param 'folder-context-menu'='True'
2024-08-30 10:22:32,058 9120 [DEBUG] - Adding package param 'efu-association'='True'
2024-08-30 10:22:32,103 9120 [INFO ] - Post install command line: . 'C:\Program Files\Everything\Everything.exe' --disable-run-as-admin --install-service --install-efu-association --install-folder-context-menu --install-client-service --install-run-on-system-startup
2024-08-30 10:22:32,118 9120 [INFO ] - Starting Everything
2024-08-30 10:22:32,207 9120 [WARN ] - WARNING: The Everything Command Line, es.exe has been removed from this package.
2024-08-30 10:22:32,237 9120 [WARN ] - WARNING: It now can be installed via the 'es' package
2024-08-30 10:22:32,267 9120 [DEBUG] - ----------------------------------------------------------------------
2024-08-30 10:22:32,267 9120 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\Everything\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '/run-on-system-startup /client-service /folder-context-menu /efu-association' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-08-30 10:22:32,267 9120 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-08-30 10:22:32,371 9120 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-08-30 10:22:32,414 9120 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\Everything'
2024-08-30 10:22:32,429 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\Everything.nupkg'
  with checksum 'BEF3B98C4EE1D3CD31548150DBF3EF56'
2024-08-30 10:22:32,434 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\everything.nuspec'
  with checksum '68556A1930D786B2129F065A4428C992'
2024-08-30 10:22:32,434 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\legal\License.txt'
  with checksum '64B5F6C922D8B825217C4BDB4D4A08CE'
2024-08-30 10:22:32,438 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\legal\VERIFICATION.txt'
  with checksum 'FEE6C5BCEA03EB76420D72C4FF45DDAE'
2024-08-30 10:22:32,438 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\tools\chocolateyInstall.ps1'
  with checksum 'A4B39B9E42C856506A8963E0E3DB8530'
2024-08-30 10:22:32,448 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\tools\chocolateyUninstall.ps1'
  with checksum 'BEAED296FBAA58B33F251152F9963BF1'
2024-08-30 10:22:32,448 9120 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Everything\tools\Everything-1.4.1.1026.x64-Setup.exe.ignore'
  with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2024-08-30 10:22:32,453 9120 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\Everything.1.4.11026".
2024-08-30 10:22:32,453 9120 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\Everything.1.4.11026\.files'
2024-08-30 10:22:32,458 9120 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Everything.1.4.11026\.extra".
2024-08-30 10:22:32,458 9120 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Everything.1.4.11026\.version".
2024-08-30 10:22:32,461 9120 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Everything.1.4.11026\.sxs".
2024-08-30 10:22:32,463 9120 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Everything.1.4.11026\.pin".
2024-08-30 10:22:32,463 9120 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-08-30 10:22:32,463 9120 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\Everything\.chocolateyPending".
2024-08-30 10:22:32,467 9120 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\Everything".
2024-08-30 10:22:32,473 9120 [INFO ] -  The upgrade of Everything was successful.
2024-08-30 10:22:32,481 9120 [INFO ] -   Software installed as 'exe', install location is likely default.

Anything else?

Despite these error messages, chocolatey reports that Everything was installed successfully.

@zippydan zippydan added the Bug label Aug 30, 2024
@zippydan zippydan changed the title (everything) (everything) error windows when upgrading 1.4.11024 -> 1.4.11026 Aug 30, 2024
@pauby
Copy link
Member

pauby commented Aug 30, 2024

This isn't a package issue, but either an environmental or installer one.

I just upgrade everything from version 1.4.11024 to the latest, as per your 'Steps to Reproduce' and it worked fine.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants