Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
section-9-regular-font v1.0 - Passed - Package Tests Results

section-9-regular-font v1.0 - Passed - Package Test Results

  • https://chocolatey.org/packages/section-9-regular-font/1.0
  • Tested 29 May 2019 08:16:53 +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.4.0-38-g3187e94
  • 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\section-9-regular-font\section-9-regular-font.nupkg" checksum="B89BD32D9064EC39322C3E35F7304026" />
<file path="C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nuspec" checksum="38EB14850CB582F6912D136595741B72" />
<file path="C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1" checksum="1C9FC42A20D3B5232D3C828A840B5B73" />
<file path="C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1" checksum="0AF8BE3F3A395F1CAE44E2DEA46EE9E4" />
<file path="C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\LICENSE.txt" checksum="C2A925F6EFA6CB7C551A6CB4ACF32047" />
<file path="C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\VERIFICATION.txt" checksum="A71037D2278DFED0823AB9AFF0C6D0D7" />
</files>
</fileSnapshot>
2019-05-29 08:15:49,592 1888 [DEBUG] - XmlConfiguration is now operational
2019-05-29 08:15:49,811 1888 [INFO ] - ============================================================
2019-05-29 08:15:50,436 1888 [INFO ] - Chocolatey v0.10.14-beta-7-gb30427d
2019-05-29 08:15:50,467 1888 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-05-29 08:15:50,483 1888 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-05-29 08:15:50,483 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-05-29 08:15:50,499 1888 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install section-9-regular-font --version 1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-05-29 08:15:50,514 1888 [DEBUG] - Received arguments: install section-9-regular-font --version 1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-05-29 08:15:50,686 1888 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-05-29 08:15:50,703 1888 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-05-29 08:15:50,733 1888 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-05-29 08:15:50,936 1888 [DEBUG] - Performing validation checks.
2019-05-29 08:15:50,967 1888 [DEBUG] - Global Configuration Validation Checks:
2019-05-29 08:15:50,967 1888 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-05-29 08:15:50,983 1888 [DEBUG] - System State Validation Checks:
2019-05-29 08:15:50,983 1888 [DEBUG] - Reboot Requirement Checks:
2019-05-29 08:15:50,999 1888 [DEBUG] - - Pending Computer Rename = Checked
2019-05-29 08:15:51,015 1888 [DEBUG] - - Pending Component Based Servicing = Checked
2019-05-29 08:15:51,015 1888 [DEBUG] - - Pending Windows Auto Update = Checked
2019-05-29 08:15:51,015 1888 [DEBUG] - - Pending File Rename Operations = Checked
2019-05-29 08:15:51,030 1888 [DEBUG] - - Pending Windows Package Installer = Checked
2019-05-29 08:15:51,030 1888 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-05-29 08:15:51,046 1888 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-05-29 08:15:51,046 1888 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-05-29 08:15:51,061 1888 [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.
2019-05-29 08:15:51,124 1888 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='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='section-9-regular-font'|
Version='1.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='section-9-regular-font'|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.14.0'|
Information.ChocolateyProductVersion='0.10.14-beta-7-gb30427d'|
Information.FullName='choco, Version=0.10.14.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'|
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'|
2019-05-29 08:15:51,124 1888 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-05-29 08:15:51,155 1888 [INFO ] - Installing the following packages:
2019-05-29 08:15:51,155 1888 [INFO ] - section-9-regular-font
2019-05-29 08:15:51,155 1888 [INFO ] - By installing you accept licenses for the packages.
2019-05-29 08:15:51,170 1888 [DEBUG] - Current environment values (may contain sensitive data):
2019-05-29 08:15:51,186 1888 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-29 08:15:51,186 1888 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-29 08:15:51,186 1888 [DEBUG] - * 'ChocolateyLastPathUpdate'='132035086803261439' ('User')
2019-05-29 08:15:51,186 1888 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-05-29 08:15:51,186 1888 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-05-29 08:15:51,202 1888 [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')
2019-05-29 08:15:51,202 1888 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-05-29 08:15:51,202 1888 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-05-29 08:15:51,202 1888 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-05-29 08:15:51,202 1888 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-05-29 08:15:51,217 1888 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-05-29 08:15:51,217 1888 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-05-29 08:15:51,217 1888 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-05-29 08:15:51,217 1888 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-05-29 08:15:51,233 1888 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-05-29 08:15:51,233 1888 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-05-29 08:15:51,233 1888 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-05-29 08:15:51,233 1888 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-05-29 08:15:51,233 1888 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-05-29 08:15:51,249 1888 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-05-29 08:15:54,500 1888 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-font-helpers.extension (= 0.0.1)'.
2019-05-29 08:16:01,030 1888 [INFO ] - [NuGet] Installing 'chocolatey-font-helpers.extension 0.0.1'.
2019-05-29 08:16:01,046 1888 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.psm1' to folder 'chocolatey-font-helpers.extension\extensions'.
2019-05-29 08:16:01,063 1888 [DEBUG] - [NuGet] Added file 'Install-ChocolateyFont.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2019-05-29 08:16:01,063 1888 [DEBUG] - [NuGet] Added file 'Add-Font.ps1' to folder 'chocolatey-font-helpers.extension\extensions\MS'.
2019-05-29 08:16:01,063 1888 [DEBUG] - [NuGet] Added file 'Remove-Font.ps1' to folder 'chocolatey-font-helpers.extension\extensions\MS'.
2019-05-29 08:16:01,077 1888 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyFont.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2019-05-29 08:16:01,077 1888 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.extension.nupkg' to folder 'chocolatey-font-helpers.extension'.
2019-05-29 08:16:01,436 1888 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.extension.nuspec' to folder 'chocolatey-font-helpers.extension'.
2019-05-29 08:16:01,436 1888 [INFO ] - [NuGet] Successfully installed 'chocolatey-font-helpers.extension 0.0.1'.
2019-05-29 08:16:01,452 1888 [INFO ] -
chocolatey-font-helpers.extension v0.0.1 (forced) [Approved]
2019-05-29 08:16:01,483 1888 [INFO ] - chocolatey-font-helpers.extension package files install completed. Performing other installation steps.
2019-05-29 08:16:01,764 1888 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension'
2019-05-29 08:16:01,764 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\chocolatey-font-helpers.extension.nupkg'
with checksum 'E1E760DC470FFDB43A2F438EC1A7B53D'
2019-05-29 08:16:01,780 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\chocolatey-font-helpers.extension.nuspec'
with checksum '648DBBBF14154DA178232384CBF3E8E7'
2019-05-29 08:16:01,780 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\chocolatey-font-helpers.psm1'
with checksum '09C0F054C5F6128157A1357EE42CDD6C'
2019-05-29 08:16:01,780 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Install-ChocolateyFont.ps1'
with checksum '969575FAB571D92AF227118AA98686B8'
2019-05-29 08:16:01,780 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Uninstall-ChocolateyFont.ps1'
with checksum '2E33AD58B218B8C65FAB70018A159102'
2019-05-29 08:16:01,795 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\MS\Add-Font.ps1'
with checksum '35EC7DC52B9BE6B97A523B65FA61BDE9'
2019-05-29 08:16:01,795 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\MS\Remove-Font.ps1'
with checksum '9A72A80415A2939ADE8D6E458FC8D658'
2019-05-29 08:16:01,812 1888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions".
2019-05-29 08:16:01,827 1888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers".
2019-05-29 08:16:01,827 1888 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\chocolatey-font-helpers.psm1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1".
2019-05-29 08:16:01,842 1888 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Install-ChocolateyFont.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\Install-ChocolateyFont.ps1".
2019-05-29 08:16:01,842 1888 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Uninstall-ChocolateyFont.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\Uninstall-ChocolateyFont.ps1".
2019-05-29 08:16:01,842 1888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\MS".
2019-05-29 08:16:01,858 1888 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\MS\Add-Font.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\MS\Add-Font.ps1".
2019-05-29 08:16:01,858 1888 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\MS\Remove-Font.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\MS\Remove-Font.ps1".
2019-05-29 08:16:03,374 1888 [WARN ] - Installed/updated chocolatey-font-helpers extensions.
2019-05-29 08:16:03,452 1888 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-05-29 08:16:03,467 1888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1".
2019-05-29 08:16:03,499 1888 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.files'
2019-05-29 08:16:03,514 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.extra".
2019-05-29 08:16:03,514 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.version".
2019-05-29 08:16:03,514 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.sxs".
2019-05-29 08:16:03,514 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.pin".
2019-05-29 08:16:03,530 1888 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-05-29 08:16:03,530 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\.chocolateyPending".
2019-05-29 08:16:03,546 1888 [INFO ] - The install of chocolatey-font-helpers.extension was successful.
2019-05-29 08:16:03,546 1888 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers'
2019-05-29 08:16:03,546 1888 [INFO ] - [NuGet] Installing 'section-9-regular-font 1.0'.
2019-05-29 08:16:03,577 1888 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'section-9-regular-font\tools'.
2019-05-29 08:16:03,577 1888 [DEBUG] - [NuGet] Added file 'ChocolateyUninstall.ps1' to folder 'section-9-regular-font\tools'.
2019-05-29 08:16:03,577 1888 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'section-9-regular-font\tools'.
2019-05-29 08:16:03,577 1888 [DEBUG] - [NuGet] Added file 'Section 9 Regular.ttf' to folder 'section-9-regular-font\tools'.
2019-05-29 08:16:03,608 1888 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'section-9-regular-font\tools'.
2019-05-29 08:16:03,608 1888 [DEBUG] - [NuGet] Added file 'section-9-regular-font.nupkg' to folder 'section-9-regular-font'.
2019-05-29 08:16:03,937 1888 [DEBUG] - [NuGet] Added file 'section-9-regular-font.nuspec' to folder 'section-9-regular-font'.
2019-05-29 08:16:03,937 1888 [INFO ] - [NuGet] Successfully installed 'section-9-regular-font 1.0'.
2019-05-29 08:16:03,952 1888 [INFO ] -
section-9-regular-font v1.0 (forced) [Approved]
2019-05-29 08:16:03,952 1888 [INFO ] - section-9-regular-font package files install completed. Performing other installation steps.
2019-05-29 08:16:03,999 1888 [DEBUG] - Setting installer args for section-9-regular-font
2019-05-29 08:16:03,999 1888 [DEBUG] - Setting package parameters for section-9-regular-font
2019-05-29 08:16:04,014 1888 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1':
2019-05-29 08:16:04,014 1888 [DEBUG] - $packageName = 'section-9-regular-font'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
#SHA256 checksum = '3EEAA2CF8C239FCD13E76B00AB038D14947567266E7DD747EAC715B2206AF761'
Install-ChocolateyFont "$toolsDir\Section 9 Regular.ttf"
Remove-Item "$toolsDir\Section 9 Regular.ttf"
2019-05-29 08:16:04,202 1888 [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\section-9-regular-font\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-05-29 08:16:04,217 1888 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-05-29 08:16:05,186 1888 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-05-29 08:16:05,640 1888 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-29 08:16:05,640 1888 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-29 08:16:05,640 1888 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-29 08:16:05,655 1888 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-29 08:16:05,655 1888 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-29 08:16:05,655 1888 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-29 08:16:05,655 1888 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-29 08:16:05,670 1888 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-29 08:16:05,670 1888 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-29 08:16:05,670 1888 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-29 08:16:05,686 1888 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-29 08:16:05,686 1888 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-29 08:16:05,686 1888 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-29 08:16:05,686 1888 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-29 08:16:05,702 1888 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-29 08:16:05,702 1888 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-29 08:16:05,702 1888 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-29 08:16:05,702 1888 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-29 08:16:05,717 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-29 08:16:05,717 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:05,717 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-29 08:16:05,733 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-29 08:16:05,733 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-29 08:16:05,733 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-29 08:16:05,749 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-29 08:16:05,749 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-29 08:16:05,764 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-29 08:16:05,764 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-29 08:16:05,764 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-29 08:16:05,780 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-29 08:16:05,780 1888 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-29 08:16:05,780 1888 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-29 08:16:05,795 1888 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-29 08:16:05,795 1888 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-29 08:16:05,795 1888 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-29 08:16:05,795 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-29 08:16:05,811 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:05,811 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-29 08:16:05,811 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-29 08:16:05,827 1888 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-29 08:16:05,827 1888 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-29 08:16:05,827 1888 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-29 08:16:05,842 1888 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-29 08:16:05,842 1888 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-29 08:16:05,842 1888 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-29 08:16:05,858 1888 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-29 08:16:05,858 1888 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-29 08:16:05,858 1888 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-29 08:16:05,858 1888 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-29 08:16:05,874 1888 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-29 08:16:05,874 1888 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-29 08:16:05,874 1888 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-29 08:16:05,889 1888 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-29 08:16:05,921 1888 [DEBUG] - Loading community extensions
2019-05-29 08:16:05,936 1888 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'
2019-05-29 08:16:05,952 1888 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'.
2019-05-29 08:16:05,983 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-05-29 08:16:05,983 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:05,983 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-05-29 08:16:05,999 1888 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:05,999 1888 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-29 08:16:05,999 1888 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-29 08:16:06,014 1888 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-29 08:16:06,014 1888 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-29 08:16:06,014 1888 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-29 08:16:06,014 1888 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-29 08:16:06,030 1888 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-29 08:16:06,030 1888 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-29 08:16:06,030 1888 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-29 08:16:06,045 1888 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-29 08:16:06,045 1888 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-29 08:16:06,045 1888 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-29 08:16:06,045 1888 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-29 08:16:06,061 1888 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-29 08:16:06,061 1888 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-29 08:16:06,061 1888 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-29 08:16:06,077 1888 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-29 08:16:06,077 1888 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-29 08:16:06,077 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-29 08:16:06,092 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:06,092 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-29 08:16:06,092 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-29 08:16:06,108 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-29 08:16:06,108 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-29 08:16:06,108 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-29 08:16:06,124 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-29 08:16:06,124 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-29 08:16:06,124 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-29 08:16:06,139 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-29 08:16:06,139 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-29 08:16:06,139 1888 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-29 08:16:06,139 1888 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-29 08:16:06,155 1888 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-29 08:16:06,155 1888 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-29 08:16:06,155 1888 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-29 08:16:06,171 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-29 08:16:06,171 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:06,171 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-29 08:16:06,171 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-29 08:16:06,186 1888 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-29 08:16:06,186 1888 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-29 08:16:06,186 1888 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-29 08:16:06,202 1888 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-29 08:16:06,202 1888 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-29 08:16:06,202 1888 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-05-29 08:16:06,217 1888 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:06,217 1888 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-29 08:16:06,217 1888 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-29 08:16:06,217 1888 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-29 08:16:06,233 1888 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-29 08:16:06,233 1888 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-29 08:16:06,233 1888 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-29 08:16:06,233 1888 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-29 08:16:06,249 1888 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-29 08:16:06,249 1888 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-29 08:16:06,249 1888 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-05-29 08:16:06,264 1888 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-05-29 08:16:06,264 1888 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-05-29 08:16:06,264 1888 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-05-29 08:16:06,280 1888 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-05-29 08:16:06,280 1888 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-05-29 08:16:06,280 1888 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-05-29 08:16:06,280 1888 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-05-29 08:16:06,296 1888 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-05-29 08:16:06,296 1888 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-05-29 08:16:06,296 1888 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-05-29 08:16:06,311 1888 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-05-29 08:16:06,311 1888 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-05-29 08:16:06,311 1888 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-05-29 08:16:06,311 1888 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-05-29 08:16:06,327 1888 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-05-29 08:16:06,327 1888 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-05-29 08:16:06,327 1888 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-05-29 08:16:06,342 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-05-29 08:16:06,342 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:06,342 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-05-29 08:16:06,342 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-05-29 08:16:06,358 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-05-29 08:16:06,358 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-05-29 08:16:06,358 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-05-29 08:16:06,374 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-05-29 08:16:06,374 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-29 08:16:06,374 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-05-29 08:16:06,374 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-05-29 08:16:06,389 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-05-29 08:16:06,389 1888 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-05-29 08:16:06,389 1888 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-05-29 08:16:06,405 1888 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-05-29 08:16:06,405 1888 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-05-29 08:16:06,405 1888 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-05-29 08:16:06,421 1888 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-05-29 08:16:06,421 1888 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-05-29 08:16:06,421 1888 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:06,436 1888 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:06,452 1888 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-05-29 08:16:06,452 1888 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-05-29 08:16:06,452 1888 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-05-29 08:16:06,467 1888 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-05-29 08:16:06,467 1888 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-05-29 08:16:06,467 1888 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-05-29 08:16:06,483 1888 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-05-29 08:16:06,483 1888 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-05-29 08:16:06,483 1888 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-05-29 08:16:06,483 1888 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-05-29 08:16:06,499 1888 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-05-29 08:16:06,499 1888 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-05-29 08:16:06,499 1888 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-05-29 08:16:06,514 1888 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-05-29 08:16:06,514 1888 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-05-29 08:16:06,514 1888 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-05-29 08:16:06,686 1888 [DEBUG] - Running 'ChocolateyScriptRunner' for section-9-regular-font v1.0 with packageScript 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\section-9-regular-font', installArguments: '', packageParameters: '',
2019-05-29 08:16:06,733 1888 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1'
2019-05-29 08:16:07,061 1888 [DEBUG] -
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace FontResource
{
public class AddRemoveFonts
{
private static IntPtr HWND_BROADCAST = new IntPtr(0xffff);
private static IntPtr HWND_TOP = new IntPtr(0);
private static IntPtr HWND_BOTTOM = new IntPtr(1);
private static IntPtr HWND_TOPMOST = new IntPtr(-1);
private static IntPtr HWND_NOTOPMOST = new IntPtr(-2);
private static IntPtr HWND_MESSAGE = new IntPtr(-3);
[DllImport("gdi32.dll")]
static extern int AddFontResource(string lpFilename);
[DllImport("gdi32.dll")]
static extern int RemoveFontResource(string lpFileName);
[DllImport("user32.dll",CharSet=CharSet.Auto)]
private static extern int SendMessage(IntPtr hWnd, WM wMsg, IntPtr wParam, IntPtr lParam);
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("user32.dll", SetLastError = true)]
private static extern bool PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
public static int AddFont(string fontFilePath) {
FileInfo fontFile = new FileInfo(fontFilePath);
if (!fontFile.Exists)
{
return 0;
}
try
{
int retVal = AddFontResource(fontFilePath);
//This version of SendMessage is a blocking call until all windows respond.
//long result = SendMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
//Alternatively PostMessage instead of SendMessage to prevent application hang
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch
{
return 0;
}
}
public static int RemoveFont(string fontFileName) {
//FileInfo fontFile = new FileInfo(fontFileName);
//if (!fontFile.Exists)
//{
// return false;
//}
try
{
int retVal = RemoveFontResource(fontFileName);
//This version of SendMessage is a blocking call until all windows respond.
//long result = SendMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
//Alternatively PostMessage instead of SendMessage to prevent application hang
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch
{
return 0;
}
}
public enum WM : uint
{
NULL = 0x0000,
CREATE = 0x0001,
DESTROY = 0x0002,
MOVE = 0x0003,
SIZE = 0x0005,
ACTIVATE = 0x0006,
SETFOCUS = 0x0007,
KILLFOCUS = 0x0008,
ENABLE = 0x000A,
SETREDRAW = 0x000B,
SETTEXT = 0x000C,
GETTEXT = 0x000D,
GETTEXTLENGTH = 0x000E,
PAINT = 0x000F,
CLOSE = 0x0010,
QUERYENDSESSION = 0x0011,
QUERYOPEN = 0x0013,
ENDSESSION = 0x0016,
QUIT = 0x0012,
ERASEBKGND = 0x0014,
SYSCOLORCHANGE = 0x0015,
SHOWWINDOW = 0x0018,
WININICHANGE = 0x001A,
SETTINGCHANGE = WM.WININICHANGE,
DEVMODECHANGE = 0x001B,
ACTIVATEAPP = 0x001C,
FONTCHANGE = 0x001D,
TIMECHANGE = 0x001E,
CANCELMODE = 0x001F,
SETCURSOR = 0x0020,
MOUSEACTIVATE = 0x0021,
CHILDACTIVATE = 0x0022,
QUEUESYNC = 0x0023,
GETMINMAXINFO = 0x0024,
PAINTICON = 0x0026,
ICONERASEBKGND = 0x0027,
NEXTDLGCTL = 0x0028,
SPOOLERSTATUS = 0x002A,
DRAWITEM = 0x002B,
MEASUREITEM = 0x002C,
DELETEITEM = 0x002D,
VKEYTOITEM = 0x002E,
CHARTOITEM = 0x002F,
SETFONT = 0x0030,
GETFONT = 0x0031,
SETHOTKEY = 0x0032,
GETHOTKEY = 0x0033,
QUERYDRAGICON = 0x0037,
COMPAREITEM = 0x0039,
GETOBJECT = 0x003D,
COMPACTING = 0x0041,
COMMNOTIFY = 0x0044,
WINDOWPOSCHANGING = 0x0046,
WINDOWPOSCHANGED = 0x0047,
POWER = 0x0048,
COPYDATA = 0x004A,
CANCELJOURNAL = 0x004B,
NOTIFY = 0x004E,
INPUTLANGCHANGEREQUEST = 0x0050,
INPUTLANGCHANGE = 0x0051,
TCARD = 0x0052,
HELP = 0x0053,
USERCHANGED = 0x0054,
NOTIFYFORMAT = 0x0055,
CONTEXTMENU = 0x007B,
STYLECHANGING = 0x007C,
STYLECHANGED = 0x007D,
DISPLAYCHANGE = 0x007E,
GETICON = 0x007F,
SETICON = 0x0080,
NCCREATE = 0x0081,
NCDESTROY = 0x0082,
NCCALCSIZE = 0x0083,
NCHITTEST = 0x0084,
NCPAINT = 0x0085,
NCACTIVATE = 0x0086,
GETDLGCODE = 0x0087,
SYNCPAINT = 0x0088,
NCMOUSEMOVE = 0x00A0,
NCLBUTTONDOWN = 0x00A1,
NCLBUTTONUP = 0x00A2,
NCLBUTTONDBLCLK = 0x00A3,
NCRBUTTONDOWN = 0x00A4,
NCRBUTTONUP = 0x00A5,
NCRBUTTONDBLCLK = 0x00A6,
NCMBUTTONDOWN = 0x00A7,
NCMBUTTONUP = 0x00A8,
NCMBUTTONDBLCLK = 0x00A9,
NCXBUTTONDOWN = 0x00AB,
NCXBUTTONUP = 0x00AC,
NCXBUTTONDBLCLK = 0x00AD,
INPUT_DEVICE_CHANGE = 0x00FE,
INPUT = 0x00FF,
KEYFIRST = 0x0100,
KEYDOWN = 0x0100,
KEYUP = 0x0101,
CHAR = 0x0102,
DEADCHAR = 0x0103,
SYSKEYDOWN = 0x0104,
SYSKEYUP = 0x0105,
SYSCHAR = 0x0106,
SYSDEADCHAR = 0x0107,
UNICHAR = 0x0109,
KEYLAST = 0x0109,
IME_STARTCOMPOSITION = 0x010D,
IME_ENDCOMPOSITION = 0x010E,
IME_COMPOSITION = 0x010F,
IME_KEYLAST = 0x010F,
INITDIALOG = 0x0110,
COMMAND = 0x0111,
SYSCOMMAND = 0x0112,
TIMER = 0x0113,
HSCROLL = 0x0114,
VSCROLL = 0x0115,
INITMENU = 0x0116,
INITMENUPOPUP = 0x0117,
MENUSELECT = 0x011F,
MENUCHAR = 0x0120,
ENTERIDLE = 0x0121,
MENURBUTTONUP = 0x0122,
MENUDRAG = 0x0123,
MENUGETOBJECT = 0x0124,
UNINITMENUPOPUP = 0x0125,
MENUCOMMAND = 0x0126,
CHANGEUISTATE = 0x0127,
UPDATEUISTATE = 0x0128,
QUERYUISTATE = 0x0129,
CTLCOLORMSGBOX = 0x0132,
CTLCOLOREDIT = 0x0133,
CTLCOLORLISTBOX = 0x0134,
CTLCOLORBTN = 0x0135,
CTLCOLORDLG = 0x0136,
CTLCOLORSCROLLBAR = 0x0137,
CTLCOLORSTATIC = 0x0138,
MOUSEFIRST = 0x0200,
MOUSEMOVE = 0x0200,
LBUTTONDOWN = 0x0201,
LBUTTONUP = 0x0202,
LBUTTONDBLCLK = 0x0203,
RBUTTONDOWN = 0x0204,
RBUTTONUP = 0x0205,
RBUTTONDBLCLK = 0x0206,
MBUTTONDOWN = 0x0207,
MBUTTONUP = 0x0208,
MBUTTONDBLCLK = 0x0209,
MOUSEWHEEL = 0x020A,
XBUTTONDOWN = 0x020B,
XBUTTONUP = 0x020C,
XBUTTONDBLCLK = 0x020D,
MOUSEHWHEEL = 0x020E,
MOUSELAST = 0x020E,
PARENTNOTIFY = 0x0210,
ENTERMENULOOP = 0x0211,
EXITMENULOOP = 0x0212,
NEXTMENU = 0x0213,
SIZING = 0x0214,
CAPTURECHANGED = 0x0215,
MOVING = 0x0216,
POWERBROADCAST = 0x0218,
DEVICECHANGE = 0x0219,
MDICREATE = 0x0220,
MDIDESTROY = 0x0221,
MDIACTIVATE = 0x0222,
MDIRESTORE = 0x0223,
MDINEXT = 0x0224,
MDIMAXIMIZE = 0x0225,
MDITILE = 0x0226,
MDICASCADE = 0x0227,
MDIICONARRANGE = 0x0228,
MDIGETACTIVE = 0x0229,
MDISETMENU = 0x0230,
ENTERSIZEMOVE = 0x0231,
EXITSIZEMOVE = 0x0232,
DROPFILES = 0x0233,
MDIREFRESHMENU = 0x0234,
IME_SETCONTEXT = 0x0281,
IME_NOTIFY = 0x0282,
IME_CONTROL = 0x0283,
IME_COMPOSITIONFULL = 0x0284,
IME_SELECT = 0x0285,
IME_CHAR = 0x0286,
IME_REQUEST = 0x0288,
IME_KEYDOWN = 0x0290,
IME_KEYUP = 0x0291,
MOUSEHOVER = 0x02A1,
MOUSELEAVE = 0x02A3,
NCMOUSEHOVER = 0x02A0,
NCMOUSELEAVE = 0x02A2,
WTSSESSION_CHANGE = 0x02B1,
TABLET_FIRST = 0x02c0,
TABLET_LAST = 0x02df,
CUT = 0x0300,
COPY = 0x0301,
PASTE = 0x0302,
CLEAR = 0x0303,
UNDO = 0x0304,
RENDERFORMAT = 0x0305,
RENDERALLFORMATS = 0x0306,
DESTROYCLIPBOARD = 0x0307,
DRAWCLIPBOARD = 0x0308,
PAINTCLIPBOARD = 0x0309,
VSCROLLCLIPBOARD = 0x030A,
SIZECLIPBOARD = 0x030B,
ASKCBFORMATNAME = 0x030C,
CHANGECBCHAIN = 0x030D,
HSCROLLCLIPBOARD = 0x030E,
QUERYNEWPALETTE = 0x030F,
PALETTEISCHANGING = 0x0310,
PALETTECHANGED = 0x0311,
HOTKEY = 0x0312,
PRINT = 0x0317,
PRINTCLIENT = 0x0318,
APPCOMMAND = 0x0319,
THEMECHANGED = 0x031A,
CLIPBOARDUPDATE = 0x031D,
DWMCOMPOSITIONCHANGED = 0x031E,
DWMNCRENDERINGCHANGED = 0x031F,
DWMCOLORIZATIONCOLORCHANGED = 0x0320,
DWMWINDOWMAXIMIZEDCHANGE = 0x0321,
GETTITLEBARINFOEX = 0x033F,
HANDHELDFIRST = 0x0358,
HANDHELDLAST = 0x035F,
AFXFIRST = 0x0360,
AFXLAST = 0x037F,
PENWINFIRST = 0x0380,
PENWINLAST = 0x038F,
APP = 0x8000,
USER = 0x0400,
CPL_LAUNCH = USER+0x1000,
CPL_LAUNCHED = USER+0x1001,
SYSTIMER = 0x118
}
}
}
2019-05-29 08:16:08,139 1888 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\Section 9 Regular.ttf' installed successfully
2019-05-29 08:16:08,155 1888 [INFO ] -
2019-05-29 08:16:08,155 1888 [INFO ] -
2019-05-29 08:16:08,234 1888 [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\section-9-regular-font\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-05-29 08:16:08,249 1888 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-05-29 08:16:08,280 1888 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-05-29 08:16:08,295 1888 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\section-9-regular-font'
2019-05-29 08:16:08,311 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nupkg'
with checksum 'B89BD32D9064EC39322C3E35F7304026'
2019-05-29 08:16:08,311 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nuspec'
with checksum '38EB14850CB582F6912D136595741B72'
2019-05-29 08:16:08,311 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1'
with checksum '1C9FC42A20D3B5232D3C828A840B5B73'
2019-05-29 08:16:08,327 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1'
with checksum '0AF8BE3F3A395F1CAE44E2DEA46EE9E4'
2019-05-29 08:16:08,327 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\LICENSE.txt'
with checksum 'C2A925F6EFA6CB7C551A6CB4ACF32047'
2019-05-29 08:16:08,327 1888 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\VERIFICATION.txt'
with checksum 'A71037D2278DFED0823AB9AFF0C6D0D7'
2019-05-29 08:16:08,342 1888 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\section-9-regular-font.1.0".
2019-05-29 08:16:08,358 1888 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\section-9-regular-font.1.0\.files'
2019-05-29 08:16:08,358 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\section-9-regular-font.1.0\.extra".
2019-05-29 08:16:08,374 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\section-9-regular-font.1.0\.version".
2019-05-29 08:16:08,374 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\section-9-regular-font.1.0\.sxs".
2019-05-29 08:16:08,374 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\section-9-regular-font.1.0\.pin".
2019-05-29 08:16:08,389 1888 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-05-29 08:16:08,389 1888 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\section-9-regular-font\.chocolateyPending".
2019-05-29 08:16:08,389 1888 [INFO ] - The install of section-9-regular-font was successful.
2019-05-29 08:16:08,405 1888 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-05-29 08:16:08,405 1888 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\section-9-regular-font.1.0.nupkg".
2019-05-29 08:16:08,467 1888 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-05-29 08:16:08,467 1888 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-05-29 08:16:08,530 1888 [DEBUG] - Exiting with 0
2019-05-29 08:16:40,561 2976 [DEBUG] - XmlConfiguration is now operational
2019-05-29 08:16:40,749 2976 [INFO ] - ============================================================
2019-05-29 08:16:41,405 2976 [INFO ] - Chocolatey v0.10.14-beta-7-gb30427d
2019-05-29 08:16:41,436 2976 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-05-29 08:16:41,453 2976 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-05-29 08:16:41,453 2976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-05-29 08:16:41,483 2976 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall section-9-regular-font --version 1.0 -dvy --execution-timeout=2700
2019-05-29 08:16:41,483 2976 [DEBUG] - Received arguments: uninstall section-9-regular-font --version 1.0 -dvy --execution-timeout=2700
2019-05-29 08:16:41,624 2976 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-05-29 08:16:41,655 2976 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-05-29 08:16:41,686 2976 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-05-29 08:16:41,858 2976 [DEBUG] - Performing validation checks.
2019-05-29 08:16:41,889 2976 [DEBUG] - Global Configuration Validation Checks:
2019-05-29 08:16:41,889 2976 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-05-29 08:16:41,889 2976 [DEBUG] - System State Validation Checks:
2019-05-29 08:16:41,905 2976 [DEBUG] - Reboot Requirement Checks:
2019-05-29 08:16:41,921 2976 [DEBUG] - - Pending Computer Rename = Checked
2019-05-29 08:16:41,921 2976 [DEBUG] - - Pending Component Based Servicing = Checked
2019-05-29 08:16:41,937 2976 [DEBUG] - - Pending Windows Auto Update = Checked
2019-05-29 08:16:41,937 2976 [DEBUG] - - Pending File Rename Operations = Checked
2019-05-29 08:16:41,937 2976 [DEBUG] - - Pending Windows Package Installer = Checked
2019-05-29 08:16:41,952 2976 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-05-29 08:16:41,967 2976 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-05-29 08:16:41,967 2976 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-05-29 08:16:41,983 2976 [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.
2019-05-29 08:16:42,030 2976 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='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='section-9-regular-font'|
Version='1.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='section-9-regular-font'|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.14.0'|
Information.ChocolateyProductVersion='0.10.14-beta-7-gb30427d'|
Information.FullName='choco, Version=0.10.14.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'|
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'|
2019-05-29 08:16:42,045 2976 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2019-05-29 08:16:42,061 2976 [INFO ] - Uninstalling the following packages:
2019-05-29 08:16:42,061 2976 [INFO ] - section-9-regular-font
2019-05-29 08:16:42,092 2976 [DEBUG] - Current environment values (may contain sensitive data):
2019-05-29 08:16:42,092 2976 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-29 08:16:42,092 2976 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-29 08:16:42,108 2976 [DEBUG] - * 'ChocolateyLastPathUpdate'='132035086803261439' ('User')
2019-05-29 08:16:42,108 2976 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-05-29 08:16:42,108 2976 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-05-29 08:16:42,108 2976 [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')
2019-05-29 08:16:42,108 2976 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-05-29 08:16:42,124 2976 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-05-29 08:16:42,124 2976 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-05-29 08:16:42,124 2976 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-05-29 08:16:42,124 2976 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-05-29 08:16:42,124 2976 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-05-29 08:16:42,139 2976 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-05-29 08:16:42,139 2976 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-05-29 08:16:42,139 2976 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-05-29 08:16:42,139 2976 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-05-29 08:16:42,155 2976 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-05-29 08:16:42,155 2976 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-05-29 08:16:42,155 2976 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-05-29 08:16:42,155 2976 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-05-29 08:16:42,405 2976 [DEBUG] - Running list with the following filter = ''
2019-05-29 08:16:42,405 2976 [DEBUG] - --- Start of List ---
2019-05-29 08:16:42,889 2976 [DEBUG] - section-9-regular-font 1.0
2019-05-29 08:16:42,906 2976 [DEBUG] - --- End of List ---
2019-05-29 08:16:43,217 2976 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2019-05-29 08:16:43,217 2976 [DEBUG] - Backing up existing section-9-regular-font prior to operation.
2019-05-29 08:16:43,233 2976 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\section-9-regular-font'
to 'C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font'
2019-05-29 08:16:45,264 2976 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\section-9-regular-font".
2019-05-29 08:16:45,264 2976 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font\section-9-regular-font.nupkg"
to "C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nupkg".
2019-05-29 08:16:45,280 2976 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font\section-9-regular-font.nuspec"
to "C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nuspec".
2019-05-29 08:16:45,280 2976 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\section-9-regular-font\tools".
2019-05-29 08:16:45,296 2976 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font\tools\ChocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1".
2019-05-29 08:16:45,296 2976 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font\tools\ChocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1".
2019-05-29 08:16:45,296 2976 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\LICENSE.txt".
2019-05-29 08:16:45,311 2976 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\VERIFICATION.txt".
2019-05-29 08:16:46,842 2976 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\section-9-regular-font'
2019-05-29 08:16:46,858 2976 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nupkg'
with checksum 'B89BD32D9064EC39322C3E35F7304026'
2019-05-29 08:16:46,858 2976 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\section-9-regular-font.nuspec'
with checksum '38EB14850CB582F6912D136595741B72'
2019-05-29 08:16:46,858 2976 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyInstall.ps1'
with checksum '1C9FC42A20D3B5232D3C828A840B5B73'
2019-05-29 08:16:46,874 2976 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1'
with checksum '0AF8BE3F3A395F1CAE44E2DEA46EE9E4'
2019-05-29 08:16:46,874 2976 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\LICENSE.txt'
with checksum 'C2A925F6EFA6CB7C551A6CB4ACF32047'
2019-05-29 08:16:46,874 2976 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\VERIFICATION.txt'
with checksum 'A71037D2278DFED0823AB9AFF0C6D0D7'
2019-05-29 08:16:48,077 2976 [INFO ] - [NuGet] Uninstalling 'section-9-regular-font 1.0'.
2019-05-29 08:16:48,109 2976 [INFO ] -
section-9-regular-font v1.0
2019-05-29 08:16:48,186 2976 [DEBUG] - Setting installer args for section-9-regular-font
2019-05-29 08:16:48,186 2976 [DEBUG] - Setting package parameters for section-9-regular-font
2019-05-29 08:16:48,202 2976 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1':
2019-05-29 08:16:48,202 2976 [DEBUG] - $packageName = 'section-9-regular-font'
Uninstall-ChocolateyFont "Section 9 Regular.ttf"
2019-05-29 08:16:48,264 2976 [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\section-9-regular-font\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2019-05-29 08:16:48,280 2976 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-05-29 08:16:48,936 2976 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-05-29 08:16:49,280 2976 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-29 08:16:49,295 2976 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-29 08:16:49,295 2976 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-29 08:16:49,295 2976 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-29 08:16:49,295 2976 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-29 08:16:49,311 2976 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-29 08:16:49,311 2976 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-29 08:16:49,311 2976 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-29 08:16:49,327 2976 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-29 08:16:49,327 2976 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-29 08:16:49,327 2976 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-29 08:16:49,342 2976 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-29 08:16:49,342 2976 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-29 08:16:49,342 2976 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-29 08:16:49,342 2976 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-29 08:16:49,358 2976 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-29 08:16:49,358 2976 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-29 08:16:49,358 2976 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-29 08:16:49,374 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-29 08:16:49,374 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:49,374 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-29 08:16:49,374 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-29 08:16:49,389 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-29 08:16:49,389 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-29 08:16:49,389 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-29 08:16:49,405 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-29 08:16:49,405 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-29 08:16:49,405 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-29 08:16:49,421 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-29 08:16:49,421 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-29 08:16:49,421 2976 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-29 08:16:49,421 2976 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-29 08:16:49,436 2976 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-29 08:16:49,436 2976 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-29 08:16:49,436 2976 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-29 08:16:49,452 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-29 08:16:49,452 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:49,452 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-29 08:16:49,452 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-29 08:16:49,467 2976 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-29 08:16:49,467 2976 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-29 08:16:49,467 2976 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-29 08:16:49,467 2976 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-29 08:16:49,483 2976 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-29 08:16:49,483 2976 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-29 08:16:49,483 2976 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-29 08:16:49,499 2976 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-29 08:16:49,499 2976 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-29 08:16:49,499 2976 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-29 08:16:49,499 2976 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-29 08:16:49,514 2976 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-29 08:16:49,514 2976 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-29 08:16:49,514 2976 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-29 08:16:49,561 2976 [DEBUG] - Loading community extensions
2019-05-29 08:16:49,577 2976 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'
2019-05-29 08:16:49,592 2976 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'.
2019-05-29 08:16:49,624 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-05-29 08:16:49,624 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:49,624 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-05-29 08:16:49,639 2976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:49,639 2976 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-29 08:16:49,639 2976 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-29 08:16:49,655 2976 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-29 08:16:49,655 2976 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-29 08:16:49,655 2976 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-29 08:16:49,671 2976 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-29 08:16:49,671 2976 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-29 08:16:49,671 2976 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-29 08:16:49,686 2976 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-29 08:16:49,686 2976 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-29 08:16:49,686 2976 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-29 08:16:49,702 2976 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-29 08:16:49,702 2976 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-29 08:16:49,702 2976 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-29 08:16:49,702 2976 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-29 08:16:49,717 2976 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-29 08:16:49,717 2976 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-29 08:16:49,717 2976 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-29 08:16:49,717 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-29 08:16:49,733 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:49,733 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-29 08:16:49,733 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-29 08:16:49,749 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-29 08:16:49,749 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-29 08:16:49,749 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-29 08:16:49,764 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-29 08:16:49,764 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-29 08:16:49,764 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-29 08:16:49,764 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-29 08:16:49,780 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-29 08:16:49,780 2976 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-29 08:16:49,780 2976 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-29 08:16:49,796 2976 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-29 08:16:49,796 2976 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-29 08:16:49,796 2976 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-29 08:16:49,811 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-29 08:16:49,811 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:49,811 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-29 08:16:49,811 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-29 08:16:49,827 2976 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-29 08:16:49,827 2976 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-29 08:16:49,827 2976 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-29 08:16:49,827 2976 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-29 08:16:49,842 2976 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-29 08:16:49,842 2976 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-05-29 08:16:49,842 2976 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:49,842 2976 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-29 08:16:49,858 2976 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-29 08:16:49,858 2976 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-29 08:16:49,858 2976 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-29 08:16:49,874 2976 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-29 08:16:49,874 2976 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-29 08:16:49,874 2976 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-29 08:16:49,874 2976 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-29 08:16:49,889 2976 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-29 08:16:49,889 2976 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-05-29 08:16:49,889 2976 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-05-29 08:16:49,905 2976 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-05-29 08:16:49,905 2976 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-05-29 08:16:49,905 2976 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-05-29 08:16:49,905 2976 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-05-29 08:16:49,921 2976 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-05-29 08:16:49,921 2976 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-05-29 08:16:49,921 2976 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-05-29 08:16:49,936 2976 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-05-29 08:16:49,936 2976 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-05-29 08:16:49,936 2976 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-05-29 08:16:49,936 2976 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-05-29 08:16:49,952 2976 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-05-29 08:16:49,952 2976 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-05-29 08:16:49,952 2976 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-05-29 08:16:49,967 2976 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-05-29 08:16:49,967 2976 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-05-29 08:16:49,967 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-05-29 08:16:49,983 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:49,983 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-05-29 08:16:49,983 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-05-29 08:16:49,983 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-05-29 08:16:49,999 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-05-29 08:16:49,999 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-05-29 08:16:49,999 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-05-29 08:16:50,014 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-29 08:16:50,014 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-05-29 08:16:50,014 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-05-29 08:16:50,014 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-05-29 08:16:50,030 2976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-05-29 08:16:50,030 2976 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-05-29 08:16:50,030 2976 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-05-29 08:16:50,046 2976 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-05-29 08:16:50,046 2976 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-05-29 08:16:50,046 2976 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-05-29 08:16:50,061 2976 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-05-29 08:16:50,061 2976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-29 08:16:50,061 2976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-05-29 08:16:50,061 2976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-05-29 08:16:50,077 2976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-05-29 08:16:50,077 2976 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-05-29 08:16:50,077 2976 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-05-29 08:16:50,092 2976 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-05-29 08:16:50,092 2976 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-05-29 08:16:50,092 2976 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-05-29 08:16:50,092 2976 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-05-29 08:16:50,108 2976 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-05-29 08:16:50,108 2976 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-05-29 08:16:50,108 2976 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-05-29 08:16:50,124 2976 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-05-29 08:16:50,124 2976 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-05-29 08:16:50,124 2976 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-05-29 08:16:50,124 2976 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-05-29 08:16:50,139 2976 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-05-29 08:16:50,264 2976 [DEBUG] - Running 'ChocolateyScriptRunner' for section-9-regular-font v1.0 with packageScript 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\section-9-regular-font', installArguments: '', packageParameters: '',
2019-05-29 08:16:50,327 2976 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools\ChocolateyUninstall.ps1'
2019-05-29 08:16:50,452 2976 [DEBUG] -
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace FontResource
{
public class AddRemoveFonts
{
private static IntPtr HWND_BROADCAST = new IntPtr(0xffff);
private static IntPtr HWND_TOP = new IntPtr(0);
private static IntPtr HWND_BOTTOM = new IntPtr(1);
private static IntPtr HWND_TOPMOST = new IntPtr(-1);
private static IntPtr HWND_NOTOPMOST = new IntPtr(-2);
private static IntPtr HWND_MESSAGE = new IntPtr(-3);
[DllImport("gdi32.dll")]
static extern int AddFontResource(string lpFilename);
[DllImport("gdi32.dll")]
static extern int RemoveFontResource(string lpFileName);
[DllImport("user32.dll",CharSet=CharSet.Auto)]
private static extern int SendMessage(IntPtr hWnd, WM wMsg, IntPtr wParam, IntPtr lParam);
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("user32.dll", SetLastError = true)]
private static extern bool PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
public static int AddFont(string fontFilePath) {
FileInfo fontFile = new FileInfo(fontFilePath);
if (!fontFile.Exists)
{
return 0;
}
try
{
int retVal = AddFontResource(fontFilePath);
//This version of SendMessage is a blocking call until all windows respond.
//long result = SendMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
//Alternatively PostMessage instead of SendMessage to prevent application hang
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch
{
return 0;
}
}
public static int RemoveFont(string fontFileName) {
//FileInfo fontFile = new FileInfo(fontFileName);
//if (!fontFile.Exists)
//{
// return false;
//}
try
{
int retVal = RemoveFontResource(fontFileName);
//This version of SendMessage is a blocking call until all windows respond.
//long result = SendMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
//Alternatively PostMessage instead of SendMessage to prevent application hang
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch
{
return 0;
}
}
public enum WM : uint
{
NULL = 0x0000,
CREATE = 0x0001,
DESTROY = 0x0002,
MOVE = 0x0003,
SIZE = 0x0005,
ACTIVATE = 0x0006,
SETFOCUS = 0x0007,
KILLFOCUS = 0x0008,
ENABLE = 0x000A,
SETREDRAW = 0x000B,
SETTEXT = 0x000C,
GETTEXT = 0x000D,
GETTEXTLENGTH = 0x000E,
PAINT = 0x000F,
CLOSE = 0x0010,
QUERYENDSESSION = 0x0011,
QUERYOPEN = 0x0013,
ENDSESSION = 0x0016,
QUIT = 0x0012,
ERASEBKGND = 0x0014,
SYSCOLORCHANGE = 0x0015,
SHOWWINDOW = 0x0018,
WININICHANGE = 0x001A,
SETTINGCHANGE = WM.WININICHANGE,
DEVMODECHANGE = 0x001B,
ACTIVATEAPP = 0x001C,
FONTCHANGE = 0x001D,
TIMECHANGE = 0x001E,
CANCELMODE = 0x001F,
SETCURSOR = 0x0020,
MOUSEACTIVATE = 0x0021,
CHILDACTIVATE = 0x0022,
QUEUESYNC = 0x0023,
GETMINMAXINFO = 0x0024,
PAINTICON = 0x0026,
ICONERASEBKGND = 0x0027,
NEXTDLGCTL = 0x0028,
SPOOLERSTATUS = 0x002A,
DRAWITEM = 0x002B,
MEASUREITEM = 0x002C,
DELETEITEM = 0x002D,
VKEYTOITEM = 0x002E,
CHARTOITEM = 0x002F,
SETFONT = 0x0030,
GETFONT = 0x0031,
SETHOTKEY = 0x0032,
GETHOTKEY = 0x0033,
QUERYDRAGICON = 0x0037,
COMPAREITEM = 0x0039,
GETOBJECT = 0x003D,
COMPACTING = 0x0041,
COMMNOTIFY = 0x0044,
WINDOWPOSCHANGING = 0x0046,
WINDOWPOSCHANGED = 0x0047,
POWER = 0x0048,
COPYDATA = 0x004A,
CANCELJOURNAL = 0x004B,
NOTIFY = 0x004E,
INPUTLANGCHANGEREQUEST = 0x0050,
INPUTLANGCHANGE = 0x0051,
TCARD = 0x0052,
HELP = 0x0053,
USERCHANGED = 0x0054,
NOTIFYFORMAT = 0x0055,
CONTEXTMENU = 0x007B,
STYLECHANGING = 0x007C,
STYLECHANGED = 0x007D,
DISPLAYCHANGE = 0x007E,
GETICON = 0x007F,
SETICON = 0x0080,
NCCREATE = 0x0081,
NCDESTROY = 0x0082,
NCCALCSIZE = 0x0083,
NCHITTEST = 0x0084,
NCPAINT = 0x0085,
NCACTIVATE = 0x0086,
GETDLGCODE = 0x0087,
SYNCPAINT = 0x0088,
NCMOUSEMOVE = 0x00A0,
NCLBUTTONDOWN = 0x00A1,
NCLBUTTONUP = 0x00A2,
NCLBUTTONDBLCLK = 0x00A3,
NCRBUTTONDOWN = 0x00A4,
NCRBUTTONUP = 0x00A5,
NCRBUTTONDBLCLK = 0x00A6,
NCMBUTTONDOWN = 0x00A7,
NCMBUTTONUP = 0x00A8,
NCMBUTTONDBLCLK = 0x00A9,
NCXBUTTONDOWN = 0x00AB,
NCXBUTTONUP = 0x00AC,
NCXBUTTONDBLCLK = 0x00AD,
INPUT_DEVICE_CHANGE = 0x00FE,
INPUT = 0x00FF,
KEYFIRST = 0x0100,
KEYDOWN = 0x0100,
KEYUP = 0x0101,
CHAR = 0x0102,
DEADCHAR = 0x0103,
SYSKEYDOWN = 0x0104,
SYSKEYUP = 0x0105,
SYSCHAR = 0x0106,
SYSDEADCHAR = 0x0107,
UNICHAR = 0x0109,
KEYLAST = 0x0109,
IME_STARTCOMPOSITION = 0x010D,
IME_ENDCOMPOSITION = 0x010E,
IME_COMPOSITION = 0x010F,
IME_KEYLAST = 0x010F,
INITDIALOG = 0x0110,
COMMAND = 0x0111,
SYSCOMMAND = 0x0112,
TIMER = 0x0113,
HSCROLL = 0x0114,
VSCROLL = 0x0115,
INITMENU = 0x0116,
INITMENUPOPUP = 0x0117,
MENUSELECT = 0x011F,
MENUCHAR = 0x0120,
ENTERIDLE = 0x0121,
MENURBUTTONUP = 0x0122,
MENUDRAG = 0x0123,
MENUGETOBJECT = 0x0124,
UNINITMENUPOPUP = 0x0125,
MENUCOMMAND = 0x0126,
CHANGEUISTATE = 0x0127,
UPDATEUISTATE = 0x0128,
QUERYUISTATE = 0x0129,
CTLCOLORMSGBOX = 0x0132,
CTLCOLOREDIT = 0x0133,
CTLCOLORLISTBOX = 0x0134,
CTLCOLORBTN = 0x0135,
CTLCOLORDLG = 0x0136,
CTLCOLORSCROLLBAR = 0x0137,
CTLCOLORSTATIC = 0x0138,
MOUSEFIRST = 0x0200,
MOUSEMOVE = 0x0200,
LBUTTONDOWN = 0x0201,
LBUTTONUP = 0x0202,
LBUTTONDBLCLK = 0x0203,
RBUTTONDOWN = 0x0204,
RBUTTONUP = 0x0205,
RBUTTONDBLCLK = 0x0206,
MBUTTONDOWN = 0x0207,
MBUTTONUP = 0x0208,
MBUTTONDBLCLK = 0x0209,
MOUSEWHEEL = 0x020A,
XBUTTONDOWN = 0x020B,
XBUTTONUP = 0x020C,
XBUTTONDBLCLK = 0x020D,
MOUSEHWHEEL = 0x020E,
MOUSELAST = 0x020E,
PARENTNOTIFY = 0x0210,
ENTERMENULOOP = 0x0211,
EXITMENULOOP = 0x0212,
NEXTMENU = 0x0213,
SIZING = 0x0214,
CAPTURECHANGED = 0x0215,
MOVING = 0x0216,
POWERBROADCAST = 0x0218,
DEVICECHANGE = 0x0219,
MDICREATE = 0x0220,
MDIDESTROY = 0x0221,
MDIACTIVATE = 0x0222,
MDIRESTORE = 0x0223,
MDINEXT = 0x0224,
MDIMAXIMIZE = 0x0225,
MDITILE = 0x0226,
MDICASCADE = 0x0227,
MDIICONARRANGE = 0x0228,
MDIGETACTIVE = 0x0229,
MDISETMENU = 0x0230,
ENTERSIZEMOVE = 0x0231,
EXITSIZEMOVE = 0x0232,
DROPFILES = 0x0233,
MDIREFRESHMENU = 0x0234,
IME_SETCONTEXT = 0x0281,
IME_NOTIFY = 0x0282,
IME_CONTROL = 0x0283,
IME_COMPOSITIONFULL = 0x0284,
IME_SELECT = 0x0285,
IME_CHAR = 0x0286,
IME_REQUEST = 0x0288,
IME_KEYDOWN = 0x0290,
IME_KEYUP = 0x0291,
MOUSEHOVER = 0x02A1,
MOUSELEAVE = 0x02A3,
NCMOUSEHOVER = 0x02A0,
NCMOUSELEAVE = 0x02A2,
WTSSESSION_CHANGE = 0x02B1,
TABLET_FIRST = 0x02c0,
TABLET_LAST = 0x02df,
CUT = 0x0300,
COPY = 0x0301,
PASTE = 0x0302,
CLEAR = 0x0303,
UNDO = 0x0304,
RENDERFORMAT = 0x0305,
RENDERALLFORMATS = 0x0306,
DESTROYCLIPBOARD = 0x0307,
DRAWCLIPBOARD = 0x0308,
PAINTCLIPBOARD = 0x0309,
VSCROLLCLIPBOARD = 0x030A,
SIZECLIPBOARD = 0x030B,
ASKCBFORMATNAME = 0x030C,
CHANGECBCHAIN = 0x030D,
HSCROLLCLIPBOARD = 0x030E,
QUERYNEWPALETTE = 0x030F,
PALETTEISCHANGING = 0x0310,
PALETTECHANGED = 0x0311,
HOTKEY = 0x0312,
PRINT = 0x0317,
PRINTCLIENT = 0x0318,
APPCOMMAND = 0x0319,
THEMECHANGED = 0x031A,
CLIPBOARDUPDATE = 0x031D,
DWMCOMPOSITIONCHANGED = 0x031E,
DWMNCRENDERINGCHANGED = 0x031F,
DWMCOLORIZATIONCOLORCHANGED = 0x0320,
DWMWINDOWMAXIMIZEDCHANGE = 0x0321,
GETTITLEBARINFOEX = 0x033F,
HANDHELDFIRST = 0x0358,
HANDHELDLAST = 0x035F,
AFXFIRST = 0x0360,
AFXLAST = 0x037F,
PENWINFIRST = 0x0380,
PENWINLAST = 0x038F,
APP = 0x8000,
USER = 0x0400,
CPL_LAUNCH = USER+0x1000,
CPL_LAUNCHED = USER+0x1001,
SYSTIMER = 0x118
}
}
}
2019-05-29 08:16:51,327 2976 [INFO ] - Font: Section 9 (TrueType)
2019-05-29 08:16:51,327 2976 [INFO ] -
2019-05-29 08:16:51,358 2976 [INFO ] - Font 'Section 9 Regular.ttf' removed successfully
2019-05-29 08:16:51,374 2976 [INFO ] -
2019-05-29 08:16:51,374 2976 [INFO ] -
2019-05-29 08:16:51,420 2976 [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\section-9-regular-font\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-05-29 08:16:51,467 2976 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2019-05-29 08:16:51,530 2976 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-05-29 08:16:51,577 2976 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-05-29 08:16:51,608 2976 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\section-9-regular-font".
2019-05-29 08:16:51,687 2976 [DEBUG] - [NuGet] Removed file 'ChocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools'.
2019-05-29 08:16:51,702 2976 [DEBUG] - [NuGet] Removed file 'ChocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools'.
2019-05-29 08:16:51,717 2976 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools'.
2019-05-29 08:16:51,717 2976 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools'.
2019-05-29 08:16:51,733 2976 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font\tools'.
2019-05-29 08:16:51,733 2976 [DEBUG] - [NuGet] Removed file 'section-9-regular-font.nuspec' to folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font'.
2019-05-29 08:16:51,749 2976 [DEBUG] - [NuGet] Removed file 'section-9-regular-font.nupkg' to folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font'.
2019-05-29 08:16:51,749 2976 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\section-9-regular-font'.
2019-05-29 08:16:51,764 2976 [INFO ] - [NuGet] Successfully uninstalled 'section-9-regular-font 1.0'.
2019-05-29 08:16:51,780 2976 [INFO ] - section-9-regular-font has been successfully uninstalled.
2019-05-29 08:16:51,796 2976 [DEBUG] - Removing nupkg if it still exists.
2019-05-29 08:16:51,811 2976 [DEBUG] - Ensuring removal of installation files.
2019-05-29 08:16:51,811 2976 [DEBUG] - Ensuring removal of package cache files.
2019-05-29 08:16:51,889 2976 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-05-29 08:16:51,889 2976 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-05-29 08:16:51,937 2976 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.