chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Package Internalizer - Unable to load Uninstall-ChocolateyPackageCmdlet #326

Closed pauby closed 1 year ago

pauby commented 1 year ago

What You Are Seeing?

When running an internalized version of dellcommandupdate-uwp package, the Uninstall-ChocolateyPackageCmdlet is not being recognized inside of PowerShell.

When internalizing the package, the Uninstall-ChocolateyPackage function is being re-written to Uninstall-ChocolateyPackageCmdlet by package internalizer.

Their is no file that loads an Uninstall-ChocolateyPackageCmdlet into the C4B powershell session. Hence the error shown referenced below.

What is Expected?

This cmdlet should be recognized when running C4B.

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

  1. I ran choco download dellcommandupdate-uwp --internalize
  2. Install the internalized package
  3. The package fails with the following error: ERROR: The term ‘UnInstall-ChocolateyPackageCmdlet’ 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.

System Details

Output Log

Chocolatey Log Output

~~~sh 2022-10-27 09:05:09,603 1384 [DEBUG] - _ Chocolatey:ProChocolateyInstallCommand - Normal Run Mode _ 2022-10-27 09:05:09,603 1384 [INFO ] - Installing the following packages: 2022-10-27 09:05:09,618 1384 [INFO ] - dellcommandupdate-uwp 2022-10-27 09:05:09,618 1384 [INFO ] - By installing, you accept licenses for the packages. 2022-10-27 09:05:09,618 1384 [DEBUG] - Switching source name chocolatey.licensed to actual source value 'https://licensedpackages.chocolatey.org/api/v2/'. 2022-10-27 09:05:09,634 1384 [DEBUG] - Switching source name Local to actual source value 'C:\'. 2022-10-27 09:05:09,634 1384 [DEBUG] - Resolving reference to chocolatey.licensed... 2022-10-27 09:05:09,651 1384 [DEBUG] - Using 'https://licensedpackages.chocolatey.org/api/v2/'. 2022-10-27 09:05:10,026 1384 [DEBUG] - - Supports prereleases? 'False'. 2022-10-27 09:05:10,026 1384 [DEBUG] - - Is ServiceBased? 'True'. 2022-10-27 09:05:10,196 1384 [DEBUG] - Using 'C:\'. 2022-10-27 09:05:10,196 1384 [DEBUG] - - Supports prereleases? 'True'. 2022-10-27 09:05:10,196 1384 [DEBUG] - - Is ServiceBased? 'False'. 2022-10-27 09:05:10,213 1384 [DEBUG] - Package 'dellcommandupdate-uwp' found on source 'C:\' 2022-10-27 09:05:10,400 1384 [INFO ] - [NuGet] Installing 'dellcommandupdate-uwp 4.6.0.20220907'. 2022-10-27 09:05:10,400 1384 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'dellcommandupdate-uwp\tools'. 2022-10-27 09:05:10,400 1384 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'dellcommandupdate-uwp\tools'. 2022-10-27 09:05:10,572 1384 [DEBUG] - [NuGet] Added file 'Dell-Command-Update-Windows-Universal-Application_DT6YC_WIN_4.6.0_A00.EXE' to folder 'dellcommandupdate-uwp\tools\files'. 2022-10-27 09:05:10,572 1384 [DEBUG] - [NuGet] Added file 'Dell-Command-Update-Windows-Universal-Application_DT6YC_WIN_4.6.0_A00.EXE.ignore' to folder 'dellcommandupdate-uwp\tools\files'. 2022-10-27 09:05:10,572 1384 [DEBUG] - [NuGet] Added file 'dellcommandupdate-uwp.nupkg' to folder 'dellcommandupdate-uwp'. 2022-10-27 09:05:10,822 1384 [DEBUG] - [NuGet] Added file 'dellcommandupdate-uwp.nuspec' to folder 'dellcommandupdate-uwp'. 2022-10-27 09:05:10,822 1384 [INFO ] - [NuGet] Successfully installed 'dellcommandupdate-uwp 4.6.0.20220907'. 2022-10-27 09:05:10,822 1384 [INFO ] - dellcommandupdate-uwp v4.6.0.20220907 2022-10-27 09:05:10,837 1384 [INFO ] - dellcommandupdate-uwp package files install completed. Performing other installation steps. 2022-10-27 09:05:10,869 1384 [DEBUG] - Setting installer args for dellcommandupdate-uwp 2022-10-27 09:05:10,869 1384 [DEBUG] - Setting package parameters for dellcommandupdate-uwp 2022-10-27 09:05:10,869 1384 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1': 2022-10-27 09:05:10,869 1384 [DEBUG] - $LicensedCommandsRegistered = Get-Command "Invoke-ValidateChocolateyLicense" -EA SilentlyContinue if (!$LicensedCommandsRegistered) { Write-Warning "Package Requires Commercial License - Installation cannot continue as Package Internalizer use require endpoints to be licensed with Chocolatey Licensed Extension v3.0.0+ (chocolatey.extension). Please see error below for details and correction instructions." throw "This package requires a commercial edition of Chocolatey as it was built/internalized with commercial features. Please install the license and install/upgrade to Chocolatey Licensed Extension v3.0.0+ as per https://docs.chocolatey.org/en-us/licensed-extension/setup." } Invoke-ValidateChocolateyLicense -RequiredLicenseTypes @('Business','ManagedServiceProvider') $ErrorActionPreference = 'Stop'; $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $url = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)\files\Dell-Command-Update-Windows-Universal-Application_DT6YC_WIN_4.6.0_A00.EXE" $checksum = '78137238c10c0251fc2aff2b818ad4676a86c2567d8ed3f1b93588c2619a147b' $checksumType = 'sha256' Write-Warning "Ensure that 'Dell Update for Windows 10' is not installed. Any errors from this can be ignored" # Package version 4.3.0 mistakenly installed "Dell Update" instead of "Dell Command Update", so we need to ensure that is uninstalled first $dellUpdateUninstallPackageArgs = @{ packageName = 'Dell Update for Windows 10' fileType = 'msi' silentArgs = "{41D2D254-D869-4CD8-B440-5DF49083C4BA} /qn /norestart" validExitCodes = @(0, 1605) } UnInstall-ChocolateyPackageCmdlet dellUpdateUninstallPackageArgs # the /factoryinstall parameter makes installer return success instead of '2' (which Chocolatey doesn't like) $packageArgs = @{ packageName = $env:ChocolateyPackageName softwareName = 'Dell Command | Update for Windows 10' fileType = 'exe' silentArgs = "/s /factoryinstall" validExitCodes= @(0) url = $url checksum = $checksum checksumType = $checksumType destination = $toolsDir } $packageArgs["UseOriginalLocation"] = $true Install-ChocolateyPackageCmdlet packageArgs 2022-10-27 09:05:10,884 1384 [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\dellcommandupdate-uwp\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] 2022-10-27 09:05:10,884 1384 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by '' 2022-10-27 09:05:11,041 1384 [DEBUG] - Host version is 5.1.20348.1, PowerShell Version is '5.1.20348.558' and CLR Version is '4.0.30319.42000'. 2022-10-27 09:05:11,462 1384 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'. 2022-10-27 09:05:11,462 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'. 2022-10-27 09:05:11,478 1384 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'. 2022-10-27 09:05:11,494 1384 [INFO ] - VERBOSE: Exporting alias 'refreshenv'. 2022-10-27 09:05:11,494 1384 [DEBUG] - Importing 'C:\ProgramData\chocolatey\helpers\..\extensions\chocolatey\chocolatey.licensed.dll' 2022-10-27 09:05:11,494 1384 [DEBUG] - Loading 'chocolatey.licensed' extension 2022-10-27 09:05:11,510 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,524 1384 [DEBUG] - Loading community extensions 2022-10-27 09:05:11,524 1384 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1' 2022-10-27 09:05:11,524 1384 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'. 2022-10-27 09:05:11,540 1384 [DEBUG] - Loading 'chocolatey.licensed' extension. 2022-10-27 09:05:11,540 1384 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'. 2022-10-27 09:05:11,540 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'. 2022-10-27 09:05:11,540 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'. 2022-10-27 09:05:11,540 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'. 2022-10-27 09:05:11,540 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,556 1384 [DEBUG] - License type set to BusinessTrial 2022-10-27 09:05:11,556 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-AppSettingsJsonFileContentCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChecksumValidCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChocolateyUnzipCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChocolateyWebFileCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-VirusCheckValidCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileNameCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebHeadersCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-AppSettingsJsonFileCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyInstallPackageCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPackageCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyZipPackageCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Invoke-ChocolateyProcessCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Start-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,572 1384 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1' 2022-10-27 09:05:11,572 1384 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'. 2022-10-27 09:05:11,603 1384 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export. 2022-10-27 09:05:11,603 1384 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export. 2022-10-27 09:05:11,603 1384 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'. 2022-10-27 09:05:11,603 1384 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'. 2022-10-27 09:05:11,603 1384 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'. 2022-10-27 09:05:11,603 1384 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'. 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'. 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'. 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'. 2022-10-27 09:05:11,603 1384 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'. 2022-10-27 09:05:11,618 1384 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1' 2022-10-27 09:05:11,618 1384 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Register-Application'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Exporting function 'Remove-Process'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Get-WebContent'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Register-Application'. 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Importing function 'Remove-Process'. 2022-10-27 09:05:11,650 1384 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1' 2022-10-27 09:05:11,650 1384 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'. 2022-10-27 09:05:11,697 1384 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'. 2022-10-27 09:05:11,713 1384 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting function 'Register-Application'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting function 'Remove-Process'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-AppSettingsJsonFileContentCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChecksumValidCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChocolateyUnzipCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChocolateyWebFileCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-VirusCheckValidCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileNameCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebHeadersCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-AppSettingsJsonFileCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyInstallPackageCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPackageCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyZipPackageCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Invoke-ChocolateyProcessCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Start-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Exporting alias 'refreshenv'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-AppSettingsJsonFileContentCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChecksumValidCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyUnzipCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-AppSettingsJsonFileCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'. 2022-10-27 09:05:11,728 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyZipPackageCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ChocolateyProcessCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing cmdlet 'Invoke-ValidateChocolateyLicenseCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Format-FileSize'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-WebContent'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-WebFile'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-BinFile'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Install-Vsix'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Register-Application'. 2022-10-27 09:05:11,743 1384 [INFO ] - VERBOSE: Importing function 'Remove-Process'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'refreshenv'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'. 2022-10-27 09:05:11,759 1384 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'. 2022-10-27 09:05:11,774 1384 [DEBUG] - ---------------------------Script Execution--------------------------- 2022-10-27 09:05:11,774 1384 [DEBUG] - Running 'ChocolateyScriptRunner' for dellcommandupdate-uwp v4.6.0.20220907 with packageScript 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp', installArguments: '', packageParameters: '', 2022-10-27 09:05:11,790 1384 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1' 2022-10-27 09:05:11,790 1384 [DEBUG] - Running licensed 'Invoke-ValidateChocolateyLicense' with RequiredLicenseTypes:'Business,ManagedServiceProvider,BusinessTrial' 2022-10-27 09:05:11,806 1384 [DEBUG] - Validating license against license types 'Business,ManagedServiceProvider,BusinessTrial'. 2022-10-27 09:05:11,806 1384 [DEBUG] - Invoke-ValidateChocolateyLicense complete. If there were no reported errors, validation was successful. 2022-10-27 09:05:11,806 1384 [WARN ] - WARNING: Ensure that 'Dell Update for Windows 10' is not installed. Any errors from this can be ignored 2022-10-27 09:05:11,837 1384 [ERROR] - ERROR: The term 'UnInstall-ChocolateyPackageCmdlet' 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. 2022-10-27 09:05:11,837 1384 [DEBUG] - Built-in PowerShell host called 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\dellcommandupdate-uwp\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'. 2022-10-27 09:05:11,837 1384 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a'] 2022-10-27 09:05:11,868 1384 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116' 2022-10-27 09:05:11,900 1384 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp' 2022-10-27 09:05:11,947 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\dellcommandupdate-uwp.nupkg' with checksum '2ED5BD33CE7BA61441E284B8A6C6C6B1' 2022-10-27 09:05:11,947 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\dellcommandupdate-uwp.nuspec' with checksum '9E35EFED24DBC530429146DA8F6F85E8' 2022-10-27 09:05:11,947 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateybeforemodify.ps1' with checksum 'A4322124553F24CC15CF20FFBF010A37' 2022-10-27 09:05:11,947 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1' with checksum '5C5CB111383F10F9F2671E8E0C174873' 2022-10-27 09:05:11,947 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1.4.6.0.20220907' with checksum '299DF8F263E0E89D407A1530F9B437FF' 2022-10-27 09:05:11,994 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\files\Dell-Command-Update-Windows-Universal-Application_DT6YC_WIN_4.6.0_A00.EXE' with checksum 'A97AF23092BDB83ECC2AAE6581098051' 2022-10-27 09:05:11,994 1384 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\files\Dell-Command-Update-Windows-Universal-Application_DT6YC_WIN_4.6.0_A00.EXE.ignore' with checksum 'ECAA88F7FA0BF610A5A26CF545DCD3AA' 2022-10-27 09:05:12,009 1384 [INFO ] - Reducing package size for 'dellcommandupdate-uwp'... 2022-10-27 09:05:12,009 1384 [DEBUG] - Attempting to create directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\ChocolateyPackageCache\PackageCache_20221027_090512_0092". 2022-10-27 09:05:12,009 1384 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\dellcommandupdate-uwp.nuspec" to "C:\Users\Administrator\AppData\Local\Temp\chocolatey\ChocolateyPackageCache\PackageCache_20221027_090512_0092\dellcommandupdate-uwp.nuspec". 2022-10-27 09:05:12,149 1384 [INFO ] - Reducing nupkg file size ('dellcommandupdate-uwp'). 2022-10-27 09:05:12,180 1384 [INFO ] - Reducing extracted archives and installers ('dellcommandupdate-uwp'). 2022-10-27 09:05:12,180 1384 [DEBUG] - Attempting to detect type for 'Dell-Command-Update-Windows-Universal-Application_DT6YC_WIN_4.6.0_A00.EXE' with db 'C:\ProgramData\chocolatey\tools\detector\db' 2022-10-27 09:05:13,900 1384 [DEBUG] - fileTypeOutput='PE: Nothing found' 2022-10-27 09:05:13,900 1384 [INFO ] - Space reduced for 'dellcommandupdate-uwp': 17.62 MB. 2022-10-27 09:05:13,900 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\dellcommandupdate-uwp.nupkg.bkp". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.files" with "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.files.1384.update". Backup placed at "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.files.backup". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.files.1384.update" to "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.files". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.files.1384.update". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.arguments". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.extra". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.version". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.sxs". 2022-10-27 09:05:13,915 1384 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dellcommandupdate-uwp.4.6.0.20220907\.pin". 2022-10-27 09:05:13,930 1384 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers... 2022-10-27 09:05:13,930 1384 [ERROR] - The install of dellcommandupdate-uwp was NOT successful. 2022-10-27 09:05:13,930 1384 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1'. See log for details. 2022-10-27 09:05:13,930 1384 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp' to 'C:\ProgramData\chocolatey\lib-bad\dellcommandupdate-uwp' 2022-10-27 09:05:15,947 1384 [WARN ] - Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). 2022-10-27 09:05:15,961 1384 [INFO ] - 2022-10-27 09:05:15,961 1384 [ERROR] - Failures 2022-10-27 09:05:15,961 1384 [ERROR] - - dellcommandupdate-uwp (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\dellcommandupdate-uwp\tools\chocolateyinstall.ps1'. See log for details. 2022-10-27 09:05:15,961 1384 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2022-10-27 09:05:15,961 1384 [DEBUG] - [Countdown] Determining how long until license expires 2022-10-27 09:05:15,961 1384 [WARN ] - You have 3 days left in your trial period. Purchase licensing as soon as possible to prevent loss of features. Contact sales@chocolatey.io or your Chocolatey representative. 2022-10-27 09:05:15,993 1384 [DEBUG] - chocolatey 1.1.0 2022-10-27 09:05:15,993 1384 [DEBUG] - chocolatey-compatibility.extension 1.0.0 2022-10-27 09:05:15,993 1384 [DEBUG] - chocolatey-core.extension 1.4.0 2022-10-27 09:05:15,993 1384 [DEBUG] - chocolatey-dotnetfx.extension 1.0.1 2022-10-27 09:05:15,993 1384 [DEBUG] - chocolatey-license 2022.10.31.100 2022-10-27 09:05:16,008 1384 [DEBUG] - chocolatey.extension 4.2.0 2022-10-27 09:05:16,008 1384 [DEBUG] - chocolateygui 1.1.0 2022-10-27 09:05:16,008 1384 [DEBUG] - chocolateygui.extension 1.0.1 2022-10-27 09:05:16,008 1384 [DEBUG] - dotnetfx 4.8.0.20220524 2022-10-27 09:05:16,008 1384 [DEBUG] - KB2919355 1.0.20160915 2022-10-27 09:05:16,008 1384 [DEBUG] - KB2919442 1.0.20160915 2022-10-27 09:05:16,040 1384 [DEBUG] - [Programs & Features Package Sync] Ensuring all installed packages that don't have software natively installed are not listed in Programs and Features. 2022-10-27 09:05:16,040 1384 [DEBUG] - chocolatey 1.1.0 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolatey-compatibility.extension 1.0.0 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolatey-core.extension 1.4.0 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolatey-dotnetfx.extension 1.0.1 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolatey-license 2022.10.31.100 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolatey.extension 4.2.0 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolateygui 1.1.0 2022-10-27 09:05:16,055 1384 [DEBUG] - chocolateygui.extension 1.0.1 2022-10-27 09:05:16,055 1384 [DEBUG] - dotnetfx 4.8.0.20220524 2022-10-27 09:05:16,071 1384 [DEBUG] - KB2919355 1.0.20160915 2022-10-27 09:05:16,071 1384 [DEBUG] - KB2919442 1.0.20160915 2022-10-27 09:05:16,087 1384 [DEBUG] - Exiting with -1 ~~~

References

This issue was originally raised by @imm0rtalsupp0rt

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 5.0.1