Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install through Chocolatey #762

Open
jaysonwcs opened this issue Dec 11, 2024 · 1 comment
Open

Cannot install through Chocolatey #762

jaysonwcs opened this issue Dec 11, 2024 · 1 comment

Comments

@jaysonwcs
Copy link

jaysonwcs commented Dec 11, 2024

This error is happening since 2020. When trying to upgrade from version 3.24.214 to 3.24.246, I get this error:

You have ditto v3.24.214 installed. Version 3.24.246.0 is available based on your source(s).
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading ditto 3.24.246.0... 100%

ditto v3.24.246 [Approved]
ditto package files upgrade completed. Performing other installation steps.
ERROR: Cannot process argument transformation on parameter 'file'. Cannot convert value to type System.String.
The upgrade of ditto was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1'.
 See log for details.

Log part:

2024-11-30 02:11:24,086 3492 [INFO ] - [NuGet]   GET https://community.chocolatey.org/api/v2/Packages()?$filter=(tolower(Id) eq 'ditto') and IsLatestVersion&semVerLevel=2.0.0
2024-11-30 02:11:24,117 3492 [INFO ] - [NuGet]   OK https://community.chocolatey.org/api/v2/Packages()?$filter=(tolower(Id) eq 'ditto') and IsLatestVersion&semVerLevel=2.0.0 30ms
2024-11-30 02:11:24,133 3492 [WARN ] - 
You have ditto v3.24.214 installed. Version 3.24.246.0 is available based on your source(s).
2024-11-30 02:11:24,133 3492 [INFO ] - [NuGet]   GET https://community.chocolatey.org/api/v2/Packages(Id='ditto',Version='3.24.246')
2024-11-30 02:11:24,656 3492 [INFO ] - [NuGet]   NotFound https://community.chocolatey.org/api/v2/Packages(Id='ditto',Version='3.24.246') 521ms
2024-11-30 02:11:24,656 3492 [INFO ] - [NuGet]   GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='ditto'&semVerLevel=2.0.0
2024-11-30 02:11:25,538 3492 [INFO ] - [NuGet]   OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='ditto'&semVerLevel=2.0.0 881ms
2024-11-30 02:11:25,820 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712312303683','3.24.231-beta','ditto'
2024-11-30 02:11:48,664 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712312303683','3.24.231-beta','ditto' 22842ms
2024-11-30 02:11:48,851 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712312303683','3.22.84-beta','ditto'
2024-11-30 02:11:49,883 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712312303683','3.22.84-beta','ditto' 1038ms
2024-11-30 02:11:49,929 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712311413787','3.24.232-beta','ditto'
2024-11-30 02:11:50,961 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712311413787','3.24.232-beta','ditto' 1030ms
2024-11-30 02:11:51,133 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712311413787','3.21.258','ditto'
2024-11-30 02:11:52,182 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712311413787','3.21.258','ditto' 1036ms
2024-11-30 02:11:52,300 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712309606233','3.22.12-beta','ditto'
2024-11-30 02:11:53,349 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712309606233','3.22.12-beta','ditto' 1045ms
2024-11-30 02:11:53,490 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712299713083','3.24.277-beta','ditto'
2024-11-30 02:11:54,535 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1712299713083','3.24.277-beta','ditto' 1036ms
2024-11-30 02:11:54,541 3492 [INFO ] - [NuGet]   GET http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1709907538340','3.23.122-beta','ditto'
2024-11-30 02:11:55,289 3492 [INFO ] - [NuGet]   OK http://community.chocolatey.org/api/v2/FindPackagesById?id='ditto'&$skiptoken='1709907538340','3.23.122-beta','ditto' 744ms
2024-11-30 02:11:55,414 3492 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-11-30 02:11:55,430 3492 [DEBUG] - Running beforeModify step for 'ditto'
2024-11-30 02:11:55,430 3492 [DEBUG] - Backing up package files for 'ditto'
2024-11-30 02:11:55,430 3492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\ditto".
2024-11-30 02:11:55,445 3492 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\ditto to C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214
2024-11-30 02:11:55,445 3492 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ditto'
 to 'C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214'
2024-11-30 02:11:57,472 3492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ditto".
2024-11-30 02:11:57,476 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\ditto.nupkg"
 to "C:\ProgramData\chocolatey\lib\ditto\ditto.nupkg".
2024-11-30 02:11:57,476 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\ditto.nuspec"
 to "C:\ProgramData\chocolatey\lib\ditto\ditto.nuspec".
2024-11-30 02:11:57,492 3492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ditto\tools".
2024-11-30 02:11:57,492 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\tools\chocolateyInstall.ps1"
 to "C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1".
2024-11-30 02:11:57,492 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\tools\DittoSetup_3_24_214_0.exe"
 to "C:\ProgramData\chocolatey\lib\ditto\tools\DittoSetup_3_24_214_0.exe".
2024-11-30 02:11:57,726 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\tools\DittoSetup_64bit_3_24_214_0.exe"
 to "C:\ProgramData\chocolatey\lib\ditto\tools\DittoSetup_64bit_3_24_214_0.exe".
2024-11-30 02:11:57,995 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\tools\LICENSE.txt"
 to "C:\ProgramData\chocolatey\lib\ditto\tools\LICENSE.txt".
2024-11-30 02:11:58,007 3492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214\tools\VERIFICATION.txt"
 to "C:\ProgramData\chocolatey\lib\ditto\tools\VERIFICATION.txt".
2024-11-30 02:11:59,533 3492 [DEBUG] - Deleting file C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1
2024-11-30 02:11:59,539 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1".
2024-11-30 02:11:59,539 3492 [DEBUG] - Ensuring removal of installation files.
2024-11-30 02:11:59,539 3492 [DEBUG] - Removing nupkg if it still exists.
2024-11-30 02:11:59,555 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ditto\ditto.nupkg".
2024-11-30 02:11:59,585 3492 [DEBUG] - Attempting to delete file "".
2024-11-30 02:11:59,585 3492 [INFO ] - [NuGet]   GET https://community.chocolatey.org/api/v2/package/ditto/3.24.246.0
2024-11-30 02:11:59,945 3492 [INFO ] - [NuGet]   OK https://community.chocolatey.org/api/v2/package/ditto/3.24.246.0 362ms
2024-11-30 02:11:59,961 3492 [INFO ] - [NuGet] Acquiring lock for the installation of ditto 3.24.246.0
2024-11-30 02:11:59,961 3492 [INFO ] - [NuGet] Acquired lock for the installation of ditto 3.24.246.0
2024-11-30 02:12:01,086 3492 [INFO ] - [NuGet] Installed ditto 3.24.246.0 from https://community.chocolatey.org/api/v2/ with content hash SMjbVFI+Dn4jAmTa3SQMHfYPhxjmkBNbYdfq+6UOBu2WRPFQ6uadDUyueUT91bRszo1PwTUyI5XoGhlDbUZnNA==.
2024-11-30 02:12:01,164 3492 [INFO ] - [NuGet] Adding package 'ditto.3.24.246' to folder 'C:\ProgramData\chocolatey\lib'
2024-11-30 02:12:04,632 3492 [INFO ] - [NuGet] Added package 'ditto.3.24.246' to folder 'C:\ProgramData\chocolatey\lib'
2024-11-30 02:12:04,632 3492 [DEBUG] - Attempting to delete file "C:\Users\Jayson\AppData\Local\Temp\ChocolateyScratch\ditto/3.24.246\ditto.3.24.246.nupkg".
2024-11-30 02:12:04,632 3492 [DEBUG] - Attempting to delete file "C:\Users\Jayson\AppData\Local\Temp\ChocolateyScratch\ditto/3.24.246\.nupkg.metadata".
2024-11-30 02:12:04,632 3492 [DEBUG] - Attempting to delete file "C:\Users\Jayson\AppData\Local\Temp\ChocolateyScratch\ditto/3.24.246\ditto.3.24.246.nupkg.sha512".
2024-11-30 02:12:04,632 3492 [INFO ] - 
ditto v3.24.246 [Approved]
2024-11-30 02:12:04,651 3492 [INFO ] - ditto package files upgrade completed. Performing other installation steps.
2024-11-30 02:12:04,742 3492 [DEBUG] - Setting installer args for ditto
2024-11-30 02:12:04,742 3492 [DEBUG] - Setting package parameters for ditto
2024-11-30 02:12:04,742 3492 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1':
2024-11-30 02:12:04,742 3492 [DEBUG] - $toolsDir   = Split-Path -parent $MyInvocation.MyCommand.Definition
$FileLocations = Get-ChildItem -Path $toolsDir -Filter '*.exe' | select -ExpandProperty FullName
 
$packageArgs = @{
  packageName  = $env:ChocolateyPackageName
  fileType     = 'EXE'
  File         = $FileLocations | Where-Object {$_ -notmatch '64bit'}
  File64       = $FileLocations | Where-Object {$_ -match '64bit'}
  softwareName = $env:ChocolateyPackageName.split('.')[0]
  silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /SP-'
  validExitCodes= @(0)
}

Install-ChocolateyInstallPackage @packageArgs
 
foreach ($exe in $FileLocations) {
   New-Item "$exe.ignore" -Type file -Force | Out-Null
}
2024-11-30 02:12:04,742 3492 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-11-30 02:12:04,820 3492 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.5129' and CLR Version is '4.0.30319.42000'.
2024-11-30 02:12:04,914 3492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\chocolatey\tools\chocolateyInstall\helpers\Chocolatey.PowerShell.dll'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-11-30 02:12:04,930 3492 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-11-30 02:12:04,930 3492 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2024-11-30 02:12:04,930 3492 [DEBUG] - Get-EnvironmentVariable
2024-11-30 02:12:04,945 3492 [DEBUG] - Get-EnvironmentVariableNames
2024-11-30 02:12:04,945 3492 [DEBUG] - Install-ChocolateyPath
2024-11-30 02:12:04,945 3492 [DEBUG] - Set-EnvironmentVariable
2024-11-30 02:12:04,945 3492 [DEBUG] - Test-ProcessAdminRights
2024-11-30 02:12:04,945 3492 [DEBUG] - Uninstall-ChocolateyPath
2024-11-30 02:12:04,945 3492 [DEBUG] - Update-SessionEnvironment
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-11-30 02:12:04,945 3492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-11-30 02:12:04,961 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-11-30 02:12:04,976 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-30 02:12:04,976 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-11-30 02:12:04,981 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-11-30 02:12:04,981 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-11-30 02:12:04,981 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-11-30 02:12:04,987 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-11-30 02:12:05,003 3492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-11-30 02:12:05,003 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-11-30 02:12:05,008 3492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-11-30 02:12:05,008 3492 [DEBUG] - Loading community extensions
2024-11-30 02:12:05,008 3492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2024-11-30 02:12:05,024 3492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2024-11-30 02:12:05,039 3492 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2024-11-30 02:12:05,039 3492 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2024-11-30 02:12:05,039 3492 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2024-11-30 02:12:05,055 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2024-11-30 02:12:05,055 3492 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2024-11-30 02:12:05,055 3492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2024-11-30 02:12:05,055 3492 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2024-11-30 02:12:05,055 3492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2024-11-30 02:12:05,055 3492 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2024-11-30 02:12:05,070 3492 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2024-11-30 02:12:05,070 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2024-11-30 02:12:05,070 3492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2024-11-30 02:12:05,070 3492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2024-11-30 02:12:05,070 3492 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2024-11-30 02:12:05,070 3492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2024-11-30 02:12:05,070 3492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2024-11-30 02:12:05,132 3492 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2024-11-30 02:12:05,132 3492 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2024-11-30 02:12:05,148 3492 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2024-11-30 02:12:05,164 3492 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2024-11-30 02:12:05,164 3492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2024-11-30 02:12:05,164 3492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2024-11-30 02:12:05,195 3492 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2024-11-30 02:12:05,195 3492 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2024-11-30 02:12:05,195 3492 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2024-11-30 02:12:05,195 3492 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2024-11-30 02:12:05,195 3492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-11-30 02:12:05,195 3492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-11-30 02:12:05,212 3492 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-11-30 02:12:05,212 3492 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-11-30 02:12:05,222 3492 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-11-30 02:12:05,222 3492 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-11-30 02:12:05,222 3492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-11-30 02:12:05,222 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-11-30 02:12:05,222 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-11-30 02:12:05,226 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2024-11-30 02:12:05,242 3492 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-11-30 02:12:05,257 3492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-11-30 02:12:05,273 3492 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-11-30 02:12:05,283 3492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-11-30 02:12:05,289 3492 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2024-11-30 02:12:05,304 3492 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-11-30 02:12:05,320 3492 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-11-30 02:12:05,330 3492 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-11-30 02:12:05,330 3492 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-11-30 02:12:05,330 3492 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-11-30 02:12:05,330 3492 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-11-30 02:12:05,330 3492 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-11-30 02:12:05,330 3492 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-11-30 02:12:05,367 3492 [DEBUG] - ---------------------------Script Execution---------------------------
2024-11-30 02:12:05,367 3492 [DEBUG] - Running 'ChocolateyScriptRunner' for ditto v3.24.246 with packageScript 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ditto', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-11-30 02:12:05,367 3492 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1'
2024-11-30 02:12:05,523 3492 [ERROR] - ERROR: Cannot process argument transformation on parameter 'file'. Cannot convert value to type System.String.
2024-11-30 02:12:05,542 3492 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2024-11-30 02:12:05,542 3492 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-11-30 02:12:05,601 3492 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-11-30 02:12:05,685 3492 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ditto'
2024-11-30 02:12:05,726 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\ditto.nupkg'
  with checksum 'B34CC189ADAB0748D5C58E444C803CBD'
2024-11-30 02:12:05,726 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\ditto.nuspec'
  with checksum 'E49283E17FF1E717EB0E8CD9E7BF78E7'
2024-11-30 02:12:05,726 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1'
  with checksum 'D19F1BBD08042EC7533F63A6BC4E8AF9'
2024-11-30 02:12:05,742 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\DittoSetup_3_24_214_0.exe'
  with checksum 'E16A93B195977BDC0441976FCDF4FBB2'
2024-11-30 02:12:05,768 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\DittoSetup_3_24_246_0.exe'
  with checksum '09FB139337EECCFD9DBA13AE77B2BD11'
2024-11-30 02:12:05,789 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\DittoSetup_64bit_3_24_214_0.exe'
  with checksum '0315E201778585E67A6CE080BA0D31FA'
2024-11-30 02:12:05,820 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\DittoSetup_64bit_3_24_246_0.exe'
  with checksum 'A0F1F44B7219578C691DACB3FC8A98AD'
2024-11-30 02:12:05,820 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\LICENSE.txt'
  with checksum '664AA96239B59B044722945D56F70200'
2024-11-30 02:12:05,820 3492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ditto\tools\VERIFICATION.txt'
  with checksum '7A99A9CD20F03475016206B169F14079'
2024-11-30 02:12:05,820 3492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246".
2024-11-30 02:12:05,820 3492 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246\.files'
2024-11-30 02:12:05,820 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246\.arguments".
2024-11-30 02:12:05,820 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246\.extra".
2024-11-30 02:12:05,820 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246\.version".
2024-11-30 02:12:05,820 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246\.sxs".
2024-11-30 02:12:05,820 3492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ditto.3.24.246\.pin".
2024-11-30 02:12:05,820 3492 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-11-30 02:12:05,820 3492 [ERROR] - The upgrade of ditto was NOT successful.
2024-11-30 02:12:05,836 3492 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\ditto\tools\chocolateyInstall.ps1'.
 See log for details.
2024-11-30 02:12:05,836 3492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\ditto".
2024-11-30 02:12:05,836 3492 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\ditto to C:\ProgramData\chocolatey\lib-bad\ditto\3.24.246
2024-11-30 02:12:05,836 3492 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ditto'
 to 'C:\ProgramData\chocolatey\lib-bad\ditto\3.24.246'
2024-11-30 02:12:07,851 3492 [DEBUG] - Attempting rollback
2024-11-30 02:12:07,851 3492 [DEBUG] - Moving C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214 to C:\ProgramData\chocolatey\lib\ditto
2024-11-30 02:12:07,867 3492 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\ditto\3.24.214'
 to 'C:\ProgramData\chocolatey\lib\ditto'
2024-11-30 02:12:09,884 3492 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\ditto".
2024-11-30 02:12:09,884 3492 [DEBUG] - Running list with the following filter = ''
@JamesDBartlett3
Copy link

@jaysonwcs, I know this isn't exactly the solution you're looking for, but have you tried installing Ditto with a different package manager, like Scoop or WinGet?

I used to install all of my apps with Chocolatey, but I got tired of running into weird installation issues like this on a regular basis, so I started using Scoop and WinGet as my primary and secondary sources for installing apps, and I only use Chocolatey to install apps that I can't get from either of them (which is pretty rare). One of my favorite aspects of Scoop is that when it "installs" an app, it actually just extracts the installer file, creates a "portable" version of the app, and saves it under %USERPROFILE%\scoop\, so it never requires elevation to Administrator.

I've been running Ditto installed from Scoop for over a year now, and it's been a totally seamless, bug-free experience. If you're open to trying other package managers besides Chocolatey, I definitely recommend Scoop, particularly for standalone apps like Ditto.

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

No branches or pull requests

2 participants