Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ConEmu v20.11.1.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="ConEmu 201101.x64" displayVersion="11.201.1010">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B43B86D9-98F2-4727-8DFC-2B93B6790A3E}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{B43B86D9-98F2-4727-8DFC-2B93B6790A3E}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[ConEmu-Maximus5]]></Publisher>
<InstallDate>20201031</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu201101\]]></InstallSource>
<Language>1033</Language>
<Version>197723122</Version>
<VersionMajor>11</VersionMajor>
<VersionMinor>201</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\2c31ea.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

ConEmu v20.11.1.0 - Passed - Package Test Results

  • https://chocolatey.org/packages/ConEmu/20.11.1.0
  • Tested 01 Nov 2020 18:57:05 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.5.0-1-g57c3bd8
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nupkg" checksum="00C1E0011558226AB0CAC5DBD0C0C6F7" />
<file path="C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nuspec" checksum="12E5CCC50B08FA8354F8F42772FBC5BE" />
<file path="C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1" checksum="7717C99855415CFDB3ED592E66412CD7" />
<file path="C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1" checksum="1EB64E6E4CDEE1DD3D653471BE80516A" />
</files>
</fileSnapshot>
2020-10-31 08:14:16,901 1744 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\41f46e85-5629-4bb4-8f5e-c4ae957390a3\extracted\VBoxWindowsAdditions-amd64.exe" /S ] exited with '0'.
2020-10-31 08:14:16,915 1744 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-10-31 08:14:16,915 1744 [INFO ] - virtualbox-guest-additions-guest.install has been installed.
2020-10-31 08:14:17,399 1744 [INFO ] -
2020-10-31 08:14:17,415 1744 [DEBUG] - ----------------------------------------------------------------------
2020-10-31 08:14:22,727 1744 [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\virtualbox-guest-additions-guest.install\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-10-31 08:14:22,774 1744 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-10-31 08:14:25,368 1744 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-10-31 08:14:25,633 1744 [INFO ] - virtualbox-guest-additions-guest.install may be able to be automatically uninstalled.
2020-10-31 08:14:27,133 1744 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install'
2020-10-31 08:14:27,133 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\vboxadditions.iso.txt'
with checksum 'A25953169BFFE0B84A9405FCE94C8D46'
2020-10-31 08:14:27,149 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\virtualbox-guest-additions-guest.install.nupkg'
with checksum '47DB424EC669AE62E1F14323CD56504E'
2020-10-31 08:14:27,149 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\virtualbox-guest-additions-guest.install.nuspec'
with checksum '8047961587DDB081ED886CFDA172AE76'
2020-10-31 08:14:27,180 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\tools\chocolateyInstall.ps1'
with checksum 'BF4B8600643C5663F895042864080831'
2020-10-31 08:14:27,180 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\tools\Trusted-OracleCorporationVirtualBox-05308b76ac2e15b29720fb4395f65f38.cer'
with checksum '2C3567A8535342474E8B4C4BC12317CB'
2020-10-31 08:14:27,180 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\tools\Trusted-OracleCorporationVirtualBox-05308b76ac2e15b29720fb4395f65f38.cer.LICENSE'
with checksum 'E78A1D594876B4C46B2F2B03E7E719C3'
2020-10-31 08:14:27,196 1744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\tools\VERIFICATION.txt'
with checksum 'B8353F8FBE2E363BFC580A3DD22E2084'
2020-10-31 08:14:27,258 1744 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16".
2020-10-31 08:14:27,618 1744 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16\.registry'
2020-10-31 08:14:27,649 1744 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16\.files'
2020-10-31 08:14:27,805 1744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16\.extra".
2020-10-31 08:14:27,805 1744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16\.version".
2020-10-31 08:14:27,805 1744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16\.sxs".
2020-10-31 08:14:27,805 1744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\virtualbox-guest-additions-guest.install.6.1.16\.pin".
2020-10-31 08:14:27,822 1744 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-10-31 08:14:27,822 1744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\virtualbox-guest-additions-guest.install\.chocolateyPending".
2020-10-31 08:14:27,837 1744 [INFO ] - The install of virtualbox-guest-additions-guest.install was successful.
2020-10-31 08:14:27,837 1744 [INFO ] - Software installed to 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\41f46e85-5629-4bb4-8f5e-c4ae957390a3\extracted'
2020-10-31 08:14:27,852 1744 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\virtualbox-guest-additions-guest.install.6.1.16.nupkg".
2020-10-31 08:14:28,118 1744 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-10-31 08:14:28,134 1744 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-10-31 08:14:28,181 1744 [DEBUG] - Exiting with 0
2020-10-31 08:15:21,149 2892 [DEBUG] - XmlConfiguration is now operational
2020-10-31 08:15:21,572 2892 [INFO ] - ============================================================
2020-10-31 08:15:22,791 2892 [INFO ] - Chocolatey v0.10.16-beta
2020-10-31 08:15:22,822 2892 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-10-31 08:15:22,822 2892 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-10-31 08:15:22,836 2892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-10-31 08:15:22,900 2892 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install ConEmu --version 20.11.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2020-10-31 08:15:22,915 2892 [DEBUG] - Received arguments: install ConEmu --version 20.11.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2020-10-31 08:15:23,088 2892 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-10-31 08:15:23,102 2892 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-10-31 08:15:23,133 2892 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-10-31 08:15:23,368 2892 [DEBUG] - Performing validation checks.
2020-10-31 08:15:23,399 2892 [DEBUG] - Global Configuration Validation Checks:
2020-10-31 08:15:23,399 2892 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-10-31 08:15:23,415 2892 [DEBUG] - System State Validation Checks:
2020-10-31 08:15:23,415 2892 [DEBUG] - Reboot Requirement Checks:
2020-10-31 08:15:23,430 2892 [DEBUG] - - Pending Computer Rename = Checked
2020-10-31 08:15:23,446 2892 [DEBUG] - - Pending Component Based Servicing = Flagged
2020-10-31 08:15:23,463 2892 [INFO ] - 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
2020-10-31 08:15:23,477 2892 [INFO ] -
2020-10-31 08:15:23,477 2892 [WARN ] - Validation Warnings:
2020-10-31 08:15:23,493 2892 [WARN ] - - A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
2020-10-31 08:15:23,508 2892 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-10-31 08:15:23,525 2892 [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-10-31 08:15:23,619 2892 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='ConEmu'|Version='20.11.1.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='ConEmu'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
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='True'|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='False'|
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-10-31 08:15:23,619 2892 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-10-31 08:15:23,649 2892 [INFO ] - Installing the following packages:
2020-10-31 08:15:23,649 2892 [INFO ] - ConEmu
2020-10-31 08:15:23,649 2892 [INFO ] - By installing you accept licenses for the packages.
2020-10-31 08:15:23,664 2892 [DEBUG] - Current environment values (may contain sensitive data):
2020-10-31 08:15:23,681 2892 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-10-31 08:15:23,681 2892 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-10-31 08:15:23,681 2892 [DEBUG] - * 'ChocolateyLastPathUpdate'='132486031968590583' ('User')
2020-10-31 08:15:23,696 2892 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-10-31 08:15:23,696 2892 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-10-31 08:15:23,696 2892 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-10-31 08:15:23,727 2892 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-10-31 08:15:23,742 2892 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-10-31 08:15:23,742 2892 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-10-31 08:15:23,742 2892 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-10-31 08:15:23,742 2892 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-10-31 08:15:23,758 2892 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-10-31 08:15:23,758 2892 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-10-31 08:15:23,758 2892 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-10-31 08:15:23,758 2892 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-10-31 08:15:23,774 2892 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-10-31 08:15:23,774 2892 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-10-31 08:15:23,774 2892 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-10-31 08:15:23,774 2892 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-10-31 08:15:23,791 2892 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-10-31 08:15:27,633 2892 [INFO ] - [NuGet] Installing 'ConEmu 20.11.1.0'.
2020-10-31 08:15:27,650 2892 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'ConEmu\tools'.
2020-10-31 08:15:27,664 2892 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'ConEmu\tools'.
2020-10-31 08:15:27,664 2892 [DEBUG] - [NuGet] Added file 'ConEmu.nupkg' to folder 'ConEmu'.
2020-10-31 08:15:27,992 2892 [DEBUG] - [NuGet] Added file 'ConEmu.nuspec' to folder 'ConEmu'.
2020-10-31 08:15:28,008 2892 [INFO ] - [NuGet] Successfully installed 'ConEmu 20.11.1.0'.
2020-10-31 08:15:28,008 2892 [INFO ] -
ConEmu v20.11.1.0 (forced)
2020-10-31 08:15:28,055 2892 [INFO ] - conemu package files install completed. Performing other installation steps.
2020-10-31 08:15:28,461 2892 [DEBUG] - Setting installer args for ConEmu
2020-10-31 08:15:28,461 2892 [DEBUG] - Setting package parameters for ConEmu
2020-10-31 08:15:28,461 2892 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1':
2020-10-31 08:15:28,493 2892 [DEBUG] - $package = 'ConEmu'
$version = '20.11.01'
$sha256 = 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B'
$isSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
$os = if ($isSytem32Bit) { "x86" } else { "x64" }
$url = "https://github.com/Maximus5/ConEmu/releases/download/v$version/ConEmuSetup.$($version.replace('.','')).exe"
# MSI installer, but packed inside wrapper to select x86 or x64
# version. Therefore, treat it as EXE type.
$params = @{
PackageName = $package;
FileType = 'exe';
SilentArgs = "/p:$os /quiet /norestart";
Url = $url;
Url64bit = $url;
checksum = $sha256
checksumType = 'sha256'
checksum64 = $sha256
checksumType64= 'sha256'
}
$script:CE_PID = 0
$script:CE_SRV = 0
$script:CE_WND = 0
$script:CE_DIR = ""
$script:ConEmuC = ""
$script:CE_FILES = @()
function log($s) {
# Write-Host $s
}
function initWinApi() {
Add-Type @"
using System;
using System.Text;
using System.Runtime.InteropServices;
public class ConEmuApi
{
[DllImport("user32.dll", SetLastError=true, CharSet=CharSet.Auto)]
public static extern int IsWindow(IntPtr hwnd);
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, int dwFlags);
public static bool MarkFileDelete(string sourcefile)
{
return MoveFileEx(sourcefile, null, 4);
}
}
"@
}
function isWindowAlive($hwnd) {
if (("ConEmuApi" -as [type]) -eq $null) {
initWinApi
}
$rc = [ConEmuApi]::IsWindow($hwnd)
# log "HWND=$hwnd, rc=$rc"
return ($rc -ne 0)
}
function isProcessAlive($id) {
if ((Get-Process -Id $id -ErrorAction Ignore) -eq $Null) {
return $False
}
return $True
}
function isConEmu() {
if (($env:ConEmuDrawHWND -eq $Null) -Or ($env:ConEmuPID -eq $Null) -Or
($env:ConEmuServerPID -eq $Null) -Or ($env:ConEmuBaseDir -eq $Null)) {
return $False
}
$id = [convert]::ToInt32($env:ConEmuPID)
$srv = [convert]::ToInt32($env:ConEmuServerPID)
$wnd = [convert]::ToInt32($env:ConEmuDrawHWND, 16)
if (-Not (isProcessAlive $id)) {
return $False
}
if (-Not (isWindowAlive $wnd)) {
return $False
}
if (Test-Path -path (Join-Path $env:ConEmuBaseDir "ConEmuC.exe") -pathtype leaf) {
$script:ConEmuC = Join-Path $env:ConEmuBaseDir "ConEmuC.exe"
} elseif (Test-Path -path (Join-Path $env:ConEmuBaseDir "ConEmuC64.exe") -pathtype leaf) {
$script:ConEmuC = Join-Path $env:ConEmuBaseDir "ConEmuC64.exe"
} else {
return $False
}
$script:CE_PID = $id
$script:CE_SRV = $srv
$script:CE_WND = $wnd
$script:CE_DIR = $env:ConEmuBaseDir
return $True
}
function unlockFiles($files) {
$suffix = Get-Date -format yyMMddHHmmss
foreach ($fn in $files) {
$f = @{src_name=$fn; tmp_name=".$fn.$suffix";}
$f.Add("src", (Join-Path $script:CE_DIR $f.src_name))
$f.Add("tmp", (Join-Path $script:CE_DIR $f.tmp_name))
try {
if (Test-Path -path $f.src -pathtype leaf) {
Rename-Item -Path $f.src -NewName $f.tmp_name -ErrorAction Stop
$script:CE_FILES += $f
}
} catch {
}
}
}
function removeTempFiles() {
foreach ($f in $script:CE_FILES) {
try {
Remove-Item $f.tmp -ErrorAction Stop
} catch {
$deleteResult = [ConEmuApi]::MarkFileDelete($f.tmp)
}
}
}
function restoreFiles() {
foreach ($f in $script:CE_FILES) {
try {
Rename-Item -Path $f.tmp -NewName $f.src_name -ErrorAction Stop
} catch {
log "Failed to restore file: $($f.src_name)"
}
}
}
function ConEmuPreUpdate() {
# Checking
if (isConEmu) {
# Note, old ConEmu versions weren't able to detach without confirmation
log "Detaching from ConEmu"
$warn_msg = "Please choose <Yes> in the confirmation dialog"
Write-Host -ForegroundColor Green -NoNewLine $warn_msg
$macro_rc = & $script:ConEmuC -GuiMacro:$script:CE_PID detach 3
Write-Host -NoNewLine ("`r".PadRight($warn_msg.length+1)+"`r")
$wait_delay = 10000
$wait_ms = 250
$wait_count = $wait_delay/$wait_ms
# log "Code=$LASTEXITCODE" # may be always 0 and "OK"
# Sleep for 10 sec waiting for detach
$warn_msg = "Waiting for detach"
Write-Host -ForegroundColor Green -NoNewLine $warn_msg
for ($i = 0; $i -lt $wait_count; $i++) {
if (-Not (isWindowAlive $script:CE_WND)) {
log "Detached successfully"
break
}
# Write-Host -NoNewLine "."
Sleep -m $wait_ms
}
Write-Host -NoNewLine ("`r".PadRight($warn_msg.length+1)+"`r")
if ($i -eq $wait_count) {
throw "Detach failed, please try to run update outside of ConEmu"
}
if (isProcessAlive $script:CE_PID) {
Sleep -s 1
if (isProcessAlive $script:CE_PID) {
$warn_msg = "Requesting ConEmu termination"
Write-Host -ForegroundColor Green -NoNewLine $warn_msg
$macro_rc = & $script:ConEmuC -GuiMacro:$script:CE_PID close 2
for ($i = 0; $i -lt $wait_count; $i++) {
if (-Not (isProcessAlive $script:CE_PID)) {
log "Terminated successfully"
break
}
# Write-Host -NoNewLine "."
Sleep -m $wait_ms
}
Write-Host -NoNewLine ("`r".PadRight($warn_msg.length+1)+"`r")
if ($i -eq $wait_count) {
throw "ConEmu process still alive, please try to run update outside of ConEmu"
}
}
}
if (isProcessAlive $script:CE_SRV) {
log "Terminating console server process PID=$($script:CE_SRV)"
Stop-Process -Force -Id $script:CE_SRV
}
log "Renaming hooks libraries"
unlockFiles @("ConEmuHk.dll", "ConEmuHk64.dll")
log "Console is ready to update ConEmu"
} else {
$is_conemu = $FALSE
try {
& ConEmuC.exe -IsConEmu
$is_conemu = ($LASTEXITCODE -eq 1)
} catch {
}
if ($is_conemu) {
throw "Can't detect proper ConEmu environment variables! Please restart console!"
}
log "PowerShell was not stared from ConEmu"
}
}
function ConEmuPostUpdate() {
if ($script:CE_FILES.Count -ne 0) {
if (Test-Path -path $script:CE_FILES[0] -pathtype leaf) {
# On Success
removeTempFiles
} else {
# On Failure
restoreFiles
}
}
if ($script:CE_PID -ne 0) {
Write-Host -ForegroundColor Green "Console restart is strongly recommended to gain proper ConEmu environment"
# Reattach
$rc = Start-Process -FilePath $script:ConEmuC -ArgumentList @("/ATTACH","/NOCMD") -NoNewWindow
for ($i = 0; $i -lt 100; $i++) {
$rc = & $script:ConEmuC -IsConEmu
if ($LASTEXITCODE -eq 1) { break }
Sleep -m 100
}
}
}
# Unlock ConEmu binaries
ConEmuPreUpdate
# Do installation/update
Install-ChocolateyPackage @params
# Try to restore files if update has failed
ConEmuPostUpdate
# Done
2020-10-31 08:15:28,775 2892 [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\ConEmu\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-10-31 08:15:28,790 2892 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-10-31 08:15:29,541 2892 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2020-10-31 08:15:29,962 2892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-10-31 08:15:29,979 2892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-10-31 08:15:29,979 2892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-10-31 08:15:29,993 2892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-10-31 08:15:30,024 2892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-10-31 08:15:30,024 2892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-10-31 08:15:30,024 2892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-10-31 08:15:30,041 2892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-10-31 08:15:30,041 2892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-10-31 08:15:30,041 2892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-10-31 08:15:30,041 2892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-10-31 08:15:30,055 2892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-10-31 08:15:30,055 2892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-10-31 08:15:30,055 2892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-10-31 08:15:30,072 2892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-10-31 08:15:30,072 2892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-10-31 08:15:30,072 2892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-10-31 08:15:30,086 2892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-10-31 08:15:30,086 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-10-31 08:15:30,086 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-10-31 08:15:30,086 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-10-31 08:15:30,103 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-10-31 08:15:30,120 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-10-31 08:15:30,120 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-10-31 08:15:30,134 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-10-31 08:15:30,134 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-10-31 08:15:30,134 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-10-31 08:15:30,134 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-10-31 08:15:30,150 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-10-31 08:15:30,150 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-10-31 08:15:30,150 2892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-10-31 08:15:30,259 2892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-10-31 08:15:30,274 2892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-10-31 08:15:30,274 2892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-10-31 08:15:30,274 2892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-10-31 08:15:30,274 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-10-31 08:15:30,290 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-10-31 08:15:30,290 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-10-31 08:15:30,290 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-10-31 08:15:30,290 2892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-10-31 08:15:30,306 2892 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-10-31 08:15:30,306 2892 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-10-31 08:15:30,306 2892 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-10-31 08:15:30,321 2892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-10-31 08:15:30,321 2892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-10-31 08:15:30,321 2892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-10-31 08:15:30,321 2892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-10-31 08:15:30,336 2892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-10-31 08:15:30,336 2892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-10-31 08:15:30,336 2892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-10-31 08:15:30,336 2892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-10-31 08:15:30,352 2892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-10-31 08:15:30,352 2892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-10-31 08:15:30,462 2892 [DEBUG] - Loading community extensions
2020-10-31 08:15:30,508 2892 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2020-10-31 08:15:30,540 2892 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2020-10-31 08:15:30,681 2892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2020-10-31 08:15:30,711 2892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2020-10-31 08:15:30,728 2892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2020-10-31 08:15:30,883 2892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2020-10-31 08:15:30,883 2892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-10-31 08:15:30,900 2892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-10-31 08:15:30,900 2892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-10-31 08:15:30,962 2892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-10-31 08:15:30,993 2892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-10-31 08:15:31,071 2892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-10-31 08:15:31,087 2892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-10-31 08:15:31,103 2892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-10-31 08:15:31,118 2892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-10-31 08:15:31,118 2892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-10-31 08:15:31,135 2892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-10-31 08:15:31,135 2892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-10-31 08:15:31,135 2892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-10-31 08:15:31,150 2892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-10-31 08:15:31,150 2892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-10-31 08:15:31,150 2892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-10-31 08:15:31,164 2892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-10-31 08:15:31,164 2892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-10-31 08:15:31,180 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-10-31 08:15:31,180 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-10-31 08:15:31,196 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-10-31 08:15:31,196 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-10-31 08:15:31,196 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-10-31 08:15:31,212 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-10-31 08:15:31,212 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-10-31 08:15:31,212 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-10-31 08:15:31,228 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-10-31 08:15:31,228 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-10-31 08:15:31,243 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-10-31 08:15:31,243 2892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-10-31 08:15:31,243 2892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-10-31 08:15:31,258 2892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-10-31 08:15:31,258 2892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-10-31 08:15:31,275 2892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-10-31 08:15:31,275 2892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-10-31 08:15:31,275 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-10-31 08:15:31,290 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-10-31 08:15:31,290 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-10-31 08:15:31,306 2892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-10-31 08:15:31,306 2892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-10-31 08:15:31,306 2892 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-10-31 08:15:31,321 2892 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-10-31 08:15:31,321 2892 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-10-31 08:15:31,337 2892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-10-31 08:15:31,337 2892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2020-10-31 08:15:31,337 2892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2020-10-31 08:15:31,352 2892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-10-31 08:15:31,352 2892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-10-31 08:15:31,369 2892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-10-31 08:15:31,369 2892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-10-31 08:15:31,369 2892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-10-31 08:15:31,383 2892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-10-31 08:15:31,383 2892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-10-31 08:15:31,400 2892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-10-31 08:15:31,400 2892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-10-31 08:15:31,400 2892 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-10-31 08:15:31,415 2892 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-10-31 08:15:31,415 2892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-10-31 08:15:31,431 2892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-10-31 08:15:31,431 2892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-10-31 08:15:31,446 2892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-10-31 08:15:31,446 2892 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-10-31 08:15:31,477 2892 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-10-31 08:15:31,477 2892 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-10-31 08:15:31,493 2892 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-10-31 08:15:31,493 2892 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-10-31 08:15:31,509 2892 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-10-31 08:15:31,509 2892 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-10-31 08:15:31,509 2892 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-10-31 08:15:31,524 2892 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-10-31 08:15:31,524 2892 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-10-31 08:15:31,540 2892 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-10-31 08:15:31,540 2892 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-10-31 08:15:31,540 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-10-31 08:15:31,555 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-10-31 08:15:31,555 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-10-31 08:15:31,571 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-10-31 08:15:31,571 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-10-31 08:15:31,587 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-10-31 08:15:31,587 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-10-31 08:15:31,587 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-10-31 08:15:31,602 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-10-31 08:15:31,602 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-10-31 08:15:31,618 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-10-31 08:15:31,618 2892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-10-31 08:15:31,634 2892 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-10-31 08:15:31,634 2892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2020-10-31 08:15:31,650 2892 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-10-31 08:15:31,650 2892 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-10-31 08:15:31,650 2892 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-10-31 08:15:31,664 2892 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-10-31 08:15:31,664 2892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2020-10-31 08:15:31,681 2892 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-10-31 08:15:31,681 2892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-10-31 08:15:31,681 2892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-10-31 08:15:31,696 2892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-10-31 08:15:31,696 2892 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-10-31 08:15:31,711 2892 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-10-31 08:15:31,711 2892 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-10-31 08:15:31,711 2892 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-10-31 08:15:31,727 2892 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-10-31 08:15:31,727 2892 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-10-31 08:15:31,743 2892 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-10-31 08:15:31,743 2892 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-10-31 08:15:31,743 2892 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-10-31 08:15:31,758 2892 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-10-31 08:15:31,758 2892 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-10-31 08:15:31,758 2892 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-10-31 08:15:31,774 2892 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-10-31 08:15:31,774 2892 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-10-31 08:15:32,212 2892 [DEBUG] - ---------------------------Script Execution---------------------------
2020-10-31 08:15:32,227 2892 [DEBUG] - Running 'ChocolateyScriptRunner' for ConEmu v20.11.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ConEmu', installArguments: '', packageParameters: '',
2020-10-31 08:15:32,276 2892 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1'
2020-10-31 08:15:35,321 2892 [DEBUG] - Running Install-ChocolateyPackage -url 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -checksumType64 'sha256' -url64bit 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -checksum 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B' -checksum64 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B' -packageName 'ConEmu' -checksumType 'sha256' -fileType 'exe' -silentArgs '/p:x64 /quiet /norestart'
2020-10-31 08:15:35,633 2892 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'ConEmu' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuInstall.exe' -url 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -url64bit 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -checksum 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B' -checksumType 'sha256' -checksum64 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-10-31 08:15:35,681 2892 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-10-31 08:15:35,713 2892 [DEBUG] - CPU is 64 bit
2020-10-31 08:15:35,727 2892 [DEBUG] - Setting url to 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' and bitPackage to 64
2020-10-31 08:15:35,884 2892 [DEBUG] - Running Get-WebFileName -url 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -defaultName 'ConEmuInstall.exe'
2020-10-31 08:15:37,368 2892 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2020-10-31 08:15:37,383 2892 [DEBUG] - File name determined from url is 'ConEmuSetup.201101.exe'
2020-10-31 08:15:37,431 2892 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -ErrorAction 'Stop'
2020-10-31 08:15:37,446 2892 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-10-31 08:15:37,461 2892 [DEBUG] - Request Headers:
2020-10-31 08:15:37,492 2892 [DEBUG] - 'Accept':'*/*'
2020-10-31 08:15:37,509 2892 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-10-31 08:15:38,086 2892 [DEBUG] - Response Headers:
2020-10-31 08:15:38,086 2892 [DEBUG] - 'x-amz-id-2':'i8cj6AtR0FYrz//cBiVuBGKOH6C3207JR+Ngf6YVmlXbF3Rush7hoOuvCpBwZN8C8v0+8y+9TaA='
2020-10-31 08:15:38,103 2892 [DEBUG] - 'x-amz-request-id':'49A209309D6F8947'
2020-10-31 08:15:38,103 2892 [DEBUG] - 'Content-Disposition':'attachment; filename=ConEmuSetup.201101.exe'
2020-10-31 08:15:38,118 2892 [DEBUG] - 'Accept-Ranges':'bytes'
2020-10-31 08:15:38,134 2892 [DEBUG] - 'Content-Length':'7424624'
2020-10-31 08:15:38,150 2892 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-10-31 08:15:38,180 2892 [DEBUG] - 'Date':'Sun, 01 Nov 2020 18:55:22 GMT'
2020-10-31 08:15:38,197 2892 [DEBUG] - 'ETag':'"cdc3c037e6d6d2ebdaa178dc343864fb"'
2020-10-31 08:15:38,211 2892 [DEBUG] - 'Last-Modified':'Sun, 01 Nov 2020 18:07:21 GMT'
2020-10-31 08:15:38,228 2892 [DEBUG] - 'Server':'AmazonS3'
2020-10-31 08:15:38,243 2892 [INFO ] - Downloading ConEmu 64 bit
from 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe'
2020-10-31 08:15:38,258 2892 [INFO ] -
2020-10-31 08:15:38,305 2892 [DEBUG] - Running Get-WebFile -url 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe' -options 'System.Collections.Hashtable'
2020-10-31 08:15:38,321 2892 [DEBUG] - Setting request timeout to 30000
2020-10-31 08:15:38,369 2892 [DEBUG] - Setting read/write timeout to 2700000
2020-10-31 08:15:38,369 2892 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-10-31 08:15:39,258 2892 [DEBUG] - Downloading https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe to C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe
2020-10-31 08:15:41,414 2892 [INFO ] -
2020-10-31 08:15:41,414 2892 [INFO ] - Download of ConEmuSetup.201101.exe (7.08 MB) completed.
2020-10-31 08:15:41,430 2892 [INFO ] -
2020-10-31 08:15:46,899 2892 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-10-31 08:15:46,961 2892 [DEBUG] - Verifying package provided checksum of 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe'.
2020-10-31 08:15:46,993 2892 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe' -checksum 'B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B' -checksumType 'sha256' -originalUrl 'https://github.com/Maximus5/ConEmu/releases/download/v20.11.01/ConEmuSetup.201101.exe'
2020-10-31 08:15:47,009 2892 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-10-31 08:15:47,009 2892 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe"]
2020-10-31 08:15:47,729 2892 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="B284219D74A0F2FE9F75C964B6D922B3C4E969D2F369285F163C3A352602FE8B" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe"] exited with '0'.
2020-10-31 08:15:47,837 2892 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'ConEmu' -fileType 'exe' -silentArgs '/p:x64 /quiet /norestart' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2020-10-31 08:15:47,852 2892 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-10-31 08:15:47,852 2892 [INFO ] - Installing ConEmu...
2020-10-31 08:15:47,868 2892 [INFO ] -
2020-10-31 08:15:48,242 2892 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0' -statements '/p:x64 /quiet /norestart ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe'
2020-10-31 08:15:48,306 2892 [DEBUG] - Test-ProcessAdminRights: returning True
2020-10-31 08:15:48,337 2892 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe" /p:x64 /quiet /norestart ]. This may take a while, depending on the statements.
2020-10-31 08:16:12,617 2892 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0\ConEmuSetup.201101.exe" /p:x64 /quiet /norestart ] exited with '0'.
2020-10-31 08:16:12,649 2892 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-10-31 08:16:12,665 2892 [INFO ] - ConEmu has been installed.
2020-10-31 08:16:12,665 2892 [INFO ] -
2020-10-31 08:16:12,696 2892 [DEBUG] - ----------------------------------------------------------------------
2020-10-31 08:16:13,305 2892 [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\ConEmu\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-10-31 08:16:13,322 2892 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-10-31 08:16:13,383 2892 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-10-31 08:16:13,399 2892 [INFO ] - conemu may be able to be automatically uninstalled.
2020-10-31 08:16:13,728 2892 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ConEmu'
2020-10-31 08:16:13,728 2892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nupkg'
with checksum '00C1E0011558226AB0CAC5DBD0C0C6F7'
2020-10-31 08:16:13,743 2892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nuspec'
with checksum '12E5CCC50B08FA8354F8F42772FBC5BE'
2020-10-31 08:16:13,743 2892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1'
with checksum '7717C99855415CFDB3ED592E66412CD7'
2020-10-31 08:16:13,743 2892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1'
with checksum '1EB64E6E4CDEE1DD3D653471BE80516A'
2020-10-31 08:16:13,822 2892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0".
2020-10-31 08:16:13,915 2892 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0\.registry'
2020-10-31 08:16:14,039 2892 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0\.files'
2020-10-31 08:16:14,275 2892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0\.extra".
2020-10-31 08:16:14,399 2892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0\.version".
2020-10-31 08:16:14,399 2892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0\.sxs".
2020-10-31 08:16:14,414 2892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ConEmu.20.11.1.0\.pin".
2020-10-31 08:16:14,414 2892 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-10-31 08:16:14,430 2892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ConEmu\.chocolateyPending".
2020-10-31 08:16:14,446 2892 [INFO ] - The install of conemu was successful.
2020-10-31 08:16:14,446 2892 [INFO ] - Software installed as 'exe', install location is likely default.
2020-10-31 08:16:14,446 2892 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\ConEmu.20.11.1.0.nupkg".
2020-10-31 08:16:14,492 2892 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-10-31 08:16:14,508 2892 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-10-31 08:16:14,556 2892 [DEBUG] - Exiting with 0
2020-10-31 08:16:50,602 1232 [DEBUG] - XmlConfiguration is now operational
2020-10-31 08:16:51,039 1232 [INFO ] - ============================================================
2020-10-31 08:16:52,290 1232 [INFO ] - Chocolatey v0.10.16-beta
2020-10-31 08:16:52,322 1232 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-10-31 08:16:52,322 1232 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-10-31 08:16:52,336 1232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-10-31 08:16:52,368 1232 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall ConEmu --version 20.11.1.0 -dvy --execution-timeout=2700
2020-10-31 08:16:52,400 1232 [DEBUG] - Received arguments: uninstall ConEmu --version 20.11.1.0 -dvy --execution-timeout=2700
2020-10-31 08:16:52,727 1232 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-10-31 08:16:52,758 1232 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-10-31 08:16:52,775 1232 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-10-31 08:16:53,212 1232 [DEBUG] - Performing validation checks.
2020-10-31 08:16:53,243 1232 [DEBUG] - Global Configuration Validation Checks:
2020-10-31 08:16:53,258 1232 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-10-31 08:16:53,258 1232 [DEBUG] - System State Validation Checks:
2020-10-31 08:16:53,274 1232 [DEBUG] - Reboot Requirement Checks:
2020-10-31 08:16:53,321 1232 [DEBUG] - - Pending Computer Rename = Checked
2020-10-31 08:16:53,367 1232 [DEBUG] - - Pending Component Based Servicing = Flagged
2020-10-31 08:16:53,416 1232 [INFO ] - 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
2020-10-31 08:16:53,447 1232 [INFO ] -
2020-10-31 08:16:53,461 1232 [WARN ] - Validation Warnings:
2020-10-31 08:16:53,509 1232 [WARN ] - - A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
2020-10-31 08:16:53,540 1232 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-10-31 08:16:53,555 1232 [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-10-31 08:16:53,633 1232 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='ConEmu'|Version='20.11.1.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='ConEmu'|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='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
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='True'|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='False'|
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-10-31 08:16:53,649 1232 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-10-31 08:16:53,666 1232 [INFO ] - Uninstalling the following packages:
2020-10-31 08:16:53,666 1232 [INFO ] - ConEmu
2020-10-31 08:16:53,697 1232 [DEBUG] - Current environment values (may contain sensitive data):
2020-10-31 08:16:53,727 1232 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-10-31 08:16:53,727 1232 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-10-31 08:16:53,743 1232 [DEBUG] - * 'ChocolateyLastPathUpdate'='132486031968590583' ('User')
2020-10-31 08:16:53,743 1232 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-10-31 08:16:53,743 1232 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-10-31 08:16:53,759 1232 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-10-31 08:16:53,759 1232 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-10-31 08:16:53,759 1232 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-10-31 08:16:53,759 1232 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-10-31 08:16:53,774 1232 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-10-31 08:16:53,774 1232 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-10-31 08:16:53,774 1232 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-10-31 08:16:53,789 1232 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-10-31 08:16:53,789 1232 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-10-31 08:16:53,789 1232 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-10-31 08:16:53,789 1232 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-10-31 08:16:53,806 1232 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-10-31 08:16:53,806 1232 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-10-31 08:16:53,806 1232 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-10-31 08:16:53,806 1232 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-10-31 08:16:54,461 1232 [DEBUG] - Running list with the following filter = ''
2020-10-31 08:16:54,478 1232 [DEBUG] - --- Start of List ---
2020-10-31 08:16:55,821 1232 [DEBUG] - ConEmu 20.11.1.0
2020-10-31 08:16:55,836 1232 [DEBUG] - --- End of List ---
2020-10-31 08:16:56,494 1232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-10-31 08:16:56,494 1232 [DEBUG] - Backing up existing ConEmu prior to operation.
2020-10-31 08:16:56,508 1232 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ConEmu'
to 'C:\ProgramData\chocolatey\lib-bkp\ConEmu'
2020-10-31 08:16:58,883 1232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ConEmu".
2020-10-31 08:16:58,883 1232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ConEmu\ConEmu.nupkg"
to "C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nupkg".
2020-10-31 08:16:58,883 1232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ConEmu\ConEmu.nuspec"
to "C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nuspec".
2020-10-31 08:16:58,899 1232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ConEmu\tools".
2020-10-31 08:16:58,899 1232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ConEmu\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1".
2020-10-31 08:16:58,899 1232 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ConEmu\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1".
2020-10-31 08:17:00,446 1232 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ConEmu'
2020-10-31 08:17:00,493 1232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nupkg'
with checksum '00C1E0011558226AB0CAC5DBD0C0C6F7'
2020-10-31 08:17:00,508 1232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\ConEmu.nuspec'
with checksum '12E5CCC50B08FA8354F8F42772FBC5BE'
2020-10-31 08:17:00,540 1232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyInstall.ps1'
with checksum '7717C99855415CFDB3ED592E66412CD7'
2020-10-31 08:17:00,571 1232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1'
with checksum '1EB64E6E4CDEE1DD3D653471BE80516A'
2020-10-31 08:17:00,899 1232 [INFO ] - [NuGet] Uninstalling 'ConEmu 20.11.1.0'.
2020-10-31 08:17:00,915 1232 [INFO ] -
ConEmu v20.11.1.0
2020-10-31 08:17:01,243 1232 [DEBUG] - Setting installer args for ConEmu
2020-10-31 08:17:01,243 1232 [DEBUG] - Setting package parameters for ConEmu
2020-10-31 08:17:01,243 1232 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1':
2020-10-31 08:17:01,274 1232 [DEBUG] - $package = 'ConEmu'
$version = '20.11.01'
$isSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
$os = if ($isSytem32Bit) { "x86" } else { "x64" }
$displayName = "ConEmu $($version.replace('.','')).$os"
$installerRoot = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer'
$productsRoot = "$installerRoot\UserData\S-1-5-18\Products"
# To avoid unexpected PC reboot, prohibit ConEmu uninstall from ConEmu
$is_conemu = $FALSE
try {
& ConEmuC.exe -IsConEmu
$is_conemu = ($LASTEXITCODE -eq 1)
} catch {
}
if ($is_conemu) {
throw "Can't detect proper ConEmu environment variables! Please restart console!"
}
Write-Host "Searching for installed msi-packet..."
# ConEmu packages do not have fixed GUIDs
$pkg = ""
Get-ChildItem $productsRoot |
% { ($productsRoot + "\" + (Split-Path -Leaf $_.Name) + "\InstallProperties") } |
? { ($pkg -eq "") -And (Test-Path $_) } |
? { ((Get-ItemProperty $_).DisplayName -eq $displayName) } |
% {
$pkg = (Get-ItemProperty $_).LocalPackage
}
if ($pkg -ne "") {
# Write-Host "Found at $pkg"
Write-Host "Uninstalling '$displayName' via 'msiexec /x $pkg'"
Start-Process -Wait msiexec -ArgumentList @("/x", $pkg, "/qb-!")
}
# Done
2020-10-31 08:17:01,399 1232 [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\ConEmu\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2020-10-31 08:17:01,399 1232 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-10-31 08:17:02,774 1232 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2020-10-31 08:17:03,196 1232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-10-31 08:17:03,211 1232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-10-31 08:17:03,211 1232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-10-31 08:17:03,211 1232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-10-31 08:17:03,211 1232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-10-31 08:17:03,228 1232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-10-31 08:17:03,228 1232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-10-31 08:17:03,242 1232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-10-31 08:17:03,242 1232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-10-31 08:17:03,242 1232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-10-31 08:17:03,242 1232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-10-31 08:17:03,258 1232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-10-31 08:17:03,258 1232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-10-31 08:17:03,258 1232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-10-31 08:17:03,258 1232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-10-31 08:17:03,321 1232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-10-31 08:17:03,321 1232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-10-31 08:17:03,321 1232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-10-31 08:17:03,321 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-10-31 08:17:03,336 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-10-31 08:17:03,336 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-10-31 08:17:03,336 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-10-31 08:17:03,336 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-10-31 08:17:03,352 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-10-31 08:17:03,352 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-10-31 08:17:03,352 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-10-31 08:17:03,352 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-10-31 08:17:03,367 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-10-31 08:17:03,367 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-10-31 08:17:03,367 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-10-31 08:17:03,367 1232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-10-31 08:17:03,383 1232 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-10-31 08:17:03,383 1232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-10-31 08:17:03,383 1232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-10-31 08:17:03,399 1232 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-10-31 08:17:03,399 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-10-31 08:17:03,399 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-10-31 08:17:03,414 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-10-31 08:17:03,414 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-10-31 08:17:03,414 1232 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-10-31 08:17:03,430 1232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-10-31 08:17:03,430 1232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-10-31 08:17:03,430 1232 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-10-31 08:17:03,430 1232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-10-31 08:17:03,446 1232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-10-31 08:17:03,446 1232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-10-31 08:17:03,461 1232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-10-31 08:17:03,461 1232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-10-31 08:17:03,478 1232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-10-31 08:17:03,478 1232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-10-31 08:17:03,478 1232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-10-31 08:17:03,492 1232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-10-31 08:17:03,492 1232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-10-31 08:17:03,540 1232 [DEBUG] - Loading community extensions
2020-10-31 08:17:03,587 1232 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2020-10-31 08:17:03,587 1232 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2020-10-31 08:17:03,963 1232 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2020-10-31 08:17:03,993 1232 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2020-10-31 08:17:04,024 1232 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2020-10-31 08:17:04,040 1232 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2020-10-31 08:17:04,040 1232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-10-31 08:17:04,040 1232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-10-31 08:17:04,040 1232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-10-31 08:17:04,055 1232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-10-31 08:17:04,055 1232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-10-31 08:17:04,055 1232 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-10-31 08:17:04,055 1232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-10-31 08:17:04,070 1232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-10-31 08:17:04,070 1232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-10-31 08:17:04,070 1232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-10-31 08:17:04,070 1232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-10-31 08:17:04,087 1232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-10-31 08:17:04,087 1232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-10-31 08:17:04,087 1232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-10-31 08:17:04,102 1232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-10-31 08:17:04,102 1232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-10-31 08:17:04,102 1232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-10-31 08:17:04,102 1232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-10-31 08:17:04,118 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-10-31 08:17:04,118 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-10-31 08:17:04,118 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-10-31 08:17:04,118 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-10-31 08:17:04,133 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-10-31 08:17:04,133 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-10-31 08:17:04,133 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-10-31 08:17:04,133 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-10-31 08:17:04,149 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-10-31 08:17:04,149 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-10-31 08:17:04,149 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-10-31 08:17:04,166 1232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-10-31 08:17:04,166 1232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-10-31 08:17:04,166 1232 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-10-31 08:17:04,180 1232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-10-31 08:17:04,180 1232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-10-31 08:17:04,180 1232 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-10-31 08:17:04,180 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-10-31 08:17:04,196 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-10-31 08:17:04,196 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-10-31 08:17:04,196 1232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-10-31 08:17:04,211 1232 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-10-31 08:17:04,211 1232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-10-31 08:17:04,211 1232 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-10-31 08:17:04,227 1232 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-10-31 08:17:04,227 1232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-10-31 08:17:04,227 1232 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2020-10-31 08:17:04,227 1232 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2020-10-31 08:17:04,242 1232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-10-31 08:17:04,242 1232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-10-31 08:17:04,242 1232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-10-31 08:17:04,258 1232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-10-31 08:17:04,258 1232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-10-31 08:17:04,258 1232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-10-31 08:17:04,274 1232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-10-31 08:17:04,274 1232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-10-31 08:17:04,274 1232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-10-31 08:17:04,274 1232 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-10-31 08:17:04,290 1232 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-10-31 08:17:04,290 1232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-10-31 08:17:04,290 1232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-10-31 08:17:04,305 1232 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-10-31 08:17:04,305 1232 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-10-31 08:17:04,305 1232 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-10-31 08:17:04,320 1232 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-10-31 08:17:04,320 1232 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-10-31 08:17:04,320 1232 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-10-31 08:17:04,337 1232 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-10-31 08:17:04,337 1232 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-10-31 08:17:04,337 1232 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-10-31 08:17:04,353 1232 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-10-31 08:17:04,353 1232 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-10-31 08:17:04,353 1232 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-10-31 08:17:04,368 1232 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-10-31 08:17:04,368 1232 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-10-31 08:17:04,399 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-10-31 08:17:04,399 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-10-31 08:17:04,399 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-10-31 08:17:04,416 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-10-31 08:17:04,416 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-10-31 08:17:04,430 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-10-31 08:17:04,493 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-10-31 08:17:04,508 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-10-31 08:17:04,508 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-10-31 08:17:04,508 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-10-31 08:17:04,508 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-10-31 08:17:04,525 1232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-10-31 08:17:04,525 1232 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-10-31 08:17:04,525 1232 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2020-10-31 08:17:04,525 1232 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-10-31 08:17:04,540 1232 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-10-31 08:17:04,540 1232 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-10-31 08:17:04,540 1232 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-10-31 08:17:04,555 1232 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2020-10-31 08:17:04,555 1232 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-10-31 08:17:04,555 1232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-10-31 08:17:04,555 1232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-10-31 08:17:04,570 1232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-10-31 08:17:04,838 1232 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-10-31 08:17:04,852 1232 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-10-31 08:17:04,868 1232 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-10-31 08:17:04,885 1232 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-10-31 08:17:04,899 1232 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-10-31 08:17:04,930 1232 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-10-31 08:17:04,946 1232 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-10-31 08:17:05,024 1232 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-10-31 08:17:05,024 1232 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-10-31 08:17:05,024 1232 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-10-31 08:17:05,041 1232 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-10-31 08:17:05,041 1232 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-10-31 08:17:05,041 1232 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-10-31 08:17:05,055 1232 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-10-31 08:17:05,274 1232 [DEBUG] - ---------------------------Script Execution---------------------------
2020-10-31 08:17:05,291 1232 [DEBUG] - Running 'ChocolateyScriptRunner' for ConEmu v20.11.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ConEmu', installArguments: '', packageParameters: '',
2020-10-31 08:17:05,322 1232 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ConEmu\tools\chocolateyUninstall.ps1'
2020-10-31 08:17:05,805 1232 [INFO ] - Searching for installed msi-packet...
2020-10-31 08:17:05,821 1232 [INFO ] -
2020-10-31 08:17:06,227 1232 [INFO ] - Uninstalling 'ConEmu 201101.x64' via 'msiexec /x C:\Windows\Installer\2c31ea.msi'
2020-10-31 08:17:06,227 1232 [INFO ] -
2020-10-31 08:17:17,477 1232 [DEBUG] - ----------------------------------------------------------------------
2020-10-31 08:17:17,524 1232 [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\ConEmu\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-10-31 08:17:17,664 1232 [INFO ] - Running auto uninstaller...
2020-10-31 08:17:17,681 1232 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2020-10-31 08:17:19,743 1232 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{B43B86D9-98F2-4727-8DFC-2B93B6790A3E}' for 'ConEmu 201101.x64'
2020-10-31 08:17:19,820 1232 [INFO ] - Skipping auto uninstaller - 'ConEmu 201101.x64' appears to have been uninstalled already by other means.
2020-10-31 08:17:19,820 1232 [DEBUG] - Searched for install path '' - found? False
2020-10-31 08:17:19,837 1232 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B43B86D9-98F2-4727-8DFC-2B93B6790A3E}' value 'InstallLocation' - found? False
2020-10-31 08:17:19,852 1232 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-10-31 08:17:19,992 1232 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-10-31 08:17:20,008 1232 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\conemu".
2020-10-31 08:17:20,071 1232 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\ConEmu\tools'.
2020-10-31 08:17:20,071 1232 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\ConEmu\tools'.
2020-10-31 08:17:20,088 1232 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\ConEmu\tools'.
2020-10-31 08:17:20,088 1232 [DEBUG] - [NuGet] Removed file 'ConEmu.nuspec' to folder 'C:\ProgramData\chocolatey\lib\ConEmu'.
2020-10-31 08:17:20,102 1232 [DEBUG] - [NuGet] Removed file 'ConEmu.nupkg' to folder 'C:\ProgramData\chocolatey\lib\ConEmu'.
2020-10-31 08:17:20,102 1232 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\ConEmu'.
2020-10-31 08:17:20,102 1232 [INFO ] - [NuGet] Successfully uninstalled 'ConEmu 20.11.1.0'.
2020-10-31 08:17:20,118 1232 [INFO ] - ConEmu has been successfully uninstalled.
2020-10-31 08:17:20,133 1232 [DEBUG] - Removing nupkg if it still exists.
2020-10-31 08:17:20,133 1232 [DEBUG] - Ensuring removal of installation files.
2020-10-31 08:17:20,149 1232 [DEBUG] - Ensuring removal of package cache files.
2020-10-31 08:17:20,149 1232 [DEBUG] - Attempting to delete directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\ConEmu\20.11.1.0".
2020-10-31 08:17:20,290 1232 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-10-31 08:17:20,290 1232 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-10-31 08:17:20,338 1232 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment