Skip to content

Instantly share code, notes, and snippets.

@asheroto
Created May 17, 2023 08:12
Show Gist options
  • Select an option

  • Save asheroto/e85da01c0cac2edd7599441d16fad4bb to your computer and use it in GitHub Desktop.

Select an option

Save asheroto/e85da01c0cac2edd7599441d16fad4bb to your computer and use it in GitHub Desktop.
PowerToys installer issue with Chocolatey
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileName = "$toolsDir\PowerToysSetup-0.68.1-x64.exe"
$version = "0.68.1"
$WindowsVersion=[Environment]::OSVersion.Version
if ($WindowsVersion.Major -ne "10") {
throw "This package requires Windows 10."
}
$IsCorrectBuild=[Environment]::OSVersion.Version.Build
if ($IsCorrectBuild -lt "17134") {
throw "This package requires at least Windows 10 version 1803/OS build 17134.x."
}
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'PowerToys*'
file = $fileName
fileType = 'exe'
silentArgs = "-silent"
validExitCodes= @(0,1641,3010)
}
Install-ChocolateyInstallPackage @packageArgs
Get-ChildItem $toolsDir\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }
2023-05-17 03:08:56,194 31352 [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\powertoys\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-05-17 03:08:56,196 31352 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-05-17 03:08:56,334 31352 [DEBUG] - Host version is 5.1.22621.1, PowerShell Version is '5.1.22621.963' and CLR Version is '4.0.30319.42000'.
2023-05-17 03:08:56,894 31352 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-17 03:08:56,895 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-17 03:08:56,896 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-17 03:08:56,896 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-17 03:08:56,896 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-17 03:08:56,896 31352 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-17 03:08:56,897 31352 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-17 03:08:56,897 31352 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-17 03:08:56,897 31352 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-17 03:08:56,898 31352 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-17 03:08:56,898 31352 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-17 03:08:56,898 31352 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-17 03:08:56,898 31352 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-17 03:08:56,899 31352 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-17 03:08:56,899 31352 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-17 03:08:56,899 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-17 03:08:56,899 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-17 03:08:56,900 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-17 03:08:56,900 31352 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-17 03:08:56,900 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 03:08:56,900 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 03:08:56,901 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-17 03:08:56,901 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-17 03:08:56,901 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-17 03:08:56,901 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-17 03:08:56,902 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 03:08:56,902 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-17 03:08:56,902 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-17 03:08:56,902 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-17 03:08:56,903 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-17 03:08:56,903 31352 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-17 03:08:56,903 31352 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-17 03:08:56,904 31352 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-17 03:08:56,904 31352 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 03:08:56,904 31352 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-17 03:08:56,904 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-17 03:08:56,905 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 03:08:56,905 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-17 03:08:56,905 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 03:08:56,906 31352 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-17 03:08:56,906 31352 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-17 03:08:56,906 31352 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-17 03:08:56,907 31352 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-17 03:08:56,907 31352 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-17 03:08:56,907 31352 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-17 03:08:56,908 31352 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-17 03:08:56,909 31352 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-17 03:08:56,909 31352 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-17 03:08:56,910 31352 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-17 03:08:56,910 31352 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-17 03:08:56,914 31352 [DEBUG] - Loading community extensions
2023-05-17 03:08:56,922 31352 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2023-05-17 03:08:56,923 31352 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2023-05-17 03:08:56,991 31352 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2023-05-17 03:08:56,992 31352 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2023-05-17 03:08:56,992 31352 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2023-05-17 03:08:57,001 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-05-17 03:08:57,002 31352 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2023-05-17 03:08:57,011 31352 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-05-17 03:08:57,012 31352 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2023-05-17 03:08:57,019 31352 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-05-17 03:08:57,020 31352 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2023-05-17 03:08:57,028 31352 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-05-17 03:08:57,029 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-05-17 03:08:57,029 31352 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-05-17 03:08:57,029 31352 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-05-17 03:08:57,030 31352 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-05-17 03:08:57,037 31352 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2023-05-17 03:08:57,037 31352 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2023-05-17 03:08:57,128 31352 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-05-17 03:08:57,129 31352 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-05-17 03:08:57,130 31352 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-05-17 03:08:57,130 31352 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-05-17 03:08:57,130 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-05-17 03:08:57,131 31352 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-05-17 03:08:57,131 31352 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-05-17 03:08:57,132 31352 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-05-17 03:08:57,132 31352 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-05-17 03:08:57,132 31352 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-05-17 03:08:57,132 31352 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-05-17 03:08:57,133 31352 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-05-17 03:08:57,133 31352 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-05-17 03:08:57,133 31352 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-05-17 03:08:57,134 31352 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2023-05-17 03:08:57,134 31352 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2023-05-17 03:08:57,190 31352 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2023-05-17 03:08:57,190 31352 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2023-05-17 03:08:57,191 31352 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2023-05-17 03:08:57,191 31352 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2023-05-17 03:08:57,192 31352 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-os-dependency\chocolatey-os-dependency.psm1'
2023-05-17 03:08:57,192 31352 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-os-dependency\chocolatey-os-dependency.psm1'.
2023-05-17 03:08:57,209 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win11'.
2023-05-17 03:08:57,210 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win10'.
2023-05-17 03:08:57,210 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win81'.
2023-05-17 03:08:57,211 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win80'.
2023-05-17 03:08:57,211 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win8'.
2023-05-17 03:08:57,211 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win7'.
2023-05-17 03:08:57,211 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-WinMinimumBuild'.
2023-05-17 03:08:57,212 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-WinRequiredBuild'.
2023-05-17 03:08:57,212 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win10'.
2023-05-17 03:08:57,212 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win11'.
2023-05-17 03:08:57,213 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win7'.
2023-05-17 03:08:57,213 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win8'.
2023-05-17 03:08:57,213 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win80'.
2023-05-17 03:08:57,213 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win81'.
2023-05-17 03:08:57,214 31352 [INFO ] - VERBOSE: Importing function 'Confirm-WinMinimumBuild'.
2023-05-17 03:08:57,214 31352 [INFO ] - VERBOSE: Importing function 'Confirm-WinRequiredBuild'.
2023-05-17 03:08:57,215 31352 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'
2023-05-17 03:08:57,215 31352 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'.
2023-05-17 03:08:57,758 31352 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioComponent'.
2023-05-17 03:08:57,758 31352 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
2023-05-17 03:08:57,759 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
2023-05-17 03:08:57,759 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
2023-05-17 03:08:57,759 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstance'.
2023-05-17 03:08:57,760 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
2023-05-17 03:08:57,760 31352 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudio'.
2023-05-17 03:08:57,760 31352 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
2023-05-17 03:08:57,760 31352 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
2023-05-17 03:08:57,761 31352 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
2023-05-17 03:08:57,761 31352 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
2023-05-17 03:08:57,761 31352 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
2023-05-17 03:08:57,762 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudio'.
2023-05-17 03:08:57,762 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
2023-05-17 03:08:57,762 31352 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2023-05-17 03:08:57,763 31352 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2023-05-17 03:08:57,763 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2023-05-17 03:08:57,763 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2023-05-17 03:08:57,763 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2023-05-17 03:08:57,764 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2023-05-17 03:08:57,764 31352 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2023-05-17 03:08:57,764 31352 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2023-05-17 03:08:57,764 31352 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2023-05-17 03:08:57,765 31352 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2023-05-17 03:08:57,765 31352 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2023-05-17 03:08:57,765 31352 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2023-05-17 03:08:57,765 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2023-05-17 03:08:57,765 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2023-05-17 03:08:57,766 31352 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-05-17 03:08:57,767 31352 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-05-17 03:08:57,834 31352 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-17 03:08:57,834 31352 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-17 03:08:57,835 31352 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-17 03:08:57,835 31352 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-17 03:08:57,835 31352 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-17 03:08:57,836 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-17 03:08:57,836 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-17 03:08:57,836 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-17 03:08:57,837 31352 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-17 03:08:57,837 31352 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-17 03:08:57,837 31352 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-17 03:08:57,837 31352 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-17 03:08:57,838 31352 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-17 03:08:57,838 31352 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-17 03:08:57,838 31352 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-17 03:08:57,839 31352 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-17 03:08:57,839 31352 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-17 03:08:57,839 31352 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-17 03:08:57,839 31352 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-17 03:08:57,840 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-17 03:08:57,840 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-17 03:08:57,840 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-17 03:08:57,840 31352 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-17 03:08:57,840 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 03:08:57,841 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 03:08:57,841 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-17 03:08:57,841 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-17 03:08:57,841 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-17 03:08:57,842 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-17 03:08:57,842 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 03:08:57,842 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-17 03:08:57,842 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-17 03:08:57,843 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-17 03:08:57,843 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-17 03:08:57,843 31352 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-17 03:08:57,843 31352 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-17 03:08:57,844 31352 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-17 03:08:57,844 31352 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 03:08:57,844 31352 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-17 03:08:57,844 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-17 03:08:57,845 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 03:08:57,845 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-17 03:08:57,845 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 03:08:57,845 31352 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-17 03:08:57,846 31352 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-17 03:08:57,846 31352 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-05-17 03:08:57,846 31352 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-05-17 03:08:57,846 31352 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-05-17 03:08:57,847 31352 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-05-17 03:08:57,847 31352 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-05-17 03:08:57,847 31352 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-05-17 03:08:57,847 31352 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-05-17 03:08:57,848 31352 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-05-17 03:08:57,848 31352 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-05-17 03:08:57,848 31352 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-05-17 03:08:57,848 31352 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-05-17 03:08:57,849 31352 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2023-05-17 03:08:57,849 31352 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2023-05-17 03:08:57,849 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win10'.
2023-05-17 03:08:57,849 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win11'.
2023-05-17 03:08:57,849 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win7'.
2023-05-17 03:08:57,850 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win8'.
2023-05-17 03:08:57,850 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win80'.
2023-05-17 03:08:57,850 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-Win81'.
2023-05-17 03:08:57,850 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-WinMinimumBuild'.
2023-05-17 03:08:57,851 31352 [INFO ] - VERBOSE: Exporting function 'Confirm-WinRequiredBuild'.
2023-05-17 03:08:57,851 31352 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioComponent'.
2023-05-17 03:08:57,851 31352 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
2023-05-17 03:08:57,851 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
2023-05-17 03:08:57,851 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
2023-05-17 03:08:57,852 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstance'.
2023-05-17 03:08:57,853 31352 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
2023-05-17 03:08:57,853 31352 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudio'.
2023-05-17 03:08:57,853 31352 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
2023-05-17 03:08:57,853 31352 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
2023-05-17 03:08:57,854 31352 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
2023-05-17 03:08:57,854 31352 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
2023-05-17 03:08:57,854 31352 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
2023-05-17 03:08:57,854 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudio'.
2023-05-17 03:08:57,855 31352 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
2023-05-17 03:08:57,855 31352 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-17 03:08:57,855 31352 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-17 03:08:57,855 31352 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-17 03:08:57,856 31352 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-17 03:08:57,856 31352 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-17 03:08:57,856 31352 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-17 03:08:57,861 31352 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-17 03:08:57,861 31352 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-17 03:08:57,861 31352 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-17 03:08:57,861 31352 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-17 03:08:57,862 31352 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-17 03:08:57,862 31352 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2023-05-17 03:08:57,862 31352 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2023-05-17 03:08:57,863 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win10'.
2023-05-17 03:08:57,863 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win11'.
2023-05-17 03:08:57,863 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win7'.
2023-05-17 03:08:57,863 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win8'.
2023-05-17 03:08:57,864 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win80'.
2023-05-17 03:08:57,864 31352 [INFO ] - VERBOSE: Importing function 'Confirm-Win81'.
2023-05-17 03:08:57,864 31352 [INFO ] - VERBOSE: Importing function 'Confirm-WinMinimumBuild'.
2023-05-17 03:08:57,864 31352 [INFO ] - VERBOSE: Importing function 'Confirm-WinRequiredBuild'.
2023-05-17 03:08:57,865 31352 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-05-17 03:08:57,865 31352 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-05-17 03:08:57,865 31352 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-05-17 03:08:57,865 31352 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-05-17 03:08:57,866 31352 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-05-17 03:08:57,866 31352 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-05-17 03:08:57,866 31352 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-05-17 03:08:57,866 31352 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-05-17 03:08:57,866 31352 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-05-17 03:08:57,867 31352 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-05-17 03:08:57,867 31352 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-05-17 03:08:57,867 31352 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-05-17 03:08:57,867 31352 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-05-17 03:08:57,867 31352 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-05-17 03:08:57,868 31352 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-05-17 03:08:57,868 31352 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-05-17 03:08:57,869 31352 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-05-17 03:08:57,869 31352 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-05-17 03:08:57,869 31352 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-05-17 03:08:57,870 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2023-05-17 03:08:57,870 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2023-05-17 03:08:57,870 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2023-05-17 03:08:57,870 31352 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2023-05-17 03:08:57,871 31352 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-05-17 03:08:57,871 31352 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-05-17 03:08:57,871 31352 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-05-17 03:08:57,871 31352 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-05-17 03:08:57,871 31352 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-05-17 03:08:57,872 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-05-17 03:08:57,872 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 03:08:57,872 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 03:08:57,872 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-05-17 03:08:57,873 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-05-17 03:08:57,873 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-05-17 03:08:57,873 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-05-17 03:08:57,874 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 03:08:57,874 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-05-17 03:08:57,874 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-05-17 03:08:57,874 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-05-17 03:08:57,875 31352 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-05-17 03:08:57,875 31352 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2023-05-17 03:08:57,875 31352 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2023-05-17 03:08:57,875 31352 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2023-05-17 03:08:57,876 31352 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2023-05-17 03:08:57,876 31352 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2023-05-17 03:08:57,876 31352 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-05-17 03:08:57,876 31352 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-17 03:08:57,877 31352 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-05-17 03:08:57,877 31352 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-05-17 03:08:57,877 31352 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2023-05-17 03:08:57,877 31352 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2023-05-17 03:08:57,877 31352 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2023-05-17 03:08:57,877 31352 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-05-17 03:08:57,879 31352 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-05-17 03:08:57,879 31352 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 03:08:57,879 31352 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-05-17 03:08:57,879 31352 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-17 03:08:57,880 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-05-17 03:08:57,880 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 03:08:57,880 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-05-17 03:08:57,880 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 03:08:57,881 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2023-05-17 03:08:57,881 31352 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2023-05-17 03:08:57,881 31352 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-05-17 03:08:57,882 31352 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-05-17 03:08:57,882 31352 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-05-17 03:08:57,882 31352 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-05-17 03:08:57,883 31352 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-05-17 03:08:57,883 31352 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-05-17 03:08:57,883 31352 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-05-17 03:08:57,883 31352 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-05-17 03:08:57,884 31352 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-05-17 03:08:57,884 31352 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-05-17 03:08:57,884 31352 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-05-17 03:08:57,884 31352 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-05-17 03:08:57,885 31352 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-05-17 03:08:57,885 31352 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-05-17 03:08:57,906 31352 [DEBUG] - ---------------------------Script Execution---------------------------
2023-05-17 03:08:57,907 31352 [DEBUG] - Running 'ChocolateyScriptRunner' for powertoys v0.68.1 with packageScript 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\powertoys', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-05-17 03:08:57,911 31352 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1'
2023-05-17 03:08:57,943 31352 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '-silent' -file 'C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe' -fileType 'exe' -validExitCodes '0 1641 3010' -packageName 'powertoys'
2023-05-17 03:08:57,945 31352 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-05-17 03:08:57,950 31352 [INFO ] - Installing powertoys...
2023-05-17 03:08:58,919 31352 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1641 3010' -workingDirectory 'C:\ProgramData\chocolatey\lib\powertoys\tools' -statements '-silent ' -exeToRun 'C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe'
2023-05-17 03:08:58,929 31352 [DEBUG] - Test-ProcessAdminRights: returning True
2023-05-17 03:08:58,934 31352 [DEBUG] - Elevating permissions and running ["C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe" -silent ]. This may take a while, depending on the statements.
2023-05-17 03:09:01,080 31352 [DEBUG] - Command ["C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe" -silent ] exited with '1'.
2023-05-17 03:09:01,093 31352 [ERROR] - ERROR: Running ["C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe" -silent ] was not successful. Exit code was '1'. See log for possible error messages.
2023-05-17 03:09:01,095 31352 [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\powertoys\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '1'.
2023-05-17 03:09:01,096 31352 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2023-05-17 03:09:01,154 31352 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2023-05-17 03:09:01,279 31352 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\powertoys'
2023-05-17 03:09:01,588 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\powertoys.nupkg'
with checksum '1DD3B853F6D758C53F937BF77C64AE7A'
2023-05-17 03:09:01,589 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\powertoys.nuspec'
with checksum 'BBD79AAA3E10D2019F9C40F72DD852AF'
2023-05-17 03:09:01,590 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\legal\LICENSE.txt'
with checksum '804CF0347D637C746A7CDC0FAD792624'
2023-05-17 03:09:01,590 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\legal\VERIFICATION.txt'
with checksum '65339638449232F2B9BC916CF9200A79'
2023-05-17 03:09:01,591 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1'
with checksum 'A9CDACC923032618774061F93BFEE83E'
2023-05-17 03:09:01,920 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe'
with checksum '911A6223779DD825BC0C7C6DA1CE69A3'
2023-05-17 03:09:01,920 31352 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\powertoys\tools\PowerToysSetup-0.68.1-x64.exe.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-05-17 03:09:01,928 31352 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.68.1\.arguments".
2023-05-17 03:09:01,928 31352 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.68.1\.extra".
2023-05-17 03:09:01,929 31352 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.68.1\.version".
2023-05-17 03:09:01,929 31352 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.68.1\.sxs".
2023-05-17 03:09:01,929 31352 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.68.1\.pin".
2023-05-17 03:09:01,932 31352 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\powertoys".
2023-05-17 03:09:01,941 31352 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-05-17 03:09:01,942 31352 [ERROR] - The upgrade of powertoys was NOT successful.
2023-05-17 03:09:01,944 31352 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1'.
See log for details.
2023-05-17 03:09:01,944 31352 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\powertoys'
to 'C:\ProgramData\chocolatey\lib-bad\powertoys'
2023-05-17 03:09:03,954 31352 [DEBUG] - Attempting rollback
2023-05-17 03:09:03,954 31352 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\powertoys'
to 'C:\ProgramData\chocolatey\lib\powertoys'
2023-05-17 03:09:05,964 31352 [DEBUG] - Attempting to delete file "C:\Users\User\AppData\Local\NuGet\Cache\powertoys.0.68.1.nupkg".
2023-05-17 03:09:05,983 31352 [WARN ] -
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-05-17 03:09:05,984 31352 [INFO ] -
2023-05-17 03:09:05,984 31352 [ERROR] - Failures
2023-05-17 03:09:05,985 31352 [ERROR] - - powertoys (exited 1) - Error while running 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1'.
See log for details.
2023-05-17 03:09:05,986 31352 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-17 03:09:06,000 31352 [DEBUG] - Exiting with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment