Skip to content

Instantly share code, notes, and snippets.

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

minimus-regular-font v1.0 - Passed - Package Test Results

  • https://chocolatey.org/packages/minimus-regular-font/1.0
  • Tested 07 Sep 2019 02:25:56 +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\minimus-regular-font\minimus-regular-font.nupkg" checksum="9A63DE3932C91C19B1AA6FF562C0EDB0" />
<file path="C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nuspec" checksum="20D1A45DB7566F588B563E1333E9B5EF" />
<file path="C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1" checksum="1133E3F855ECF2F4AED2DE0C743E7F1F" />
<file path="C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1" checksum="9769C8B6D2FB9DE42E3991EA1D6264A4" />
<file path="C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\LICENSE.txt" checksum="F8A8F192525D26391527F8768A61E22C" />
<file path="C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\VERIFICATION.txt" checksum="68046B905C442F5F02D8F6B5A61BB34C" />
</files>
</fileSnapshot>
2019-09-07 02:24:31,819 1276 [DEBUG] - XmlConfiguration is now operational
2019-09-07 02:24:32,053 1276 [INFO ] - ============================================================
2019-09-07 02:24:32,866 1276 [INFO ] - Chocolatey v0.10.15
2019-09-07 02:24:32,898 1276 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-09-07 02:24:32,912 1276 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-09-07 02:24:32,928 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-09-07 02:24:32,944 1276 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install minimus-regular-font --version 1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-09-07 02:24:32,959 1276 [DEBUG] - Received arguments: install minimus-regular-font --version 1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-09-07 02:24:33,131 1276 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-09-07 02:24:33,162 1276 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-09-07 02:24:33,194 1276 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-09-07 02:24:33,381 1276 [DEBUG] - Performing validation checks.
2019-09-07 02:24:33,412 1276 [DEBUG] - Global Configuration Validation Checks:
2019-09-07 02:24:33,412 1276 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-09-07 02:24:33,428 1276 [DEBUG] - System State Validation Checks:
2019-09-07 02:24:33,444 1276 [DEBUG] - Reboot Requirement Checks:
2019-09-07 02:24:33,459 1276 [DEBUG] - - Pending Computer Rename = Checked
2019-09-07 02:24:33,475 1276 [DEBUG] - - Pending Component Based Servicing = Checked
2019-09-07 02:24:33,475 1276 [DEBUG] - - Pending Windows Auto Update = Checked
2019-09-07 02:24:33,475 1276 [DEBUG] - - Pending File Rename Operations = Checked
2019-09-07 02:24:33,491 1276 [DEBUG] - - Pending Windows Package Installer = Checked
2019-09-07 02:24:33,491 1276 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-09-07 02:24:33,506 1276 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-09-07 02:24:33,522 1276 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-09-07 02:24:33,537 1276 [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-09-07 02:24:33,601 1276 [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='minimus-regular-font'|
Version='1.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='minimus-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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='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'|
2019-09-07 02:24:33,616 1276 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-09-07 02:24:33,631 1276 [INFO ] - Installing the following packages:
2019-09-07 02:24:33,647 1276 [INFO ] - minimus-regular-font
2019-09-07 02:24:33,647 1276 [INFO ] - By installing you accept licenses for the packages.
2019-09-07 02:24:33,678 1276 [DEBUG] - Current environment values (may contain sensitive data):
2019-09-07 02:24:33,678 1276 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 02:24:33,694 1276 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 02:24:33,694 1276 [DEBUG] - * 'ChocolateyLastPathUpdate'='132122331229372693' ('User')
2019-09-07 02:24:33,694 1276 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-09-07 02:24:33,694 1276 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-09-07 02:24:33,709 1276 [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-09-07 02:24:33,709 1276 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-09-07 02:24:33,709 1276 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 02:24:33,709 1276 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-09-07 02:24:33,725 1276 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-09-07 02:24:33,725 1276 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-09-07 02:24:33,725 1276 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 02:24:33,725 1276 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-09-07 02:24:33,741 1276 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-09-07 02:24:33,741 1276 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-09-07 02:24:33,741 1276 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-09-07 02:24:33,741 1276 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-09-07 02:24:33,756 1276 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-09-07 02:24:33,756 1276 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-09-07 02:24:33,756 1276 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-09-07 02:24:40,272 1276 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-font-helpers.extension (= 0.0.1)'.
2019-09-07 02:24:45,178 1276 [INFO ] - [NuGet] Installing 'chocolatey-font-helpers.extension 0.0.1'.
2019-09-07 02:24:45,194 1276 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.psm1' to folder 'chocolatey-font-helpers.extension\extensions'.
2019-09-07 02:24:45,225 1276 [DEBUG] - [NuGet] Added file 'Install-ChocolateyFont.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2019-09-07 02:24:45,225 1276 [DEBUG] - [NuGet] Added file 'Add-Font.ps1' to folder 'chocolatey-font-helpers.extension\extensions\MS'.
2019-09-07 02:24:45,225 1276 [DEBUG] - [NuGet] Added file 'Remove-Font.ps1' to folder 'chocolatey-font-helpers.extension\extensions\MS'.
2019-09-07 02:24:45,241 1276 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyFont.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2019-09-07 02:24:45,256 1276 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.extension.nupkg' to folder 'chocolatey-font-helpers.extension'.
2019-09-07 02:24:45,631 1276 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.extension.nuspec' to folder 'chocolatey-font-helpers.extension'.
2019-09-07 02:24:45,647 1276 [INFO ] - [NuGet] Successfully installed 'chocolatey-font-helpers.extension 0.0.1'.
2019-09-07 02:24:45,647 1276 [INFO ] -
chocolatey-font-helpers.extension v0.0.1 (forced) [Approved]
2019-09-07 02:24:45,709 1276 [INFO ] - chocolatey-font-helpers.extension package files install completed. Performing other installation steps.
2019-09-07 02:24:46,116 1276 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension'
2019-09-07 02:24:46,131 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\chocolatey-font-helpers.extension.nupkg'
with checksum 'E1E760DC470FFDB43A2F438EC1A7B53D'
2019-09-07 02:24:46,131 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\chocolatey-font-helpers.extension.nuspec'
with checksum '648DBBBF14154DA178232384CBF3E8E7'
2019-09-07 02:24:46,131 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\chocolatey-font-helpers.psm1'
with checksum '09C0F054C5F6128157A1357EE42CDD6C'
2019-09-07 02:24:46,147 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Install-ChocolateyFont.ps1'
with checksum '969575FAB571D92AF227118AA98686B8'
2019-09-07 02:24:46,147 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Uninstall-ChocolateyFont.ps1'
with checksum '2E33AD58B218B8C65FAB70018A159102'
2019-09-07 02:24:46,147 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\MS\Add-Font.ps1'
with checksum '35EC7DC52B9BE6B97A523B65FA61BDE9'
2019-09-07 02:24:46,147 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\MS\Remove-Font.ps1'
with checksum '9A72A80415A2939ADE8D6E458FC8D658'
2019-09-07 02:24:46,178 1276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions".
2019-09-07 02:24:46,241 1276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers".
2019-09-07 02:24:46,256 1276 [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-09-07 02:24:46,256 1276 [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-09-07 02:24:46,256 1276 [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-09-07 02:24:46,272 1276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\MS".
2019-09-07 02:24:46,287 1276 [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-09-07 02:24:46,287 1276 [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-09-07 02:24:47,804 1276 [WARN ] - Installed/updated chocolatey-font-helpers extensions.
2019-09-07 02:24:48,334 1276 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-09-07 02:24:48,444 1276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1".
2019-09-07 02:24:48,492 1276 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.files'
2019-09-07 02:24:48,506 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.extra".
2019-09-07 02:24:48,506 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.version".
2019-09-07 02:24:48,506 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.sxs".
2019-09-07 02:24:48,506 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.1\.pin".
2019-09-07 02:24:48,522 1276 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-09-07 02:24:48,537 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\.chocolateyPending".
2019-09-07 02:24:48,553 1276 [INFO ] - The install of chocolatey-font-helpers.extension was successful.
2019-09-07 02:24:48,553 1276 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers'
2019-09-07 02:24:48,569 1276 [INFO ] - [NuGet] Installing 'minimus-regular-font 1.0'.
2019-09-07 02:24:48,647 1276 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'minimus-regular-font\tools'.
2019-09-07 02:24:48,662 1276 [DEBUG] - [NuGet] Added file 'ChocolateyUninstall.ps1' to folder 'minimus-regular-font\tools'.
2019-09-07 02:24:48,662 1276 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'minimus-regular-font\tools'.
2019-09-07 02:24:48,662 1276 [DEBUG] - [NuGet] Added file 'Minimus Regular.ttf' to folder 'minimus-regular-font\tools'.
2019-09-07 02:24:48,694 1276 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'minimus-regular-font\tools'.
2019-09-07 02:24:48,694 1276 [DEBUG] - [NuGet] Added file 'minimus-regular-font.nupkg' to folder 'minimus-regular-font'.
2019-09-07 02:24:49,022 1276 [DEBUG] - [NuGet] Added file 'minimus-regular-font.nuspec' to folder 'minimus-regular-font'.
2019-09-07 02:24:49,022 1276 [INFO ] - [NuGet] Successfully installed 'minimus-regular-font 1.0'.
2019-09-07 02:24:49,037 1276 [INFO ] -
minimus-regular-font v1.0 (forced) [Approved]
2019-09-07 02:24:49,131 1276 [INFO ] - minimus-regular-font package files install completed. Performing other installation steps.
2019-09-07 02:24:49,194 1276 [DEBUG] - Setting installer args for minimus-regular-font
2019-09-07 02:24:49,194 1276 [DEBUG] - Setting package parameters for minimus-regular-font
2019-09-07 02:24:49,194 1276 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1':
2019-09-07 02:24:49,210 1276 [DEBUG] - $packageName = 'minimus-regular-font'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
#SHA256 checksum = '38C2564807E7BF8038BDDD3ED825FFABB0FD6D64042F60A5E94D2C0EFFEB9BB9'
Install-ChocolateyFont "$toolsDir\Minimus Regular.ttf"
Remove-Item "$toolsDir\Minimus Regular.ttf"
2019-09-07 02:24:49,991 1276 [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\minimus-regular-font\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-09-07 02:24:50,006 1276 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-09-07 02:24:53,632 1276 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-09-07 02:24:55,522 1276 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 02:24:55,522 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 02:24:55,537 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 02:24:55,537 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 02:24:55,537 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 02:24:55,537 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 02:24:55,553 1276 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 02:24:55,553 1276 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 02:24:55,553 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 02:24:55,569 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 02:24:55,569 1276 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 02:24:55,569 1276 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 02:24:55,569 1276 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 02:24:55,585 1276 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 02:24:55,585 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 02:24:55,585 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 02:24:55,600 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 02:24:55,600 1276 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 02:24:55,600 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 02:24:55,600 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 02:24:55,616 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 02:24:55,616 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 02:24:55,616 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 02:24:55,631 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 02:24:55,631 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 02:24:55,631 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 02:24:55,647 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 02:24:55,647 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 02:24:55,647 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 02:24:55,662 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 02:24:55,662 1276 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 02:24:55,662 1276 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 02:24:55,678 1276 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 02:24:55,678 1276 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 02:24:55,678 1276 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 02:24:55,678 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 02:24:55,694 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 02:24:55,694 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 02:24:55,694 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 02:24:55,709 1276 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 02:24:55,709 1276 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 02:24:55,709 1276 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 02:24:55,709 1276 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 02:24:55,725 1276 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 02:24:55,725 1276 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 02:24:55,725 1276 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 02:24:55,741 1276 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 02:24:55,741 1276 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 02:24:55,741 1276 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 02:24:55,741 1276 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 02:24:55,756 1276 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 02:24:55,756 1276 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 02:24:55,756 1276 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 02:24:55,803 1276 [DEBUG] - Loading community extensions
2019-09-07 02:24:55,834 1276 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'
2019-09-07 02:24:55,834 1276 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'.
2019-09-07 02:24:55,867 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-09-07 02:24:55,867 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-09-07 02:24:55,881 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-09-07 02:24:55,881 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-09-07 02:24:55,881 1276 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 02:24:55,897 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 02:24:55,897 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 02:24:55,897 1276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 02:24:55,897 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 02:24:55,912 1276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 02:24:55,912 1276 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 02:24:55,912 1276 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 02:24:55,912 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 02:24:55,928 1276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 02:24:55,928 1276 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 02:24:55,928 1276 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 02:24:55,944 1276 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 02:24:55,944 1276 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 02:24:55,944 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 02:24:55,944 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 02:24:55,959 1276 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 02:24:55,959 1276 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 02:24:55,959 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 02:24:55,975 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 02:24:55,975 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 02:24:55,991 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 02:24:55,991 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 02:24:55,991 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 02:24:56,006 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 02:24:56,006 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 02:24:56,006 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 02:24:56,022 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 02:24:56,022 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 02:24:56,022 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 02:24:56,038 1276 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 02:24:56,038 1276 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 02:24:56,038 1276 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 02:24:56,053 1276 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 02:24:56,053 1276 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 02:24:56,053 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 02:24:56,069 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 02:24:56,069 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 02:24:56,069 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 02:24:56,084 1276 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 02:24:56,084 1276 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 02:24:56,084 1276 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 02:24:56,100 1276 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 02:24:56,100 1276 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 02:24:56,100 1276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-09-07 02:24:56,116 1276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-09-07 02:24:56,116 1276 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 02:24:56,116 1276 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 02:24:56,116 1276 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 02:24:56,131 1276 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 02:24:56,131 1276 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 02:24:56,131 1276 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 02:24:56,147 1276 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 02:24:56,147 1276 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 02:24:56,147 1276 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 02:24:56,147 1276 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-09-07 02:24:56,162 1276 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-09-07 02:24:56,162 1276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-09-07 02:24:56,162 1276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-09-07 02:24:56,178 1276 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-09-07 02:24:56,178 1276 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-09-07 02:24:56,178 1276 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-09-07 02:24:56,194 1276 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-09-07 02:24:56,194 1276 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-09-07 02:24:56,194 1276 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-09-07 02:24:56,209 1276 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-09-07 02:24:56,209 1276 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-09-07 02:24:56,209 1276 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-09-07 02:24:56,209 1276 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-09-07 02:24:56,225 1276 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-09-07 02:24:56,225 1276 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-09-07 02:24:56,225 1276 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-09-07 02:24:56,241 1276 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-09-07 02:24:56,241 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-09-07 02:24:56,241 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 02:24:56,256 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 02:24:56,256 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-09-07 02:24:56,272 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-09-07 02:24:56,272 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-09-07 02:24:56,272 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-09-07 02:24:56,272 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-09-07 02:24:56,287 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 02:24:56,287 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-09-07 02:24:56,287 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-09-07 02:24:56,287 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-09-07 02:24:56,303 1276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-09-07 02:24:56,303 1276 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-09-07 02:24:56,303 1276 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-09-07 02:24:56,319 1276 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-09-07 02:24:56,319 1276 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 02:24:56,319 1276 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-09-07 02:24:56,334 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-09-07 02:24:56,334 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 02:24:56,350 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-09-07 02:24:56,350 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-09-07 02:24:56,350 1276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 02:24:56,366 1276 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-09-07 02:24:56,366 1276 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-09-07 02:24:56,397 1276 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-09-07 02:24:56,412 1276 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-09-07 02:24:56,412 1276 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-09-07 02:24:56,412 1276 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-09-07 02:24:56,428 1276 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-09-07 02:24:56,428 1276 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-09-07 02:24:56,428 1276 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-09-07 02:24:56,428 1276 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-09-07 02:24:56,444 1276 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-09-07 02:24:56,444 1276 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-09-07 02:24:56,444 1276 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-09-07 02:24:56,459 1276 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-09-07 02:24:56,631 1276 [DEBUG] - ---------------------------Script Execution---------------------------
2019-09-07 02:24:56,647 1276 [DEBUG] - Running 'ChocolateyScriptRunner' for minimus-regular-font v1.0 with packageScript 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\minimus-regular-font', installArguments: '', packageParameters: '',
2019-09-07 02:24:56,694 1276 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1'
2019-09-07 02:24:57,272 1276 [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-09-07 02:25:01,584 1276 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\Minimus Regular.ttf' installed successfully
2019-09-07 02:25:01,600 1276 [INFO ] -
2019-09-07 02:25:01,600 1276 [INFO ] -
2019-09-07 02:25:01,694 1276 [DEBUG] - ----------------------------------------------------------------------
2019-09-07 02:25:01,709 1276 [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\minimus-regular-font\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-09-07 02:25:01,725 1276 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-09-07 02:25:01,850 1276 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-09-07 02:25:01,944 1276 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\minimus-regular-font'
2019-09-07 02:25:01,944 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nupkg'
with checksum '9A63DE3932C91C19B1AA6FF562C0EDB0'
2019-09-07 02:25:01,959 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nuspec'
with checksum '20D1A45DB7566F588B563E1333E9B5EF'
2019-09-07 02:25:01,959 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1'
with checksum '1133E3F855ECF2F4AED2DE0C743E7F1F'
2019-09-07 02:25:01,959 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1'
with checksum '9769C8B6D2FB9DE42E3991EA1D6264A4'
2019-09-07 02:25:01,959 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\LICENSE.txt'
with checksum 'F8A8F192525D26391527F8768A61E22C'
2019-09-07 02:25:01,975 1276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\VERIFICATION.txt'
with checksum '68046B905C442F5F02D8F6B5A61BB34C'
2019-09-07 02:25:01,975 1276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\minimus-regular-font.1.0".
2019-09-07 02:25:01,991 1276 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\minimus-regular-font.1.0\.files'
2019-09-07 02:25:02,006 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\minimus-regular-font.1.0\.extra".
2019-09-07 02:25:02,006 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\minimus-regular-font.1.0\.version".
2019-09-07 02:25:02,006 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\minimus-regular-font.1.0\.sxs".
2019-09-07 02:25:02,022 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\minimus-regular-font.1.0\.pin".
2019-09-07 02:25:02,022 1276 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-09-07 02:25:02,022 1276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\minimus-regular-font\.chocolateyPending".
2019-09-07 02:25:02,037 1276 [INFO ] - The install of minimus-regular-font was successful.
2019-09-07 02:25:02,037 1276 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-09-07 02:25:02,053 1276 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\minimus-regular-font.1.0.nupkg".
2019-09-07 02:25:02,334 1276 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-09-07 02:25:02,334 1276 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-09-07 02:25:02,397 1276 [DEBUG] - Exiting with 0
2019-09-07 02:25:42,194 2836 [DEBUG] - XmlConfiguration is now operational
2019-09-07 02:25:42,412 2836 [INFO ] - ============================================================
2019-09-07 02:25:43,241 2836 [INFO ] - Chocolatey v0.10.15
2019-09-07 02:25:43,288 2836 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-09-07 02:25:43,288 2836 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-09-07 02:25:43,303 2836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-09-07 02:25:43,334 2836 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall minimus-regular-font --version 1.0 -dvy --execution-timeout=2700
2019-09-07 02:25:43,334 2836 [DEBUG] - Received arguments: uninstall minimus-regular-font --version 1.0 -dvy --execution-timeout=2700
2019-09-07 02:25:43,522 2836 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-09-07 02:25:43,537 2836 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-09-07 02:25:43,569 2836 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-09-07 02:25:43,756 2836 [DEBUG] - Performing validation checks.
2019-09-07 02:25:43,788 2836 [DEBUG] - Global Configuration Validation Checks:
2019-09-07 02:25:43,788 2836 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-09-07 02:25:43,803 2836 [DEBUG] - System State Validation Checks:
2019-09-07 02:25:43,803 2836 [DEBUG] - Reboot Requirement Checks:
2019-09-07 02:25:43,819 2836 [DEBUG] - - Pending Computer Rename = Checked
2019-09-07 02:25:43,834 2836 [DEBUG] - - Pending Component Based Servicing = Checked
2019-09-07 02:25:43,834 2836 [DEBUG] - - Pending Windows Auto Update = Checked
2019-09-07 02:25:43,851 2836 [DEBUG] - - Pending File Rename Operations = Checked
2019-09-07 02:25:43,851 2836 [DEBUG] - - Pending Windows Package Installer = Checked
2019-09-07 02:25:43,851 2836 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-09-07 02:25:43,881 2836 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-09-07 02:25:43,897 2836 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-09-07 02:25:43,897 2836 [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-09-07 02:25:43,975 2836 [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='minimus-regular-font'|
Version='1.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='minimus-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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='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'|
2019-09-07 02:25:43,975 2836 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2019-09-07 02:25:43,991 2836 [INFO ] - Uninstalling the following packages:
2019-09-07 02:25:44,006 2836 [INFO ] - minimus-regular-font
2019-09-07 02:25:44,023 2836 [DEBUG] - Current environment values (may contain sensitive data):
2019-09-07 02:25:44,023 2836 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 02:25:44,037 2836 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 02:25:44,037 2836 [DEBUG] - * 'ChocolateyLastPathUpdate'='132122331229372693' ('User')
2019-09-07 02:25:44,037 2836 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-09-07 02:25:44,037 2836 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-09-07 02:25:44,053 2836 [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-09-07 02:25:44,053 2836 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-09-07 02:25:44,053 2836 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 02:25:44,053 2836 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-09-07 02:25:44,069 2836 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-09-07 02:25:44,069 2836 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-09-07 02:25:44,069 2836 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 02:25:44,069 2836 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-09-07 02:25:44,069 2836 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-09-07 02:25:44,084 2836 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-09-07 02:25:44,084 2836 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-09-07 02:25:44,084 2836 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-09-07 02:25:44,084 2836 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-09-07 02:25:44,100 2836 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-09-07 02:25:44,100 2836 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-09-07 02:25:44,350 2836 [DEBUG] - Running list with the following filter = ''
2019-09-07 02:25:44,366 2836 [DEBUG] - --- Start of List ---
2019-09-07 02:25:44,912 2836 [DEBUG] - minimus-regular-font 1.0
2019-09-07 02:25:44,929 2836 [DEBUG] - --- End of List ---
2019-09-07 02:25:45,242 2836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2019-09-07 02:25:45,256 2836 [DEBUG] - Backing up existing minimus-regular-font prior to operation.
2019-09-07 02:25:45,272 2836 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\minimus-regular-font'
to 'C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font'
2019-09-07 02:25:47,289 2836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\minimus-regular-font".
2019-09-07 02:25:47,303 2836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font\minimus-regular-font.nupkg"
to "C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nupkg".
2019-09-07 02:25:47,303 2836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font\minimus-regular-font.nuspec"
to "C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nuspec".
2019-09-07 02:25:47,303 2836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\minimus-regular-font\tools".
2019-09-07 02:25:47,319 2836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font\tools\ChocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1".
2019-09-07 02:25:47,319 2836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font\tools\ChocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1".
2019-09-07 02:25:47,319 2836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\LICENSE.txt".
2019-09-07 02:25:47,334 2836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\VERIFICATION.txt".
2019-09-07 02:25:48,866 2836 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\minimus-regular-font'
2019-09-07 02:25:48,881 2836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nupkg'
with checksum '9A63DE3932C91C19B1AA6FF562C0EDB0'
2019-09-07 02:25:48,881 2836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\minimus-regular-font.nuspec'
with checksum '20D1A45DB7566F588B563E1333E9B5EF'
2019-09-07 02:25:48,898 2836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyInstall.ps1'
with checksum '1133E3F855ECF2F4AED2DE0C743E7F1F'
2019-09-07 02:25:48,898 2836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1'
with checksum '9769C8B6D2FB9DE42E3991EA1D6264A4'
2019-09-07 02:25:48,898 2836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\LICENSE.txt'
with checksum 'F8A8F192525D26391527F8768A61E22C'
2019-09-07 02:25:48,898 2836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\VERIFICATION.txt'
with checksum '68046B905C442F5F02D8F6B5A61BB34C'
2019-09-07 02:25:49,272 2836 [INFO ] - [NuGet] Uninstalling 'minimus-regular-font 1.0'.
2019-09-07 02:25:49,287 2836 [INFO ] -
minimus-regular-font v1.0
2019-09-07 02:25:49,366 2836 [DEBUG] - Setting installer args for minimus-regular-font
2019-09-07 02:25:49,381 2836 [DEBUG] - Setting package parameters for minimus-regular-font
2019-09-07 02:25:49,381 2836 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1':
2019-09-07 02:25:49,381 2836 [DEBUG] - $packageName = 'minimus-regular-font'
Uninstall-ChocolateyFont "Minimus Regular.ttf"
2019-09-07 02:25:49,459 2836 [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\minimus-regular-font\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2019-09-07 02:25:49,459 2836 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-09-07 02:25:50,148 2836 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-09-07 02:25:50,725 2836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 02:25:50,725 2836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 02:25:50,741 2836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 02:25:50,741 2836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 02:25:50,741 2836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 02:25:50,756 2836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 02:25:50,756 2836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 02:25:50,756 2836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 02:25:50,756 2836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 02:25:50,772 2836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 02:25:50,772 2836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 02:25:50,772 2836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 02:25:50,787 2836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 02:25:50,787 2836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 02:25:50,787 2836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 02:25:50,787 2836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 02:25:50,804 2836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 02:25:50,804 2836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 02:25:50,804 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 02:25:50,819 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 02:25:50,819 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 02:25:50,819 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 02:25:50,819 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 02:25:50,834 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 02:25:50,834 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 02:25:50,834 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 02:25:50,850 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 02:25:50,850 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 02:25:50,850 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 02:25:50,866 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 02:25:50,866 2836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 02:25:50,866 2836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 02:25:50,866 2836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 02:25:50,881 2836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 02:25:50,881 2836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 02:25:50,881 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 02:25:50,897 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 02:25:50,897 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 02:25:50,897 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 02:25:50,897 2836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 02:25:50,912 2836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 02:25:50,912 2836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 02:25:50,912 2836 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 02:25:50,928 2836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 02:25:50,928 2836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 02:25:50,928 2836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 02:25:50,928 2836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 02:25:50,944 2836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 02:25:50,944 2836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 02:25:50,944 2836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 02:25:50,959 2836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 02:25:50,959 2836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 02:25:50,959 2836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 02:25:50,991 2836 [DEBUG] - Loading community extensions
2019-09-07 02:25:51,022 2836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'
2019-09-07 02:25:51,022 2836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\chocolatey-font-helpers.psm1'.
2019-09-07 02:25:51,053 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-09-07 02:25:51,069 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-09-07 02:25:51,069 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-09-07 02:25:51,069 2836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-09-07 02:25:51,084 2836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 02:25:51,084 2836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 02:25:51,084 2836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 02:25:51,100 2836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 02:25:51,100 2836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 02:25:51,100 2836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 02:25:51,100 2836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 02:25:51,116 2836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 02:25:51,116 2836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 02:25:51,116 2836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 02:25:51,116 2836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 02:25:51,131 2836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 02:25:51,131 2836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 02:25:51,131 2836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 02:25:51,147 2836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 02:25:51,147 2836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 02:25:51,147 2836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 02:25:51,147 2836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 02:25:51,162 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 02:25:51,162 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 02:25:51,162 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 02:25:51,162 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 02:25:51,178 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 02:25:51,178 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 02:25:51,178 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 02:25:51,178 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 02:25:51,194 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 02:25:51,194 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 02:25:51,194 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 02:25:51,209 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 02:25:51,209 2836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 02:25:51,209 2836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 02:25:51,209 2836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 02:25:51,225 2836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 02:25:51,225 2836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 02:25:51,225 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 02:25:51,241 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 02:25:51,241 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 02:25:51,241 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 02:25:51,256 2836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 02:25:51,256 2836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 02:25:51,256 2836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 02:25:51,256 2836 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 02:25:51,272 2836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 02:25:51,272 2836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2019-09-07 02:25:51,272 2836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2019-09-07 02:25:51,287 2836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 02:25:51,287 2836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 02:25:51,287 2836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 02:25:51,303 2836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 02:25:51,303 2836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 02:25:51,303 2836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 02:25:51,319 2836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 02:25:51,319 2836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 02:25:51,319 2836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 02:25:51,319 2836 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-09-07 02:25:51,334 2836 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-09-07 02:25:51,334 2836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-09-07 02:25:51,334 2836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-09-07 02:25:51,350 2836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-09-07 02:25:51,350 2836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-09-07 02:25:51,350 2836 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-09-07 02:25:51,350 2836 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-09-07 02:25:51,366 2836 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-09-07 02:25:51,366 2836 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-09-07 02:25:51,366 2836 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-09-07 02:25:51,381 2836 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-09-07 02:25:51,381 2836 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-09-07 02:25:51,381 2836 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-09-07 02:25:51,381 2836 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-09-07 02:25:51,397 2836 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-09-07 02:25:51,397 2836 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-09-07 02:25:51,397 2836 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-09-07 02:25:51,397 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-09-07 02:25:51,412 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 02:25:51,412 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 02:25:51,412 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-09-07 02:25:51,428 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2019-09-07 02:25:51,428 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-09-07 02:25:51,428 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-09-07 02:25:51,428 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-09-07 02:25:51,444 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 02:25:51,444 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-09-07 02:25:51,444 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-09-07 02:25:51,444 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-09-07 02:25:51,459 2836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-09-07 02:25:51,459 2836 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-09-07 02:25:51,459 2836 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-09-07 02:25:51,475 2836 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-09-07 02:25:51,475 2836 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 02:25:51,475 2836 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-09-07 02:25:51,491 2836 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-09-07 02:25:51,491 2836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 02:25:51,491 2836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2019-09-07 02:25:51,506 2836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-09-07 02:25:51,506 2836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 02:25:51,506 2836 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-09-07 02:25:51,506 2836 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-09-07 02:25:51,522 2836 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-09-07 02:25:51,522 2836 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-09-07 02:25:51,522 2836 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-09-07 02:25:51,537 2836 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-09-07 02:25:51,537 2836 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-09-07 02:25:51,537 2836 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-09-07 02:25:51,553 2836 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-09-07 02:25:51,553 2836 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-09-07 02:25:51,553 2836 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-09-07 02:25:51,569 2836 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-09-07 02:25:51,569 2836 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-09-07 02:25:51,584 2836 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-09-07 02:25:51,694 2836 [DEBUG] - ---------------------------Script Execution---------------------------
2019-09-07 02:25:51,709 2836 [DEBUG] - Running 'ChocolateyScriptRunner' for minimus-regular-font v1.0 with packageScript 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\minimus-regular-font', installArguments: '', packageParameters: '',
2019-09-07 02:25:51,756 2836 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools\ChocolateyUninstall.ps1'
2019-09-07 02:25:51,897 2836 [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-09-07 02:25:54,819 2836 [INFO ] - Font: Minimus (TrueType)
2019-09-07 02:25:54,834 2836 [INFO ] -
2019-09-07 02:25:54,991 2836 [INFO ] - Font 'Minimus Regular.ttf' removed successfully
2019-09-07 02:25:54,991 2836 [INFO ] -
2019-09-07 02:25:54,991 2836 [INFO ] -
2019-09-07 02:25:55,054 2836 [DEBUG] - ----------------------------------------------------------------------
2019-09-07 02:25:55,069 2836 [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\minimus-regular-font\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-09-07 02:25:55,116 2836 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2019-09-07 02:25:55,131 2836 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-09-07 02:25:55,178 2836 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-09-07 02:25:55,209 2836 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\minimus-regular-font".
2019-09-07 02:25:55,288 2836 [DEBUG] - [NuGet] Removed file 'ChocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools'.
2019-09-07 02:25:55,303 2836 [DEBUG] - [NuGet] Removed file 'ChocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools'.
2019-09-07 02:25:55,319 2836 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools'.
2019-09-07 02:25:55,319 2836 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools'.
2019-09-07 02:25:55,334 2836 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font\tools'.
2019-09-07 02:25:55,334 2836 [DEBUG] - [NuGet] Removed file 'minimus-regular-font.nuspec' to folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font'.
2019-09-07 02:25:55,334 2836 [DEBUG] - [NuGet] Removed file 'minimus-regular-font.nupkg' to folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font'.
2019-09-07 02:25:55,350 2836 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\minimus-regular-font'.
2019-09-07 02:25:55,350 2836 [INFO ] - [NuGet] Successfully uninstalled 'minimus-regular-font 1.0'.
2019-09-07 02:25:55,366 2836 [INFO ] - minimus-regular-font has been successfully uninstalled.
2019-09-07 02:25:55,381 2836 [DEBUG] - Removing nupkg if it still exists.
2019-09-07 02:25:55,397 2836 [DEBUG] - Ensuring removal of installation files.
2019-09-07 02:25:55,397 2836 [DEBUG] - Ensuring removal of package cache files.
2019-09-07 02:25:55,475 2836 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-09-07 02:25:55,491 2836 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-09-07 02:25:55,537 2836 [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.