Closed skapytek closed 3 months ago
Any updates?
It looks like the chocolatey-core.extension
may not be installed correctly, or something went wrong with loading it, because Get-AppInstallLocation
is a part of that extension.
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.
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.
Checklist
What You Are Seeing?
2024-05-07 00:32:00,947 32124 [INFO ] - Installing ChocolateyGUI... 2024-05-07 00:32:00,984 32124 [DEBUG] - Ensuring 'C:\Users\mmueh\AppData\Local\Temp\chocolatey' exists 2024-05-07 00:32:01,013 32124 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1641 3010' -workingDirectory 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools' -statements '/i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /qn /norestart /lv "C:\Users\mmueh\AppData\Local\Temp\chocolatey\ChocolateyGUI.2.1.1.log" ' -exeToRun 'C:\WINDOWS\System32\msiexec.exe' 2024-05-07 00:32:01,031 32124 [DEBUG] - Test-ProcessAdminRights: returning True 2024-05-07 00:32:01,039 32124 [DEBUG] - Elevating permissions and running ["C:\WINDOWS\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /qn /norestart /lv "C:\Users\mmueh\AppData\Local\Temp\chocolatey\ChocolateyGUI.2.1.1.log" ]. This may take a while, depending on the statements. 2024-05-07 00:32:01,406 32124 [DEBUG] - Command ["C:\WINDOWS\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /qn /norestart /l*v "C:\Users\mmueh\AppData\Local\Temp\chocolatey\ChocolateyGUI.2.1.1.log" ] exited with '0'. 2024-05-07 00:32:01,413 32124 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin' 2024-05-07 00:32:01,414 32124 [INFO ] - ChocolateyGUI has been installed. 2024-05-07 00:32:01,458 32124 [ERROR] - ERROR: The term 'Get-AppInstallLocation' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. 2024-05-07 00:32:01,462 32124 [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\ChocolateyGUI\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'. 2024-05-07 00:32:01,464 32124 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a'] 2024-05-07 00:32:01,496 32124 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116' 2024-05-07 00:32:01,644 32124 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ChocolateyGUI' 2024-05-07 00:32:01,678 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\chocolateygui.nupkg' with checksum 'CBAF14CE6C6BD7A4DE8A3F51DDB87DD1' 2024-05-07 00:32:01,680 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\chocolateygui.nuspec' with checksum 'EC1D44C095BD160F3CBDB95211552AD9' 2024-05-07 00:32:01,680 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\legal\CREDITS.md' with checksum '5233C54D7D06C228EE122FC178E597CD' 2024-05-07 00:32:01,682 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\legal\LICENSE.txt' with checksum '02D8EF21C666949C5B31E75D4B278F47' 2024-05-07 00:32:01,683 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore' with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956' 2024-05-07 00:32:01,684 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1' with checksum '2689B790F7CA671097FCDEA4BEDFBAC1' 2024-05-07 00:32:01,684 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1' with checksum '85760F36BD890C4707B68AC801520ECB' 2024-05-07 00:32:01,685 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\helper.ps1' with checksum '94D4C0BF1F63669557AADC9D881D2C4D' 2024-05-07 00:32:01,686 32124 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\VERIFICATION.txt' with checksum '24DDB8F3EF886B91E79ECBC776621FAC' 2024-05-07 00:32:01,701 32124 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\chocolateygui.2.1.1.arguments". 2024-05-07 00:32:01,701 32124 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\chocolateygui.2.1.1.extra". 2024-05-07 00:32:01,702 32124 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\chocolateygui.2.1.1.version". 2024-05-07 00:32:01,703 32124 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\chocolateygui.2.1.1.sxs". 2024-05-07 00:32:01,703 32124 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\chocolateygui.2.1.1.pin". 2024-05-07 00:32:01,707 32124 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\ChocolateyGUI". 2024-05-07 00:32:01,712 32124 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers... 2024-05-07 00:32:01,714 32124 [ERROR] - The install of chocolateygui was NOT successful. 2024-05-07 00:32:01,717 32124 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'. See log for details. 2024-05-07 00:32:01,721 32124 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\chocolateygui". 2024-05-07 00:32:01,722 32124 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\ChocolateyGUI to C:\ProgramData\chocolatey\lib-bad\chocolateygui\2.1.1 2024-05-07 00:32:01,724 32124 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ChocolateyGUI' to 'C:\ProgramData\chocolatey\lib-bad\chocolateygui\2.1.1' 2024-05-07 00:32:03,749 32124 [WARN ] - Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). 2024-05-07 00:32:03,756 32124 [INFO ] - 2024-05-07 00:32:03,757 32124 [ERROR] - Failures 2024-05-07 00:32:03,763 32124 [ERROR] - - chocolateygui (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'. See log for details. 2024-05-07 00:32:03,770 32124 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2024-05-07 00:32:03,772 32124 [DEBUG] - Exiting with -1
What is Expected?
installing chocolateygui without errors
How Did You Get This To Happen?
choco install chocolateygui -y
as admin in cmd
System Details
PSVersion 5.1.22621.2506 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.22621.2506 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Installed Packages
Output Log
Additional Context
No response