chtof / chocolatey-packages

Apache License 2.0
12 stars 36 forks source link

Tesseract OCR upgrade to version 5.3.0.20221214 is not silent any more #80

Closed jpluimers closed 1 year ago

jpluimers commented 1 year ago

Chocolatey times out and fails during Tesseract upgrade as it is not silent any more.

You have tesseract v5.2.0.20220712 installed. Version 5.3.0.20221214 is available based on your source(s).
Progress: Downloading tesseract 5.3.0.20221214... 100%

tesseract v5.3.0.20221214 [Approved]
tesseract package files upgrade completed. Performing other installation steps.
Installing 64-bit tesseract...

is followed by

image

which after a time-out results in

Chocolatey timed out waiting for the command to finish. The timeout
 specified (or the default value) was '2700' seconds. Perhaps try a
 higher `--execution-timeout`? See `choco -h` for details.
The upgrade of tesseract was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'.
 See log for details.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
Maximum tries of 3 reached. Throwing error.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
Maximum tries of 3 reached. Throwing error.
Could not move the bad package to the failure directory. It will show as installed.
 C:\ProgramData\chocolatey\lib\tesseract
 The error:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (183) Cannot create a file when that file already exists: [\\?\C:\ProgramData\chocolatey\lib\tesseract]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (183) Cannot create a file when that file already exists: [\\?\C:\ProgramData\chocolatey\lib\tesseract]
Maximum tries of 3 reached. Throwing error.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
Maximum tries of 3 reached. Throwing error.
tesseract not upgraded. An error occurred during installation:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
tesseract package files upgrade failed with exit code -1. Performing other installation steps.
The upgrade of tesseract was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'.
 See log for details.
tesseract not upgraded. An error occurred during installation:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
 This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
Maximum tries of 3 reached. Throwing error.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
Maximum tries of 3 reached. Throwing error.
Could not move the bad package to the failure directory. It will show as installed.
 C:\ProgramData\chocolatey\lib\tesseract
 The error:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (183) Cannot create a file when that file already exists: [\\?\C:\ProgramData\chocolatey\lib\tesseract]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (183) Cannot create a file when that file already exists: [\\?\C:\ProgramData\chocolatey\lib\tesseract]
Maximum tries of 3 reached. Throwing error.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
Maximum tries of 3 reached. Throwing error.

Chocolatey upgraded 0/0 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
(32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]

At this moment the old version did get uninstalled (probably because I pressed the Esc key in the GUI installer).

A retry fails as well:

C:\bin\bin>choco upgrade tesseract --exit-when-reboot-detected --yes
Chocolatey v1.2.1
Upgrading the following packages:
tesseract
By upgrading, you accept licenses for the packages.
tesseract is not installed. Installing...
Progress: Downloading tesseract 5.3.0.20221214... 100%
Progress: Downloading tesseract 5.3.0.20221214... 100%

tesseract v5.3.0.20221214 [Approved]
tesseract package files upgrade completed. Performing other installation steps.
Installing 64-bit tesseract...
Chocolatey timed out waiting for the command to finish. The timeout
 specified (or the default value) was '2700' seconds. Perhaps try a
 higher `--execution-timeout`? See `choco -h` for details.
The upgrade of tesseract was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'.
 See log for details.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
Maximum tries of 3 reached. Throwing error.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
Maximum tries of 3 reached. Throwing error.
Could not move the bad package to the failure directory. It will show as installed.
 C:\ProgramData\chocolatey\lib\tesseract
 The error:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - tesseract (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'.
 See log for details.

The log of the last bit:

2023-01-02 22:18:01,078 6568 [INFO ] - Chocolatey v1.2.1
2023-01-02 22:18:01,087 6568 [DEBUG] - Chocolatey is running on Windows v 10.0.19045.0
2023-01-02 22:18:01,089 6568 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-01-02 22:18:01,089 6568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-01-02 22:18:01,097 6568 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade tesseract --exit-when-reboot-detected --yes
2023-01-02 22:18:01,097 6568 [DEBUG] - Received arguments: upgrade tesseract --exit-when-reboot-detected --yes
2023-01-02 22:18:01,143 6568 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-01-02 22:18:01,150 6568 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-01-02 22:18:01,157 6568 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-01-02 22:18:01,189 6568 [DEBUG] - Performing validation checks.
2023-01-02 22:18:01,192 6568 [DEBUG] - Global Configuration Validation Checks:
2023-01-02 22:18:01,193 6568 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2023-01-02 22:18:01,195 6568 [DEBUG] - System State Validation Checks:
2023-01-02 22:18:01,197 6568 [DEBUG] -  Reboot Requirement Checks:
2023-01-02 22:18:01,199 6568 [DEBUG] -  - Pending Computer Rename = Checked
2023-01-02 22:18:01,200 6568 [DEBUG] -  - Pending Component Based Servicing = Checked
2023-01-02 22:18:01,200 6568 [DEBUG] -  - Pending Windows Auto Update = Checked
2023-01-02 22:18:01,201 6568 [DEBUG] -  - Pending File Rename Operations = Ignored
2023-01-02 22:18:01,202 6568 [DEBUG] -  - Pending Windows Package Installer = Checked
2023-01-02 22:18:01,203 6568 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2023-01-02 22:18:01,206 6568 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-01-02 22:18:01,220 6568 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-01-02 22:18:01,221 6568 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2023-01-02 22:18:01,230 6568 [DEBUG] - Configuration: CommandName='upgrade'|
CacheLocation='C:\Users\jeroenp\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
DisableCompatibilityChecks='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='tesseract'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='tesseract'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19045.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.2.1.0'|
Information.ChocolateyProductVersion='1.2.1'|
Information.FullName='choco, Version=1.2.1.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='jeroenp'|
Information.UserDomainName='DESKTOP-I7-3770'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\bin\bin'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='True'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-01-02 22:18:01,231 6568 [DEBUG] - _ Chocolatey:ChocolateyUpgradeCommand - Normal Run Mode _
2023-01-02 22:18:01,235 6568 [INFO ] - Upgrading the following packages:
2023-01-02 22:18:01,238 6568 [INFO ] - tesseract
2023-01-02 22:18:01,239 6568 [INFO ] - By upgrading, you accept licenses for the packages.
2023-01-02 22:18:01,339 6568 [WARN ] - tesseract is not installed. Installing...
2023-01-02 22:18:01,380 6568 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2023-01-02 22:18:01,749 6568 [DEBUG] - - Supports prereleases? 'True'.
2023-01-02 22:18:01,749 6568 [DEBUG] - - Is ServiceBased? 'True'.
2023-01-02 22:18:01,866 6568 [DEBUG] - Package 'tesseract' found on source 'https://chocolatey.org/api/v2/'
2023-01-02 22:18:01,916 6568 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension (= 1.3.5.1)'.
2023-01-02 22:18:02,035 6568 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-compatibility.extension (= 1.0.0)'.
2023-01-02 22:18:20,583 6568 [INFO ] - [NuGet] Installing 'tesseract 5.3.0.20221214'.
2023-01-02 22:18:20,589 6568 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'tesseract\legal'.
2023-01-02 22:18:20,590 6568 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'tesseract\legal'.
2023-01-02 22:18:20,592 6568 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'tesseract\tools'.
2023-01-02 22:18:20,593 6568 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'tesseract\tools'.
2023-01-02 22:18:20,708 6568 [DEBUG] - [NuGet] Added file 'tesseract-ocr-w32-setup-v5.3.0.20221214.exe' to folder 'tesseract\tools'.
2023-01-02 22:18:20,743 6568 [DEBUG] - [NuGet] Added file 'tesseract-ocr-w64-setup-v5.3.0.20221214.exe' to folder 'tesseract\tools'.
2023-01-02 22:18:20,821 6568 [DEBUG] - [NuGet] Added file 'tesseract.nupkg' to folder 'tesseract'.
2023-01-02 22:18:21,079 6568 [DEBUG] - [NuGet] Added file 'tesseract.nuspec' to folder 'tesseract'.
2023-01-02 22:18:21,080 6568 [INFO ] - [NuGet] Successfully installed 'tesseract 5.3.0.20221214'.
2023-01-02 22:18:21,081 6568 [INFO ] - 
tesseract v5.3.0.20221214 [Approved]
2023-01-02 22:18:21,095 6568 [INFO ] - tesseract package files upgrade completed. Performing other installation steps.
2023-01-02 22:18:21,176 6568 [DEBUG] - Setting installer args for tesseract
2023-01-02 22:18:21,176 6568 [DEBUG] - Setting package parameters for tesseract
2023-01-02 22:18:21,177 6568 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1':
2023-01-02 22:18:21,186 6568 [DEBUG] - $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName = $env:ChocolateyPackageName
  file        = "$toolsDir\tesseract-ocr-w32-setup-v5.3.0.20221214.exe"
  file64      = "$toolsDir\tesseract-ocr-w64-setup-v5.3.0.20221214.exe"
  silentArgs  = '/S'
}

Install-ChocolateyInstallPackage @packageArgs
Install-ChocolateyPath $env:ProgramFiles\Tesseract-OCR

2023-01-02 22:18:21,201 6568 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-01-02 22:18:21,204 6568 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-01-02 22:18:21,391 6568 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.2364' and CLR Version is '4.0.30319.42000'.
2023-01-02 22:18:22,073 6568 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-01-02 22:18:22,074 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-01-02 22:18:22,075 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-01-02 22:18:22,075 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-01-02 22:18:22,076 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-01-02 22:18:22,076 6568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-01-02 22:18:22,077 6568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-01-02 22:18:22,077 6568 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-01-02 22:18:22,078 6568 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-01-02 22:18:22,079 6568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-01-02 22:18:22,079 6568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-01-02 22:18:22,080 6568 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-01-02 22:18:22,080 6568 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-01-02 22:18:22,081 6568 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-01-02 22:18:22,081 6568 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-01-02 22:18:22,082 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-01-02 22:18:22,082 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-01-02 22:18:22,083 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-01-02 22:18:22,083 6568 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-01-02 22:18:22,084 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-01-02 22:18:22,084 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-01-02 22:18:22,085 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-01-02 22:18:22,086 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-01-02 22:18:22,087 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-01-02 22:18:22,088 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-01-02 22:18:22,088 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-01-02 22:18:22,089 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-01-02 22:18:22,089 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-01-02 22:18:22,090 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-01-02 22:18:22,090 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-01-02 22:18:22,091 6568 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-01-02 22:18:22,091 6568 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-01-02 22:18:22,092 6568 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-01-02 22:18:22,093 6568 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-01-02 22:18:22,093 6568 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-01-02 22:18:22,095 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-01-02 22:18:22,095 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-01-02 22:18:22,096 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-01-02 22:18:22,096 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-01-02 22:18:22,097 6568 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-01-02 22:18:22,098 6568 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-01-02 22:18:22,099 6568 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-01-02 22:18:22,099 6568 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-01-02 22:18:22,100 6568 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-01-02 22:18:22,100 6568 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-01-02 22:18:22,101 6568 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-01-02 22:18:22,101 6568 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-01-02 22:18:22,102 6568 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-01-02 22:18:22,102 6568 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-01-02 22:18:22,103 6568 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-01-02 22:18:22,110 6568 [DEBUG] - Loading community extensions
2023-01-02 22:18:22,117 6568 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2023-01-02 22:18:22,118 6568 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2023-01-02 22:18:22,150 6568 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2023-01-02 22:18:22,151 6568 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2023-01-02 22:18:22,152 6568 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2023-01-02 22:18:22,157 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-01-02 22:18:22,159 6568 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2023-01-02 22:18:22,162 6568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-01-02 22:18:22,163 6568 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2023-01-02 22:18:22,166 6568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-01-02 22:18:22,167 6568 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2023-01-02 22:18:22,169 6568 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-01-02 22:18:22,170 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-01-02 22:18:22,171 6568 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-01-02 22:18:22,171 6568 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-01-02 22:18:22,172 6568 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-01-02 22:18:22,173 6568 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2023-01-02 22:18:22,174 6568 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2023-01-02 22:18:22,245 6568 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-01-02 22:18:22,247 6568 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-01-02 22:18:22,248 6568 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-01-02 22:18:22,250 6568 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-01-02 22:18:22,251 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-01-02 22:18:22,251 6568 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-01-02 22:18:22,252 6568 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-01-02 22:18:22,253 6568 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-01-02 22:18:22,254 6568 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-01-02 22:18:22,254 6568 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-01-02 22:18:22,255 6568 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-01-02 22:18:22,256 6568 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-01-02 22:18:22,256 6568 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-01-02 22:18:22,257 6568 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-01-02 22:18:22,258 6568 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2023-01-02 22:18:22,259 6568 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2023-01-02 22:18:22,319 6568 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2023-01-02 22:18:22,320 6568 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2023-01-02 22:18:22,320 6568 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2023-01-02 22:18:22,321 6568 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2023-01-02 22:18:22,322 6568 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'
2023-01-02 22:18:22,323 6568 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'.
2023-01-02 22:18:22,362 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2023-01-02 22:18:22,363 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2023-01-02 22:18:22,363 6568 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2023-01-02 22:18:22,364 6568 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2023-01-02 22:18:22,365 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2023-01-02 22:18:22,365 6568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2023-01-02 22:18:22,366 6568 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2023-01-02 22:18:22,367 6568 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2023-01-02 22:18:22,368 6568 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-01-02 22:18:22,369 6568 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-01-02 22:18:22,469 6568 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-01-02 22:18:22,470 6568 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-01-02 22:18:22,470 6568 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-01-02 22:18:22,471 6568 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-01-02 22:18:22,473 6568 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-01-02 22:18:22,474 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-01-02 22:18:22,475 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-01-02 22:18:22,476 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-01-02 22:18:22,476 6568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-01-02 22:18:22,477 6568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-01-02 22:18:22,477 6568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-01-02 22:18:22,478 6568 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-01-02 22:18:22,479 6568 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-01-02 22:18:22,479 6568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-01-02 22:18:22,480 6568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-01-02 22:18:22,480 6568 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-01-02 22:18:22,481 6568 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-01-02 22:18:22,481 6568 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-01-02 22:18:22,482 6568 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-01-02 22:18:22,482 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-01-02 22:18:22,483 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-01-02 22:18:22,483 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-01-02 22:18:22,484 6568 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-01-02 22:18:22,485 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-01-02 22:18:22,485 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-01-02 22:18:22,486 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-01-02 22:18:22,486 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-01-02 22:18:22,487 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-01-02 22:18:22,487 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-01-02 22:18:22,488 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-01-02 22:18:22,488 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-01-02 22:18:22,489 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-01-02 22:18:22,489 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-01-02 22:18:22,490 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-01-02 22:18:22,490 6568 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-01-02 22:18:22,491 6568 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-01-02 22:18:22,491 6568 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-01-02 22:18:22,492 6568 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-01-02 22:18:22,492 6568 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-01-02 22:18:22,493 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-01-02 22:18:22,493 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-01-02 22:18:22,494 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-01-02 22:18:22,494 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-01-02 22:18:22,495 6568 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-01-02 22:18:22,495 6568 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-01-02 22:18:22,496 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-01-02 22:18:22,497 6568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-01-02 22:18:22,497 6568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-01-02 22:18:22,498 6568 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-01-02 22:18:22,498 6568 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-01-02 22:18:22,499 6568 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-01-02 22:18:22,499 6568 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-01-02 22:18:22,500 6568 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-01-02 22:18:22,500 6568 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-01-02 22:18:22,501 6568 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-01-02 22:18:22,501 6568 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-01-02 22:18:22,502 6568 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2023-01-02 22:18:22,502 6568 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2023-01-02 22:18:22,503 6568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2023-01-02 22:18:22,503 6568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2023-01-02 22:18:22,504 6568 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-01-02 22:18:22,504 6568 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-01-02 22:18:22,505 6568 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-01-02 22:18:22,505 6568 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-01-02 22:18:22,506 6568 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-01-02 22:18:22,506 6568 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-01-02 22:18:22,507 6568 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-01-02 22:18:22,507 6568 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-01-02 22:18:22,508 6568 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-01-02 22:18:22,508 6568 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-01-02 22:18:22,509 6568 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-01-02 22:18:22,510 6568 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2023-01-02 22:18:22,510 6568 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2023-01-02 22:18:22,511 6568 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-01-02 22:18:22,512 6568 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-01-02 22:18:22,512 6568 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-01-02 22:18:22,513 6568 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-01-02 22:18:22,513 6568 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-01-02 22:18:22,514 6568 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-01-02 22:18:22,514 6568 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-01-02 22:18:22,515 6568 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-01-02 22:18:22,515 6568 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-01-02 22:18:22,516 6568 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-01-02 22:18:22,516 6568 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-01-02 22:18:22,517 6568 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-01-02 22:18:22,518 6568 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-01-02 22:18:22,519 6568 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-01-02 22:18:22,520 6568 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-01-02 22:18:22,520 6568 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-01-02 22:18:22,521 6568 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-01-02 22:18:22,521 6568 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-01-02 22:18:22,522 6568 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-01-02 22:18:22,523 6568 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-01-02 22:18:22,523 6568 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-01-02 22:18:22,524 6568 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-01-02 22:18:22,525 6568 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-01-02 22:18:22,525 6568 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-01-02 22:18:22,526 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-01-02 22:18:22,526 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-01-02 22:18:22,527 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-01-02 22:18:22,527 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-01-02 22:18:22,528 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2023-01-02 22:18:22,528 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-01-02 22:18:22,529 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-01-02 22:18:22,530 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-01-02 22:18:22,530 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-01-02 22:18:22,531 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-01-02 22:18:22,531 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-01-02 22:18:22,532 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-01-02 22:18:22,532 6568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-01-02 22:18:22,533 6568 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2023-01-02 22:18:22,533 6568 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2023-01-02 22:18:22,534 6568 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-01-02 22:18:22,534 6568 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-01-02 22:18:22,535 6568 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-01-02 22:18:22,535 6568 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-01-02 22:18:22,536 6568 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-01-02 22:18:22,536 6568 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-01-02 22:18:22,537 6568 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-01-02 22:18:22,537 6568 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-01-02 22:18:22,538 6568 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-01-02 22:18:22,538 6568 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-01-02 22:18:22,539 6568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-01-02 22:18:22,539 6568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2023-01-02 22:18:22,540 6568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-01-02 22:18:22,540 6568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-01-02 22:18:22,541 6568 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-01-02 22:18:22,541 6568 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-01-02 22:18:22,542 6568 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-01-02 22:18:22,543 6568 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-01-02 22:18:22,543 6568 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-01-02 22:18:22,544 6568 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-01-02 22:18:22,544 6568 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2023-01-02 22:18:22,545 6568 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-01-02 22:18:22,545 6568 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-01-02 22:18:22,546 6568 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-01-02 22:18:22,546 6568 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-01-02 22:18:22,547 6568 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-01-02 22:18:22,547 6568 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-01-02 22:18:22,548 6568 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-01-02 22:18:22,548 6568 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2023-01-02 22:18:22,549 6568 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-01-02 22:18:22,591 6568 [DEBUG] - ---------------------------Script Execution---------------------------
2023-01-02 22:18:22,599 6568 [DEBUG] - Running 'ChocolateyScriptRunner' for tesseract v5.3.0.20221214 with packageScript 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\tesseract', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-01-02 22:18:22,611 6568 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'
2023-01-02 22:18:22,673 6568 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe' -silentArgs '/S' -packageName 'tesseract' -file 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w32-setup-v5.3.0.20221214.exe' 
2023-01-02 22:18:22,678 6568 [DEBUG] - Running Get-OSArchitectureWidth -compare '32' 
2023-01-02 22:18:22,694 6568 [INFO ] - Installing 64-bit tesseract...
2023-01-02 22:18:22,747 6568 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\tesseract\tools' -statements '/S ' -exeToRun 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe' 
2023-01-02 22:18:22,770 6568 [DEBUG] - Test-ProcessAdminRights: returning True
2023-01-02 22:18:22,781 6568 [DEBUG] - Elevating permissions and running ["C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe" /S ]. This may take a while, depending on the statements.
2023-01-02 23:03:21,205 6568 [WARN ] - Chocolatey timed out waiting for the command to finish. The timeout
 specified (or the default value) was '2700' seconds. Perhaps try a
 higher `--execution-timeout`? See `choco -h` for details.
2023-01-02 23:03:21,212 6568 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2023-01-02 23:03:21,247 6568 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2023-01-02 23:03:21,327 6568 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\tesseract'
2023-01-02 23:03:21,568 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tesseract.nupkg'
  with checksum '6E6F9B877A379D8385BC26B70319C342'
2023-01-02 23:03:21,569 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tesseract.nuspec'
  with checksum 'C52356673C777313FB54B810ED3EB944'
2023-01-02 23:03:21,570 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\legal\LICENSE.txt'
  with checksum 'E6E0A92CAC0B7122E8E59196D17F11E2'
2023-01-02 23:03:21,571 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\legal\VERIFICATION.txt'
  with checksum 'BA41C8DC9EA4B6A6F79B22AD0725773A'
2023-01-02 23:03:21,572 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'
  with checksum '812D03971692D3874806B4411E380B6B'
2023-01-02 23:03:21,573 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyuninstall.ps1'
  with checksum '615DE5135FD1E8D7F426FF87635162B2'
2023-01-02 23:03:21,719 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w32-setup-v5.3.0.20221214.exe'
  with checksum '1CA88A5F5A96A16B5FD8C69FD8CBA3DB'
2023-01-02 23:03:21,860 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe'
  with checksum '704960100AF0C1B5C7BB4ADEA12EEA02'
2023-01-02 23:03:21,862 6568 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe.ignore'
  with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-01-02 23:03:21,876 6568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tesseract.5.3.0.20221214\.arguments".
2023-01-02 23:03:21,877 6568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tesseract.5.3.0.20221214\.extra".
2023-01-02 23:03:21,878 6568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tesseract.5.3.0.20221214\.version".
2023-01-02 23:03:21,878 6568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tesseract.5.3.0.20221214\.sxs".
2023-01-02 23:03:21,879 6568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tesseract.5.3.0.20221214\.pin".
2023-01-02 23:03:21,881 6568 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-01-02 23:03:21,882 6568 [ERROR] - The upgrade of tesseract was NOT successful.
2023-01-02 23:03:21,886 6568 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'.
 See log for details.
2023-01-02 23:03:21,890 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract'
2023-01-02 23:03:21,922 6568 [WARN ] - This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
2023-01-02 23:03:22,237 6568 [WARN ] - This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
2023-01-02 23:03:22,661 6568 [ERROR] - Maximum tries of 3 reached. Throwing error.
2023-01-02 23:03:22,664 6568 [WARN ] - Move failed with message:
 (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract]
 Attempting backup move method.
2023-01-02 23:03:22,666 6568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\tesseract".
2023-01-02 23:03:22,668 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\.chocolateyPending'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\.chocolateyPending'
2023-01-02 23:03:22,669 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\tesseract.nupkg'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\tesseract.nupkg'
2023-01-02 23:03:22,671 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\tesseract.nuspec'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\tesseract.nuspec'
2023-01-02 23:03:22,673 6568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\tesseract\legal".
2023-01-02 23:03:22,674 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\legal\LICENSE.txt'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\legal\LICENSE.txt'
2023-01-02 23:03:22,675 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\legal\VERIFICATION.txt'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\legal\VERIFICATION.txt'
2023-01-02 23:03:22,676 6568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\tesseract\tools".
2023-01-02 23:03:22,677 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\tools\chocolateyinstall.ps1'
2023-01-02 23:03:22,678 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyuninstall.ps1'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\tools\chocolateyuninstall.ps1'
2023-01-02 23:03:22,679 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w32-setup-v5.3.0.20221214.exe'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w32-setup-v5.3.0.20221214.exe'
2023-01-02 23:03:22,681 6568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe'
 to 'C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe'
2023-01-02 23:03:22,686 6568 [WARN ] - This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
2023-01-02 23:03:23,000 6568 [WARN ] - This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
2023-01-02 23:03:23,418 6568 [ERROR] - Maximum tries of 3 reached. Throwing error.
2023-01-02 23:03:23,422 6568 [ERROR] - Could not move the bad package to the failure directory. It will show as installed.
 C:\ProgramData\chocolatey\lib\tesseract
 The error:
 (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\tesseract\tools\tesseract-ocr-w64-setup-v5.3.0.20221214.exe]
2023-01-02 23:03:23,428 6568 [DEBUG] - Attempting to delete file "C:\Users\jeroenp\AppData\Local\NuGet\Cache\tesseract.5.3.0.20221214.nupkg".
2023-01-02 23:03:23,449 6568 [WARN ] - 
Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-01-02 23:03:23,453 6568 [INFO ] - 
2023-01-02 23:03:23,460 6568 [ERROR] - Failures
2023-01-02 23:03:23,462 6568 [ERROR] -  - tesseract (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\tesseract\tools\chocolateyinstall.ps1'.
 See log for details.
2023-01-02 23:03:23,465 6568 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-01-02 23:03:23,497 6568 [DEBUG] - Exiting with -1

Looking at the verification, it installed fine there: https://gist.github.com/choco-bot/69b314530bb6c06c5d10d57f985e377a

Looking at https://github.com/chtof/chocolatey-packages/blob/master/automatic/tesseract/tools/chocolateyinstall.ps1 it passes the /S switch: could it be that the tesseract installer itself does not recognise that as meaning "silent" any more on certain Windows configurations?

This is my Windows version:

Microsoft Windows [Version 10.0.19045.2364]
WindowsVersion=10.0.19045.2364
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    BuildLab    REG_SZ    19041.vb_release.191206-1406
    BuildLabEx    REG_SZ    19041.1.amd64fre.vb_release.191206-1406
    CompositionEditionID    REG_SZ    Enterprise
    CurrentBuild    REG_SZ    19045
    CurrentBuildNumber    REG_SZ    19045
    CurrentType    REG_SZ    Multiprocessor Free
    CurrentVersion    REG_SZ    6.3
    EditionID    REG_SZ    Professional
    ProductName    REG_SZ    Windows 10 Pro
    ReleaseId    REG_SZ    2009
    DisplayVersion    REG_SZ    22H2
    UninstallSourceVersion    REG_SZ    10.0.17134
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Source OS (Updated on 7/19/2021 21:47:24)

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade
    DownlevelBuildNumber    REG_SZ    10.0.17134

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19045 N/A Build 19045
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
System Type:               x64-based PC
chtof commented 1 year ago

I have just updated the Chocolatey package for Tesseract for the latest version: https://community.chocolatey.org/packages/tesseract/5.3.1.20230401 I haven't tried to install the version 5.3.0 but with 5.3.1 I haven't this popup to select the language. As you noticed, the popup doesn't appear during the validation of the Chocolatey package on version 5.3.0. I use Windows 11. An hypothesis is the popup appears when the installer does not support the language set on the computer. My computer is set in "french" so in the popup to select a language, if you don't see your language, it could explain why it asks to select a language. image

I haven't seen an option to choose a language, a solution would be to modify the Chocolatey package to click on this popup with autohotkey if this popup appears.

jpluimers commented 1 year ago

With version 5.3.1.20230401 the pop-up seems to be gone. Thanks!