|
2024-07-08 12:24:00,912 3000 [DEBUG] - XmlConfiguration is now operational
|
|
2024-07-08 12:24:01,104 3000 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,120 3000 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,120 3000 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,120 3000 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,132 3000 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,132 3000 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,132 3000 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,132 3000 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,132 3000 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-08 12:24:01,151 3000 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-07-08 12:24:01,151 3000 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-07-08 12:24:02,059 3000 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,071 3000 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,071 3000 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,071 3000 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,090 3000 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,090 3000 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,090 3000 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,102 3000 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,102 3000 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,116 3000 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-08 12:24:02,148 3000 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-07-08 12:24:02,148 3000 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-07-08 12:24:02,148 3000 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2024-07-08 12:24:02,148 3000 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-07-08 12:24:02,148 3000 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-07-08 12:24:02,170 3000 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-07-08 12:24:02,170 3000 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-07-08 12:24:02,170 3000 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-07-08 12:24:02,181 3000 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-07-08 12:24:02,181 3000 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-07-08 12:24:02,181 3000 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-07-08 12:24:02,181 3000 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-07-08 12:24:02,197 3000 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-07-08 12:24:02,197 3000 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-07-08 12:24:02,197 3000 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-07-08 12:24:02,197 3000 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-07-08 12:24:02,211 3000 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-07-08 12:24:02,211 3000 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-07-08 12:24:02,211 3000 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-07-08 12:24:02,211 3000 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-07-08 12:24:02,211 3000 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-07-08 12:24:02,494 3000 [INFO ] - ============================================================
|
|
2024-07-08 12:24:02,819 3000 [INFO ] - Chocolatey v2.3.0
|
|
2024-07-08 12:24:02,840 3000 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-07-08 12:24:02,852 3000 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-07-08 12:24:02,852 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-07-08 12:24:02,871 3000 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install hasklig --version 1.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-07-08 12:24:02,871 3000 [DEBUG] - Received arguments: install hasklig --version 1.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-07-08 12:24:03,041 3000 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-07-08 12:24:03,056 3000 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-07-08 12:24:03,131 3000 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-07-08 12:24:03,417 3000 [DEBUG] - Performing validation checks.
|
|
2024-07-08 12:24:03,431 3000 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-07-08 12:24:03,431 3000 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-07-08 12:24:03,450 3000 [DEBUG] - System State Validation Checks:
|
|
2024-07-08 12:24:03,450 3000 [DEBUG] - Reboot Requirement Checks:
|
|
2024-07-08 12:24:03,461 3000 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-07-08 12:24:03,482 3000 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-07-08 12:24:03,482 3000 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-07-08 12:24:03,493 3000 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-07-08 12:24:03,493 3000 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-07-08 12:24:03,493 3000 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-07-08 12:24:03,509 3000 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-07-08 12:24:03,509 3000 [DEBUG] - - Elevated State = Checked
|
|
2024-07-08 12:24:03,509 3000 [DEBUG] - - Folder Exists = Checked
|
|
2024-07-08 12:24:03,526 3000 [DEBUG] - - Folder lockdown = Checked
|
|
2024-07-08 12:24:03,541 3000 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-07-08 12:24:03,586 3000 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-07-08 12:24:03,602 3000 [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.
|
|
2024-07-08 12:24:03,651 3000 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|IncludeConfiguredSources='False'|
|
|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='hasklig'|
|
|
Version='1.1'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='hasklig'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2019'|
|
|
Information.ChocolateyVersion='2.3.0.0'|
|
|
Information.ChocolateyProductVersion='2.3.0'|
|
|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-5INOFV3BHCH'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|
|
|
Information.IsLicensedAssemblyLoaded='False'|
|
|
Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
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.UsePackageHashValidation='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'|
|
|
ListCommand.ExplicitPageSize='False'|
|
|
ListCommand.ExplicitSource='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
UpgradeCommand.IgnorePinned='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.Command='Unknown'|PinCommand.Command='Unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
|
|
CacheCommand.RemoveExpiredItemsOnly='False'|
|
|
2024-07-08 12:24:03,651 3000 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-07-08 12:24:03,668 3000 [INFO ] - Installing the following packages:
|
|
2024-07-08 12:24:03,680 3000 [INFO ] - hasklig
|
|
2024-07-08 12:24:03,680 3000 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-07-08 12:24:03,700 3000 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-07-08 12:24:03,712 3000 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-07-08 12:24:03,712 3000 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-07-08 12:24:03,712 3000 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-07-08 12:24:03,712 3000 [DEBUG] - * 'ChocolateyLastPathUpdate'='133648313067891127' ('User')
|
|
2024-07-08 12:24:03,730 3000 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-07-08 12:24:03,730 3000 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-07-08 12:24:03,746 3000 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-07-08 12:24:03,746 3000 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
|
|
2024-07-08 12:24:03,762 3000 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-07-08 12:24:03,762 3000 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-07-08 12:24:03,762 3000 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-07-08 12:24:03,762 3000 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-07-08 12:24:03,776 3000 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-07-08 12:24:03,776 3000 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-07-08 12:24:03,776 3000 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-07-08 12:24:03,776 3000 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-07-08 12:24:03,793 3000 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-07-08 12:24:03,793 3000 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-07-08 12:24:03,793 3000 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-07-08 12:24:03,806 3000 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-07-08 12:24:04,289 3000 [DEBUG] - Running list with the following filter = ''
|
|
2024-07-08 12:24:04,289 3000 [DEBUG] - --- Start of List ---
|
|
2024-07-08 12:24:04,350 3000 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-07-08 12:24:04,803 3000 [DEBUG] - chocolatey 2.3.0
|
|
2024-07-08 12:24:04,803 3000 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-07-08 12:24:04,827 3000 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-07-08 12:24:04,835 3000 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-07-08 12:24:04,835 3000 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-07-08 12:24:04,835 3000 [DEBUG] - KB3035131 1.0.3
|
|
2024-07-08 12:24:04,866 3000 [DEBUG] - KB3118401 1.0.5
|
|
2024-07-08 12:24:04,889 3000 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
|
|
2024-07-08 12:24:04,889 3000 [DEBUG] - --- End of List ---
|
|
2024-07-08 12:24:04,899 3000 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-07-08 12:24:05,600 3000 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-08 12:24:06,195 3000 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='hasklig',Version='1.1.0')
|
|
2024-07-08 12:24:06,477 3000 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='hasklig',Version='1.1.0') 286ms
|
|
2024-07-08 12:24:06,507 3000 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='hasklig'&semVerLevel=2.0.0
|
|
2024-07-08 12:24:06,650 3000 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='hasklig'&semVerLevel=2.0.0 135ms
|
|
2024-07-08 12:24:06,761 3000 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='hasklig'&$skiptoken='1717746646391','1.1.0','hasklig'
|
|
2024-07-08 12:24:06,995 3000 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='hasklig'&$skiptoken='1717746646391','1.1.0','hasklig' 236ms
|
|
2024-07-08 12:24:07,060 3000 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-07-08 12:24:07,645 3000 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-08 12:24:07,676 3000 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='hasklig',Version='1.1.0')
|
|
2024-07-08 12:24:07,713 3000 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='hasklig',Version='1.1.0') 39ms
|
|
2024-07-08 12:24:07,731 3000 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='hasklig'&semVerLevel=2.0.0
|
|
2024-07-08 12:24:07,731 3000 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='hasklig'&$skiptoken='1717746646391','1.1.0','hasklig'
|
|
2024-07-08 12:24:07,933 3000 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-07-08 12:24:07,947 3000 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-08 12:24:08,009 3000 [DEBUG] - Attempting to delete file "".
|
|
2024-07-08 12:24:08,009 3000 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2024-07-08 12:24:08,009 3000 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/hasklig/1.1'
|
|
2024-07-08 12:24:08,057 3000 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/hasklig/1.1
|
|
2024-07-08 12:24:08,458 3000 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/hasklig/1.1 396ms
|
|
2024-07-08 12:24:08,490 3000 [INFO ] - [NuGet] Acquiring lock for the installation of hasklig 1.1
|
|
2024-07-08 12:24:08,570 3000 [INFO ] - [NuGet] Acquired lock for the installation of hasklig 1.1
|
|
2024-07-08 12:24:08,945 3000 [INFO ] - [NuGet] Installed hasklig 1.1 from https://community.chocolatey.org/api/v2/ with content hash fZq6enhm7n4dh0QOYejOgh/7A0P5S3lPl7uYp41v8F6FE/T8YBhdtBDiviBiNy2mR3RWbIp3oUV0bAGEqcflvA==.
|
|
2024-07-08 12:24:08,945 3000 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2024-07-08 12:24:09,007 3000 [INFO ] - [NuGet] Adding package 'hasklig.1.1.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-08 12:24:09,087 3000 [INFO ] - [NuGet] Added package 'hasklig.1.1.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-08 12:24:09,103 3000 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\hasklig/1.1.0\hasklig.1.1.0.nupkg".
|
|
2024-07-08 12:24:09,103 3000 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\hasklig/1.1.0\.nupkg.metadata".
|
|
2024-07-08 12:24:09,103 3000 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\hasklig/1.1.0\hasklig.1.1.0.nupkg.sha512".
|
|
2024-07-08 12:24:09,120 3000 [INFO ] -
|
|
hasklig v1.1.0 (forced) [Approved]
|
|
2024-07-08 12:24:09,196 3000 [INFO ] - hasklig package files install completed. Performing other installation steps.
|
|
2024-07-08 12:24:09,275 3000 [DEBUG] - Setting installer args for hasklig
|
|
2024-07-08 12:24:09,275 3000 [DEBUG] - Setting package parameters for hasklig
|
|
2024-07-08 12:24:09,292 3000 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateyinstall.ps1':
|
|
2024-07-08 12:24:09,321 3000 [DEBUG] - $tools = Split-Path $MyInvocation.MyCommand.Definition
|
|
$package = Join-Path (Split-Path $tools) "fonts"
|
|
|
|
function Get-CurrentDirectory
|
|
{
|
|
$thisName = $MyInvocation.MyCommand.Name
|
|
[IO.Path]::GetDirectoryName((Get-Content function:$thisName).File)
|
|
}
|
|
|
|
Install-ChocolateyZipPackage `
|
|
-PackageName "$env:ChocolateyPackageName" `
|
|
-Url 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip' `
|
|
-Checksum '98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3' `
|
|
-ChecksumType 'SHA256' `
|
|
-UnzipLocation $package
|
|
|
|
$AddFont = Join-Path (Get-CurrentDirectory) 'Add-Font.ps1'
|
|
& $AddFont -Path "$package"
|
|
Remove-Item -Recurse -Force $package
|
|
|
|
2024-07-08 12:24:09,350 3000 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-07-08 12:24:09,372 3000 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-07-08 12:24:10,024 3000 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
|
|
2024-07-08 12:24:10,572 3000 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2024-07-08 12:24:10,602 3000 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2024-07-08 12:24:10,602 3000 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-08 12:24:10,622 3000 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-08 12:24:10,622 3000 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-08 12:24:10,622 3000 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-08 12:24:10,634 3000 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-08 12:24:10,634 3000 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-08 12:24:10,634 3000 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-08 12:24:10,682 3000 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2024-07-08 12:24:10,698 3000 [DEBUG] - Get-EnvironmentVariable
|
|
2024-07-08 12:24:10,717 3000 [DEBUG] - Get-EnvironmentVariableNames
|
|
2024-07-08 12:24:10,717 3000 [DEBUG] - Install-ChocolateyPath
|
|
2024-07-08 12:24:10,726 3000 [DEBUG] - Set-EnvironmentVariable
|
|
2024-07-08 12:24:10,726 3000 [DEBUG] - Test-ProcessAdminRights
|
|
2024-07-08 12:24:10,726 3000 [DEBUG] - Uninstall-ChocolateyPath
|
|
2024-07-08 12:24:10,726 3000 [DEBUG] - Update-SessionEnvironment
|
|
2024-07-08 12:24:10,750 3000 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-08 12:24:10,756 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-08 12:24:10,756 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-08 12:24:10,756 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-08 12:24:10,756 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-08 12:24:10,756 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-08 12:24:10,780 3000 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-08 12:24:10,780 3000 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-08 12:24:10,789 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-08 12:24:10,789 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-08 12:24:10,789 3000 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-08 12:24:10,789 3000 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-08 12:24:10,789 3000 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-08 12:24:10,810 3000 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-08 12:24:10,810 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-08 12:24:10,821 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-08 12:24:10,821 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-08 12:24:10,821 3000 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-08 12:24:10,821 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-08 12:24:10,842 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-08 12:24:10,851 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-08 12:24:10,851 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-08 12:24:10,851 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-08 12:24:10,851 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-08 12:24:10,851 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-08 12:24:10,874 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-08 12:24:10,874 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-08 12:24:10,883 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-08 12:24:10,883 3000 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-08 12:24:10,883 3000 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-08 12:24:10,883 3000 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-08 12:24:10,904 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-08 12:24:10,904 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-08 12:24:10,914 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-08 12:24:10,914 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-08 12:24:10,914 3000 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-08 12:24:10,914 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-08 12:24:10,934 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-08 12:24:10,934 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-08 12:24:10,934 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-08 12:24:10,947 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-08 12:24:10,947 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-08 12:24:10,947 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-08 12:24:10,947 3000 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-08 12:24:10,966 3000 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-08 12:24:10,966 3000 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-08 12:24:10,977 3000 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-08 12:24:10,977 3000 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-08 12:24:10,977 3000 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-08 12:24:10,977 3000 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-08 12:24:10,977 3000 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-08 12:24:10,998 3000 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-08 12:24:11,008 3000 [DEBUG] - Loading community extensions
|
|
2024-07-08 12:24:11,040 3000 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-07-08 12:24:11,040 3000 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-07-08 12:24:11,157 3000 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-08 12:24:11,162 3000 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-08 12:24:11,162 3000 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-08 12:24:11,162 3000 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-08 12:24:11,186 3000 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-08 12:24:11,194 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-08 12:24:11,194 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-08 12:24:11,194 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-08 12:24:11,217 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-08 12:24:11,217 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-08 12:24:11,228 3000 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-08 12:24:11,228 3000 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-08 12:24:11,228 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-08 12:24:11,228 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-08 12:24:11,247 3000 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-08 12:24:11,247 3000 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-08 12:24:11,258 3000 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-08 12:24:11,258 3000 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-08 12:24:11,258 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-08 12:24:11,258 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-08 12:24:11,278 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-08 12:24:11,278 3000 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-08 12:24:11,278 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-08 12:24:11,291 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-08 12:24:11,291 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-08 12:24:11,310 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-08 12:24:11,310 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-08 12:24:11,310 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-08 12:24:11,322 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-08 12:24:11,322 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-08 12:24:11,322 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-08 12:24:11,322 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-08 12:24:11,341 3000 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-08 12:24:11,350 3000 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-08 12:24:11,350 3000 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-08 12:24:11,350 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-08 12:24:11,350 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-08 12:24:11,350 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-08 12:24:11,376 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-08 12:24:11,380 3000 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-08 12:24:11,380 3000 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-08 12:24:11,380 3000 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-08 12:24:11,380 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-08 12:24:11,380 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-08 12:24:11,404 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-08 12:24:11,404 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-08 12:24:11,414 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-08 12:24:11,414 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-08 12:24:11,414 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-08 12:24:11,414 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-08 12:24:11,414 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-08 12:24:11,436 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-08 12:24:11,436 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-08 12:24:11,446 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-08 12:24:11,446 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-08 12:24:11,465 3000 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-08 12:24:11,465 3000 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-08 12:24:11,465 3000 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-08 12:24:11,479 3000 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-08 12:24:11,479 3000 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-08 12:24:11,479 3000 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-08 12:24:11,495 3000 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-08 12:24:11,495 3000 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-08 12:24:11,495 3000 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-08 12:24:11,511 3000 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-08 12:24:11,511 3000 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-08 12:24:11,511 3000 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-08 12:24:11,525 3000 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-08 12:24:11,525 3000 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-08 12:24:11,525 3000 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-08 12:24:11,544 3000 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-08 12:24:11,544 3000 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-08 12:24:11,544 3000 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-07-08 12:24:11,555 3000 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-07-08 12:24:11,555 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-07-08 12:24:11,555 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-07-08 12:24:11,555 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-07-08 12:24:11,575 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-07-08 12:24:11,575 3000 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-07-08 12:24:11,575 3000 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-07-08 12:24:11,589 3000 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-07-08 12:24:11,589 3000 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-08 12:24:11,589 3000 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-07-08 12:24:11,635 3000 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-07-08 12:24:11,635 3000 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-07-08 12:24:11,652 3000 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-07-08 12:24:11,652 3000 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-07-08 12:24:11,652 3000 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-07-08 12:24:11,667 3000 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-07-08 12:24:11,667 3000 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-07-08 12:24:11,667 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-08 12:24:11,667 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-08 12:24:11,683 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-08 12:24:11,683 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-08 12:24:11,699 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-07-08 12:24:11,699 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-08 12:24:11,713 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-08 12:24:11,713 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-07-08 12:24:11,713 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-08 12:24:11,713 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-07-08 12:24:11,731 3000 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-07-08 12:24:11,731 3000 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-08 12:24:11,731 3000 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-07-08 12:24:11,743 3000 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-08 12:24:11,743 3000 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-08 12:24:11,743 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-07-08 12:24:11,743 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-08 12:24:11,763 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-08 12:24:11,763 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-08 12:24:11,773 3000 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-07-08 12:24:11,773 3000 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-07-08 12:24:11,773 3000 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-07-08 12:24:11,798 3000 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-07-08 12:24:11,828 3000 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-07-08 12:24:11,834 3000 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-07-08 12:24:11,834 3000 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-08 12:24:11,834 3000 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-07-08 12:24:11,834 3000 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-07-08 12:24:11,834 3000 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-07-08 12:24:11,950 3000 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-07-08 12:24:11,963 3000 [DEBUG] - Running 'ChocolateyScriptRunner' for hasklig v1.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\hasklig', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-07-08 12:24:11,996 3000 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateyinstall.ps1'
|
|
2024-07-08 12:24:12,135 3000 [DEBUG] - Running Install-ChocolateyZipPackage -packageName 'hasklig' -url 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip' -checksum '98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3' -checksumType 'SHA256' -unzipLocation 'C:\ProgramData\chocolatey\lib\hasklig\fonts'
|
|
2024-07-08 12:24:12,256 3000 [DEBUG] - Running Get-ChocolateyWebFile -checksum '98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3' -checksumType 'SHA256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'hasklig' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\haskligInstall.zip' -url 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip' -url64bit ''
|
|
2024-07-08 12:24:12,321 3000 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2024-07-08 12:24:12,364 3000 [DEBUG] - CPU is 64 bit
|
|
2024-07-08 12:24:12,464 3000 [DEBUG] - Running Get-WebFileName -url 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip' -defaultName 'haskligInstall.zip'
|
|
2024-07-08 12:24:13,449 3000 [DEBUG] - Using header 'Content-Disposition' to determine file name.
|
|
2024-07-08 12:24:13,463 3000 [DEBUG] - File name determined from url is 'Hasklig-1.1.zip'
|
|
2024-07-08 12:24:13,539 3000 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip' -ErrorAction 'Stop'
|
|
2024-07-08 12:24:13,560 3000 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2024-07-08 12:24:13,560 3000 [DEBUG] - Request Headers:
|
|
2024-07-08 12:24:13,571 3000 [DEBUG] - 'Accept':'*/*'
|
|
2024-07-08 12:24:13,590 3000 [DEBUG] - 'User-Agent':'chocolatey command line'
|
|
2024-07-08 12:24:13,917 3000 [DEBUG] - Response Headers:
|
|
2024-07-08 12:24:13,917 3000 [DEBUG] - 'Connection':'keep-alive'
|
|
2024-07-08 12:24:13,933 3000 [DEBUG] - 'Content-MD5':'vGI7jbk/EZwQjcRjKGbeUA=='
|
|
2024-07-08 12:24:13,933 3000 [DEBUG] - 'x-ms-request-id':'b9fc9055-001e-0048-7e96-cffc62000000'
|
|
2024-07-08 12:24:13,948 3000 [DEBUG] - 'x-ms-version':'2020-10-02'
|
|
2024-07-08 12:24:13,948 3000 [DEBUG] - 'x-ms-creation-time':'Tue, 17 Aug 2021 03:10:01 GMT'
|
|
2024-07-08 12:24:13,963 3000 [DEBUG] - 'x-ms-lease-status':'unlocked'
|
|
2024-07-08 12:24:13,963 3000 [DEBUG] - 'x-ms-lease-state':'available'
|
|
2024-07-08 12:24:13,963 3000 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
|
|
2024-07-08 12:24:13,981 3000 [DEBUG] - 'Content-Disposition':'attachment; filename=Hasklig-1.1.zip'
|
|
2024-07-08 12:24:13,981 3000 [DEBUG] - 'x-ms-server-encrypted':'true'
|
|
2024-07-08 12:24:13,981 3000 [DEBUG] - 'Age':'1'
|
|
2024-07-08 12:24:13,994 3000 [DEBUG] - 'X-Served-By':'cache-iad-kcgs7200057-IAD, cache-mci680041-MCI'
|
|
2024-07-08 12:24:13,994 3000 [DEBUG] - 'X-Cache':'HIT, HIT'
|
|
2024-07-08 12:24:13,994 3000 [DEBUG] - 'X-Cache-Hits':'15, 1'
|
|
2024-07-08 12:24:13,994 3000 [DEBUG] - 'X-Timer':'S1720441454.711331,VS0,VE192'
|
|
2024-07-08 12:24:14,012 3000 [DEBUG] - 'Accept-Ranges':'bytes'
|
|
2024-07-08 12:24:14,012 3000 [DEBUG] - 'Content-Length':'1308041'
|
|
2024-07-08 12:24:14,012 3000 [DEBUG] - 'Content-Type':'application/octet-stream'
|
|
2024-07-08 12:24:14,025 3000 [DEBUG] - 'Date':'Mon, 08 Jul 2024 12:24:13 GMT'
|
|
2024-07-08 12:24:14,025 3000 [DEBUG] - 'ETag':'"0x8D9B93A87D91872"'
|
|
2024-07-08 12:24:14,025 3000 [DEBUG] - 'Last-Modified':'Tue, 07 Dec 2021 04:32:08 GMT'
|
|
2024-07-08 12:24:14,025 3000 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
|
|
2024-07-08 12:24:14,025 3000 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
|
|
2024-07-08 12:24:14,068 3000 [INFO ] - Downloading hasklig
|
|
from 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip'
|
|
2024-07-08 12:24:14,135 3000 [DEBUG] - Running Get-WebFile -url 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip' -options 'System.Collections.Hashtable'
|
|
2024-07-08 12:24:14,135 3000 [DEBUG] - Setting request timeout to 30000
|
|
2024-07-08 12:24:14,135 3000 [DEBUG] - Setting read/write timeout to 2700000
|
|
2024-07-08 12:24:14,151 3000 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2024-07-08 12:24:14,757 3000 [DEBUG] - Downloading https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip
|
|
2024-07-08 12:24:14,849 3000 [INFO ] -
|
|
2024-07-08 12:24:14,880 3000 [INFO ] - Download of Hasklig-1.1.zip (1.25 MB) completed.
|
|
2024-07-08 12:24:17,990 3000 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
|
|
2024-07-08 12:24:17,990 3000 [DEBUG] - Verifying package provided checksum of '98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip'.
|
|
2024-07-08 12:24:18,022 3000 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip' -checksum '98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3' -checksumType 'SHA256' -originalUrl 'https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip'
|
|
2024-07-08 12:24:18,053 3000 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
|
|
2024-07-08 12:24:18,053 3000 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip"]
|
|
2024-07-08 12:24:18,991 3000 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="98ECCEC22BC0AE3838A099A911230F62197E681B6A6C30E5149C52F5FC6A95C3" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip"] exited with '0'.
|
|
2024-07-08 12:24:19,054 3000 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip' -destination 'C:\ProgramData\chocolatey\lib\hasklig\fonts' -specificFolder '' -packageName 'hasklig'
|
|
2024-07-08 12:24:19,054 3000 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-07-08 12:24:19,084 3000 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip to C:\ProgramData\chocolatey\lib\hasklig\fonts...
|
|
2024-07-08 12:24:19,115 3000 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-07-08 12:24:19,146 3000 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\hasklig\fonts" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip"]
|
|
2024-07-08 12:24:19,412 3000 [INFO ] - VERBOSE:
|
|
2024-07-08 12:24:19,412 3000 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-07-08 12:24:19,412 3000 [INFO ] - VERBOSE:
|
|
2024-07-08 12:24:19,436 3000 [INFO ] - VERBOSE: 1 file, 1308041 bytes (1278 KiB)
|
|
2024-07-08 12:24:19,436 3000 [INFO ] - VERBOSE:
|
|
2024-07-08 12:24:19,446 3000 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip
|
|
2024-07-08 12:24:19,446 3000 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-07-08 12:24:19,446 3000 [INFO ] - VERBOSE: --
|
|
2024-07-08 12:24:19,466 3000 [INFO ] - VERBOSE: Type = zip
|
|
2024-07-08 12:24:19,466 3000 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip
|
|
2024-07-08 12:24:19,478 3000 [INFO ] - VERBOSE:
|
|
2024-07-08 12:24:19,478 3000 [INFO ] - VERBOSE: Physical Size = 1308041
|
|
2024-07-08 12:24:19,478 3000 [INFO ] - VERBOSE: - Hasklig-Black.otf
|
|
2024-07-08 12:24:19,507 3000 [INFO ] - VERBOSE: - Hasklig-Bold.otf
|
|
2024-07-08 12:24:19,507 3000 [INFO ] - VERBOSE: - Hasklig-BoldIt.otf
|
|
2024-07-08 12:24:19,507 3000 [INFO ] - VERBOSE: - Hasklig-BlackIt.otf
|
|
2024-07-08 12:24:19,507 3000 [INFO ] - VERBOSE: - Hasklig-ExtraLight.otf
|
|
2024-07-08 12:24:19,532 3000 [INFO ] - VERBOSE: - Hasklig-ExtraLightIt.otf
|
|
2024-07-08 12:24:19,536 3000 [INFO ] - VERBOSE: - Hasklig-It.otf
|
|
2024-07-08 12:24:19,536 3000 [INFO ] - VERBOSE: - Hasklig-Light.otf
|
|
2024-07-08 12:24:19,536 3000 [INFO ] - VERBOSE: - Hasklig-LightIt.otf
|
|
2024-07-08 12:24:19,536 3000 [INFO ] - VERBOSE: - Hasklig-Medium.otf
|
|
2024-07-08 12:24:19,536 3000 [INFO ] - VERBOSE: - Hasklig-Regular.otf
|
|
2024-07-08 12:24:19,563 3000 [INFO ] - VERBOSE: - Hasklig-MediumIt.otf
|
|
2024-07-08 12:24:19,569 3000 [INFO ] - VERBOSE: - Hasklig-Semibold.otf
|
|
2024-07-08 12:24:19,569 3000 [INFO ] - VERBOSE: - Hasklig-SemiboldIt.otf
|
|
2024-07-08 12:24:19,569 3000 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-07-08 12:24:19,569 3000 [INFO ] - VERBOSE:
|
|
2024-07-08 12:24:19,569 3000 [INFO ] - VERBOSE: Size: 1949952
|
|
2024-07-08 12:24:19,598 3000 [INFO ] - VERBOSE: Files: 14
|
|
2024-07-08 12:24:19,598 3000 [INFO ] - VERBOSE: Compressed: 1308041
|
|
2024-07-08 12:24:19,651 3000 [DEBUG] - $exitCode was passed null
|
|
2024-07-08 12:24:19,651 3000 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\hasklig\fonts" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\hasklig\1.1.0\Hasklig-1.1.zip"] exited with '0'.
|
|
2024-07-08 12:24:19,724 3000 [DEBUG] - 7z exit code: 0
|
|
2024-07-08 12:24:19,773 3000 [INFO ] - C:\ProgramData\chocolatey\lib\hasklig\fonts
|
|
2024-07-08 12:24:19,966 3000 [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
|
|
}
|
|
|
|
}
|
|
}
|
|
2024-07-08 12:24:21,150 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-Black.otf' installed successfully
|
|
2024-07-08 12:24:21,169 3000 [INFO ] -
|
|
2024-07-08 12:24:21,322 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-BlackIt.otf' installed successfully
|
|
2024-07-08 12:24:21,339 3000 [INFO ] -
|
|
2024-07-08 12:24:21,420 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-Bold.otf' installed successfully
|
|
2024-07-08 12:24:21,430 3000 [INFO ] -
|
|
2024-07-08 12:24:21,526 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-BoldIt.otf' installed successfully
|
|
2024-07-08 12:24:21,526 3000 [INFO ] -
|
|
2024-07-08 12:24:21,597 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-ExtraLight.otf' installed successfully
|
|
2024-07-08 12:24:21,597 3000 [INFO ] -
|
|
2024-07-08 12:24:21,680 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-ExtraLightIt.otf' installed successfully
|
|
2024-07-08 12:24:21,708 3000 [INFO ] -
|
|
2024-07-08 12:24:21,786 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-It.otf' installed successfully
|
|
2024-07-08 12:24:21,786 3000 [INFO ] -
|
|
2024-07-08 12:24:21,897 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-Light.otf' installed successfully
|
|
2024-07-08 12:24:21,897 3000 [INFO ] -
|
|
2024-07-08 12:24:21,997 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-LightIt.otf' installed successfully
|
|
2024-07-08 12:24:21,997 3000 [INFO ] -
|
|
2024-07-08 12:24:22,072 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-Medium.otf' installed successfully
|
|
2024-07-08 12:24:22,072 3000 [INFO ] -
|
|
2024-07-08 12:24:22,160 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-MediumIt.otf' installed successfully
|
|
2024-07-08 12:24:22,160 3000 [INFO ] -
|
|
2024-07-08 12:24:22,241 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-Regular.otf' installed successfully
|
|
2024-07-08 12:24:22,241 3000 [INFO ] -
|
|
2024-07-08 12:24:22,355 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-Semibold.otf' installed successfully
|
|
2024-07-08 12:24:22,371 3000 [INFO ] -
|
|
2024-07-08 12:24:22,462 3000 [INFO ] - Font 'C:\ProgramData\chocolatey\lib\hasklig\fonts\Hasklig-SemiboldIt.otf' installed successfully
|
|
2024-07-08 12:24:22,462 3000 [INFO ] -
|
|
2024-07-08 12:24:22,527 3000 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-07-08 12:24:22,603 3000 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-07-08 12:24:22,624 3000 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-07-08 12:24:22,744 3000 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-07-08 12:24:22,901 3000 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\hasklig'
|
|
2024-07-08 12:24:22,901 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\Hasklig-1.1.zip.txt'
|
|
with checksum 'E9E50C37ADEEDA47F4163424916311A0'
|
|
2024-07-08 12:24:22,901 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\hasklig.nupkg'
|
|
with checksum '782F52450120C1EFB2F94B6C54135CDF'
|
|
2024-07-08 12:24:22,901 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\hasklig.nuspec'
|
|
with checksum '8D5C42AD66ACD11BE385A75B58FF9ED9'
|
|
2024-07-08 12:24:22,922 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\tools\Add-Font.ps1'
|
|
with checksum '35EC7DC52B9BE6B97A523B65FA61BDE9'
|
|
2024-07-08 12:24:22,930 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateybeforemodify.ps1'
|
|
with checksum 'CA1FC5AA1FE882A8A8A5302010B71494'
|
|
2024-07-08 12:24:22,930 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\tools\chocolateyinstall.ps1'
|
|
with checksum '7EC7F737E0B1EECFBB711DA2B2EB13C2'
|
|
2024-07-08 12:24:22,930 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\hasklig\tools\Remove-Font.ps1'
|
|
with checksum '9A72A80415A2939ADE8D6E458FC8D658'
|
|
2024-07-08 12:24:22,993 3000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\hasklig.1.1.0".
|
|
2024-07-08 12:24:23,026 3000 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\hasklig.1.1.0\.files'
|
|
2024-07-08 12:24:23,043 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\hasklig.1.1.0\.extra".
|
|
2024-07-08 12:24:23,043 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\hasklig.1.1.0\.version".
|
|
2024-07-08 12:24:23,043 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\hasklig.1.1.0\.sxs".
|
|
2024-07-08 12:24:23,058 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\hasklig.1.1.0\.pin".
|
|
2024-07-08 12:24:23,073 3000 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-07-08 12:24:23,073 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\hasklig\.chocolateyPending".
|
|
2024-07-08 12:24:23,091 3000 [INFO ] - The install of hasklig was successful.
|
|
2024-07-08 12:24:23,101 3000 [INFO ] - Deployed to 'C:\ProgramData\chocolatey\lib\hasklig\fonts'
|
|
2024-07-08 12:24:23,131 3000 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-07-08 12:24:23,131 3000 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-07-08 12:24:23,155 3000 [DEBUG] - Exiting with 0
|