Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpluimers/7be482fdafee9e2bf0a6cf360ce0e5b3 to your computer and use it in GitHub Desktop.
Save jpluimers/7be482fdafee9e2bf0a6cf360ce0e5b3 to your computer and use it in GitHub Desktop.
Chocolatey vcredist140 update failing during "You have vcredist140 v14.31.31103.20220402 installed. Version 14.32.31326 is available based on your source(s)."
2022-05-11 11:35:36,609 9952 [DEBUG] - Package 'vcredist140' found on source 'https://chocolatey.org/api/v2/'
2022-05-11 11:35:36,609 9952 [WARN ] -
You have vcredist140 v14.31.31103.20220402 installed. Version 14.32.31326 is available based on your source(s).
2022-05-11 11:35:36,703 9952 [DEBUG] - Backing up existing vcredist140 prior to operation.
2022-05-11 11:35:36,719 9952 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\vcredist140'
to 'C:\ProgramData\chocolatey\lib-bkp\vcredist140'
2022-05-11 11:35:38,734 9952 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\vcredist140".
2022-05-11 11:35:38,734 9952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\vcredist140\vcredist140.nupkg"
to "C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nupkg".
2022-05-11 11:35:38,734 9952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\vcredist140\vcredist140.nuspec"
to "C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nuspec".
2022-05-11 11:35:38,734 9952 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\vcredist140\tools".
2022-05-11 11:35:38,734 9952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\vcredist140\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1".
2022-05-11 11:35:38,750 9952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\vcredist140\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyUninstall.ps1".
2022-05-11 11:35:38,750 9952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\vcredist140\tools\data.ps1"
to "C:\ProgramData\chocolatey\lib\vcredist140\tools\data.ps1".
2022-05-11 11:35:40,266 9952 [DEBUG] - Deleting file C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1
2022-05-11 11:35:40,266 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1".
2022-05-11 11:35:40,266 9952 [DEBUG] - Deleting file C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyUninstall.ps1
2022-05-11 11:35:40,266 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyUninstall.ps1".
2022-05-11 11:35:40,266 9952 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\vcredist140'
2022-05-11 11:35:40,281 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nupkg'
with checksum '2D79938E8082CF169DD4027B6EA554C5'
2022-05-11 11:35:40,281 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nuspec'
with checksum '3AB4F407FDEB59DAC318080324C2F33B'
2022-05-11 11:35:40,281 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\data.ps1'
with checksum '6B188ABBAF4E36026B720FD93F1CBFD8'
2022-05-11 11:35:40,672 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension (= 1.3.3)'.
2022-05-11 11:35:40,687 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-compatibility.extension (= 1.0.0)'.
2022-05-11 11:35:41,437 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'KB3033929 (= 1.0.3)'.
2022-05-11 11:35:41,453 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-windowsupdate.extension (= 1.0.4)'.
2022-05-11 11:35:41,484 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'KB3035131 (= 1.0.3)'.
2022-05-11 11:35:41,500 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919355 (= 1.0.20160915)'.
2022-05-11 11:35:41,516 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919442 (= 1.0.20160915)'.
2022-05-11 11:35:41,547 9952 [INFO ] - [NuGet] Attempting to resolve dependency 'kb2999226 (= 1.0.20170509)'.
2022-05-11 11:35:41,594 9952 [INFO ] - [NuGet] Uninstalling 'vcredist140 14.31.31103.20220402'.
2022-05-11 11:35:41,609 9952 [DEBUG] - [NuGet] Removed file 'data.ps1' to folder 'C:\ProgramData\chocolatey\lib\vcredist140\tools'.
2022-05-11 11:35:41,609 9952 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\vcredist140\tools'.
2022-05-11 11:35:41,625 9952 [DEBUG] - [NuGet] Removed file 'vcredist140.nuspec' to folder 'C:\ProgramData\chocolatey\lib\vcredist140'.
2022-05-11 11:35:41,625 9952 [DEBUG] - [NuGet] Removed file 'vcredist140.nupkg' to folder 'C:\ProgramData\chocolatey\lib\vcredist140'.
2022-05-11 11:35:41,625 9952 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\vcredist140'.
2022-05-11 11:35:41,625 9952 [INFO ] - [NuGet] Successfully uninstalled 'vcredist140 14.31.31103.20220402'.
2022-05-11 11:35:41,641 9952 [INFO ] - [NuGet] Installing 'vcredist140 14.32.31326'.
2022-05-11 11:35:41,656 9952 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'vcredist140\tools'.
2022-05-11 11:35:41,656 9952 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'vcredist140\tools'.
2022-05-11 11:35:41,656 9952 [DEBUG] - [NuGet] Added file 'data.ps1' to folder 'vcredist140\tools'.
2022-05-11 11:35:41,656 9952 [DEBUG] - [NuGet] Added file 'vcredist140.nupkg' to folder 'vcredist140'.
2022-05-11 11:35:41,937 9952 [DEBUG] - [NuGet] Added file 'vcredist140.nuspec' to folder 'vcredist140'.
2022-05-11 11:35:41,953 9952 [INFO ] - [NuGet] Successfully installed 'vcredist140 14.32.31326'.
2022-05-11 11:35:41,953 9952 [INFO ] -
vcredist140 v14.32.31326 [Approved]
2022-05-11 11:35:41,969 9952 [INFO ] - vcredist140 package files upgrade completed. Performing other installation steps.
2022-05-11 11:35:42,094 9952 [DEBUG] - Setting installer args for vcredist140
2022-05-11 11:35:42,109 9952 [DEBUG] - Setting package parameters for vcredist140
2022-05-11 11:35:42,109 9952 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1':
2022-05-11 11:35:42,109 9952 [DEBUG] - Set-StrictMode -Version 2
$ErrorActionPreference = 'Stop'
. (Join-Path -Path (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) -ChildPath 'data.ps1')
$packageName = $otherData.PackageName
$installerType = 'exe'
$silentArgs = '/quiet /norestart'
$validExitCodes = @(0, 1638, 3010)
$force = $Env:chocolateyPackageParameters -like '*Force*'
Write-Verbose 'Checking Service Pack requirements'
$os = Get-WmiObject -Class Win32_OperatingSystem
$version = [Version]$os.Version
if ($version -ge [Version]'6.1' -and $version -lt [Version]'6.2' -and $os.ServicePackMajorVersion -lt 1)
{
# On Windows 7 / Server 2008 R2, Service Pack 1 is required.
throw 'This package requires Service Pack 1 to be installed first. The "KB976932" package may be used to install it.'
}
elseif ($version -ge [Version]'6.0' -and $version -lt [Version]'6.1' -and $os.ServicePackMajorVersion -lt 2)
{
# On Windows Vista / Server 2008, Service Pack 2 is required.
throw 'This package requires Service Pack 2 to be installed first.'
}
elseif ($version -ge [Version]'5.2' -and $version -lt [Version]'6.0' -and $os.ServicePackMajorVersion -lt 2)
{
# On Windows Server 2003 / XP x64, Service Pack 2 is required.
throw 'This package requires Service Pack 2 to be installed first.'
}
elseif ($version -ge [Version]'5.1' -and $version -lt [Version]'5.2' -and $os.ServicePackMajorVersion -lt 3)
{
# On Windows XP, Service Pack 3 is required.
throw 'This package requires Service Pack 3 to be installed first.'
}
$runtimes = @{
'x64' = @{ RegistryPresent = $false; RegistryVersion = $null; DllVersion = $null; InstallData = $installData64; Applicable = ((Get-OSArchitectureWidth) -eq 64) -and ($env:chocolateyForceX86 -ne 'true') }
'x86' = @{ RegistryPresent = $false; RegistryVersion = $null; DllVersion = $null; InstallData = $installData32; Applicable = $true }
}
switch ([string](Get-OSArchitectureWidth))
{
'32' { $registryRoots = @{ x86 = 'HKLM:\SOFTWARE'; x64 = $null } }
'64' { $registryRoots = @{ x86 = 'HKLM:\SOFTWARE\WOW6432Node'; x64 = 'HKLM:\SOFTWARE' } }
default { throw "Unsupported bitness: $_" }
}
Write-Verbose 'Analyzing servicing information in the registry'
foreach ($archAndRegRoot in $registryRoots.GetEnumerator())
{
$arch = $archAndRegRoot.Key
$regRoot = $archAndRegRoot.Value
# https://docs.microsoft.com/en-us/cpp/ide/redistributing-visual-cpp-files
$regData = Get-ItemProperty -Path "$regRoot\Microsoft\DevDiv\vc\Servicing\$($otherData.FamilyRegistryKey)\RuntimeMinimum" -Name 'Version' -ErrorAction SilentlyContinue
if ($regData -ne $null)
{
$versionString = $regData.Version
try
{
$parsedVersion = [version]$versionString
Write-Verbose "Version of installed runtime for architecture $arch in the registry: $versionString"
$normalizedVersion = [version]($parsedVersion.ToString(3)) # future-proofing in case Microsoft starts putting more than 3 parts here
$runtimes[$arch].RegistryVersion = $normalizedVersion
}
catch
{
Write-Warning "The servicing information in the registry is in an unknown format. Please report this to package maintainers. Data from the registry: Version = [$versionString]"
}
}
}
$packageRuntimeVersion = $otherData.ThreePartVersion
Write-Verbose "Version number of runtime installed by this package: $packageRuntimeVersion"
foreach ($archAndRuntime in $runtimes.GetEnumerator())
{
$arch = $archAndRuntime.Key
$runtime = $archAndRuntime.Value
$shouldInstall = $runtime.RegistryVersion -eq $null -or $runtime.RegistryVersion -lt $packageRuntimeVersion
Write-Verbose "Runtime for architecture $arch applicable: $($runtime.Applicable); version in registry: [$($runtime.RegistryVersion)]; should install: $shouldInstall"
if ($runtime.Applicable)
{
if (-not $shouldInstall)
{
if ($force)
{
Write-Warning "Forcing installation of runtime for architecture $arch version $packageRuntimeVersion even though this or later version appears present, because 'Force' was specified in package parameters."
}
else
{
if ($runtime.RegistryVersion -gt $packageRuntimeVersion)
{
Write-Warning "Skipping installation of runtime for architecture $arch version $packageRuntimeVersion because a newer version ($($runtime.RegistryVersion)) is already installed."
}
else
{
Write-Host "Runtime for architecture $arch version $packageRuntimeVersion is already installed."
}
continue
}
}
Write-Verbose "Installing runtime for architecture $arch"
$installData = $runtime.InstallData
Set-StrictMode -Off
Install-ChocolateyPackage -PackageName "${packageName}-$arch" `
-FileType $installerType `
-SilentArgs $silentArgs `
-ValidExitCodes $validExitCodes `
@installData
Set-StrictMode -Version 2
}
}
2022-05-11 11:35:42,141 9952 [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\vcredist140\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2022-05-11 11:35:42,156 9952 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=nl-NL, PublicKeyToken=31bf3856ad364e35, requested by ''
2022-05-11 11:35:42,516 9952 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.1645' and CLR Version is '4.0.30319.42000'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2022-05-11 11:35:43,656 9952 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2022-05-11 11:35:43,672 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2022-05-11 11:35:43,687 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2022-05-11 11:35:43,703 9952 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2022-05-11 11:35:43,719 9952 [DEBUG] - Loading community extensions
2022-05-11 11:35:43,750 9952 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2022-05-11 11:35:43,750 9952 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2022-05-11 11:35:43,828 9952 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2022-05-11 11:35:43,828 9952 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2022-05-11 11:35:43,844 9952 [DEBUG] - Function 'Install-ChocolateyDesktopLink' exists, ignoring export.
2022-05-11 11:35:43,844 9952 [DEBUG] - Function 'Write-ChocolateyFailure' exists, ignoring export.
2022-05-11 11:35:43,844 9952 [DEBUG] - Function 'Write-ChocolateySuccess' exists, ignoring export.
2022-05-11 11:35:43,844 9952 [DEBUG] - Function 'Write-FileUpdateLog' exists, ignoring export.
2022-05-11 11:35:43,844 9952 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2022-05-11 11:35:43,844 9952 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2022-05-11 11:35:44,078 9952 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2022-05-11 11:35:44,078 9952 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2022-05-11 11:35:44,078 9952 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2022-05-11 11:35:44,078 9952 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2022-05-11 11:35:44,094 9952 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2022-05-11 11:35:44,094 9952 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2022-05-11 11:35:44,203 9952 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2022-05-11 11:35:44,203 9952 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2022-05-11 11:35:44,203 9952 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2022-05-11 11:35:44,203 9952 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2022-05-11 11:35:44,219 9952 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2022-05-11 11:35:44,219 9952 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2022-05-11 11:35:44,422 9952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2022-05-11 11:35:44,437 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2022-05-11 11:35:44,453 9952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2022-05-11 11:35:44,469 9952 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2022-05-11 11:35:44,484 9952 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2022-05-11 11:35:44,500 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2022-05-11 11:35:44,516 9952 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2022-05-11 11:35:44,531 9952 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2022-05-11 11:35:44,547 9952 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2022-05-11 11:35:44,609 9952 [DEBUG] - ---------------------------Script Execution---------------------------
2022-05-11 11:35:44,609 9952 [DEBUG] - Running 'ChocolateyScriptRunner' for vcredist140 v14.32.31326 with packageScript 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\vcredist140', installArguments: '', packageParameters: '',
2022-05-11 11:35:44,625 9952 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'
2022-05-11 11:35:44,672 9952 [INFO ] - VERBOSE: Checking Service Pack requirements
2022-05-11 11:35:44,812 9952 [DEBUG] - Running Get-OSArchitectureWidth
2022-05-11 11:35:44,828 9952 [DEBUG] - Running Get-OSArchitectureWidth
2022-05-11 11:35:44,844 9952 [INFO ] - VERBOSE: Analyzing servicing information in the registry
2022-05-11 11:35:44,859 9952 [INFO ] - VERBOSE: Version of installed runtime for architecture x86 in the registry: 14.31.31103
2022-05-11 11:35:44,875 9952 [INFO ] - VERBOSE: Version of installed runtime for architecture x64 in the registry: 14.31.31103
2022-05-11 11:35:44,875 9952 [INFO ] - VERBOSE: Version number of runtime installed by this package: 14.32.31326
2022-05-11 11:35:44,891 9952 [INFO ] - VERBOSE: Runtime for architecture x86 applicable: True; version in registry: [14.31.31103]; should install: True
2022-05-11 11:35:44,891 9952 [INFO ] - VERBOSE: Installing runtime for architecture x86
2022-05-11 11:35:44,953 9952 [DEBUG] - Running Install-ChocolateyPackage -packageName 'vcredist140-x86' -fileType 'exe' -silentArgs '/quiet /norestart' -validExitCodes '0 1638 3010' -checksumType 'sha256' -url 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe' -checksum '2acbfe92157c1cf1a7b524a9325824046d83dbfa3feb1cbd4dd02a42e020f77c'
2022-05-11 11:35:45,016 9952 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'vcredist140-x86' -fileFullPath 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\vcredist140-x86Install.exe' -url 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe' -url64bit '' -checksum '2acbfe92157c1cf1a7b524a9325824046d83dbfa3feb1cbd4dd02a42e020f77c' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2022-05-11 11:35:45,031 9952 [DEBUG] - Running Get-ProcessorBits -compare '64'
2022-05-11 11:35:45,062 9952 [DEBUG] - CPU is 64 bit
2022-05-11 11:35:45,094 9952 [DEBUG] - Running Get-WebFileName -url 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe' -defaultName 'vcredist140-x86Install.exe'
2022-05-11 11:35:45,250 9952 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2022-05-11 11:35:45,266 9952 [DEBUG] - Using response url to determine file name. 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe'
2022-05-11 11:35:45,266 9952 [DEBUG] - File name determined from url is 'VC_redist.x86.exe'
2022-05-11 11:35:45,281 9952 [DEBUG] - Running Get-WebHeaders -url 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe' -ErrorAction 'Stop'
2022-05-11 11:35:45,281 9952 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2022-05-11 11:35:45,281 9952 [DEBUG] - Request Headers:
2022-05-11 11:35:45,297 9952 [DEBUG] - 'Accept':'*/*'
2022-05-11 11:35:45,297 9952 [DEBUG] - 'User-Agent':'chocolatey command line'
2022-05-11 11:36:16,406 9952 [INFO ] - Attempt to get headers for https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe'. Exception calling "GetResponse" with "0" argument(s): "Er is een time-out opgetreden voor de bewerking"
2022-05-11 11:36:16,406 9952 [INFO ] - Downloading vcredist140-x86
from 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe'
2022-05-11 11:36:16,437 9952 [DEBUG] - Running Get-WebFile -url 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe' -fileName 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe' -options 'System.Collections.Hashtable'
2022-05-11 11:36:16,437 9952 [DEBUG] - Setting request timeout to 30000
2022-05-11 11:36:16,453 9952 [DEBUG] - Setting read/write timeout to 2700000
2022-05-11 11:36:16,453 9952 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2022-05-11 11:36:16,656 9952 [DEBUG] - Downloading https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe to C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe
2022-05-11 11:36:18,187 9952 [INFO ] -
2022-05-11 11:36:18,187 9952 [INFO ] - Download of VC_redist.x86.exe (13.1 MB) completed.
2022-05-11 11:36:21,234 9952 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2022-05-11 11:36:21,234 9952 [DEBUG] - Verifying package provided checksum of '2acbfe92157c1cf1a7b524a9325824046d83dbfa3feb1cbd4dd02a42e020f77c' for 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe'.
2022-05-11 11:36:21,265 9952 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe' -checksum '2acbfe92157c1cf1a7b524a9325824046d83dbfa3feb1cbd4dd02a42e020f77c' -checksumType 'sha256' -originalUrl 'https://download.visualstudio.microsoft.com/download/pr/06ed1d94-3f28-47a5-8025-e7bf9da634da/2ACBFE92157C1CF1A7B524A9325824046D83DBFA3FEB1CBD4DD02A42E020F77C/VC_redist.x86.exe'
2022-05-11 11:36:21,265 9952 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2022-05-11 11:36:21,265 9952 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="2acbfe92157c1cf1a7b524a9325824046d83dbfa3feb1cbd4dd02a42e020f77c" -t="sha256" -f="C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe"]
2022-05-11 11:36:21,531 9952 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="2acbfe92157c1cf1a7b524a9325824046d83dbfa3feb1cbd4dd02a42e020f77c" -t="sha256" -f="C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe"] exited with '0'.
2022-05-11 11:36:21,578 9952 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'vcredist140-x86' -fileType 'exe' -silentArgs '/quiet /norestart' -file 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe' -validExitCodes '0 1638 3010' -useOnlyPackageSilentArguments 'False'
2022-05-11 11:36:21,578 9952 [DEBUG] - Running Get-ProcessorBits -compare '32'
2022-05-11 11:36:21,578 9952 [INFO ] - Installing vcredist140-x86...
2022-05-11 11:36:21,687 9952 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1638 3010' -workingDirectory 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326' -statements '/quiet /norestart ' -exeToRun 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe'
2022-05-11 11:36:21,718 9952 [DEBUG] - Test-ProcessAdminRights: returning True
2022-05-11 11:36:21,718 9952 [DEBUG] - Elevating permissions and running ["C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe" /quiet /norestart ]. This may take a while, depending on the statements.
2022-05-11 11:37:01,797 9952 [DEBUG] - Command ["C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x86.exe" /quiet /norestart ] exited with '0'.
2022-05-11 11:37:01,812 9952 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2022-05-11 11:37:01,812 9952 [INFO ] - vcredist140-x86 has been installed.
2022-05-11 11:37:01,812 9952 [INFO ] - VERBOSE: Runtime for architecture x64 applicable: True; version in registry: [14.31.31103]; should install: True
2022-05-11 11:37:01,812 9952 [INFO ] - VERBOSE: Installing runtime for architecture x64
2022-05-11 11:37:01,812 9952 [DEBUG] - Running Install-ChocolateyPackage -packageName 'vcredist140-x64' -fileType 'exe' -silentArgs '/quiet /norestart' -validExitCodes '0 1638 3010' -url64bit 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe' -checksumType64 'sha256' -checksum64 '426a34c6f10ea8f7da58a8c976b586ad84dd4bab42a0cfdbe941f1763b7755e5'
2022-05-11 11:37:01,828 9952 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'vcredist140-x64' -fileFullPath 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\vcredist140-x64Install.exe' -url '' -url64bit 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe' -checksum '' -checksumType '' -checksum64 '426a34c6f10ea8f7da58a8c976b586ad84dd4bab42a0cfdbe941f1763b7755e5' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2022-05-11 11:37:01,828 9952 [DEBUG] - Running Get-ProcessorBits -compare '64'
2022-05-11 11:37:01,828 9952 [DEBUG] - CPU is 64 bit
2022-05-11 11:37:01,828 9952 [DEBUG] - Setting url to 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe' and bitPackage to 64
2022-05-11 11:37:01,828 9952 [DEBUG] - Running Get-WebFileName -url 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe' -defaultName 'vcredist140-x64Install.exe'
2022-05-11 11:37:01,891 9952 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2022-05-11 11:37:01,891 9952 [DEBUG] - Using response url to determine file name. 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe'
2022-05-11 11:37:01,891 9952 [DEBUG] - File name determined from url is 'VC_redist.x64.exe'
2022-05-11 11:37:01,891 9952 [DEBUG] - Running Get-WebHeaders -url 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe' -ErrorAction 'Stop'
2022-05-11 11:37:01,906 9952 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2022-05-11 11:37:01,906 9952 [DEBUG] - Request Headers:
2022-05-11 11:37:01,906 9952 [DEBUG] - 'Accept':'*/*'
2022-05-11 11:37:01,906 9952 [DEBUG] - 'User-Agent':'chocolatey command line'
2022-05-11 11:37:33,000 9952 [INFO ] - Attempt to get headers for https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe'. Exception calling "GetResponse" with "0" argument(s): "Er is een time-out opgetreden voor de bewerking"
2022-05-11 11:37:33,000 9952 [INFO ] - Downloading vcredist140-x64 64 bit
from 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe'
2022-05-11 11:37:33,000 9952 [DEBUG] - Running Get-WebFile -url 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe' -fileName 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\vcredist140\14.32.31326\VC_redist.x64.exe' -options 'System.Collections.Hashtable'
2022-05-11 11:37:33,000 9952 [DEBUG] - Setting request timeout to 30000
2022-05-11 11:37:33,015 9952 [DEBUG] - Setting read/write timeout to 2700000
2022-05-11 11:37:33,015 9952 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2022-05-11 11:38:05,125 9952 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.visualstudio.microsoft.com/download/pr/6b6923b0-3045-4379-a96f-ef5506a65d5b/426A34C6F10EA8F7DA58A8C976B586AD84DD4BAB42A0CFDBE941F1763B7755E5/VC_redist.x64.exe'. Exception calling "GetResponse" with "0" argument(s): "Er is een time-out opgetreden voor de bewerking"
2022-05-11 11:38:05,516 9952 [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\vcredist140\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2022-05-11 11:38:05,531 9952 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2022-05-11 11:38:05,594 9952 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2022-05-11 11:38:05,703 9952 [INFO ] - vcredist140 may be able to be automatically uninstalled.
2022-05-11 11:38:05,734 9952 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\vcredist140'
2022-05-11 11:38:05,734 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nupkg'
with checksum 'DE36EB7BB1B528E995B5662166CAFBC1'
2022-05-11 11:38:05,734 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\vcredist140.nuspec'
with checksum 'B9B48A7D1B858EC58AF7EF73DA70C6C9'
2022-05-11 11:38:05,734 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'
with checksum '50A448A1EB166C2ED8EF32388688BE75'
2022-05-11 11:38:05,734 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyUninstall.ps1'
with checksum '0FFC57B43B4BD80ABCFD3A38D2AE4680'
2022-05-11 11:38:05,734 9952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vcredist140\tools\data.ps1'
with checksum 'EEC2EA6CFBFE19B3467EC8F212171EA9'
2022-05-11 11:38:05,766 9952 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\vcredist140.14.32.31326\.registry'
2022-05-11 11:38:05,781 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist140.14.32.31326\.arguments".
2022-05-11 11:38:05,781 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist140.14.32.31326\.extra".
2022-05-11 11:38:05,781 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist140.14.32.31326\.version".
2022-05-11 11:38:05,781 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist140.14.32.31326\.sxs".
2022-05-11 11:38:05,781 9952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vcredist140.14.32.31326\.pin".
2022-05-11 11:38:05,797 9952 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\vcredist140".
2022-05-11 11:38:05,797 9952 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2022-05-11 11:38:05,797 9952 [ERROR] - The upgrade of vcredist140 was NOT successful.
2022-05-11 11:38:05,797 9952 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
See log for details.
2022-05-11 11:38:05,812 9952 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\vcredist140'
to 'C:\ProgramData\chocolatey\lib-bad\vcredist140'
2022-05-11 11:38:07,937 9952 [DEBUG] - Attempting rollback
2022-05-11 11:38:07,937 9952 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\vcredist140'
to 'C:\ProgramData\chocolatey\lib\vcredist140'
2022-05-11 11:38:09,953 9952 [DEBUG] - Attempting to delete file "C:\Users\jeroenp\AppData\Local\NuGet\Cache\vcredist140.14.32.31326.nupkg".
2022-05-11 11:38:09,969 9952 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2022-05-11 11:38:09,969 9952 [DEBUG] - - Supports prereleases? 'True'.
2022-05-11 11:38:09,969 9952 [DEBUG] - - Is ServiceBased? 'True'.
2022-05-11 11:38:10,109 9952 [DEBUG] - Package 'vcredist2015' found on source 'https://chocolatey.org/api/v2/'
2022-05-11 11:38:10,109 9952 [INFO ] - vcredist2015 v14.0.24215.20170201 is the latest version available based on your source(s).
2022-05-11 11:38:10,125 9952 [WARN ] -
Chocolatey upgraded 0/35 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2022-05-11 11:38:10,125 9952 [INFO ] -
2022-05-11 11:38:10,141 9952 [ERROR] - Failures
2022-05-11 11:38:10,141 9952 [ERROR] - - vcredist140 (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\vcredist140\tools\chocolateyInstall.ps1'.
See log for details.
2022-05-11 11:38:10,141 9952 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-05-11 11:38:10,187 9952 [DEBUG] - Exiting with 404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment