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

CTRL-C cancelling an install while downloading affects the next install #2149

Closed
R-Adrian opened this issue Nov 8, 2020 · 1 comment
Closed

Comments

@R-Adrian
Copy link

R-Adrian commented Nov 8, 2020

What You Are Seeing?

  • tried to install Adobe Reader DC
  • saw that the choco installer was downloading an old installer file from 2019.. decided to press CTRL-C during download and install it manually
  • after installing Reader DC manually from ftp.adobe.com, i tried to install pdfcreator from choco
  • saw in the output of the pdfcreator install script that it was installing some files into the folder for Adobe Reader DC ... WTF?

quote:

2020-11-08 12:12:55,609 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\autohotkey.portable\.chocolateyPending".
2020-11-08 12:12:55,613 7436 [INFO ] -  The install of autohotkey.portable was successful.
2020-11-08 12:12:55,619 7436 [INFO ] -   Software installed to 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\'

What is Expected?

do not reuse partial, cancelled installs files and folders

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

see first paragraph.

Output Log

see details below:

PS C:\Windows\system32> choco install adobereader
Chocolatey v0.10.15
Installing the following packages:
adobereader
By installing you accept licenses for the packages.
Progress: Downloading adobereader 2020.013.20064... 100%

adobereader v2020.013.20064 [Approved]
adobereader package files install completed. Performing other installation steps.
The package adobereader wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): A

True
True
Downloading adobereader
from 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe'
Progress: 47% - Saving 123.96 MB of 261.05 MB
PS C:\Windows\system32>


note: yes, i pressed CTRL-C when it was downloading that old version...

PS C:\Windows\system32> choco install pdfcreator
Chocolatey v0.10.15
Installing the following packages:
pdfcreator
By installing you accept licenses for the packages.
Progress: Downloading PDFCreator 4.1.2... 100%
Progress: Downloading autohotkey.portable 1.1.33.02... 100%
Progress: Downloading dotnet4.7.2 4.7.2.20180712... 100%
Progress: Downloading dotnetfx 4.8.0.20190930... 100%
Progress: Downloading chocolatey-dotnetfx.extension 1.0.1... 100%

autohotkey.portable v1.1.33.02 [Approved]
autohotkey.portable package files install completed. Performing other installation steps.
The package autohotkey.portable wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Extracting C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip to C:\ProgramData\chocolatey\lib\autohotkey.portable\tools...
C:\ProgramData\chocolatey\lib\autohotkey.portable\tools
Removing ANSI-32 version
  autohotkey.portable may be able to be automatically uninstalled.
 ShimGen has successfully created a shim for AutoHotkey.exe
 ShimGen has successfully created a shim for Ahk2Exe.exe
 The install of autohotkey.portable was successful.
  Software installed to 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\'

chocolatey-dotnetfx.extension v1.0.1 [Approved]
chocolatey-dotnetfx.extension package files install completed. Performing other installation steps.
 Installed/updated chocolatey-dotnetfx extensions.
 The install of chocolatey-dotnetfx.extension was successful.
  Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx'

dotnetfx v4.8.0.20190930 [Approved]
dotnetfx package files install completed. Performing other installation steps.
The package dotnetfx wants to run 'ChocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Microsoft .NET Framework 4.8 or later is already installed.
 The install of dotnetfx was successful.
  Software install location not explicitly set, could be in package or
  default install location if installer.

dotnet4.7.2 v4.7.2.20180712 [Approved]
dotnet4.7.2 package files install completed. Performing other installation steps.
 The install of dotnet4.7.2 was successful.
  Software install location not explicitly set, could be in package or
  default install location if installer.

PDFCreator v4.1.2 [Approved]
pdfcreator package files install completed. Performing other installation steps.
The package PDFCreator wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint):

PLACE LOG CONTENT HERE - WE NEED ALL DETAILED OUTPUT BASED ON THE ABOVE TO BE ABLE TO PROVIDE SUPPORT (YOU WILL FIND THAT IN THE $env:ChocolateyInstall\logs\chocolatey.log between the =====)

2020-11-08 11:47:48,915 7728 [INFO ] - ============================================================
2020-11-08 11:47:49,675 7728 [INFO ] - Chocolatey v0.10.15
2020-11-08 11:47:49,688 7728 [DEBUG] - Chocolatey is running on Windows v 10.0.19042.0
2020-11-08 11:47:49,693 7728 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-11-08 11:47:49,695 7728 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-11-08 11:47:49,712 7728 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install adobereader
2020-11-08 11:47:49,714 7728 [DEBUG] - Received arguments: install adobereader
2020-11-08 11:47:49,784 7728 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-11-08 11:47:49,795 7728 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-11-08 11:47:49,804 7728 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-11-08 11:47:49,877 7728 [DEBUG] - Performing validation checks.
2020-11-08 11:47:49,886 7728 [DEBUG] - Global Configuration Validation Checks:
2020-11-08 11:47:49,889 7728 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2020-11-08 11:47:49,890 7728 [DEBUG] - System State Validation Checks:
2020-11-08 11:47:49,893 7728 [DEBUG] -  Reboot Requirement Checks:
2020-11-08 11:47:49,896 7728 [DEBUG] -  - Pending Computer Rename = Checked
2020-11-08 11:47:49,899 7728 [DEBUG] -  - Pending Component Based Servicing = Checked
2020-11-08 11:47:49,901 7728 [DEBUG] -  - Pending Windows Auto Update = Checked
2020-11-08 11:47:49,903 7728 [DEBUG] -  - Pending File Rename Operations = Ignored
2020-11-08 11:47:49,904 7728 [DEBUG] -  - Pending Windows Package Installer = Checked
2020-11-08 11:47:49,906 7728 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2020-11-08 11:47:49,911 7728 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-11-08 11:47:49,915 7728 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-11-08 11:47:49,917 7728 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2020-11-08 11:47:49,933 7728 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\User\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='adobereader'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='adobereader'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19042.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='User'|
Information.UserDomainName='DESKTOP-A99Q1AE'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-11-08 11:47:49,935 7728 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-11-08 11:47:49,942 7728 [INFO ] - Installing the following packages:
2020-11-08 11:47:49,949 7728 [INFO ] - adobereader
2020-11-08 11:47:49,952 7728 [INFO ] - By installing you accept licenses for the packages.
2020-11-08 11:47:50,089 7728 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2020-11-08 11:47:50,350 7728 [DEBUG] - - Supports prereleases? 'True'.
2020-11-08 11:47:50,351 7728 [DEBUG] - - Is ServiceBased? 'True'.
2020-11-08 11:47:50,740 7728 [DEBUG] - Package 'adobereader' found on source 'https://chocolatey.org/api/v2/'
2020-11-08 11:47:50,815 7728 [INFO ] - [NuGet] Attempting to resolve dependency 'kb2919355'.
2020-11-08 11:47:50,943 7728 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919442 (= 1.0.20160915)'.
2020-11-08 11:47:52,236 7728 [INFO ] - [NuGet] Installing 'adobereader 2020.013.20064'.
2020-11-08 11:47:52,245 7728 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'adobereader\tools'.
2020-11-08 11:47:52,248 7728 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'adobereader\tools'.
2020-11-08 11:47:52,254 7728 [DEBUG] - [NuGet] Added file 'adobereader.nupkg' to folder 'adobereader'.
2020-11-08 11:47:52,567 7728 [DEBUG] - [NuGet] Added file 'adobereader.nuspec' to folder 'adobereader'.
2020-11-08 11:47:52,569 7728 [INFO ] - [NuGet] Successfully installed 'adobereader 2020.013.20064'.
2020-11-08 11:47:52,572 7728 [INFO ] - 
adobereader v2020.013.20064 [Approved]
2020-11-08 11:47:52,593 7728 [INFO ] - adobereader package files install completed. Performing other installation steps.
2020-11-08 11:47:52,673 7728 [DEBUG] - Setting installer args for adobereader
2020-11-08 11:47:52,675 7728 [DEBUG] - Setting package parameters for adobereader
2020-11-08 11:47:52,676 7728 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\adobereader\tools\chocolateyinstall.ps1':
2020-11-08 11:47:52,690 7728 [DEBUG] - $ErrorActionPreference = 'Stop'

$DisplayName = 'Adobe Acrobat Reader DC MUI'

$MUIurl = 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe'
$MUIchecksum = '81953f3cf426cbe9e6702d1af7f727c59514c012d8d90bacfb012079c7da6d23'
$MUImspURL = 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/2001320064/AcroRdrDCUpd2001320064_MUI.msp'
$MUImspChecksum = 'dd8562cb5376500e0d165e991e78a0829cbb57feb543fbb761a0bd2cf3817c4ccae2cb1c7cf3a3982aef47c1d8f23a8de427c55ec4671f62fc615e14eee1733d'

$MUIinstalled = $false
$UpdateOnly = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $DisplayName.replace(' MUI', '*')

$MUIurl -match 'AcroRdrDC(\d+)_'
$InstallerVersion = $Matches[1]

$MUImspURL -match 'AcroRdrDCUpd(\d+)_'
$UpdaterVersion = $Matches[1]

if ($key.Count -eq 1) {
   $InstalledVersion = $key[0].DisplayVersion.replace('.', '')
   if ($key[0].DisplayName -notmatch 'MUI') {
      if ($InstalledVersion -ge $InstallerVersion) {
         Write-Warning "The currently installed $($key[0].DisplayName) is a single-language install."
         Write-Warning 'This multi-language (MUI) package cannot overwrite it at this time.'
         Write-Warning "You will need to uninstall $($key[0].DisplayName) first."
         Throw 'Installation halted.'
      }
      else {
         Write-Warning "The currently installed $($key[0].DisplayName) is a single-language install."
         Write-Warning  'This package will replace it with the multi-language (MUI) release.'
      }
   }
   else {
      $MUIinstalled = $true
      if ($InstalledVersion -eq $UpdaterVersion) {
         Write-Verbose 'Currently installed version is the same as this package.  Nothing further to do.'
         Return
      }
      elseif ($InstalledVersion -gt $UpdaterVersion) {
         Write-Warning "$($key[0].DisplayName) v20$($key[0].DisplayVersion) installed."
         Write-Warning "This package installs v$env:ChocolateyPackageVersion and cannot replace a newer version."
         Throw 'Installation halted.'
      }
      elseif (($InstalledVersion -ge $InstallerVersion) -and ($InstalledVersion -lt $UpdaterVersion)) {
         $UpdateOnly = $true
      }
   }
}
elseif ($key.count -gt 1) {
   Write-Warning "$($key.Count) matching installs of Adobe Acrobat Reader DC found!"
   Write-Warning 'To prevent accidental data loss, this install will be aborted.'
   Write-Warning 'The following installs were found:'
   $key | ForEach-Object { Write-Warning "- $($_.DisplayName)`t$($_.DisplayVersion)" }
   Throw 'Installation halted.'
}

$DownloadArgs = @{
   packageName         = $env:ChocolateyPackageName
   FileFullPath        = Join-Path $env:TEMP "$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.installer.exe"
   url                 = $MUIurl
   checksum            = $MUIchecksum
   checksumType        = 'SHA256'
   GetOriginalFileName = $true
}
$MUIexePath = Get-ChocolateyWebFile @DownloadArgs


$PackageParameters = Get-PackageParameters
# Reference: https://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/properties.html#command-line-example
$options = ' DISABLEDESKTOPSHORTCUT=1'
if ($PackageParameters.DesktopIcon) {
   $options = ''
   Write-Host 'You requested a desktop icon.' -ForegroundColor Cyan
}

if ($PackageParameters.NoUpdates) {
   $RegRoot = 'HKLM:\SOFTWARE\Policies'
   $RegSubFolders = ('Adobe\Acrobat Reader\DC\FeatureLockDown').split('\')
   for ($i = 0; $i -lt $RegSubFolders.count; $i++) {
      $RegPath = "$RegRoot\$($RegSubFolders[0..$i] -join '\')"
      if (-not (Test-Path $RegPath)) {
         $null = New-Item -Path $RegPath.TrimEnd($RegSubFolders[$i]) -Name $RegSubFolders[$i]
      }
   }
   $RegPath = "$RegRoot\$($RegSubFolders -join '\')"
   if (Test-Path $RegPath) {
      $null = New-ItemProperty -Path $RegPath -Name 'bUpdater' -PropertyType DWORD -Value 0 -Force
   }
   Write-Host 'You requested no Adobe updates.' -ForegroundColor Cyan
}

if ($PackageParameters.EnableUpdateService) {
   Write-Host 'You requested to enable the auto-update service.' -ForegroundColor Cyan
   if ($MUIinstalled) {
      if (Get-Service -Name 'AdobeARMservice' -ErrorAction SilentlyContinue) {
         $null = Set-Service -Name 'AdobeARMservice' -StartupType Automatic
         $null = Start-Service -Name 'AdobeARMservice'
      }
      else {
         Write-Warning 'The Adobe ARM update service is not available and is not installed on updates.'
      }
   }
}
else {
   $options += ' DISABLE_ARM_SERVICE_INSTALL=1'
   if (Get-Service -Name 'AdobeARMservice' -ErrorAction SilentlyContinue) {
      $null = Stop-Service -Name 'AdobeARMservice' -Force
      $null = Set-Service -Name 'AdobeARMservice' -StartupType Disabled
   }
}

if (-not $PackageParameters.UpdateMode) {
   $UpdateMode = 0
}
else { $UpdateMode = $PackageParameters.UpdateMode }

if ((0..4) -contains $UpdateMode) {
   Switch ($UpdateMode) {
      0 { Write-Host 'Configuring manual update checks and installs.' -ForegroundColor Cyan }
      1 { Write-Host 'You requested manual update checks and installs.' -ForegroundColor Cyan }
      2 { Write-Host 'You requested automatic update downloads and manual installs.' -ForegroundColor Cyan }
      3 { Write-Host 'You requested scheduled, automatic updates.' -ForegroundColor Cyan }
      4 { Write-Host 'You requested notifications but manual updates.' -ForegroundColor Cyan }
   }
   if ($MUIinstalled) {
      # This is the official setting based on the reference URL.
      $RegPath1 = 'HKLM:\SOFTWARE\Adobe\Adobe ARM\1.0\ARM\'
      if (Test-Path $RegPath1) {
         $null = New-ItemProperty -Path $RegPath1 -Name 'iCheckReader' -Value $UpdateMode -force
      }
      $GUID = '{' + $key[0].UninstallString.split('{')[-1]
      # This is the setting that actually causes a change in behavior.
      $RegPath2 = "HKLM:\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\Legacy\Reader\$GUID"
      if (Test-Path $RegPath2) {
         $null = New-ItemProperty -Path $RegPath2 -Name 'Mode' -Value $UpdateMode -force
      }
   }
   else {
      $options += " UPDATE_MODE=$UpdateMode"
   }
}

if (-not $UpdateOnly) {
   $packageArgsEXE = @{
      packageName    = "$env:ChocolateyPackageName (installer)"
      fileType       = 'EXE'
      File           = $MUIexePath
      checksumType   = 'SHA256'
      silentArgs     = "/sAll /msi /norestart /quiet ALLUSERS=1 EULA_ACCEPT=YES $options" +
      " /L*v `"$env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Install.log`""
      validExitCodes = @(0, 1000, 1101, 1603)
   }
   $exitCode = Install-ChocolateyInstallPackage @packageArgsEXE
   
   if ($exitCode -eq 1603) {
      Write-Warning "For code 1603, Adobe recommends to 'shut down Microsoft Office and all web browsers' and try again."
      Write-Warning 'The install log should provide more details about the encountered issue:'
      Write-Warning "   $env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Install.log"
      Throw "Installation of $env:ChocolateyPackageName was unsuccessful."
   }
}

# Only download/install the patch if necessary
if ($InstallerVersion -ne $UpdaterVersion) {
   $DownloadArgs = @{
      packageName         = "$env:ChocolateyPackageName (update)"
      FileFullPath        = Join-Path $env:TEMP "$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.msp"
      url                 = $MUImspURL
      checksum            = $MUImspChecksum
      checksumType        = 'SHA512'
      GetOriginalFileName = $true
   }
   $mspPath = Get-ChocolateyWebFile @DownloadArgs

   $UpdateArgs = @{
      Statements     = "/p `"$mspPath`" /norestart /quiet ALLUSERS=1 EULA_ACCEPT=YES $options" +
      " /L*v `"$env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Update.log`""
      ExetoRun       = 'msiexec.exe'
      validExitCodes = @(0, 1603)
   }
   $exitCode = Start-ChocolateyProcessAsAdmin @UpdateArgs

   if ($exitCode -eq 1603) {
      Write-Warning "For code 1603, Adobe recommends to 'shut down Microsoft Office and all web browsers' and try again."
      Write-Warning 'The update log should provide more details about the encountered issue:'
      Write-Warning "   $env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Update.log"
      Throw "Patching of $env:ChocolateyPackageName to the latest version was unsuccessful."
   }
}

2020-11-08 11:47:52,692 7728 [INFO ] - The package adobereader wants to run 'chocolateyinstall.ps1'.
2020-11-08 11:47:52,697 7728 [INFO ] - Note: If you don't run this script, the installation will fail.
2020-11-08 11:47:52,699 7728 [INFO ] - Note: To confirm automatically next time, use '-y' or consider:
2020-11-08 11:47:52,702 7728 [INFO ] - choco feature enable -n allowGlobalConfirmation
2020-11-08 11:47:52,737 7728 [INFO ] - Do you want to run the script?
2020-11-08 11:47:52,739 7728 [INFO ] -  1) yes
2020-11-08 11:47:52,741 7728 [INFO ] -  2) all - yes to all
2020-11-08 11:47:52,743 7728 [INFO ] -  3) no
2020-11-08 11:47:52,745 7728 [INFO ] -  4) print
2020-11-08 11:47:56,883 7728 [INFO ] - Choice selected: 'all - yes to all'
2020-11-08 11:47:57,033 7728 [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\adobereader\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2020-11-08 11:47:57,038 7728 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-11-08 11:47:57,698 7728 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.610' and CLR Version is '4.0.30319.42000'.
2020-11-08 11:47:58,749 7728 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-11-08 11:47:58,751 7728 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-11-08 11:47:58,752 7728 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-11-08 11:47:58,753 7728 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-11-08 11:47:58,754 7728 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-11-08 11:47:58,755 7728 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-11-08 11:47:58,756 7728 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-11-08 11:47:58,757 7728 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-11-08 11:47:58,758 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 11:47:58,759 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-11-08 11:47:58,760 7728 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-11-08 11:47:58,761 7728 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-11-08 11:47:58,762 7728 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 11:47:58,763 7728 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-11-08 11:47:58,764 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-11-08 11:47:58,765 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-11-08 11:47:58,766 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-11-08 11:47:58,767 7728 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-11-08 11:47:58,768 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-11-08 11:47:58,769 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 11:47:58,770 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 11:47:58,771 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-11-08 11:47:58,772 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-11-08 11:47:58,773 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-11-08 11:47:58,774 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-11-08 11:47:58,775 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 11:47:58,776 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-11-08 11:47:58,777 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-11-08 11:47:58,778 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-11-08 11:47:58,779 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-11-08 11:47:58,780 7728 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-11-08 11:47:58,781 7728 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-11-08 11:47:58,782 7728 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-11-08 11:47:58,783 7728 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 11:47:58,784 7728 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-11-08 11:47:58,785 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-11-08 11:47:58,786 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 11:47:58,787 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-11-08 11:47:58,788 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 11:47:58,789 7728 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-11-08 11:47:58,791 7728 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-11-08 11:47:58,792 7728 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-11-08 11:47:58,793 7728 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-11-08 11:47:58,794 7728 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-11-08 11:47:58,796 7728 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-11-08 11:47:58,797 7728 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-11-08 11:47:58,798 7728 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-11-08 11:47:58,799 7728 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-11-08 11:47:58,800 7728 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-11-08 11:47:58,801 7728 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-11-08 11:47:58,802 7728 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-11-08 11:47:58,803 7728 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-11-08 11:47:58,804 7728 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-11-08 11:47:58,816 7728 [DEBUG] - Loading community extensions
2020-11-08 11:47:58,832 7728 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2020-11-08 11:47:58,834 7728 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2020-11-08 11:47:59,051 7728 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 11:47:59,053 7728 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-11-08 11:47:59,054 7728 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-11-08 11:47:59,056 7728 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-11-08 11:47:59,057 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-11-08 11:47:59,059 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 11:47:59,060 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-11-08 11:47:59,061 7728 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-11-08 11:47:59,063 7728 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-11-08 11:47:59,065 7728 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-11-08 11:47:59,066 7728 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-11-08 11:47:59,067 7728 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-11-08 11:47:59,068 7728 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-11-08 11:47:59,069 7728 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-11-08 11:47:59,070 7728 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-11-08 11:47:59,071 7728 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-11-08 11:47:59,072 7728 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-11-08 11:47:59,073 7728 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-11-08 11:47:59,075 7728 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-11-08 11:47:59,076 7728 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-11-08 11:47:59,077 7728 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-11-08 11:47:59,078 7728 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-11-08 11:47:59,079 7728 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-11-08 11:47:59,080 7728 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-11-08 11:47:59,081 7728 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-11-08 11:47:59,082 7728 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-11-08 11:47:59,083 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 11:47:59,084 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-11-08 11:47:59,085 7728 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-11-08 11:47:59,086 7728 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-11-08 11:47:59,087 7728 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 11:47:59,088 7728 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-11-08 11:47:59,089 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-11-08 11:47:59,090 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-11-08 11:47:59,091 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-11-08 11:47:59,092 7728 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-11-08 11:47:59,093 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-11-08 11:47:59,095 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 11:47:59,096 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 11:47:59,097 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-11-08 11:47:59,099 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-11-08 11:47:59,100 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-11-08 11:47:59,101 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-11-08 11:47:59,103 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 11:47:59,104 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-11-08 11:47:59,105 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-11-08 11:47:59,106 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-11-08 11:47:59,108 7728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-11-08 11:47:59,109 7728 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-11-08 11:47:59,110 7728 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-11-08 11:47:59,111 7728 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-11-08 11:47:59,112 7728 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 11:47:59,113 7728 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-11-08 11:47:59,114 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-11-08 11:47:59,116 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 11:47:59,117 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-11-08 11:47:59,118 7728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 11:47:59,119 7728 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-11-08 11:47:59,120 7728 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-11-08 11:47:59,121 7728 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-11-08 11:47:59,122 7728 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-11-08 11:47:59,124 7728 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-11-08 11:47:59,125 7728 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-11-08 11:47:59,126 7728 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-11-08 11:47:59,127 7728 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-11-08 11:47:59,128 7728 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-11-08 11:47:59,129 7728 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-11-08 11:47:59,130 7728 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-11-08 11:47:59,131 7728 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-11-08 11:47:59,133 7728 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-11-08 11:47:59,134 7728 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-11-08 11:47:59,135 7728 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-11-08 11:47:59,136 7728 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-11-08 11:47:59,137 7728 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-11-08 11:47:59,138 7728 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-11-08 11:47:59,139 7728 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-11-08 11:47:59,140 7728 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-11-08 11:47:59,141 7728 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-11-08 11:47:59,143 7728 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-11-08 11:47:59,145 7728 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-11-08 11:47:59,147 7728 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-11-08 11:47:59,148 7728 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-11-08 11:47:59,150 7728 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-11-08 11:47:59,151 7728 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-11-08 11:47:59,152 7728 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-11-08 11:47:59,154 7728 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-11-08 11:47:59,155 7728 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-11-08 11:47:59,156 7728 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-11-08 11:47:59,157 7728 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-11-08 11:47:59,158 7728 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-11-08 11:47:59,159 7728 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-11-08 11:47:59,160 7728 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-11-08 11:47:59,162 7728 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-11-08 11:47:59,163 7728 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-11-08 11:47:59,164 7728 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-11-08 11:47:59,165 7728 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-11-08 11:47:59,166 7728 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-11-08 11:47:59,167 7728 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-11-08 11:47:59,168 7728 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-11-08 11:47:59,169 7728 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-11-08 11:47:59,170 7728 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-11-08 11:47:59,171 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-11-08 11:47:59,172 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 11:47:59,174 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 11:47:59,175 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-11-08 11:47:59,176 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-11-08 11:47:59,177 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-11-08 11:47:59,179 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-11-08 11:47:59,180 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 11:47:59,181 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-11-08 11:47:59,182 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-11-08 11:47:59,184 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-11-08 11:47:59,185 7728 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-11-08 11:47:59,187 7728 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-11-08 11:47:59,188 7728 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-11-08 11:47:59,189 7728 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-11-08 11:47:59,191 7728 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-11-08 11:47:59,192 7728 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-11-08 11:47:59,193 7728 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 11:47:59,194 7728 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-11-08 11:47:59,195 7728 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-11-08 11:47:59,196 7728 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 11:47:59,197 7728 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-11-08 11:47:59,199 7728 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 11:47:59,200 7728 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-11-08 11:47:59,201 7728 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-11-08 11:47:59,202 7728 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-11-08 11:47:59,203 7728 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-11-08 11:47:59,204 7728 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-11-08 11:47:59,205 7728 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-11-08 11:47:59,207 7728 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-11-08 11:47:59,208 7728 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-11-08 11:47:59,209 7728 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-11-08 11:47:59,210 7728 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-11-08 11:47:59,211 7728 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-11-08 11:47:59,212 7728 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-11-08 11:47:59,213 7728 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-11-08 11:47:59,214 7728 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-11-08 11:47:59,298 7728 [DEBUG] - ---------------------------Script Execution---------------------------
2020-11-08 11:47:59,301 7728 [DEBUG] - Running 'ChocolateyScriptRunner' for adobereader v2020.013.20064 with packageScript 'C:\ProgramData\chocolatey\lib\adobereader\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\adobereader', installArguments: '', packageParameters: '',
2020-11-08 11:47:59,312 7728 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\adobereader\tools\chocolateyinstall.ps1'
2020-11-08 11:47:59,483 7728 [DEBUG] - Running 'Get-UninstallRegistryKey' for 'adobereader' with SoftwareName:'Adobe Acrobat Reader DC*'
2020-11-08 11:47:59,487 7728 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2020-11-08 11:47:59,648 7728 [DEBUG] - Registry uninstall keys on system: 59
2020-11-08 11:47:59,649 7728 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2020-11-08 11:47:59,745 7728 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'Adobe Acrobat Reader DC*'
2020-11-08 11:47:59,751 7728 [INFO ] - True
2020-11-08 11:47:59,763 7728 [INFO ] - True
2020-11-08 11:47:59,858 7728 [DEBUG] - Running Get-ChocolateyWebFile -checksum '81953f3cf426cbe9e6702d1af7f727c59514c012d8d90bacfb012079c7da6d23' -checksumType 'SHA256' -fileFullPath 'C:\Users\User\AppData\Local\Temp\chocolatey\adobereader.2020.013.20064.installer.exe' -getOriginalFileName 'True' -url 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe' -packageName 'adobereader' 
2020-11-08 11:47:59,873 7728 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2020-11-08 11:47:59,882 7728 [DEBUG] - CPU is 64 bit
2020-11-08 11:47:59,924 7728 [DEBUG] - Running Get-WebFileName -url 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe' -defaultName 'adobereader.2020.013.20064.installer.exe' 
2020-11-08 11:48:00,239 7728 [DEBUG] - Using response url to determine file name. 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe'
2020-11-08 11:48:00,245 7728 [DEBUG] - File name determined from url is 'AcroRdrDC1901020064_MUI.exe'
2020-11-08 11:48:00,280 7728 [DEBUG] - Running Get-WebHeaders -url 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe' -ErrorAction 'Stop' 
2020-11-08 11:48:00,284 7728 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-11-08 11:48:00,286 7728 [DEBUG] - Request Headers:
2020-11-08 11:48:00,293 7728 [DEBUG] -   'Accept':'*/*'
2020-11-08 11:48:00,295 7728 [DEBUG] -   'User-Agent':'chocolatey command line'
2020-11-08 11:48:00,470 7728 [DEBUG] - Response Headers:
2020-11-08 11:48:00,480 7728 [DEBUG] -   'Connection':'keep-alive'
2020-11-08 11:48:00,483 7728 [DEBUG] -   'Accept-Ranges':'bytes'
2020-11-08 11:48:00,486 7728 [DEBUG] -   'Content-Length':'273728496'
2020-11-08 11:48:00,489 7728 [DEBUG] -   'Content-Type':'application/octet-stream'
2020-11-08 11:48:00,491 7728 [DEBUG] -   'Date':'Sun, 08 Nov 2020 09:47:59 GMT'
2020-11-08 11:48:00,493 7728 [DEBUG] -   'ETag':'"1050c3f0-57ca56cc9f469"'
2020-11-08 11:48:00,496 7728 [DEBUG] -   'Last-Modified':'Mon, 10 Dec 2018 06:53:40 GMT'
2020-11-08 11:48:00,498 7728 [DEBUG] -   'Server':'Apache'
2020-11-08 11:48:00,519 7728 [INFO ] - Downloading adobereader 
  from 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe'
2020-11-08 11:48:00,596 7728 [DEBUG] - Running Get-WebFile -url 'https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe' -fileName 'C:\Users\User\AppData\Local\Temp\chocolatey\AcroRdrDC1901020064_MUI.exe' -options 'System.Collections.Hashtable' 
2020-11-08 11:48:00,601 7728 [DEBUG] - Setting request timeout to  30000
2020-11-08 11:48:00,603 7728 [DEBUG] - Setting read/write timeout to  2700000
2020-11-08 11:48:00,605 7728 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-11-08 11:48:00,942 7728 [DEBUG] - Downloading https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe to C:\Users\User\AppData\Local\Temp\chocolatey\AcroRdrDC1901020064_MUI.exe
2020-11-08 11:48:28,531 7048 [DEBUG] - XmlConfiguration is now operational
2020-11-08 11:48:28,604 7048 [INFO ] - ============================================================
2020-11-08 11:48:29,443 7048 [INFO ] - Chocolatey v0.10.15
2020-11-08 11:48:29,458 7048 [DEBUG] - Chocolatey is running on Windows v 10.0.19042.0
2020-11-08 11:48:29,463 7048 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-11-08 11:48:29,465 7048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-11-08 11:48:29,486 7048 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall adobereader
2020-11-08 11:48:29,489 7048 [DEBUG] - Received arguments: uninstall adobereader
2020-11-08 11:48:29,566 7048 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-11-08 11:48:29,579 7048 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-11-08 11:48:29,593 7048 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-11-08 11:48:29,752 7048 [WARN ] - [Pending] Removing incomplete install for 'adobereader'
2020-11-08 11:48:29,950 7048 [DEBUG] - Performing validation checks.
2020-11-08 11:48:29,959 7048 [DEBUG] - Global Configuration Validation Checks:
2020-11-08 11:48:29,961 7048 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2020-11-08 11:48:29,964 7048 [DEBUG] - System State Validation Checks:
2020-11-08 11:48:29,967 7048 [DEBUG] -  Reboot Requirement Checks:
2020-11-08 11:48:29,971 7048 [DEBUG] -  - Pending Computer Rename = Checked
2020-11-08 11:48:29,974 7048 [DEBUG] -  - Pending Component Based Servicing = Checked
2020-11-08 11:48:29,976 7048 [DEBUG] -  - Pending Windows Auto Update = Checked
2020-11-08 11:48:29,979 7048 [DEBUG] -  - Pending File Rename Operations = Ignored
2020-11-08 11:48:29,980 7048 [DEBUG] -  - Pending Windows Package Installer = Checked
2020-11-08 11:48:29,983 7048 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2020-11-08 11:48:29,989 7048 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-11-08 11:48:29,993 7048 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-11-08 11:48:29,995 7048 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2020-11-08 11:48:30,011 7048 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\User\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='adobereader'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='adobereader'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19042.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='User'|
Information.UserDomainName='DESKTOP-A99Q1AE'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-11-08 11:48:30,014 7048 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-11-08 11:48:30,020 7048 [INFO ] - Uninstalling the following packages:
2020-11-08 11:48:30,026 7048 [INFO ] - adobereader
2020-11-08 11:48:30,145 7048 [DEBUG] - Running list with the following filter = ''
2020-11-08 11:48:30,146 7048 [DEBUG] - --- Start of List ---
2020-11-08 11:48:30,361 7048 [DEBUG] - chocolatey 0.10.15
2020-11-08 11:48:30,391 7048 [DEBUG] - chocolatey-core.extension 1.3.5.1
2020-11-08 11:48:30,395 7048 [DEBUG] - KB2919355 1.0.20160915
2020-11-08 11:48:30,399 7048 [DEBUG] - KB2919442 1.0.20160915
2020-11-08 11:48:30,447 7048 [DEBUG] - libreoffice-fresh 7.0.3
2020-11-08 11:48:30,451 7048 [DEBUG] - notepadplusplus 7.9.1
2020-11-08 11:48:30,456 7048 [DEBUG] - notepadplusplus.install 7.9.1
2020-11-08 11:48:30,461 7048 [DEBUG] - vlc 3.0.11
2020-11-08 11:48:30,463 7048 [DEBUG] - --- End of List ---
2020-11-08 11:48:30,509 7048 [ERROR] - adobereader is not installed. Cannot uninstall a non-existent package.
2020-11-08 11:48:30,540 7048 [WARN ] - 
Chocolatey uninstalled 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-11-08 11:48:30,547 7048 [INFO ] - 
2020-11-08 11:48:30,551 7048 [ERROR] - Failures
2020-11-08 11:48:30,557 7048 [ERROR] -  - adobereader - adobereader is not installed. Cannot uninstall a non-existent package.
2020-11-08 11:48:30,560 7048 [WARN ] - 
If a package uninstall is failing and/or you've already uninstalled the
 software outside of Chocolatey, you can attempt to run the command
 with `-n` to skip running a chocolateyUninstall script, additionally
 adding `--skip-autouninstaller` to skip an attempt to automatically
 remove system-installed software. This will only remove the packaging
 files and not things like software installed to Programs and Features.

If a package is failing because it is a dependency of another package
 or packages, then you may first need to consider if it needs removed
 as it is typically installed as a dependency for a reason. If you
 decide that you still want to remove it, head into
 `$env:ChocolateyInstall\lib` and find the package folder you want
 removed. Then delete the folder for the package. This option should
 only be used as a last resort.
 
2020-11-08 11:48:30,570 7048 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-11-08 11:48:30,589 7048 [DEBUG] - Exiting with 1


2020-11-08 12:09:53,236 7436 [DEBUG] - XmlConfiguration is now operational
2020-11-08 12:09:53,414 7436 [INFO ] - ============================================================
2020-11-08 12:09:54,359 7436 [INFO ] - Chocolatey v0.10.15
2020-11-08 12:09:54,370 7436 [DEBUG] - Chocolatey is running on Windows v 10.0.19042.0
2020-11-08 12:09:54,373 7436 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-11-08 12:09:54,375 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-11-08 12:09:54,800 7436 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install pdfcreator
2020-11-08 12:09:54,803 7436 [DEBUG] - Received arguments: install pdfcreator
2020-11-08 12:09:54,901 7436 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-11-08 12:09:54,915 7436 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-11-08 12:09:54,925 7436 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-11-08 12:09:55,177 7436 [DEBUG] - Performing validation checks.
2020-11-08 12:09:55,187 7436 [DEBUG] - Global Configuration Validation Checks:
2020-11-08 12:09:55,189 7436 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2020-11-08 12:09:55,191 7436 [DEBUG] - System State Validation Checks:
2020-11-08 12:09:55,194 7436 [DEBUG] -  Reboot Requirement Checks:
2020-11-08 12:09:55,197 7436 [DEBUG] -  - Pending Computer Rename = Checked
2020-11-08 12:09:55,200 7436 [DEBUG] -  - Pending Component Based Servicing = Checked
2020-11-08 12:09:55,202 7436 [DEBUG] -  - Pending Windows Auto Update = Checked
2020-11-08 12:09:55,205 7436 [DEBUG] -  - Pending File Rename Operations = Ignored
2020-11-08 12:09:55,207 7436 [DEBUG] -  - Pending Windows Package Installer = Checked
2020-11-08 12:09:55,208 7436 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2020-11-08 12:09:55,214 7436 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-11-08 12:09:55,217 7436 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-11-08 12:09:55,225 7436 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2020-11-08 12:09:55,241 7436 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\User\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='pdfcreator'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='pdfcreator'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19042.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='User'|
Information.UserDomainName='DESKTOP-A99Q1AE'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-11-08 12:09:55,243 7436 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-11-08 12:09:55,250 7436 [INFO ] - Installing the following packages:
2020-11-08 12:09:55,253 7436 [INFO ] - pdfcreator
2020-11-08 12:09:55,256 7436 [INFO ] - By installing you accept licenses for the packages.
2020-11-08 12:09:55,378 7436 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2020-11-08 12:09:55,936 7436 [DEBUG] - - Supports prereleases? 'True'.
2020-11-08 12:09:55,938 7436 [DEBUG] - - Is ServiceBased? 'True'.
2020-11-08 12:09:56,329 7436 [DEBUG] - Package 'pdfcreator' found on source 'https://chocolatey.org/api/v2/'
2020-11-08 12:09:56,405 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension (= 1.3.3)'.
2020-11-08 12:10:19,548 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'autohotkey.portable (= 1.1)'.
2020-11-08 12:10:25,452 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'dotnet4.7.2 (= 4.7.2.20180712)'.
2020-11-08 12:10:26,902 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'dotnetfx (= 4.7.2.20180712)'.
2020-11-08 12:10:29,212 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-dotnetfx.extension (= 1.0.1)'.
2020-11-08 12:10:31,363 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919355 (= 1.0.20160915)'.
2020-11-08 12:10:31,384 7436 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919442 (= 1.0.20160915)'.
2020-11-08 12:10:32,247 7436 [INFO ] - [NuGet] Installing 'autohotkey.portable 1.1.33.02'.
2020-11-08 12:10:33,676 7436 [DEBUG] - [NuGet] Added file 'AutoHotkey_1.1.33.02.zip' to folder 'autohotkey.portable\tools'.
2020-11-08 12:10:33,681 7436 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'autohotkey.portable\tools'.
2020-11-08 12:10:33,687 7436 [DEBUG] - [NuGet] Added file 'license.txt' to folder 'autohotkey.portable\tools'.
2020-11-08 12:10:34,880 7436 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'autohotkey.portable\tools'.
2020-11-08 12:10:34,912 7436 [DEBUG] - [NuGet] Added file 'autohotkey.portable.nupkg' to folder 'autohotkey.portable'.
2020-11-08 12:10:37,342 7436 [DEBUG] - [NuGet] Added file 'autohotkey.portable.nuspec' to folder 'autohotkey.portable'.
2020-11-08 12:10:37,715 7436 [INFO ] - [NuGet] Successfully installed 'autohotkey.portable 1.1.33.02'.
2020-11-08 12:10:37,721 7436 [INFO ] - 
autohotkey.portable v1.1.33.02 [Approved]
2020-11-08 12:10:37,756 7436 [INFO ] - autohotkey.portable package files install completed. Performing other installation steps.
2020-11-08 12:10:41,330 7436 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\chocolateyInstall.ps1':
2020-11-08 12:10:41,488 7436 [DEBUG] - $ErrorActionPreference = 'Stop'

$fileName  = 'AutoHotkey_1.1.33.02.zip'
$toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
$zip_path = "$toolsPath\$fileName"
Remove-Item $toolsPath\* -Recurse -Force -Exclude $fileName

$packageArgs = @{
    PackageName  = 'autohotkey.portable'
    FileFullPath = $zip_path
    Destination  = $toolsPath
}
Get-ChocolateyUnzip @packageArgs
Remove-Item $zip_path -ea 0

Write-Host "Removing ANSI-32 version"
Remove-Item "$toolsPath/AutoHotkeyA32.exe" -ea 0
if (Get-OSArchitectureWidth 64 -and ($Env:chocolateyForceX86 -ne 'true')) {
    Write-Verbose "Removing UNICODE-32 version"
    Remove-Item "$toolsPath/AutoHotkeyU32.exe" -ea 0
    Move-Item "$toolsPath/AutoHotkeyU64.exe" "$toolsPath/AutoHotkey.exe" -Force
} else {
    Write-Verbose "Removing UNICODE-64  version"
    Remove-Item "$toolsPath/AutoHotkeyU64.exe" -ea 0
    Move-Item "$toolsPath/AutoHotkeyU32.exe" "$toolsPath/AutoHotkey.exe" -Force
}

2020-11-08 12:10:41,490 7436 [INFO ] - The package autohotkey.portable wants to run 'chocolateyInstall.ps1'.
2020-11-08 12:10:41,494 7436 [INFO ] - Note: If you don't run this script, the installation will fail.
2020-11-08 12:10:41,496 7436 [INFO ] - Note: To confirm automatically next time, use '-y' or consider:
2020-11-08 12:10:41,500 7436 [INFO ] - choco feature enable -n allowGlobalConfirmation
2020-11-08 12:10:42,555 7436 [INFO ] - Do you want to run the script?
2020-11-08 12:10:42,558 7436 [INFO ] -  1) yes
2020-11-08 12:10:42,560 7436 [INFO ] -  2) all - yes to all
2020-11-08 12:10:42,563 7436 [INFO ] -  3) no
2020-11-08 12:10:42,565 7436 [INFO ] -  4) print
2020-11-08 12:12:18,641 7436 [INFO ] - Choice selected: 'yes'
2020-11-08 12:12:19,336 7436 [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\autohotkey.portable\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-11-08 12:12:19,443 7436 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-11-08 12:12:26,251 7436 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.610' and CLR Version is '4.0.30319.42000'.
2020-11-08 12:12:29,156 7436 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-11-08 12:12:29,158 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-11-08 12:12:29,161 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-11-08 12:12:29,163 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-11-08 12:12:29,165 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-11-08 12:12:29,167 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-11-08 12:12:29,169 7436 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-11-08 12:12:29,171 7436 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-11-08 12:12:29,173 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 12:12:29,175 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-11-08 12:12:29,177 7436 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-11-08 12:12:29,179 7436 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-11-08 12:12:29,181 7436 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 12:12:29,184 7436 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-11-08 12:12:29,185 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-11-08 12:12:29,187 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-11-08 12:12:29,189 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-11-08 12:12:29,191 7436 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-11-08 12:12:29,193 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-11-08 12:12:29,194 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 12:12:29,196 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 12:12:29,198 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-11-08 12:12:29,199 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-11-08 12:12:29,200 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-11-08 12:12:29,202 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-11-08 12:12:29,203 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 12:12:29,205 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-11-08 12:12:29,206 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-11-08 12:12:29,208 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-11-08 12:12:29,209 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-11-08 12:12:29,211 7436 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-11-08 12:12:29,212 7436 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-11-08 12:12:29,214 7436 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-11-08 12:12:29,215 7436 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 12:12:29,217 7436 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-11-08 12:12:29,220 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-11-08 12:12:29,222 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 12:12:29,223 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-11-08 12:12:29,224 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 12:12:29,226 7436 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-11-08 12:12:29,228 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-11-08 12:12:29,229 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-11-08 12:12:29,231 7436 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-11-08 12:12:29,232 7436 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-11-08 12:12:29,290 7436 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-11-08 12:12:29,292 7436 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-11-08 12:12:29,293 7436 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-11-08 12:12:29,295 7436 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-11-08 12:12:29,296 7436 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-11-08 12:12:29,297 7436 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-11-08 12:12:29,299 7436 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-11-08 12:12:29,300 7436 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-11-08 12:12:29,301 7436 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-11-08 12:12:29,468 7436 [DEBUG] - Loading community extensions
2020-11-08 12:12:29,648 7436 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2020-11-08 12:12:29,652 7436 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2020-11-08 12:12:30,406 7436 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 12:12:30,407 7436 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-11-08 12:12:30,409 7436 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-11-08 12:12:30,411 7436 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-11-08 12:12:30,413 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-11-08 12:12:30,415 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 12:12:30,416 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-11-08 12:12:30,418 7436 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-11-08 12:12:30,419 7436 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-11-08 12:12:30,433 7436 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-11-08 12:12:30,434 7436 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-11-08 12:12:30,435 7436 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-11-08 12:12:30,436 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-11-08 12:12:30,437 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-11-08 12:12:30,438 7436 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-11-08 12:12:30,439 7436 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-11-08 12:12:30,440 7436 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-11-08 12:12:30,441 7436 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-11-08 12:12:30,442 7436 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-11-08 12:12:30,443 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-11-08 12:12:30,445 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-11-08 12:12:30,446 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-11-08 12:12:30,447 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-11-08 12:12:30,449 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-11-08 12:12:30,450 7436 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-11-08 12:12:30,451 7436 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-11-08 12:12:30,452 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 12:12:30,453 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-11-08 12:12:30,454 7436 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-11-08 12:12:30,455 7436 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-11-08 12:12:30,457 7436 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 12:12:30,458 7436 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-11-08 12:12:30,459 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-11-08 12:12:30,460 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-11-08 12:12:30,461 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-11-08 12:12:30,462 7436 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-11-08 12:12:30,463 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-11-08 12:12:30,465 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 12:12:30,466 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 12:12:30,467 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-11-08 12:12:30,468 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-11-08 12:12:30,469 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-11-08 12:12:30,471 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-11-08 12:12:30,472 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 12:12:30,473 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-11-08 12:12:30,475 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-11-08 12:12:30,476 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-11-08 12:12:30,478 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-11-08 12:12:30,479 7436 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-11-08 12:12:30,480 7436 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-11-08 12:12:30,482 7436 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-11-08 12:12:30,483 7436 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 12:12:30,484 7436 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-11-08 12:12:30,486 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-11-08 12:12:30,487 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 12:12:30,488 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-11-08 12:12:30,489 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 12:12:30,490 7436 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-11-08 12:12:30,491 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-11-08 12:12:30,493 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-11-08 12:12:30,494 7436 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-11-08 12:12:30,495 7436 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-11-08 12:12:30,496 7436 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-11-08 12:12:30,497 7436 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-11-08 12:12:30,498 7436 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-11-08 12:12:30,499 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-11-08 12:12:30,501 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-11-08 12:12:30,502 7436 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-11-08 12:12:30,503 7436 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-11-08 12:12:30,504 7436 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-11-08 12:12:30,505 7436 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-11-08 12:12:30,507 7436 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-11-08 12:12:30,508 7436 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-11-08 12:12:30,509 7436 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-11-08 12:12:30,511 7436 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-11-08 12:12:30,512 7436 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-11-08 12:12:30,513 7436 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-11-08 12:12:30,514 7436 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-11-08 12:12:30,515 7436 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-11-08 12:12:30,517 7436 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-11-08 12:12:30,518 7436 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-11-08 12:12:30,519 7436 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-11-08 12:12:30,520 7436 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-11-08 12:12:30,521 7436 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-11-08 12:12:30,522 7436 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-11-08 12:12:30,524 7436 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-11-08 12:12:30,525 7436 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-11-08 12:12:30,526 7436 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-11-08 12:12:30,527 7436 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-11-08 12:12:30,529 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-11-08 12:12:30,530 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-11-08 12:12:30,532 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-11-08 12:12:30,533 7436 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-11-08 12:12:30,534 7436 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-11-08 12:12:30,535 7436 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-11-08 12:12:30,536 7436 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-11-08 12:12:30,537 7436 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-11-08 12:12:30,538 7436 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-11-08 12:12:30,539 7436 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-11-08 12:12:30,541 7436 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-11-08 12:12:30,542 7436 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-11-08 12:12:30,543 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-11-08 12:12:30,544 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 12:12:30,546 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 12:12:30,547 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-11-08 12:12:30,548 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-11-08 12:12:30,549 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-11-08 12:12:30,550 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-11-08 12:12:30,552 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 12:12:30,553 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-11-08 12:12:30,554 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-11-08 12:12:30,555 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-11-08 12:12:30,556 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-11-08 12:12:30,557 7436 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-11-08 12:12:30,559 7436 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-11-08 12:12:30,560 7436 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-11-08 12:12:30,561 7436 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-11-08 12:12:30,562 7436 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-11-08 12:12:30,563 7436 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 12:12:30,564 7436 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-11-08 12:12:30,565 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-11-08 12:12:30,567 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 12:12:30,568 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-11-08 12:12:30,570 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 12:12:30,571 7436 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-11-08 12:12:30,572 7436 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-11-08 12:12:30,573 7436 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-11-08 12:12:30,574 7436 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-11-08 12:12:30,575 7436 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-11-08 12:12:30,576 7436 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-11-08 12:12:30,578 7436 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-11-08 12:12:30,579 7436 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-11-08 12:12:30,580 7436 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-11-08 12:12:30,581 7436 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-11-08 12:12:30,582 7436 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-11-08 12:12:30,583 7436 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-11-08 12:12:30,585 7436 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-11-08 12:12:30,586 7436 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-11-08 12:12:30,787 7436 [DEBUG] - ---------------------------Script Execution---------------------------
2020-11-08 12:12:30,789 7436 [DEBUG] - Running 'ChocolateyScriptRunner' for autohotkey.portable v1.1.33.02 with packageScript 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\autohotkey.portable', installArguments: '', packageParameters: '',
2020-11-08 12:12:30,803 7436 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\chocolateyInstall.ps1'
2020-11-08 12:12:31,635 7436 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools' -packageName 'autohotkey.portable' -fileFullPath 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip' 
2020-11-08 12:12:31,648 7436 [DEBUG] - Running Get-ProcessorBits -compare '32' 
2020-11-08 12:12:31,841 7436 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip to C:\ProgramData\chocolatey\lib\autohotkey.portable\tools...
2020-11-08 12:12:31,899 7436 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2020-11-08 12:12:31,979 7436 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\autohotkey.portable\tools" -y "C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip"]
2020-11-08 12:12:36,474 7436 [INFO ] - VERBOSE: 
2020-11-08 12:12:36,479 7436 [INFO ] - VERBOSE: 1 file, 4989862 bytes (4873 KiB)
2020-11-08 12:12:36,588 7436 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip
2020-11-08 12:12:36,591 7436 [INFO ] - VERBOSE: 
2020-11-08 12:12:36,594 7436 [INFO ] - VERBOSE: 
2020-11-08 12:12:36,597 7436 [INFO ] - VERBOSE: Scanning the drive for archives:
2020-11-08 12:12:36,600 7436 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2020-11-08 12:12:36,603 7436 [INFO ] - VERBOSE: --
2020-11-08 12:12:36,606 7436 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip
2020-11-08 12:12:36,609 7436 [INFO ] - VERBOSE: Type = zip
2020-11-08 12:12:36,611 7436 [INFO ] - VERBOSE: Physical Size = 4989862
2020-11-08 12:12:36,614 7436 [INFO ] - VERBOSE: 
2020-11-08 12:12:36,617 7436 [INFO ] - VERBOSE: - AutoHotkey.chm
2020-11-08 12:12:36,703 7436 [INFO ] - VERBOSE: - AutoHotkeyA32.exe
2020-11-08 12:12:36,707 7436 [INFO ] - VERBOSE: - AutoHotkeyU32.exe
2020-11-08 12:12:36,709 7436 [INFO ] - VERBOSE: - AutoHotkeyU64.exe
2020-11-08 12:12:36,712 7436 [INFO ] - VERBOSE: - Compiler\Ahk2Exe.exe
2020-11-08 12:12:36,715 7436 [INFO ] - VERBOSE: - Compiler\ANSI 32-bit.bin
2020-11-08 12:12:36,717 7436 [INFO ] - VERBOSE: - Compiler\readme.txt
2020-11-08 12:12:36,720 7436 [INFO ] - VERBOSE: - Compiler\Unicode 32-bit.bin
2020-11-08 12:12:36,722 7436 [INFO ] - VERBOSE: - Compiler\Unicode 64-bit.bin
2020-11-08 12:12:36,724 7436 [INFO ] - VERBOSE: - Installer.ahk
2020-11-08 12:12:36,726 7436 [INFO ] - VERBOSE: - license.txt
2020-11-08 12:12:36,727 7436 [INFO ] - VERBOSE: - Template.ahk
2020-11-08 12:12:36,729 7436 [INFO ] - VERBOSE: - WindowSpy.ahk
2020-11-08 12:12:36,731 7436 [INFO ] - VERBOSE: Everything is Ok
2020-11-08 12:12:36,733 7436 [INFO ] - VERBOSE: 
2020-11-08 12:12:36,735 7436 [INFO ] - VERBOSE: Files: 13
2020-11-08 12:12:36,737 7436 [INFO ] - VERBOSE: Size:       8374025
2020-11-08 12:12:36,739 7436 [INFO ] - VERBOSE: Compressed: 4989862
2020-11-08 12:12:36,856 7436 [DEBUG] - $exitCode was passed null
2020-11-08 12:12:36,857 7436 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\autohotkey.portable\tools" -y "C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_1.1.33.02.zip"] exited with '0'.
2020-11-08 12:12:37,023 7436 [DEBUG] - 7z exit code: 0
2020-11-08 12:12:37,035 7436 [INFO ] - C:\ProgramData\chocolatey\lib\autohotkey.portable\tools
2020-11-08 12:12:37,052 7436 [INFO ] - Removing ANSI-32 version
2020-11-08 12:12:37,062 7436 [DEBUG] - Running Get-OSArchitectureWidth -compare '64' 
2020-11-08 12:12:37,066 7436 [INFO ] - VERBOSE: Removing UNICODE-32 version
2020-11-08 12:12:37,092 7436 [DEBUG] - ----------------------------------------------------------------------
2020-11-08 12:12:37,476 7436 [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\autohotkey.portable\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-11-08 12:12:37,503 7436 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-11-08 12:12:37,864 7436 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-11-08 12:12:37,891 7436 [INFO ] -   autohotkey.portable may be able to be automatically uninstalled.
2020-11-08 12:12:38,370 7436 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\autohotkey.portable'
2020-11-08 12:12:38,394 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\autohotkey.portable.nupkg'
  with checksum 'D31FA1B5496AAE266E4B0545835E9B19'
2020-11-08 12:12:38,396 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\autohotkey.portable.nuspec'
  with checksum '30D091F12A625C817B5D490184205A7C'
2020-11-08 12:12:38,398 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\AutoHotkey_1.1.33.02.zip.txt'
  with checksum '6F899CD4F3ED3C7C9A7BBC31359E61AE'
2020-11-08 12:12:38,454 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey.chm'
  with checksum '1835FE3FF20041068978827CFAAA14BE'
2020-11-08 12:12:38,477 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey.exe'
  with checksum '830D938D575DE3DF6C7D3C0EE751AD9B'
2020-11-08 12:12:38,479 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Installer.ahk'
  with checksum '0F85C441366F751E5B07247A46DBC1F9'
2020-11-08 12:12:38,482 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\license.txt'
  with checksum 'E3F2AD7733F3166FE770E4DC00AF6C45'
2020-11-08 12:12:38,485 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Template.ahk'
  with checksum 'A85EEB1DC6F9A33897C407B4240DC20F'
2020-11-08 12:12:38,486 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\WindowSpy.ahk'
  with checksum '58CB262A57C136C2014235D27C987760'
2020-11-08 12:12:38,492 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\Ahk2Exe.exe'
  with checksum 'F23E68EA2872FC1FB56897A455A9E423'
2020-11-08 12:12:38,497 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\ANSI 32-bit.bin'
  with checksum 'DBF5FDBFA18763A345BF878F9A5EEBC4'
2020-11-08 12:12:38,498 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\readme.txt'
  with checksum '7DC396DF6D33B515684FC351F3D84410'
2020-11-08 12:12:38,504 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\Unicode 32-bit.bin'
  with checksum '645478B8CA6F1552F6FB9B48C55AAC3D'
2020-11-08 12:12:38,510 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\Unicode 64-bit.bin'
  with checksum 'D7B552A9B83A4ECC92DC40E24DFAE54E'
2020-11-08 12:12:38,598 7436 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\autohotkey.portable\tools\AutoHotkey.exe" --output="C:\ProgramData\chocolatey\bin\AutoHotkey.exe"  --iconpath="C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey.exe"']
2020-11-08 12:12:43,350 7436 [DEBUG] -  [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.4084.0
2020-11-08 12:12:43,352 7436 [DEBUG] -  [ShimGen] for C# 5
2020-11-08 12:12:43,354 7436 [DEBUG] -  [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2020-11-08 12:12:43,355 7436 [DEBUG] -  [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2020-11-08 12:12:43,358 7436 [DEBUG] -  [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\AutoHotkey.exe'
2020-11-08 12:12:43,407 7436 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\autohotkey.portable\tools\AutoHotkey.exe" --output="C:\ProgramData\chocolatey\bin\AutoHotkey.exe"  --iconpath="C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey.exe"'] exited with '0'
2020-11-08 12:12:43,410 7436 [INFO ] -  ShimGen has successfully created a shim for AutoHotkey.exe
2020-11-08 12:12:43,416 7436 [DEBUG] -   Created: C:\ProgramData\chocolatey\bin\AutoHotkey.exe
  Targeting: C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey.exe
  IsGui:False

2020-11-08 12:12:43,418 7436 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\autohotkey.portable\tools\Compiler\Ahk2Exe.exe" --output="C:\ProgramData\chocolatey\bin\Ahk2Exe.exe"  --iconpath="C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\Ahk2Exe.exe"']
2020-11-08 12:12:55,217 7436 [DEBUG] -  [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.4084.0
2020-11-08 12:12:55,219 7436 [DEBUG] -  [ShimGen] for C# 5
2020-11-08 12:12:55,221 7436 [DEBUG] -  [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2020-11-08 12:12:55,222 7436 [DEBUG] -  [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2020-11-08 12:12:55,224 7436 [DEBUG] -  [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\Ahk2Exe.exe'
2020-11-08 12:12:55,235 7436 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\autohotkey.portable\tools\Compiler\Ahk2Exe.exe" --output="C:\ProgramData\chocolatey\bin\Ahk2Exe.exe"  --iconpath="C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\Ahk2Exe.exe"'] exited with '0'
2020-11-08 12:12:55,237 7436 [INFO ] -  ShimGen has successfully created a shim for Ahk2Exe.exe
2020-11-08 12:12:55,243 7436 [DEBUG] -   Created: C:\ProgramData\chocolatey\bin\Ahk2Exe.exe
  Targeting: C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\Compiler\Ahk2Exe.exe
  IsGui:False

2020-11-08 12:12:55,390 7436 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02".
2020-11-08 12:12:55,543 7436 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02\.registry'
2020-11-08 12:12:55,583 7436 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02\.files'
2020-11-08 12:12:55,599 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02\.extra".
2020-11-08 12:12:55,600 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02\.version".
2020-11-08 12:12:55,602 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02\.sxs".
2020-11-08 12:12:55,603 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\autohotkey.portable.1.1.33.02\.pin".
2020-11-08 12:12:55,606 7436 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-11-08 12:12:55,609 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\autohotkey.portable\.chocolateyPending".
2020-11-08 12:12:55,613 7436 [INFO ] -  The install of autohotkey.portable was successful.
2020-11-08 12:12:55,619 7436 [INFO ] -   Software installed to 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\'
2020-11-08 12:12:55,631 7436 [INFO ] - [NuGet] Installing 'chocolatey-dotnetfx.extension 1.0.1'.
2020-11-08 12:12:55,636 7436 [DEBUG] - [NuGet] Added file 'chocolatey-dotnetfx.psm1' to folder 'chocolatey-dotnetfx.extension\extensions'.
2020-11-08 12:12:55,639 7436 [DEBUG] - [NuGet] Added file 'DotNetFrameworkHelpers.ps1' to folder 'chocolatey-dotnetfx.extension\extensions'.
2020-11-08 12:12:55,657 7436 [DEBUG] - [NuGet] Added file 'Get-DefaultChocolateyLocalFilePath.ps1' to folder 'chocolatey-dotnetfx.extension\extensions'.
2020-11-08 12:12:55,661 7436 [DEBUG] - [NuGet] Added file 'Get-NativeInstallerExitCode.ps1' to folder 'chocolatey-dotnetfx.extension\extensions'.
2020-11-08 12:12:55,664 7436 [DEBUG] - [NuGet] Added file 'Install-ChocolateyInstallPackageAndHandleExitCode.ps1' to folder 'chocolatey-dotnetfx.extension\extensions'.
2020-11-08 12:12:55,666 7436 [DEBUG] - [NuGet] Added file 'Set-PowerShellExitCode.ps1' to folder 'chocolatey-dotnetfx.extension\extensions'.
2020-11-08 12:12:55,669 7436 [DEBUG] - [NuGet] Added file 'chocolatey-dotnetfx.extension.nupkg' to folder 'chocolatey-dotnetfx.extension'.
2020-11-08 12:12:55,894 7436 [DEBUG] - [NuGet] Added file 'chocolatey-dotnetfx.extension.nuspec' to folder 'chocolatey-dotnetfx.extension'.
2020-11-08 12:12:55,897 7436 [INFO ] - [NuGet] Successfully installed 'chocolatey-dotnetfx.extension 1.0.1'.
2020-11-08 12:12:55,899 7436 [INFO ] - 
chocolatey-dotnetfx.extension v1.0.1 [Approved]
2020-11-08 12:12:55,912 7436 [INFO ] - chocolatey-dotnetfx.extension package files install completed. Performing other installation steps.
2020-11-08 12:12:55,962 7436 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension'
2020-11-08 12:12:55,965 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\chocolatey-dotnetfx.extension.nupkg'
  with checksum 'C94F915AE9E4FA8968333E16BACC821A'
2020-11-08 12:12:55,967 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\chocolatey-dotnetfx.extension.nuspec'
  with checksum '48A1A2A18FC69C1C424A859281417341'
2020-11-08 12:12:55,969 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\chocolatey-dotnetfx.psm1'
  with checksum 'EB3390C12D196E2B30ADD9E3D3DD8970'
2020-11-08 12:12:55,971 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\DotNetFrameworkHelpers.ps1'
  with checksum '05B46577AE99165315D27A14D35C0D88'
2020-11-08 12:12:55,973 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Get-DefaultChocolateyLocalFilePath.ps1'
  with checksum 'AB780CC05180E1F57D5635EDC8CC38BE'
2020-11-08 12:12:55,976 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Get-NativeInstallerExitCode.ps1'
  with checksum 'A8DA12DDEFC9C6A077E7F59FB47C3CEC'
2020-11-08 12:12:55,978 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Install-ChocolateyInstallPackageAndHandleExitCode.ps1'
  with checksum '32FF55F93B0BEEFE1967C6E52289666D'
2020-11-08 12:12:55,980 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Set-PowerShellExitCode.ps1'
  with checksum '58F9F443A2415DB881C5FB711C6D445A'
2020-11-08 12:12:55,985 7436 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx".
2020-11-08 12:12:55,989 7436 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\chocolatey-dotnetfx.psm1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1".
2020-11-08 12:12:55,994 7436 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\DotNetFrameworkHelpers.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\DotNetFrameworkHelpers.ps1".
2020-11-08 12:12:55,997 7436 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Get-DefaultChocolateyLocalFilePath.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\Get-DefaultChocolateyLocalFilePath.ps1".
2020-11-08 12:12:56,001 7436 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Get-NativeInstallerExitCode.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\Get-NativeInstallerExitCode.ps1".
2020-11-08 12:12:56,004 7436 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Install-ChocolateyInstallPackageAndHandleExitCode.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\Install-ChocolateyInstallPackageAndHandleExitCode.ps1".
2020-11-08 12:12:56,007 7436 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\extensions\Set-PowerShellExitCode.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\Set-PowerShellExitCode.ps1".
2020-11-08 12:12:57,520 7436 [WARN ] -  Installed/updated chocolatey-dotnetfx extensions.
2020-11-08 12:12:57,526 7436 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-dotnetfx.extension.1.0.1".
2020-11-08 12:12:57,529 7436 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-dotnetfx.extension.1.0.1\.files'
2020-11-08 12:12:57,532 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-dotnetfx.extension.1.0.1\.extra".
2020-11-08 12:12:57,533 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-dotnetfx.extension.1.0.1\.version".
2020-11-08 12:12:57,534 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-dotnetfx.extension.1.0.1\.sxs".
2020-11-08 12:12:57,535 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-dotnetfx.extension.1.0.1\.pin".
2020-11-08 12:12:57,537 7436 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-11-08 12:12:57,539 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-dotnetfx.extension\.chocolateyPending".
2020-11-08 12:12:57,542 7436 [INFO ] -  The install of chocolatey-dotnetfx.extension was successful.
2020-11-08 12:12:57,545 7436 [INFO ] -   Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx'
2020-11-08 12:12:57,554 7436 [INFO ] - [NuGet] Installing 'dotnetfx 4.8.0.20190930'.
2020-11-08 12:12:57,560 7436 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'dotnetfx\tools'.
2020-11-08 12:12:57,565 7436 [DEBUG] - [NuGet] Added file 'dotnetfx.nupkg' to folder 'dotnetfx'.
2020-11-08 12:12:57,804 7436 [DEBUG] - [NuGet] Added file 'dotnetfx.nuspec' to folder 'dotnetfx'.
2020-11-08 12:12:57,805 7436 [INFO ] - [NuGet] Successfully installed 'dotnetfx 4.8.0.20190930'.
2020-11-08 12:12:57,807 7436 [INFO ] - 
dotnetfx v4.8.0.20190930 [Approved]
2020-11-08 12:12:57,816 7436 [INFO ] - dotnetfx package files install completed. Performing other installation steps.
2020-11-08 12:12:57,836 7436 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dotnetfx\tools\ChocolateyInstall.ps1':
2020-11-08 12:12:57,840 7436 [DEBUG] - $version = '4.8'
$arguments = @{
    PackageName = 'dotnetfx'
    Release = 528040
    Version = $version
    ProductNameWithVersion = "Microsoft .NET Framework $version"
    Url = 'https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0fd66638cde16859462a6243a4629a50/ndp48-x86-x64-allos-enu.exe'
    Checksum = '9B1F71CD1B86BB6EE6303F7BE6FBBE71807A51BB913844C85FC235D5978F3A0F'
    ChecksumType = 'sha256'
}

Install-DotNetFramework @arguments

2020-11-08 12:12:57,842 7436 [INFO ] - The package dotnetfx wants to run 'ChocolateyInstall.ps1'.
2020-11-08 12:12:57,850 7436 [INFO ] - Note: If you don't run this script, the installation will fail.
2020-11-08 12:12:57,853 7436 [INFO ] - Note: To confirm automatically next time, use '-y' or consider:
2020-11-08 12:12:57,856 7436 [INFO ] - choco feature enable -n allowGlobalConfirmation
2020-11-08 12:12:57,869 7436 [INFO ] - Do you want to run the script?
2020-11-08 12:12:57,871 7436 [INFO ] -  1) yes
2020-11-08 12:12:57,873 7436 [INFO ] -  2) all - yes to all
2020-11-08 12:12:57,876 7436 [INFO ] -  3) no
2020-11-08 12:12:57,879 7436 [INFO ] -  4) print
2020-11-08 12:13:06,293 7436 [INFO ] - Choice selected: 'yes'
2020-11-08 12:13:06,296 7436 [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\dotnetfx\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-11-08 12:13:06,355 7436 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-11-08 12:13:06,416 7436 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.610' and CLR Version is '4.0.30319.42000'.
2020-11-08 12:13:06,496 7436 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-11-08 12:13:06,497 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-11-08 12:13:06,498 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-11-08 12:13:06,499 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-11-08 12:13:06,500 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-11-08 12:13:06,502 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-11-08 12:13:06,503 7436 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-11-08 12:13:06,505 7436 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-11-08 12:13:06,506 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 12:13:06,507 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-11-08 12:13:06,508 7436 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-11-08 12:13:06,510 7436 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-11-08 12:13:06,511 7436 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 12:13:06,512 7436 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-11-08 12:13:06,513 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-11-08 12:13:06,515 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-11-08 12:13:06,516 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-11-08 12:13:06,517 7436 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-11-08 12:13:06,519 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-11-08 12:13:06,520 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 12:13:06,521 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 12:13:06,522 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-11-08 12:13:06,524 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-11-08 12:13:06,525 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-11-08 12:13:06,527 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-11-08 12:13:06,528 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 12:13:06,530 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-11-08 12:13:06,531 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-11-08 12:13:06,533 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-11-08 12:13:06,534 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-11-08 12:13:06,535 7436 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-11-08 12:13:06,537 7436 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-11-08 12:13:06,538 7436 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-11-08 12:13:06,539 7436 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 12:13:06,540 7436 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-11-08 12:13:06,541 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-11-08 12:13:06,542 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 12:13:06,544 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-11-08 12:13:06,545 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 12:13:06,546 7436 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-11-08 12:13:06,547 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-11-08 12:13:06,547 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-11-08 12:13:06,548 7436 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-11-08 12:13:06,549 7436 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-11-08 12:13:06,550 7436 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-11-08 12:13:06,551 7436 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-11-08 12:13:06,552 7436 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-11-08 12:13:06,553 7436 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-11-08 12:13:06,554 7436 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-11-08 12:13:06,555 7436 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-11-08 12:13:06,556 7436 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-11-08 12:13:06,557 7436 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-11-08 12:13:06,558 7436 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-11-08 12:13:06,560 7436 [DEBUG] - Loading community extensions
2020-11-08 12:13:06,568 7436 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2020-11-08 12:13:06,570 7436 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2020-11-08 12:13:06,675 7436 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 12:13:06,677 7436 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-11-08 12:13:06,679 7436 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-11-08 12:13:06,682 7436 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-11-08 12:13:06,684 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-11-08 12:13:06,685 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 12:13:06,687 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-11-08 12:13:06,690 7436 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-11-08 12:13:06,692 7436 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-11-08 12:13:06,694 7436 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-11-08 12:13:06,695 7436 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-11-08 12:13:06,696 7436 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-11-08 12:13:06,697 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-11-08 12:13:06,698 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-11-08 12:13:06,699 7436 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-11-08 12:13:06,700 7436 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-11-08 12:13:06,701 7436 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-11-08 12:13:06,701 7436 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-11-08 12:13:06,703 7436 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2020-11-08 12:13:06,705 7436 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2020-11-08 12:13:06,849 7436 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2020-11-08 12:13:06,851 7436 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2020-11-08 12:13:06,852 7436 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2020-11-08 12:13:06,853 7436 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2020-11-08 12:13:06,855 7436 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-11-08 12:13:06,856 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-11-08 12:13:06,857 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-11-08 12:13:06,858 7436 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-11-08 12:13:06,859 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-11-08 12:13:06,860 7436 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-11-08 12:13:06,861 7436 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-11-08 12:13:06,862 7436 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-11-08 12:13:06,863 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-11-08 12:13:06,864 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-11-08 12:13:06,865 7436 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-11-08 12:13:06,867 7436 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-11-08 12:13:06,867 7436 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-11-08 12:13:06,868 7436 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-11-08 12:13:06,869 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-11-08 12:13:06,870 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-11-08 12:13:06,871 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-11-08 12:13:06,872 7436 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-11-08 12:13:06,873 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-11-08 12:13:06,874 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 12:13:06,875 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 12:13:06,876 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-11-08 12:13:06,877 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-11-08 12:13:06,878 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-11-08 12:13:06,879 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-11-08 12:13:06,880 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 12:13:06,882 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-11-08 12:13:06,883 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-11-08 12:13:06,884 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-11-08 12:13:06,885 7436 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-11-08 12:13:06,886 7436 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-11-08 12:13:06,887 7436 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-11-08 12:13:06,888 7436 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-11-08 12:13:06,890 7436 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 12:13:06,891 7436 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-11-08 12:13:06,892 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-11-08 12:13:06,894 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 12:13:06,895 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-11-08 12:13:06,896 7436 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 12:13:06,897 7436 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-11-08 12:13:06,898 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-11-08 12:13:06,899 7436 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-11-08 12:13:06,900 7436 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-11-08 12:13:06,901 7436 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-11-08 12:13:06,903 7436 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2020-11-08 12:13:06,904 7436 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2020-11-08 12:13:06,905 7436 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2020-11-08 12:13:06,906 7436 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2020-11-08 12:13:06,907 7436 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2020-11-08 12:13:06,908 7436 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2020-11-08 12:13:06,909 7436 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2020-11-08 12:13:06,910 7436 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2020-11-08 12:13:06,911 7436 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2020-11-08 12:13:06,913 7436 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-11-08 12:13:06,914 7436 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-11-08 12:13:06,915 7436 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-11-08 12:13:06,916 7436 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-11-08 12:13:06,917 7436 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-11-08 12:13:06,919 7436 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-11-08 12:13:06,920 7436 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-11-08 12:13:06,921 7436 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-11-08 12:13:06,922 7436 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-11-08 12:13:06,923 7436 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-11-08 12:13:06,925 7436 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2020-11-08 12:13:06,926 7436 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2020-11-08 12:13:06,927 7436 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-11-08 12:13:06,928 7436 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-11-08 12:13:06,929 7436 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-11-08 12:13:06,930 7436 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2020-11-08 12:13:06,932 7436 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-11-08 12:13:06,933 7436 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-11-08 12:13:06,934 7436 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-11-08 12:13:06,935 7436 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-11-08 12:13:06,936 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2020-11-08 12:13:06,937 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-11-08 12:13:06,938 7436 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-11-08 12:13:06,940 7436 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-11-08 12:13:06,941 7436 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-11-08 12:13:06,942 7436 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-11-08 12:13:06,943 7436 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-11-08 12:13:06,944 7436 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2020-11-08 12:13:06,946 7436 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-11-08 12:13:06,947 7436 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-11-08 12:13:06,948 7436 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-11-08 12:13:06,949 7436 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-11-08 12:13:06,950 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-11-08 12:13:06,951 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-11-08 12:13:06,952 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-11-08 12:13:06,954 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-11-08 12:13:06,955 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-11-08 12:13:06,956 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-11-08 12:13:06,957 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-11-08 12:13:06,958 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-11-08 12:13:06,959 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-11-08 12:13:06,960 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-11-08 12:13:06,962 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-11-08 12:13:06,963 7436 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-11-08 12:13:06,964 7436 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2020-11-08 12:13:06,965 7436 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2020-11-08 12:13:06,966 7436 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-11-08 12:13:06,968 7436 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2020-11-08 12:13:06,969 7436 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2020-11-08 12:13:06,971 7436 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-11-08 12:13:06,972 7436 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-11-08 12:13:06,974 7436 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-11-08 12:13:06,975 7436 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-11-08 12:13:06,976 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-11-08 12:13:06,977 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-11-08 12:13:07,014 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-11-08 12:13:07,016 7436 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-11-08 12:13:07,017 7436 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-11-08 12:13:07,018 7436 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-11-08 12:13:07,019 7436 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-11-08 12:13:07,021 7436 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-11-08 12:13:07,022 7436 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-11-08 12:13:07,023 7436 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-11-08 12:13:07,024 7436 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-11-08 12:13:07,025 7436 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-11-08 12:13:07,026 7436 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-11-08 12:13:07,027 7436 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-11-08 12:13:07,029 7436 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-11-08 12:13:07,030 7436 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-11-08 12:13:07,031 7436 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-11-08 12:13:07,032 7436 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-11-08 12:13:07,036 7436 [DEBUG] - ---------------------------Script Execution---------------------------
2020-11-08 12:13:07,038 7436 [DEBUG] - Running 'ChocolateyScriptRunner' for dotnetfx v4.8.0.20190930 with packageScript 'C:\ProgramData\chocolatey\lib\dotnetfx\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dotnetfx', installArguments: '', packageParameters: '',
2020-11-08 12:13:07,041 7436 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\dotnetfx\tools\ChocolateyInstall.ps1'
2020-11-08 12:13:07,218 7436 [INFO ] - Microsoft .NET Framework 4.8 or later is already installed.
2020-11-08 12:13:07,222 7436 [DEBUG] - ----------------------------------------------------------------------
2020-11-08 12:13:07,247 7436 [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\dotnetfx\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-11-08 12:13:07,249 7436 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-11-08 12:13:07,350 7436 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-11-08 12:13:07,366 7436 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dotnetfx'
2020-11-08 12:13:07,369 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\dotnetfx\dotnetfx.nupkg'
  with checksum '2847A6A19411DA4CF1CF5959AACCA5E6'
2020-11-08 12:13:07,371 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\dotnetfx\dotnetfx.nuspec'
  with checksum 'E3B6DE1E6261B544728B08C080E9BD5B'
2020-11-08 12:13:07,372 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\dotnetfx\tools\ChocolateyInstall.ps1'
  with checksum 'F210703F69E4BE33D4F61821374F28B5'
2020-11-08 12:13:07,375 7436 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\dotnetfx.4.8.0.20190930".
2020-11-08 12:13:07,377 7436 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\dotnetfx.4.8.0.20190930\.files'
2020-11-08 12:13:07,380 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnetfx.4.8.0.20190930\.extra".
2020-11-08 12:13:07,381 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnetfx.4.8.0.20190930\.version".
2020-11-08 12:13:07,382 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnetfx.4.8.0.20190930\.sxs".
2020-11-08 12:13:07,383 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnetfx.4.8.0.20190930\.pin".
2020-11-08 12:13:07,385 7436 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-11-08 12:13:07,386 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dotnetfx\.chocolateyPending".
2020-11-08 12:13:07,388 7436 [INFO ] -  The install of dotnetfx was successful.
2020-11-08 12:13:07,392 7436 [INFO ] -   Software install location not explicitly set, could be in package or
  default install location if installer.
2020-11-08 12:13:07,400 7436 [INFO ] - [NuGet] Installing 'dotnet4.7.2 4.7.2.20180712'.
2020-11-08 12:13:07,406 7436 [DEBUG] - [NuGet] Added file 'dotnet4.7.2.nupkg' to folder 'dotnet4.7.2'.
2020-11-08 12:13:07,699 7436 [DEBUG] - [NuGet] Added file 'dotnet4.7.2.nuspec' to folder 'dotnet4.7.2'.
2020-11-08 12:13:07,701 7436 [INFO ] - [NuGet] Successfully installed 'dotnet4.7.2 4.7.2.20180712'.
2020-11-08 12:13:07,702 7436 [INFO ] - 
dotnet4.7.2 v4.7.2.20180712 [Approved]
2020-11-08 12:13:07,711 7436 [INFO ] - dotnet4.7.2 package files install completed. Performing other installation steps.
2020-11-08 12:13:07,750 7436 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dotnet4.7.2'
2020-11-08 12:13:07,752 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\dotnet4.7.2\dotnet4.7.2.nupkg'
  with checksum '4D7F07F4F77562ABE87D978539387F6B'
2020-11-08 12:13:07,753 7436 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\dotnet4.7.2\dotnet4.7.2.nuspec'
  with checksum 'B5FF374902FA85000D175F05FAADBF7A'
2020-11-08 12:13:07,757 7436 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\dotnet4.7.2.4.7.2.20180712".
2020-11-08 12:13:07,759 7436 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\dotnet4.7.2.4.7.2.20180712\.files'
2020-11-08 12:13:07,762 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnet4.7.2.4.7.2.20180712\.extra".
2020-11-08 12:13:07,764 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnet4.7.2.4.7.2.20180712\.version".
2020-11-08 12:13:07,765 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnet4.7.2.4.7.2.20180712\.sxs".
2020-11-08 12:13:07,767 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dotnet4.7.2.4.7.2.20180712\.pin".
2020-11-08 12:13:07,768 7436 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-11-08 12:13:07,770 7436 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dotnet4.7.2\.chocolateyPending".
2020-11-08 12:13:07,772 7436 [INFO ] -  The install of dotnet4.7.2 was successful.
2020-11-08 12:13:07,776 7436 [INFO ] -   Software install location not explicitly set, could be in package or
  default install location if installer.
2020-11-08 12:13:07,788 7436 [INFO ] - [NuGet] Installing 'PDFCreator 4.1.2'.
2020-11-08 12:13:07,792 7436 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'PDFCreator\legal'.
2020-11-08 12:13:07,797 7436 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'PDFCreator\legal'.
2020-11-08 12:13:07,800 7436 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ahk' to folder 'PDFCreator\tools'.
2020-11-08 12:13:07,803 7436 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'PDFCreator\tools'.
2020-11-08 12:13:07,819 7436 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PDFCreator\tools'.
2020-11-08 12:13:07,882 7436 [DEBUG] - [NuGet] Added file 'PDFCreator-4_1_2-Setup_legacy.exe' to folder 'PDFCreator\tools'.
2020-11-08 12:13:07,931 7436 [DEBUG] - [NuGet] Added file 'PDFCreator.nupkg' to folder 'PDFCreator'.
2020-11-08 12:13:08,150 7436 [DEBUG] - [NuGet] Added file 'PDFCreator.nuspec' to folder 'PDFCreator'.
2020-11-08 12:13:08,152 7436 [INFO ] - [NuGet] Successfully installed 'PDFCreator 4.1.2'.
2020-11-08 12:13:08,154 7436 [INFO ] - 
PDFCreator v4.1.2 [Approved]
2020-11-08 12:13:08,163 7436 [INFO ] - pdfcreator package files install completed. Performing other installation steps.
2020-11-08 12:13:08,190 7436 [DEBUG] - Setting installer args for PDFCreator
2020-11-08 12:13:08,193 7436 [DEBUG] - Setting package parameters for PDFCreator
2020-11-08 12:13:08,194 7436 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PDFCreator\tools\chocolateyInstall.ps1':
2020-11-08 12:13:08,197 7436 [DEBUG] - $ErrorActionPreference = 'Stop'

$installArgs = $('' +
  '/NORESTART /SUPPRESSMSGBOXES /SP- /LOG /LANG=english ' +
  '/COMPONENTS="program,ghostscript,comsamples,' +
  'languages,languages\bosnian,languages\catalan,languages\catalan_valencia,' +
  'languages\chinese_simplified,languages\chinese_traditional,' +
  'languages\corsican,languages\croatian,languages\czech,languages\danish,' +
  'languages\dutch,languages\english,languages\estonian,languages\finnish,' +
  'languages\french,languages\galician,languages\german,languages\greek,' +
  'languages\hebrew,languages\hungarian,languages\italian,languages\irish,' +
  'languages\ligurian,languages\latvian,languages\lithuanian,' +
  'languages\norwegian_bokmal,languages\polish,languages\portuguese_br,' +
  'languages\romanian,languages\russian,languages\serbian_cyrillic,' +
  'languages\slovak,languages\slovenian,languages\spanish,' +
  'languages\swedish,languages\turkish,languages\valencian_avl"'
)

$toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  file           = "$toolsPath\PDFCreator-4_1_2-Setup_legacy.exe"
  softwareName   = 'PDFCreator'
  silentArgs     = $installArgs
  validExitCodes = @(0)
}

# Make sure Print Spooler service is up and running
# this is required for both installing, and running pdfcreator
try {
  $serviceName = 'Spooler'
  $spoolerService = Get-Service -Name $serviceName
  if ($spoolerService -eq $null) { throw "Service $serviceName was not found" }
  Write-Host "Print Spooler service state: $($spoolerService.StartMode) / $($spoolerService.Status)"
  if ($spoolerService.StartMode -ne 'Auto' -or $spoolerService.Status -ne 'Running') {
    Set-Service $serviceName -StartupType Automatic -Status Running
    Write-Host 'Print Spooler service new state: Auto / Running'
  }
}
catch {
  Write-Warning "Unexpected error while checking Print Spooler service: $($_.Exception.Message)"
}

$ThisComputer = Get-WmiObject -Class win32_computersystem

# silent install requires different methods for domain-joined systems
if ($ThisComputer.partofdomain -eq $true) {
   Write-Warning 'Silent install of PDFCreator is not supported on domain-joined systems like this one.'
   Write-Warning 'Silent install will be attempted, but is less certain.'
   $ahkFile = Join-Path $toolsPath 'chocolateyInstall.ahk'
   $ahkEXE = Get-ChildItem "$env:ChocolateyInstall\lib\autohotkey.portable" -Recurse -filter autohotkey.exe
   $ahkProc = Start-Process -FilePath $ahkEXE.FullName -ArgumentList "$ahkFile" -PassThru
   Write-Debug "AutoHotKey start time:`t$($ahkProc.StartTime.ToShortTimeString())"
   Write-Debug "Process ID:`t$($ahkProc.Id)"
} else {
   $packageArgs.SilentArgs = "/VERYSILENT $($packageArgs.SilentArgs)"
}

Install-ChocolateyInstallPackage @packageArgs

Get-ChildItem $toolsPath\*.exe | ForEach-Object {$null = New-Item "$_.ignore" -Type file -Force}

if ($ahkFile) {
   if (get-process -id $ahkProc.Id -ErrorAction SilentlyContinue) {stop-process -id $ahkProc.Id}
}

2020-11-08 12:13:08,199 7436 [INFO ] - The package PDFCreator wants to run 'chocolateyInstall.ps1'.
2020-11-08 12:13:08,204 7436 [INFO ] - Note: If you don't run this script, the installation will fail.
2020-11-08 12:13:08,207 7436 [INFO ] - Note: To confirm automatically next time, use '-y' or consider:
2020-11-08 12:13:08,210 7436 [INFO ] - choco feature enable -n allowGlobalConfirmation
2020-11-08 12:13:08,227 7436 [INFO ] - Do you want to run the script?
2020-11-08 12:13:08,229 7436 [INFO ] -  1) yes
2020-11-08 12:13:08,230 7436 [INFO ] -  2) all - yes to all
2020-11-08 12:13:08,231 7436 [INFO ] -  3) no
2020-11-08 12:13:08,232 7436 [INFO ] -  4) print


```

and at the "do you want to run the script?" question i decided to file this bug report.

@pauby
Copy link
Member

pauby commented Aug 28, 2024

Duplicate of #619

@pauby pauby marked this as a duplicate of #619 Aug 28, 2024
@pauby pauby closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants