Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
crosextrafonts-carlito-font v2013.09.20 - Passed - Package Tests Results

crosextrafonts-carlito-font v2013.09.20 - Passed - Package Test Results

<?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\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nupkg" checksum="75626AFE8C17068DCA2FE4D775AF74A9" />
<file path="C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nuspec" checksum="E2DEE1AB03B3C8828D2ABA82FC689942" />
<file path="C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\.SkipAutoUninstaller" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1" checksum="5AA91F5C6FAA90EE0CBC50D583FB7E81" />
<file path="C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1" checksum="02FBA7FF9B6484CA4094FA0AE9C6CF59" />
<file path="C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\LICENSE" checksum="0B70F857701D1F20EED43A474E583FFC" />
<file path="C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\VERIFICATION.txt" checksum="40F408ABBD534907FE8F3F03C5165499" />
</files>
</fileSnapshot>
2020-07-04 02:14:32,614 2528 [DEBUG] - XmlConfiguration is now operational
2020-07-04 02:14:32,770 2528 [INFO ] - ============================================================
2020-07-04 02:14:33,489 2528 [INFO ] - Chocolatey v0.10.15
2020-07-04 02:14:34,114 2528 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-04 02:14:34,161 2528 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-04 02:14:34,161 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-04 02:14:34,193 2528 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install crosextrafonts-carlito-font --version 2013.09.20 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-04 02:14:34,193 2528 [DEBUG] - Received arguments: install crosextrafonts-carlito-font --version 2013.09.20 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-04 02:14:34,318 2528 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-04 02:14:34,348 2528 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-04 02:14:34,364 2528 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-04 02:14:34,520 2528 [DEBUG] - Performing validation checks.
2020-07-04 02:14:34,553 2528 [DEBUG] - Global Configuration Validation Checks:
2020-07-04 02:14:34,553 2528 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-04 02:14:34,553 2528 [DEBUG] - System State Validation Checks:
2020-07-04 02:14:34,567 2528 [DEBUG] - Reboot Requirement Checks:
2020-07-04 02:14:34,583 2528 [DEBUG] - - Pending Computer Rename = Checked
2020-07-04 02:14:34,583 2528 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-04 02:14:34,583 2528 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-04 02:14:34,598 2528 [DEBUG] - - Pending File Rename Operations = Ignored
2020-07-04 02:14:34,598 2528 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-04 02:14:34,598 2528 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-04 02:14:34,615 2528 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-04 02:14:34,630 2528 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-04 02:14:34,630 2528 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2020-07-04 02:14:34,677 2528 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|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='crosextrafonts-carlito-font'|
Version='2013.09.20'|AllVersions='False'|
SkipPackageInstallProvider='False'|
PackageNames='crosextrafonts-carlito-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'|
2020-07-04 02:14:34,693 2528 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-07-04 02:14:34,709 2528 [INFO ] - Installing the following packages:
2020-07-04 02:14:34,709 2528 [INFO ] - crosextrafonts-carlito-font
2020-07-04 02:14:34,709 2528 [INFO ] - By installing you accept licenses for the packages.
2020-07-04 02:14:34,723 2528 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-04 02:14:34,723 2528 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:14:34,740 2528 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:14:34,740 2528 [DEBUG] - * 'ChocolateyLastPathUpdate'='132383023132424130' ('User')
2020-07-04 02:14:34,740 2528 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-04 02:14:34,755 2528 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-04 02:14:34,755 2528 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-07-04 02:14:34,755 2528 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-04 02:14:34,755 2528 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:14:34,787 2528 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-04 02:14:34,802 2528 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-04 02:14:34,802 2528 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-04 02:14:34,802 2528 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:14:34,802 2528 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-04 02:14:34,817 2528 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-04 02:14:34,817 2528 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-04 02:14:34,817 2528 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-04 02:14:34,817 2528 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-04 02:14:34,834 2528 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-04 02:14:34,834 2528 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-04 02:14:34,834 2528 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-04 02:14:38,084 2528 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-font-helpers.extension (= 0.0.1)'.
2020-07-04 02:14:47,053 2528 [INFO ] - [NuGet] Installing 'chocolatey-font-helpers.extension 0.0.2'.
2020-07-04 02:14:48,458 2528 [DEBUG] - [NuGet] Added file 'FontHelp.psm1' to folder 'chocolatey-font-helpers.extension\extensions'.
2020-07-04 02:14:48,458 2528 [DEBUG] - [NuGet] Added file 'Install-ChocolateyFont.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2020-07-04 02:14:48,458 2528 [DEBUG] - [NuGet] Added file 'New-FontResourceType.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2020-07-04 02:14:48,474 2528 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyFont.ps1' to folder 'chocolatey-font-helpers.extension\extensions'.
2020-07-04 02:14:48,474 2528 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.extension.nupkg' to folder 'chocolatey-font-helpers.extension'.
2020-07-04 02:14:48,803 2528 [DEBUG] - [NuGet] Added file 'chocolatey-font-helpers.extension.nuspec' to folder 'chocolatey-font-helpers.extension'.
2020-07-04 02:14:48,817 2528 [INFO ] - [NuGet] Successfully installed 'chocolatey-font-helpers.extension 0.0.2'.
2020-07-04 02:14:48,817 2528 [INFO ] -
chocolatey-font-helpers.extension v0.0.2 (forced) [Approved]
2020-07-04 02:14:48,864 2528 [INFO ] - chocolatey-font-helpers.extension package files install completed. Performing other installation steps.
2020-07-04 02:14:49,192 2528 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension'
2020-07-04 02:14:49,209 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\chocolatey-font-helpers.extension.nupkg'
with checksum 'FCD992D46E9051F6A31395CD9EC2DF3D'
2020-07-04 02:14:49,209 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\chocolatey-font-helpers.extension.nuspec'
with checksum 'F3E224261617D4991F0684E27667AEEA'
2020-07-04 02:14:49,224 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\FontHelp.psm1'
with checksum '279D9FFF779793A2AA13B6359B50210A'
2020-07-04 02:14:49,224 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Install-ChocolateyFont.ps1'
with checksum '5092D92F618AC48B642C828059C10BA3'
2020-07-04 02:14:49,224 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\New-FontResourceType.ps1'
with checksum '4D094F3B5D6A78F00D0EC6F972CEB9E2'
2020-07-04 02:14:49,239 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\Uninstall-ChocolateyFont.ps1'
with checksum 'B981C5A8132500E2166FC6361D5236BF'
2020-07-04 02:14:49,255 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions".
2020-07-04 02:14:49,270 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers".
2020-07-04 02:14:49,286 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\FontHelp.psm1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1".
2020-07-04 02:14:49,286 2528 [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".
2020-07-04 02:14:49,301 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\extensions\New-FontResourceType.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\New-FontResourceType.ps1".
2020-07-04 02:14:49,301 2528 [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".
2020-07-04 02:14:50,833 2528 [WARN ] - Installed/updated chocolatey-font-helpers extensions.
2020-07-04 02:14:50,880 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.2".
2020-07-04 02:14:50,896 2528 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.2\.files'
2020-07-04 02:14:50,911 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.2\.extra".
2020-07-04 02:14:50,927 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.2\.version".
2020-07-04 02:14:50,927 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.2\.sxs".
2020-07-04 02:14:50,927 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-font-helpers.extension.0.0.2\.pin".
2020-07-04 02:14:50,943 2528 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-07-04 02:14:50,943 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-font-helpers.extension\.chocolateyPending".
2020-07-04 02:14:50,958 2528 [INFO ] - The install of chocolatey-font-helpers.extension was successful.
2020-07-04 02:14:50,958 2528 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers'
2020-07-04 02:14:50,958 2528 [INFO ] - [NuGet] Installing 'crosextrafonts-carlito-font 2013.09.20'.
2020-07-04 02:14:50,973 2528 [DEBUG] - [NuGet] Added file '.SkipAutoUninstaller' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:50,973 2528 [DEBUG] - [NuGet] Added file 'Carlito-Bold.ttf' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:50,973 2528 [DEBUG] - [NuGet] Added file 'Carlito-BoldItalic.ttf' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:50,990 2528 [DEBUG] - [NuGet] Added file 'Carlito-Italic.ttf' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:50,990 2528 [DEBUG] - [NuGet] Added file 'Carlito-Regular.ttf' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:51,005 2528 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:51,005 2528 [DEBUG] - [NuGet] Added file 'ChocolateyUninstall.ps1' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:51,005 2528 [DEBUG] - [NuGet] Added file 'LICENSE' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:51,005 2528 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'crosextrafonts-carlito-font\tools'.
2020-07-04 02:14:51,021 2528 [DEBUG] - [NuGet] Added file 'crosextrafonts-carlito-font.nupkg' to folder 'crosextrafonts-carlito-font'.
2020-07-04 02:15:05,130 2528 [DEBUG] - [NuGet] Added file 'crosextrafonts-carlito-font.nuspec' to folder 'crosextrafonts-carlito-font'.
2020-07-04 02:15:05,145 2528 [INFO ] - [NuGet] Successfully installed 'crosextrafonts-carlito-font 2013.09.20'.
2020-07-04 02:15:05,145 2528 [INFO ] -
crosextrafonts-carlito-font v2013.09.20 (forced) [Approved]
2020-07-04 02:15:05,145 2528 [INFO ] - crosextrafonts-carlito-font package files install completed. Performing other installation steps.
2020-07-04 02:15:05,177 2528 [DEBUG] - Setting installer args for crosextrafonts-carlito-font
2020-07-04 02:15:05,193 2528 [DEBUG] - Setting package parameters for crosextrafonts-carlito-font
2020-07-04 02:15:05,193 2528 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1':
2020-07-04 02:15:05,193 2528 [DEBUG] - $packageName = 'crosextrafonts-carlito-font'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Install-ChocolateyFont "Carlito-Bold.ttf"
Install-ChocolateyFont "Carlito-BoldItalic.ttf"
Install-ChocolateyFont "Carlito-Italic.ttf"
Install-ChocolateyFont "Carlito-Regular.ttf"
Remove-Item "$toolsDir\*.ttf" | Out-Null
2020-07-04 02:15:05,239 2528 [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\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-07-04 02:15:05,239 2528 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-04 02:15:08,568 2528 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-04 02:15:08,926 2528 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-04 02:15:08,926 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-04 02:15:08,942 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-04 02:15:08,942 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-04 02:15:08,942 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-04 02:15:08,958 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-04 02:15:08,958 2528 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-04 02:15:08,958 2528 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-04 02:15:08,958 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-04 02:15:08,973 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:15:08,973 2528 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-04 02:15:08,973 2528 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-04 02:15:08,973 2528 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-04 02:15:08,989 2528 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-04 02:15:08,989 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-04 02:15:08,989 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-04 02:15:08,989 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-04 02:15:09,005 2528 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-04 02:15:09,005 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:15:09,005 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:15:09,005 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:15:09,021 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:15:09,021 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:15:09,021 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-04 02:15:09,021 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-04 02:15:09,036 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:15:09,036 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:15:09,036 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-04 02:15:09,036 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:15:09,051 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-04 02:15:09,051 2528 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-04 02:15:09,051 2528 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-04 02:15:09,069 2528 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-04 02:15:09,069 2528 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:15:09,069 2528 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-04 02:15:09,069 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-04 02:15:09,082 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:15:09,082 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:15:09,082 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:15:09,082 2528 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-04 02:15:09,100 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-04 02:15:09,100 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-04 02:15:09,100 2528 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-04 02:15:09,100 2528 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-04 02:15:09,114 2528 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-04 02:15:09,114 2528 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-04 02:15:09,114 2528 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-04 02:15:09,130 2528 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-04 02:15:09,130 2528 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-04 02:15:09,130 2528 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-04 02:15:09,130 2528 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:15:09,145 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-04 02:15:09,145 2528 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-04 02:15:09,161 2528 [DEBUG] - Loading community extensions
2020-07-04 02:15:09,192 2528 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'
2020-07-04 02:15:09,192 2528 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'.
2020-07-04 02:15:09,223 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2020-07-04 02:15:09,223 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2020-07-04 02:15:09,223 2528 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2020-07-04 02:15:09,223 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2020-07-04 02:15:09,240 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2020-07-04 02:15:09,240 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2020-07-04 02:15:09,240 2528 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2020-07-04 02:15:09,255 2528 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2020-07-04 02:15:09,255 2528 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-04 02:15:09,270 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-04 02:15:09,270 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-04 02:15:09,270 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-04 02:15:09,270 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-04 02:15:09,286 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-04 02:15:09,286 2528 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-04 02:15:09,286 2528 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-04 02:15:09,286 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-04 02:15:09,301 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:15:09,301 2528 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-04 02:15:09,317 2528 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-04 02:15:09,317 2528 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-04 02:15:09,317 2528 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-04 02:15:09,332 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-04 02:15:09,332 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-04 02:15:09,332 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-04 02:15:09,332 2528 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-04 02:15:09,348 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:15:09,348 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:15:09,348 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:15:09,364 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:15:09,364 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:15:09,364 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-04 02:15:09,379 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-04 02:15:09,379 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:15:09,379 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:15:09,379 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-04 02:15:09,395 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:15:09,395 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-04 02:15:09,395 2528 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-04 02:15:09,395 2528 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-04 02:15:09,412 2528 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-04 02:15:09,412 2528 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:15:09,412 2528 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-04 02:15:09,427 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-04 02:15:09,427 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:15:09,427 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:15:09,427 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:15:09,442 2528 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-04 02:15:09,442 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-04 02:15:09,442 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-04 02:15:09,442 2528 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-04 02:15:09,457 2528 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-04 02:15:09,457 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2020-07-04 02:15:09,457 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2020-07-04 02:15:09,457 2528 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-04 02:15:09,474 2528 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-04 02:15:09,474 2528 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-04 02:15:09,474 2528 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-04 02:15:09,489 2528 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-04 02:15:09,489 2528 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-04 02:15:09,489 2528 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:15:09,489 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-04 02:15:09,504 2528 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-04 02:15:09,504 2528 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2020-07-04 02:15:09,504 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2020-07-04 02:15:09,504 2528 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-04 02:15:09,520 2528 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-04 02:15:09,520 2528 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-04 02:15:09,520 2528 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-04 02:15:09,520 2528 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-04 02:15:09,536 2528 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-04 02:15:09,536 2528 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-04 02:15:09,536 2528 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-04 02:15:09,536 2528 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-04 02:15:09,551 2528 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:15:09,551 2528 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-04 02:15:09,551 2528 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-04 02:15:09,551 2528 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-04 02:15:09,567 2528 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-04 02:15:09,567 2528 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-04 02:15:09,567 2528 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-04 02:15:09,567 2528 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-04 02:15:09,585 2528 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-04 02:15:09,585 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:15:09,585 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:15:09,585 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:15:09,599 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:15:09,599 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2020-07-04 02:15:09,599 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:15:09,599 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-04 02:15:09,615 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-04 02:15:09,615 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:15:09,615 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:15:09,629 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-04 02:15:09,629 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:15:09,646 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-04 02:15:09,646 2528 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-04 02:15:09,646 2528 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-04 02:15:09,646 2528 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-04 02:15:09,662 2528 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:15:09,662 2528 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-04 02:15:09,662 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-04 02:15:09,662 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:15:09,676 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2020-07-04 02:15:09,676 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:15:09,676 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:15:09,676 2528 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-04 02:15:09,692 2528 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-04 02:15:09,692 2528 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-04 02:15:09,692 2528 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-04 02:15:09,692 2528 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-04 02:15:09,707 2528 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-04 02:15:09,707 2528 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2020-07-04 02:15:09,707 2528 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-04 02:15:09,707 2528 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-04 02:15:09,707 2528 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-04 02:15:09,724 2528 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-04 02:15:09,724 2528 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:15:09,724 2528 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-04 02:15:09,739 2528 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-04 02:15:09,739 2528 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2020-07-04 02:15:09,739 2528 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-04 02:15:09,834 2528 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-04 02:15:09,864 2528 [DEBUG] - Running 'ChocolateyScriptRunner' for crosextrafonts-carlito-font v2013.09.20 with packageScript 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font', installArguments: '', packageParameters: '',
2020-07-04 02:15:09,975 2528 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1'
2020-07-04 02:15:12,959 2528 [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);
[DllImport("gdi32.dll")]
static extern int AddFontResource(string lpFilename);
[DllImport("gdi32.dll")]
static extern int RemoveFontResource(string lpFileName);
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("user32.dll", SetLastError = true)]
private static extern bool PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
public enum WM : uint {
FONTCHANGE = 0x001D
}
public static int AddFont(string fontFilePath) {
FileInfo fontFile = new FileInfo(fontFilePath);
if (!fontFile.Exists) { return 0; }
try {
int retVal = AddFontResource(fontFilePath);
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch { return 0; }
}
public static int RemoveFont(string fontFileName) {
try {
int retVal = RemoveFontResource(fontFileName);
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch { return 0; }
}
}
}
2020-07-04 02:15:14,554 2528 [WARN ] - WARNING: File Path 'Carlito-Bold.ttf' does not exist!
2020-07-04 02:15:14,567 2528 [INFO ] - 1
2020-07-04 02:15:14,583 2528 [WARN ] - WARNING: File Path 'Carlito-BoldItalic.ttf' does not exist!
2020-07-04 02:15:14,598 2528 [INFO ] - 1
2020-07-04 02:15:14,615 2528 [WARN ] - WARNING: File Path 'Carlito-Italic.ttf' does not exist!
2020-07-04 02:15:14,615 2528 [INFO ] - 1
2020-07-04 02:15:14,630 2528 [WARN ] - WARNING: File Path 'Carlito-Regular.ttf' does not exist!
2020-07-04 02:15:14,646 2528 [INFO ] - 1
2020-07-04 02:15:14,661 2528 [DEBUG] - ----------------------------------------------------------------------
2020-07-04 02:15:14,677 2528 [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\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-07-04 02:15:14,692 2528 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-04 02:15:14,770 2528 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-04 02:15:14,770 2528 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font'
2020-07-04 02:15:14,787 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nupkg'
with checksum '75626AFE8C17068DCA2FE4D775AF74A9'
2020-07-04 02:15:14,787 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nuspec'
with checksum 'E2DEE1AB03B3C8828D2ABA82FC689942'
2020-07-04 02:15:14,801 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\.SkipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2020-07-04 02:15:14,801 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1'
with checksum '5AA91F5C6FAA90EE0CBC50D583FB7E81'
2020-07-04 02:15:14,801 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1'
with checksum '02FBA7FF9B6484CA4094FA0AE9C6CF59'
2020-07-04 02:15:14,801 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\LICENSE'
with checksum '0B70F857701D1F20EED43A474E583FFC'
2020-07-04 02:15:14,801 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\VERIFICATION.txt'
with checksum '40F408ABBD534907FE8F3F03C5165499'
2020-07-04 02:15:14,817 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\crosextrafonts-carlito-font.2013.09.20".
2020-07-04 02:15:14,817 2528 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\crosextrafonts-carlito-font.2013.09.20\.files'
2020-07-04 02:15:14,832 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\crosextrafonts-carlito-font.2013.09.20\.extra".
2020-07-04 02:15:14,832 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\crosextrafonts-carlito-font.2013.09.20\.version".
2020-07-04 02:15:14,832 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\crosextrafonts-carlito-font.2013.09.20\.sxs".
2020-07-04 02:15:14,848 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\crosextrafonts-carlito-font.2013.09.20\.pin".
2020-07-04 02:15:14,848 2528 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-07-04 02:15:14,848 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\.chocolateyPending".
2020-07-04 02:15:14,864 2528 [INFO ] - The install of crosextrafonts-carlito-font was successful.
2020-07-04 02:15:14,864 2528 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-07-04 02:15:14,864 2528 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\crosextrafonts-carlito-font.2013.09.20.nupkg".
2020-07-04 02:15:14,896 2528 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-04 02:15:14,911 2528 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-04 02:15:14,959 2528 [DEBUG] - Exiting with 0
2020-07-04 02:15:55,551 296 [DEBUG] - XmlConfiguration is now operational
2020-07-04 02:15:55,709 296 [INFO ] - ============================================================
2020-07-04 02:15:56,364 296 [INFO ] - Chocolatey v0.10.15
2020-07-04 02:15:56,412 296 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-04 02:15:56,427 296 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-04 02:15:56,427 296 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-04 02:15:56,457 296 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall crosextrafonts-carlito-font --version 2013.09.20 -dvy --execution-timeout=5400
2020-07-04 02:15:56,677 296 [DEBUG] - Received arguments: uninstall crosextrafonts-carlito-font --version 2013.09.20 -dvy --execution-timeout=5400
2020-07-04 02:15:57,114 296 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-04 02:15:57,133 296 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-04 02:15:57,162 296 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-04 02:15:57,286 296 [DEBUG] - Performing validation checks.
2020-07-04 02:15:57,302 296 [DEBUG] - Global Configuration Validation Checks:
2020-07-04 02:15:57,302 296 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-04 02:15:57,318 296 [DEBUG] - System State Validation Checks:
2020-07-04 02:15:57,318 296 [DEBUG] - Reboot Requirement Checks:
2020-07-04 02:15:57,333 296 [DEBUG] - - Pending Computer Rename = Checked
2020-07-04 02:15:57,333 296 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-04 02:15:57,348 296 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-04 02:15:57,348 296 [DEBUG] - - Pending File Rename Operations = Ignored
2020-07-04 02:15:57,348 296 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-04 02:15:57,348 296 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-04 02:15:57,363 296 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-04 02:15:57,379 296 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-04 02:15:57,379 296 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2020-07-04 02:15:57,426 296 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|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='crosextrafonts-carlito-font'|
Version='2013.09.20'|AllVersions='False'|
SkipPackageInstallProvider='False'|
PackageNames='crosextrafonts-carlito-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'|
2020-07-04 02:15:57,458 296 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-07-04 02:15:57,473 296 [INFO ] - Uninstalling the following packages:
2020-07-04 02:15:57,473 296 [INFO ] - crosextrafonts-carlito-font
2020-07-04 02:15:57,489 296 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-04 02:15:57,489 296 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:15:57,754 296 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-04 02:15:57,802 296 [DEBUG] - * 'ChocolateyLastPathUpdate'='132383023132424130' ('User')
2020-07-04 02:15:57,816 296 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-04 02:15:57,816 296 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-04 02:15:57,816 296 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-07-04 02:15:57,816 296 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-04 02:15:57,816 296 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:15:57,816 296 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-04 02:15:57,832 296 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-04 02:15:57,832 296 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-04 02:15:57,832 296 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-04 02:15:57,848 296 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-04 02:15:57,848 296 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-04 02:15:57,848 296 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-04 02:15:57,848 296 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-04 02:15:57,848 296 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-04 02:15:57,848 296 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-04 02:15:57,863 296 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-04 02:15:57,863 296 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-04 02:15:58,239 296 [DEBUG] - Running list with the following filter = ''
2020-07-04 02:15:58,239 296 [DEBUG] - --- Start of List ---
2020-07-04 02:15:58,740 296 [DEBUG] - crosextrafonts-carlito-font 2013.09.20
2020-07-04 02:15:58,754 296 [DEBUG] - --- End of List ---
2020-07-04 02:15:58,989 296 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-07-04 02:15:58,989 296 [DEBUG] - Backing up existing crosextrafonts-carlito-font prior to operation.
2020-07-04 02:15:59,004 296 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font'
to 'C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font'
2020-07-04 02:16:01,021 296 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font".
2020-07-04 02:16:01,021 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nupkg"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nupkg".
2020-07-04 02:16:01,035 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nuspec"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nuspec".
2020-07-04 02:16:01,035 296 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools".
2020-07-04 02:16:01,035 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\tools\.SkipAutoUninstaller"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\.SkipAutoUninstaller".
2020-07-04 02:16:01,035 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1".
2020-07-04 02:16:01,051 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1".
2020-07-04 02:16:01,051 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\tools\LICENSE"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\LICENSE".
2020-07-04 02:16:01,051 296 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\VERIFICATION.txt".
2020-07-04 02:16:02,566 296 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font'
2020-07-04 02:16:02,582 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nupkg'
with checksum '75626AFE8C17068DCA2FE4D775AF74A9'
2020-07-04 02:16:02,582 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\crosextrafonts-carlito-font.nuspec'
with checksum 'E2DEE1AB03B3C8828D2ABA82FC689942'
2020-07-04 02:16:02,598 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\.SkipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2020-07-04 02:16:02,598 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyInstall.ps1'
with checksum '5AA91F5C6FAA90EE0CBC50D583FB7E81'
2020-07-04 02:16:02,598 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1'
with checksum '02FBA7FF9B6484CA4094FA0AE9C6CF59'
2020-07-04 02:16:02,613 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\LICENSE'
with checksum '0B70F857701D1F20EED43A474E583FFC'
2020-07-04 02:16:02,613 296 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\VERIFICATION.txt'
with checksum '40F408ABBD534907FE8F3F03C5165499'
2020-07-04 02:16:03,051 296 [INFO ] - [NuGet] Uninstalling 'crosextrafonts-carlito-font 2013.09.20'.
2020-07-04 02:16:03,066 296 [INFO ] -
crosextrafonts-carlito-font v2013.09.20
2020-07-04 02:16:03,113 296 [DEBUG] - Setting installer args for crosextrafonts-carlito-font
2020-07-04 02:16:03,129 296 [DEBUG] - Setting package parameters for crosextrafonts-carlito-font
2020-07-04 02:16:03,129 296 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1':
2020-07-04 02:16:03,129 296 [DEBUG] - $packageName = 'crosextrafonts-carlito-font'
Uninstall-ChocolateyFont "Carlito-Bold.ttf"
Uninstall-ChocolateyFont "Carlito-BoldItalic.ttf"
Uninstall-ChocolateyFont "Carlito-Italic.ttf"
Uninstall-ChocolateyFont "Carlito-Regular.ttf"
2020-07-04 02:16:03,222 296 [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\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2020-07-04 02:16:03,222 296 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-04 02:16:03,833 296 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-04 02:16:04,192 296 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-04 02:16:04,192 296 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-04 02:16:04,207 296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-04 02:16:04,207 296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-04 02:16:04,207 296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-04 02:16:04,207 296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-04 02:16:04,224 296 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-04 02:16:04,224 296 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-04 02:16:04,224 296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-04 02:16:04,224 296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:16:04,238 296 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-04 02:16:04,238 296 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-04 02:16:04,238 296 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-04 02:16:04,238 296 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-04 02:16:04,254 296 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-04 02:16:04,254 296 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-04 02:16:04,254 296 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-04 02:16:04,254 296 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-04 02:16:04,269 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:16:04,269 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:16:04,269 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:16:04,285 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:16:04,285 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:16:04,285 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-04 02:16:04,285 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-04 02:16:04,301 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:16:04,301 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:16:04,301 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-04 02:16:04,301 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:16:04,316 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-04 02:16:04,316 296 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-04 02:16:04,316 296 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-04 02:16:04,316 296 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-04 02:16:04,332 296 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:16:04,332 296 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-04 02:16:04,332 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-04 02:16:04,332 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:16:04,347 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:16:04,347 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:16:04,347 296 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-04 02:16:04,347 296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-04 02:16:04,379 296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-04 02:16:04,379 296 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-04 02:16:04,394 296 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-04 02:16:04,394 296 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-04 02:16:04,394 296 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-04 02:16:04,394 296 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-04 02:16:04,410 296 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-04 02:16:04,410 296 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-04 02:16:04,410 296 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-04 02:16:04,410 296 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:16:04,426 296 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-04 02:16:04,426 296 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-04 02:16:04,442 296 [DEBUG] - Loading community extensions
2020-07-04 02:16:04,474 296 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'
2020-07-04 02:16:04,474 296 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'.
2020-07-04 02:16:04,519 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2020-07-04 02:16:04,519 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2020-07-04 02:16:04,519 296 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2020-07-04 02:16:04,535 296 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2020-07-04 02:16:04,535 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2020-07-04 02:16:04,535 296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2020-07-04 02:16:04,551 296 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2020-07-04 02:16:04,551 296 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2020-07-04 02:16:04,551 296 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-04 02:16:04,566 296 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-04 02:16:04,566 296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-04 02:16:04,566 296 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-04 02:16:04,566 296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-04 02:16:04,583 296 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-04 02:16:04,583 296 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-04 02:16:04,583 296 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-04 02:16:04,583 296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-04 02:16:04,597 296 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:16:04,597 296 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-04 02:16:04,597 296 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-04 02:16:04,613 296 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-04 02:16:04,613 296 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-04 02:16:04,613 296 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-04 02:16:04,613 296 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-04 02:16:04,629 296 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-04 02:16:04,629 296 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-04 02:16:04,629 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:16:04,629 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:16:04,645 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:16:04,645 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:16:04,645 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:16:04,645 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-04 02:16:04,660 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-04 02:16:04,660 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:16:04,660 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:16:04,660 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-04 02:16:04,677 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:16:04,677 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-04 02:16:04,677 296 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-04 02:16:04,677 296 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-04 02:16:04,691 296 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-04 02:16:04,691 296 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:16:04,691 296 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-04 02:16:04,691 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-04 02:16:04,708 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:16:04,708 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:16:04,708 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:16:04,708 296 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-04 02:16:04,722 296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-04 02:16:04,722 296 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-04 02:16:04,722 296 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-04 02:16:04,722 296 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-04 02:16:04,739 296 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2020-07-04 02:16:04,739 296 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2020-07-04 02:16:04,739 296 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-04 02:16:04,739 296 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-04 02:16:04,754 296 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-04 02:16:04,754 296 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-04 02:16:04,754 296 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-04 02:16:04,754 296 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-04 02:16:04,769 296 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:16:04,769 296 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-04 02:16:04,769 296 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-04 02:16:04,769 296 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2020-07-04 02:16:04,785 296 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2020-07-04 02:16:04,785 296 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-04 02:16:04,785 296 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-04 02:16:04,785 296 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-04 02:16:04,801 296 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-04 02:16:04,801 296 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-04 02:16:04,801 296 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-04 02:16:04,801 296 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-04 02:16:04,818 296 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-04 02:16:04,818 296 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-04 02:16:04,818 296 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-04 02:16:04,832 296 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-04 02:16:04,832 296 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-04 02:16:04,832 296 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-04 02:16:04,832 296 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-04 02:16:04,848 296 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-04 02:16:04,848 296 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-04 02:16:04,848 296 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-04 02:16:04,848 296 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-04 02:16:04,896 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-04 02:16:05,442 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-04 02:16:05,442 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-04 02:16:05,442 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-04 02:16:05,457 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2020-07-04 02:16:05,457 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-04 02:16:05,457 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-04 02:16:05,457 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-04 02:16:05,457 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-04 02:16:05,472 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-04 02:16:05,472 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-04 02:16:05,472 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-04 02:16:05,472 296 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-04 02:16:05,472 296 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-04 02:16:05,488 296 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-04 02:16:05,488 296 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-04 02:16:05,488 296 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-04 02:16:05,488 296 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-04 02:16:05,488 296 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-04 02:16:05,488 296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-04 02:16:05,505 296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2020-07-04 02:16:05,505 296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-04 02:16:05,505 296 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-04 02:16:05,505 296 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-04 02:16:05,519 296 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-04 02:16:05,519 296 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-04 02:16:05,519 296 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-04 02:16:05,519 296 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-04 02:16:05,519 296 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-04 02:16:05,535 296 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2020-07-04 02:16:05,535 296 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-04 02:16:05,535 296 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-04 02:16:05,535 296 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-04 02:16:05,535 296 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-04 02:16:05,535 296 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-04 02:16:05,614 296 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-04 02:16:05,614 296 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-04 02:16:05,614 296 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2020-07-04 02:16:05,629 296 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-04 02:16:05,816 296 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-04 02:16:05,816 296 [DEBUG] - Running 'ChocolateyScriptRunner' for crosextrafonts-carlito-font v2013.09.20 with packageScript 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font', installArguments: '', packageParameters: '',
2020-07-04 02:16:05,848 296 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1'
2020-07-04 02:16:06,160 296 [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);
[DllImport("gdi32.dll")]
static extern int AddFontResource(string lpFilename);
[DllImport("gdi32.dll")]
static extern int RemoveFontResource(string lpFileName);
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("user32.dll", SetLastError = true)]
private static extern bool PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
public enum WM : uint {
FONTCHANGE = 0x001D
}
public static int AddFont(string fontFilePath) {
FileInfo fontFile = new FileInfo(fontFilePath);
if (!fontFile.Exists) { return 0; }
try {
int retVal = AddFontResource(fontFilePath);
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch { return 0; }
}
public static int RemoveFont(string fontFileName) {
try {
int retVal = RemoveFontResource(fontFileName);
bool posted = PostMessage(HWND_BROADCAST, WM.FONTCHANGE, IntPtr.Zero, IntPtr.Zero);
return retVal;
}
catch { return 0; }
}
}
}
2020-07-04 02:16:08,115 296 [WARN ] - WARNING: File Path 'C:\Windows\Fonts\Carlito-Bold.ttf' does not exist!
2020-07-04 02:16:08,239 296 [INFO ] - 1
2020-07-04 02:16:08,394 296 [WARN ] - WARNING: File Path 'C:\Windows\Fonts\Carlito-BoldItalic.ttf' does not exist!
2020-07-04 02:16:08,394 296 [INFO ] - 1
2020-07-04 02:16:08,583 296 [WARN ] - WARNING: File Path 'C:\Windows\Fonts\Carlito-Italic.ttf' does not exist!
2020-07-04 02:16:08,597 296 [INFO ] - 1
2020-07-04 02:16:08,786 296 [WARN ] - WARNING: File Path 'C:\Windows\Fonts\Carlito-Regular.ttf' does not exist!
2020-07-04 02:16:08,803 296 [INFO ] - 1
2020-07-04 02:16:08,839 296 [DEBUG] - ----------------------------------------------------------------------
2020-07-04 02:16:08,848 296 [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\crosextrafonts-carlito-font\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-07-04 02:16:08,864 296 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
2020-07-04 02:16:08,895 296 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-04 02:16:09,021 296 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-04 02:16:09,066 296 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\crosextrafonts-carlito-font".
2020-07-04 02:16:09,160 296 [DEBUG] - [NuGet] Removed file '.SkipAutoUninstaller' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools'.
2020-07-04 02:16:09,160 296 [DEBUG] - [NuGet] Removed file 'ChocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools'.
2020-07-04 02:16:09,177 296 [DEBUG] - [NuGet] Removed file 'ChocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools'.
2020-07-04 02:16:09,177 296 [DEBUG] - [NuGet] Removed file 'LICENSE' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools'.
2020-07-04 02:16:09,191 296 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools'.
2020-07-04 02:16:09,208 296 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font\tools'.
2020-07-04 02:16:09,208 296 [DEBUG] - [NuGet] Removed file 'crosextrafonts-carlito-font.nuspec' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font'.
2020-07-04 02:16:09,225 296 [DEBUG] - [NuGet] Removed file 'crosextrafonts-carlito-font.nupkg' to folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font'.
2020-07-04 02:16:09,225 296 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\crosextrafonts-carlito-font'.
2020-07-04 02:16:09,225 296 [INFO ] - [NuGet] Successfully uninstalled 'crosextrafonts-carlito-font 2013.09.20'.
2020-07-04 02:16:09,332 296 [INFO ] - crosextrafonts-carlito-font has been successfully uninstalled.
2020-07-04 02:16:09,332 296 [DEBUG] - Removing nupkg if it still exists.
2020-07-04 02:16:09,348 296 [DEBUG] - Ensuring removal of installation files.
2020-07-04 02:16:09,364 296 [DEBUG] - Ensuring removal of package cache files.
2020-07-04 02:16:09,411 296 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-04 02:16:09,411 296 [WARN ] -
Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, keeps Chocolatey tip top,
plus it nets you some awesome features!
https://chocolatey.org/compare
2020-07-04 02:16:09,426 296 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-04 02:16:09,457 296 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment