|
2024-03-27 01:16:35,410 4744 [DEBUG] - XmlConfiguration is now operational
|
|
2024-03-27 01:16:35,600 4744 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,600 4744 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,613 4744 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,613 4744 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,630 4744 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,630 4744 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,645 4744 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,645 4744 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,645 4744 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-03-27 01:16:35,660 4744 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-03-27 01:16:35,660 4744 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-03-27 01:16:36,549 4744 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,549 4744 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,565 4744 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,565 4744 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,565 4744 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,565 4744 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,582 4744 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,582 4744 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,597 4744 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,597 4744 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-27 01:16:36,632 4744 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-03-27 01:16:36,644 4744 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-03-27 01:16:36,644 4744 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-03-27 01:16:36,644 4744 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-03-27 01:16:36,661 4744 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-03-27 01:16:36,661 4744 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-03-27 01:16:36,661 4744 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-03-27 01:16:36,675 4744 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-03-27 01:16:36,675 4744 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-03-27 01:16:36,675 4744 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-03-27 01:16:36,690 4744 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-03-27 01:16:36,690 4744 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-03-27 01:16:36,707 4744 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-03-27 01:16:36,707 4744 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-03-27 01:16:36,707 4744 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-03-27 01:16:36,722 4744 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-03-27 01:16:36,722 4744 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-03-27 01:16:36,738 4744 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-03-27 01:16:36,738 4744 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-03-27 01:16:36,754 4744 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-03-27 01:16:37,066 4744 [INFO ] - ============================================================
|
|
2024-03-27 01:16:37,488 4744 [INFO ] - Chocolatey v2.2.2
|
|
2024-03-27 01:16:37,518 4744 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-03-27 01:16:37,535 4744 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-03-27 01:16:37,550 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-03-27 01:16:37,566 4744 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install consul --version 1.18.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-03-27 01:16:37,566 4744 [DEBUG] - Received arguments: install consul --version 1.18.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-03-27 01:16:37,754 4744 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-03-27 01:16:37,784 4744 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-03-27 01:16:37,800 4744 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-03-27 01:16:38,035 4744 [DEBUG] - Performing validation checks.
|
|
2024-03-27 01:16:38,066 4744 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-03-27 01:16:38,066 4744 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-03-27 01:16:38,080 4744 [DEBUG] - System State Validation Checks:
|
|
2024-03-27 01:16:38,097 4744 [DEBUG] - Reboot Requirement Checks:
|
|
2024-03-27 01:16:38,097 4744 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-03-27 01:16:38,113 4744 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-03-27 01:16:38,113 4744 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-03-27 01:16:38,128 4744 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-03-27 01:16:38,128 4744 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-03-27 01:16:38,144 4744 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-03-27 01:16:38,160 4744 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-03-27 01:16:38,160 4744 [DEBUG] - - Elevated State = Checked
|
|
2024-03-27 01:16:38,160 4744 [DEBUG] - - Folder Exists = Checked
|
|
2024-03-27 01:16:38,191 4744 [DEBUG] - - Folder lockdown = Checked
|
|
2024-03-27 01:16:38,191 4744 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-03-27 01:16:38,254 4744 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-03-27 01:16:38,269 4744 [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-03-27 01:16:38,333 4744 [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'|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='consul'|
|
|
Version='1.18.1'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='consul'|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 2016'|
|
|
Information.ChocolateyVersion='2.2.2.0'|
|
|
Information.ChocolateyProductVersion='2.2.2'|
|
|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-27QLDLKB4P1'|
|
|
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'|
|
|
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'|
|
|
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-03-27 01:16:38,401 4744 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-03-27 01:16:38,427 4744 [INFO ] - Installing the following packages:
|
|
2024-03-27 01:16:38,427 4744 [INFO ] - consul
|
|
2024-03-27 01:16:38,442 4744 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-03-27 01:16:38,459 4744 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-03-27 01:16:38,473 4744 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-03-27 01:16:38,473 4744 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-03-27 01:16:38,488 4744 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-03-27 01:16:38,488 4744 [DEBUG] - * 'ChocolateyLastPathUpdate'='133559299697996641' ('User')
|
|
2024-03-27 01:16:38,488 4744 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-03-27 01:16:38,503 4744 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-03-27 01:16:38,503 4744 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-03-27 01:16:38,503 4744 [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-03-27 01:16:38,520 4744 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-03-27 01:16:38,520 4744 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-03-27 01:16:38,534 4744 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-03-27 01:16:38,534 4744 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-03-27 01:16:38,534 4744 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-03-27 01:16:38,550 4744 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-03-27 01:16:38,550 4744 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-03-27 01:16:38,550 4744 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-03-27 01:16:38,566 4744 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-03-27 01:16:38,566 4744 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-03-27 01:16:38,566 4744 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-03-27 01:16:38,581 4744 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-03-27 01:16:39,332 4744 [DEBUG] - Running list with the following filter = ''
|
|
2024-03-27 01:16:39,332 4744 [DEBUG] - --- Start of List ---
|
|
2024-03-27 01:16:39,428 4744 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-03-27 01:16:40,098 4744 [DEBUG] - chocolatey 2.2.2
|
|
2024-03-27 01:16:40,114 4744 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-03-27 01:16:40,130 4744 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-03-27 01:16:40,144 4744 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-03-27 01:16:40,160 4744 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-03-27 01:16:40,160 4744 [DEBUG] - KB3035131 1.0.3
|
|
2024-03-27 01:16:40,208 4744 [DEBUG] - KB3118401 1.0.5
|
|
2024-03-27 01:16:40,222 4744 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-03-27 01:16:40,238 4744 [DEBUG] - --- End of List ---
|
|
2024-03-27 01:16:40,253 4744 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-03-27 01:16:40,941 4744 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-03-27 01:16:41,613 4744 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.18.1')
|
|
2024-03-27 01:16:41,910 4744 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.18.1') 284ms
|
|
2024-03-27 01:16:42,082 4744 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-03-27 01:16:42,815 4744 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-03-27 01:16:42,831 4744 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.18.1')
|
|
2024-03-27 01:16:43,553 4744 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2024-03-27 01:16:43,619 4744 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 60ms
|
|
2024-03-27 01:16:43,695 4744 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='nssm'&semVerLevel=2.0.0
|
|
2024-03-27 01:16:43,789 4744 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='nssm'&semVerLevel=2.0.0 78ms
|
|
2024-03-27 01:16:43,879 4744 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='nssm'&$skiptoken='1710841715490','2.16.0','nssm'
|
|
2024-03-27 01:16:44,010 4744 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='nssm'&$skiptoken='1710841715490','2.16.0','nssm' 123ms
|
|
2024-03-27 01:16:44,276 4744 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-03-27 01:16:44,303 4744 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='nssm',Version='2.24.101.20180116')
|
|
2024-03-27 01:16:44,385 4744 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='nssm',Version='2.24.101.20180116') 75ms
|
|
2024-03-27 01:16:44,412 4744 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-03-27 01:16:44,476 4744 [DEBUG] - Attempting to delete file "".
|
|
2024-03-27 01:16:44,521 4744 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/nssm/2.24.101.20180116
|
|
2024-03-27 01:16:44,928 4744 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/nssm/2.24.101.20180116 386ms
|
|
2024-03-27 01:16:44,974 4744 [INFO ] - [NuGet] Acquiring lock for the installation of nssm 2.24.101.20180116
|
|
2024-03-27 01:16:45,055 4744 [INFO ] - [NuGet] Acquired lock for the installation of nssm 2.24.101.20180116
|
|
2024-03-27 01:16:45,631 4744 [INFO ] - [NuGet] Installed nssm 2.24.101.20180116 from https://community.chocolatey.org/api/v2/ with content hash fuJpe592dg8JbBkBeU80oH51aVI5CUmAtNIFzvZfpE9nyFp6017LDBHNuZDZ6eOK3zwUjAlZo9u6I5lTM8otLA==.
|
|
2024-03-27 01:16:45,710 4744 [INFO ] - [NuGet] Adding package 'nssm.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-03-27 01:16:45,816 4744 [INFO ] - [NuGet] Added package 'nssm.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-03-27 01:16:45,847 4744 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\nssm/2.24.101.20180116\nssm.2.24.101.20180116.nupkg".
|
|
2024-03-27 01:16:45,847 4744 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\nssm/2.24.101.20180116\.nupkg.metadata".
|
|
2024-03-27 01:16:45,864 4744 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\nssm/2.24.101.20180116\nssm.2.24.101.20180116.nupkg.sha512".
|
|
2024-03-27 01:16:45,864 4744 [INFO ] -
|
|
nssm v2.24.101.20180116 (forced) [Approved]
|
|
2024-03-27 01:16:45,961 4744 [INFO ] - nssm package files install completed. Performing other installation steps.
|
|
2024-03-27 01:16:46,039 4744 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\nssm\tools\chocolateyInstall.ps1':
|
|
2024-03-27 01:16:46,052 4744 [DEBUG] - $ErrorActionPreference = 'Stop'
|
|
|
|
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
|
|
if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
|
|
Write-Host "Installing 64 bit version"; $is64 = $true
|
|
} else { Write-Host "Installing 32 bit version"}
|
|
|
|
$packageArgs = @{
|
|
PackageName = 'nssm'
|
|
FileFullPath = Get-Item $toolsDir\*.zip
|
|
Destination = $toolsDir
|
|
}
|
|
Get-ChildItem $toolsDir\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
|
|
Get-ChocolateyUnzip @packageArgs
|
|
|
|
$source = if ($is64) { 'win64' } else { 'win32' }
|
|
Copy-Item $toolsDir\nssm-*\$source\nssm.exe $toolsDir
|
|
Remove-Item -Force $toolsDir\nssm*.zip -ea 0
|
|
Remove-Item -Recurse $toolsDir\nssm-*
|
|
|
|
2024-03-27 01:16:46,101 4744 [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\nssm\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-03-27 01:16:46,114 4744 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-03-27 01:16:47,006 4744 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-03-27 01:16:47,613 4744 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-03-27 01:16:47,613 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-03-27 01:16:47,628 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-03-27 01:16:47,628 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-03-27 01:16:47,628 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-03-27 01:16:47,644 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-03-27 01:16:47,644 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-03-27 01:16:47,659 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-03-27 01:16:47,659 4744 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-03-27 01:16:47,676 4744 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-03-27 01:16:47,676 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-03-27 01:16:47,676 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-27 01:16:47,693 4744 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-03-27 01:16:47,693 4744 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-03-27 01:16:47,707 4744 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-03-27 01:16:47,724 4744 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-03-27 01:16:47,724 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-03-27 01:16:47,724 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-03-27 01:16:47,738 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-03-27 01:16:47,738 4744 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-03-27 01:16:47,754 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:16:47,754 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-27 01:16:47,769 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-27 01:16:47,769 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-27 01:16:47,785 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-03-27 01:16:47,785 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-03-27 01:16:47,801 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-27 01:16:47,801 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-27 01:16:47,801 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-03-27 01:16:47,818 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-27 01:16:47,818 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-03-27 01:16:47,831 4744 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-03-27 01:16:47,831 4744 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-03-27 01:16:47,847 4744 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-03-27 01:16:47,847 4744 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-27 01:16:47,864 4744 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-03-27 01:16:47,864 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-03-27 01:16:47,878 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:16:47,878 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-27 01:16:47,878 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-27 01:16:47,894 4744 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-03-27 01:16:47,894 4744 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-03-27 01:16:47,909 4744 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-03-27 01:16:47,909 4744 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-03-27 01:16:47,909 4744 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-03-27 01:16:47,927 4744 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-03-27 01:16:47,927 4744 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-03-27 01:16:47,941 4744 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-03-27 01:16:47,941 4744 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-27 01:16:47,957 4744 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-03-27 01:16:47,957 4744 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-03-27 01:16:48,083 4744 [DEBUG] - Loading community extensions
|
|
2024-03-27 01:16:48,116 4744 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-03-27 01:16:48,131 4744 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-03-27 01:16:48,274 4744 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:16:48,288 4744 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:16:48,301 4744 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:16:48,301 4744 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:16:48,317 4744 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-03-27 01:16:48,317 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-03-27 01:16:48,317 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-03-27 01:16:48,332 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-03-27 01:16:48,332 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-03-27 01:16:48,347 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-03-27 01:16:48,347 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-03-27 01:16:48,363 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-03-27 01:16:48,363 4744 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-03-27 01:16:48,363 4744 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-03-27 01:16:48,381 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-03-27 01:16:48,381 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-27 01:16:48,394 4744 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-03-27 01:16:48,394 4744 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-03-27 01:16:48,409 4744 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-03-27 01:16:48,409 4744 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-03-27 01:16:48,409 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-03-27 01:16:48,427 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-03-27 01:16:48,427 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-03-27 01:16:48,441 4744 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-03-27 01:16:48,441 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:16:48,456 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-27 01:16:48,456 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-27 01:16:48,456 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-27 01:16:48,472 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-03-27 01:16:48,472 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-03-27 01:16:48,488 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-27 01:16:48,488 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-27 01:16:48,504 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-03-27 01:16:48,504 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-27 01:16:48,521 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-03-27 01:16:48,521 4744 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-03-27 01:16:48,535 4744 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-03-27 01:16:48,535 4744 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-03-27 01:16:48,551 4744 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-27 01:16:48,551 4744 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-03-27 01:16:48,568 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-03-27 01:16:48,582 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:16:48,582 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-27 01:16:48,597 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-27 01:16:48,597 4744 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-03-27 01:16:48,597 4744 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-03-27 01:16:48,614 4744 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:16:48,630 4744 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:16:48,630 4744 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-03-27 01:16:48,630 4744 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-03-27 01:16:48,645 4744 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-03-27 01:16:48,645 4744 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-03-27 01:16:48,659 4744 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-03-27 01:16:48,659 4744 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-03-27 01:16:48,677 4744 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-27 01:16:48,677 4744 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-03-27 01:16:48,677 4744 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-03-27 01:16:48,692 4744 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-03-27 01:16:48,692 4744 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-03-27 01:16:48,709 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-03-27 01:16:48,709 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-03-27 01:16:48,725 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-03-27 01:16:48,725 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-03-27 01:16:48,738 4744 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-03-27 01:16:48,738 4744 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-03-27 01:16:48,754 4744 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-03-27 01:16:48,754 4744 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-03-27 01:16:48,769 4744 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-03-27 01:16:48,769 4744 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-27 01:16:48,784 4744 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-03-27 01:16:48,784 4744 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-03-27 01:16:48,784 4744 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-03-27 01:16:48,800 4744 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-03-27 01:16:48,800 4744 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-03-27 01:16:48,816 4744 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-03-27 01:16:48,816 4744 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-03-27 01:16:48,816 4744 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-03-27 01:16:48,832 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:16:48,832 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-27 01:16:48,847 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-27 01:16:48,847 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-27 01:16:48,847 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-03-27 01:16:48,864 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-03-27 01:16:48,864 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-27 01:16:48,879 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-27 01:16:48,896 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-03-27 01:16:48,910 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-27 01:16:48,910 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-03-27 01:16:48,927 4744 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-03-27 01:16:48,927 4744 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:16:48,941 4744 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-03-27 01:16:48,941 4744 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-03-27 01:16:48,958 4744 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-27 01:16:48,958 4744 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-03-27 01:16:48,974 4744 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:16:48,974 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-03-27 01:16:48,974 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:16:48,989 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-27 01:16:48,989 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-27 01:16:49,004 4744 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-03-27 01:16:49,004 4744 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-03-27 01:16:49,019 4744 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-03-27 01:16:49,019 4744 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-03-27 01:16:49,035 4744 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-03-27 01:16:49,035 4744 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-03-27 01:16:49,050 4744 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-03-27 01:16:49,050 4744 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-27 01:16:49,050 4744 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-03-27 01:16:49,066 4744 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-03-27 01:16:49,066 4744 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-03-27 01:16:49,191 4744 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-03-27 01:16:49,222 4744 [DEBUG] - Running 'ChocolateyScriptRunner' for nssm v2.24.101.20180116 with packageScript 'C:\ProgramData\chocolatey\lib\nssm\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\nssm', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-03-27 01:16:49,303 4744 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\nssm\tools\chocolateyInstall.ps1'
|
|
2024-03-27 01:16:49,475 4744 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2024-03-27 01:16:49,552 4744 [INFO ] - Installing 64 bit version
|
|
2024-03-27 01:16:49,742 4744 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\ProgramData\chocolatey\lib\nssm\tools' -packageName 'nssm' -fileFullPath 'C:\ProgramData\chocolatey\lib\nssm\tools\nssm-2.24-101-g897c7ad.zip'
|
|
2024-03-27 01:16:49,758 4744 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-03-27 01:16:49,802 4744 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\nssm\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\nssm\tools...
|
|
2024-03-27 01:16:49,864 4744 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-03-27 01:16:49,957 4744 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\nssm\tools" -y "C:\ProgramData\chocolatey\lib\nssm\tools\nssm-2.24-101-g897c7ad.zip"]
|
|
2024-03-27 01:16:50,395 4744 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-03-27 01:16:50,428 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:16:50,442 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:16:50,442 4744 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-03-27 01:16:50,459 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:16:50,474 4744 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
|
|
2024-03-27 01:16:50,474 4744 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\nssm\tools\nssm-2.24-101-g897c7ad.zip
|
|
2024-03-27 01:16:50,489 4744 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\nssm\tools\nssm-2.24-101-g897c7ad.zip
|
|
2024-03-27 01:16:50,489 4744 [INFO ] - VERBOSE: --
|
|
2024-03-27 01:16:50,505 4744 [INFO ] - VERBOSE: Type = zip
|
|
2024-03-27 01:16:50,505 4744 [INFO ] - VERBOSE: Physical Size = 415458
|
|
2024-03-27 01:16:50,522 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:16:50,522 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\
|
|
2024-03-27 01:16:50,597 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
|
|
2024-03-27 01:16:50,615 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
|
|
2024-03-27 01:16:50,615 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\
|
|
2024-03-27 01:16:50,629 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
|
|
2024-03-27 01:16:50,629 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
|
|
2024-03-27 01:16:50,647 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
|
|
2024-03-27 01:16:50,647 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
|
|
2024-03-27 01:16:50,660 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
|
|
2024-03-27 01:16:50,660 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
|
|
2024-03-27 01:16:50,692 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
|
|
2024-03-27 01:16:50,792 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
|
|
2024-03-27 01:16:50,801 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
|
|
2024-03-27 01:16:50,801 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
|
|
2024-03-27 01:16:50,818 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
|
|
2024-03-27 01:16:50,863 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
|
|
2024-03-27 01:16:50,879 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
|
|
2024-03-27 01:16:50,894 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
|
|
2024-03-27 01:16:50,894 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
|
|
2024-03-27 01:16:50,912 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
|
|
2024-03-27 01:16:50,928 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
|
|
2024-03-27 01:16:50,941 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
|
|
2024-03-27 01:16:50,941 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
|
|
2024-03-27 01:16:50,958 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
|
|
2024-03-27 01:16:50,958 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
|
|
2024-03-27 01:16:50,972 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
|
|
2024-03-27 01:16:50,972 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
|
|
2024-03-27 01:16:50,988 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
|
|
2024-03-27 01:16:50,988 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
|
|
2024-03-27 01:16:51,003 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
|
|
2024-03-27 01:16:51,003 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
|
|
2024-03-27 01:16:51,020 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
|
|
2024-03-27 01:16:51,020 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
|
|
2024-03-27 01:16:51,035 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
|
|
2024-03-27 01:16:51,035 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
|
|
2024-03-27 01:16:51,050 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
|
|
2024-03-27 01:16:51,098 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\
|
|
2024-03-27 01:16:51,113 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
|
|
2024-03-27 01:16:51,113 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\
|
|
2024-03-27 01:16:51,129 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
|
|
2024-03-27 01:16:51,129 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
|
|
2024-03-27 01:16:51,145 4744 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-03-27 01:16:51,145 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:16:51,160 4744 [INFO ] - VERBOSE: Folders: 4
|
|
2024-03-27 01:16:51,176 4744 [INFO ] - VERBOSE: Files: 40
|
|
2024-03-27 01:16:51,176 4744 [INFO ] - VERBOSE: Size: 1411772
|
|
2024-03-27 01:16:51,192 4744 [INFO ] - VERBOSE: Compressed: 415458
|
|
2024-03-27 01:16:51,192 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
|
|
2024-03-27 01:16:51,210 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
|
|
2024-03-27 01:16:51,223 4744 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
|
|
2024-03-27 01:16:51,365 4744 [DEBUG] - $exitCode was passed null
|
|
2024-03-27 01:16:51,365 4744 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\nssm\tools" -y "C:\ProgramData\chocolatey\lib\nssm\tools\nssm-2.24-101-g897c7ad.zip"] exited with '0'.
|
|
2024-03-27 01:16:51,426 4744 [DEBUG] - 7z exit code: 0
|
|
2024-03-27 01:16:51,456 4744 [INFO ] - C:\ProgramData\chocolatey\lib\nssm\tools
|
|
2024-03-27 01:16:51,536 4744 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-03-27 01:16:51,551 4744 [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\nssm\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-03-27 01:16:51,570 4744 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-03-27 01:16:51,754 4744 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-03-27 01:16:51,913 4744 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\nssm'
|
|
2024-03-27 01:16:51,940 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\nssm-2.24-101-g897c7ad.zip.txt'
|
|
with checksum '9E1EBE7EAD6684DC9CD34910B1619430'
|
|
2024-03-27 01:16:51,940 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\nssm.nupkg'
|
|
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
|
|
2024-03-27 01:16:51,958 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\nssm.nuspec'
|
|
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
|
|
2024-03-27 01:16:51,958 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\legal\License.txt'
|
|
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
|
|
2024-03-27 01:16:51,958 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\legal\VERIFICATION.txt'
|
|
with checksum '8591C7D2CED72370160BAAD01E373EFA'
|
|
2024-03-27 01:16:51,974 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\tools\chocolateyBeforeModify.ps1'
|
|
with checksum 'E404813C6C470EF6D868D205C4649408'
|
|
2024-03-27 01:16:51,974 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\tools\chocolateyInstall.ps1'
|
|
with checksum '2A67BD22033BDF5CB20693640EF65B28'
|
|
2024-03-27 01:16:51,987 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\nssm\tools\nssm.exe'
|
|
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
|
|
2024-03-27 01:16:52,019 4744 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\nssm\tools\nssm.exe" --output="C:\ProgramData\chocolatey\bin\nssm.exe" --iconpath="C:\ProgramData\chocolatey\lib\nssm\tools\nssm.exe"']
|
|
2024-03-27 01:16:53,148 4744 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2024-03-27 01:16:53,160 4744 [DEBUG] - [ShimGen] for C# 5
|
|
2024-03-27 01:16:53,174 4744 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2024-03-27 01:16:53,174 4744 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
|
|
2024-03-27 01:16:53,191 4744 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
|
|
2024-03-27 01:16:53,191 4744 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\nssm\tools\nssm.exe" --output="C:\ProgramData\chocolatey\bin\nssm.exe" --iconpath="C:\ProgramData\chocolatey\lib\nssm\tools\nssm.exe"'] exited with '0'
|
|
2024-03-27 01:16:53,207 4744 [INFO ] - ShimGen has successfully created a shim for nssm.exe
|
|
2024-03-27 01:16:53,225 4744 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\nssm\tools\nssm.exe
|
|
IsGui:False
|
|
|
|
2024-03-27 01:16:53,272 4744 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116".
|
|
2024-03-27 01:16:53,323 4744 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.files'
|
|
2024-03-27 01:16:53,362 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.extra".
|
|
2024-03-27 01:16:53,362 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.version".
|
|
2024-03-27 01:16:53,381 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.sxs".
|
|
2024-03-27 01:16:53,381 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.pin".
|
|
2024-03-27 01:16:53,394 4744 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-03-27 01:16:53,412 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\nssm\.chocolateyPending".
|
|
2024-03-27 01:16:53,475 4744 [INFO ] - The install of nssm was successful.
|
|
2024-03-27 01:16:53,475 4744 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\nssm\tools'
|
|
2024-03-27 01:16:53,488 4744 [DEBUG] - Attempting to delete file "".
|
|
2024-03-27 01:16:53,488 4744 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/consul/1.18.1
|
|
2024-03-27 01:16:54,131 4744 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/consul/1.18.1 618ms
|
|
2024-03-27 01:16:54,131 4744 [INFO ] - [NuGet] Acquiring lock for the installation of consul 1.18.1
|
|
2024-03-27 01:16:54,145 4744 [INFO ] - [NuGet] Acquired lock for the installation of consul 1.18.1
|
|
2024-03-27 01:17:20,424 4744 [INFO ] - [NuGet] Installed consul 1.18.1 from https://community.chocolatey.org/api/v2/ with content hash +QRCzqc8xd9iUinhX0TPPb8eQ57VFq6+dpEAfLx986RHmIpr31/qGJj/LnakS4Nm5HPyrx4OlZwhC1K2VMQwtA==.
|
|
2024-03-27 01:17:20,455 4744 [INFO ] - [NuGet] Adding package 'consul.1.18.1 : nssm [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-03-27 01:17:21,211 4744 [INFO ] - [NuGet] Added package 'consul.1.18.1 : nssm [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-03-27 01:17:21,235 4744 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.18.1\consul.1.18.1.nupkg".
|
|
2024-03-27 01:17:21,254 4744 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.18.1\.nupkg.metadata".
|
|
2024-03-27 01:17:21,254 4744 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.18.1\consul.1.18.1.nupkg.sha512".
|
|
2024-03-27 01:17:21,267 4744 [INFO ] -
|
|
consul v1.18.1 (forced)
|
|
2024-03-27 01:17:21,283 4744 [INFO ] - consul package files install completed. Performing other installation steps.
|
|
2024-03-27 01:17:21,298 4744 [DEBUG] - Setting installer args for consul
|
|
2024-03-27 01:17:21,315 4744 [DEBUG] - Setting package parameters for consul
|
|
2024-03-27 01:17:21,315 4744 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1':
|
|
2024-03-27 01:17:21,329 4744 [DEBUG] - if (Test-Path Function:\au_GetLatest) {
|
|
return
|
|
}
|
|
|
|
# Defaults
|
|
$serviceName = "consul"
|
|
$binariesPath = Split-Path -parent $MyInvocation.MyCommand.Definition
|
|
$toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
|
$wrapperExe = "$env:ChocolateyInstall\bin\nssm.exe"
|
|
$serviceInstallationDirectory = "$env:PROGRAMDATA\consul"
|
|
$serviceLogDirectory = "$serviceInstallationDirectory\logs"
|
|
$serviceConfigDirectory = "$serviceInstallationDirectory\config"
|
|
$serviceDataDirectory = "$serviceInstallationDirectory\data"
|
|
|
|
$packageParameters = $env:chocolateyPackageParameters
|
|
if (-not ($packageParameters)) {
|
|
$packageParameters = ""
|
|
Write-Debug "No Package Parameters Passed in"
|
|
}
|
|
|
|
# Create Service Directories
|
|
Write-Host "Creating $serviceLogDirectory"
|
|
New-Item -ItemType directory -Path "$serviceLogDirectory" -ErrorAction SilentlyContinue | Out-Null
|
|
Write-Host "Creating $serviceConfigDirectory"
|
|
New-Item -ItemType directory -Path "$serviceConfigDirectory" -ErrorAction SilentlyContinue | Out-Null
|
|
|
|
# Unzip and move Consul
|
|
Get-ChocolateyUnzip -fileFullPath $(Join-Path $binariesPath "consul_$($env:ChocolateyPackageVersion)_windows_386.zip") -fileFullPath64 $(Join-Path $binariesPath "consul_$($env:ChocolateyPackageVersion)_windows_amd64.zip") -destination "$toolsPath"
|
|
|
|
# Create event log source
|
|
# User -Force to avoid "A key at this path already exists" exception. Overwrite not an issue since key is not further modified
|
|
$registryPath = 'HKLM:\SYSTEM\CurrentControlSet\services\eventlog\Application'
|
|
New-Item -Path $registryPath -Name consul -Force | Out-Null
|
|
# Set EventMessageFile value
|
|
Set-ItemProperty $registryPath\consul EventMessageFile "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\EventLogMessages.dll" | Out-Null
|
|
|
|
# Set up task scheduler for log rotation
|
|
$logrotate = ('%SYSTEMROOT%\System32\forfiles.exe /p \"{0}\" /s /m *.* /c \"cmd /c Del @path\" /d -7' -f "$serviceLogDirectory")
|
|
SchTasks.exe /Create /SC DAILY /TN ""ConsulLogrotate"" /TR ""$($logrotate)"" /ST 09:00 /F | Out-Null
|
|
|
|
# Set up task scheduler for log rotation. Only works for Powershell 4 or Server 2012R2 so this block can replace
|
|
# using SchTasks.exe for registering services once machines have retired the older version of PS or upgraded to 2012R2
|
|
#$command = ('$now = Get-Date; dir "{0}" | where {$_.LastWriteTime -le $now.AddDays(-7)} | del -whatif' -f $serviceLogDirectory)
|
|
#$action = New-ScheduledTaskAction -Execute 'Powershell.exe' -Argument "-NoProfile -WindowStyle Hidden -command $($command)"
|
|
#$trigger = New-ScheduledTaskTrigger -Daily -At 9am
|
|
#Register-ScheduledTask -Action $action -Trigger $trigger -TaskName "ConsulLogrotate" -Description "Log rotation for consul"
|
|
|
|
#Uninstall service if it already exists. Stops the service first if it's running
|
|
$service = Get-Service $serviceName -ErrorAction SilentlyContinue
|
|
if ($service) {
|
|
Write-Host "Uninstalling existing service"
|
|
if($service.Status -ne "Stopped" -and $service.Status -ne "Stopping") {
|
|
Write-Host "Stopping consul process ..."
|
|
$service.Stop();
|
|
}
|
|
|
|
$service.WaitForStatus("Stopped", (New-TimeSpan -Minutes 1));
|
|
if($service.Status -ne "Stopped") {
|
|
throw "$serviceName could not be stopped within the allotted timespan. Stop the service and try again."
|
|
}
|
|
|
|
$service = Get-WmiObject -Class Win32_Service -Filter "Name='$serviceName'"
|
|
$service.delete() | Out-Null
|
|
}
|
|
|
|
Write-Host "Installing service: $serviceName"
|
|
# Install the service
|
|
& $wrapperExe install $serviceName $(Join-Path $toolsPath "consul.exe") "agent -ui -config-dir=$serviceConfigDirectory -data-dir=$serviceDataDirectory $packageParameters" | Out-Null
|
|
& $wrapperExe set $serviceName AppEnvironmentExtra GOMAXPROCS=$env:NUMBER_OF_PROCESSORS | Out-Null
|
|
& $wrapperExe set $serviceName ObjectName NetworkService | Out-Null
|
|
& $wrapperExe set $serviceName AppStdout "$serviceLogDirectory\consul-output.log" | Out-Null
|
|
& $wrapperExe set $serviceName AppStderr "$serviceLogDirectory\consul-error.log" | Out-Null
|
|
& $wrapperExe set $serviceName AppRotateBytes 10485760 | Out-Null
|
|
& $wrapperExe set $serviceName AppRotateFiles 1 | Out-Null
|
|
& $wrapperExe set $serviceName AppRotateOnline 1 | Out-Null
|
|
|
|
Write-Verbose "Service installed"
|
|
|
|
# When nssm fully supports Rotate/Post Event hooks
|
|
# $command = ('$now = Get-Date; dir "{0}" | where {$_.LastWriteTime -le $now.AddDays(-7)} | del -whatif' -f $serviceLogDirectory)
|
|
# $action = ("Powershell.exe -NoProfile -WindowStyle Hidden -command '$({0})'" -f $command)
|
|
# & $wrapperExe set consul AppEvents "Rotate/Post" $action | Out-Null
|
|
|
|
# Restart service on failure natively via Windows sc. There is a memory leak if service restart is performed via NSSM
|
|
# The NSSM configuration will set the default behavior of NSSM to stop the service if
|
|
# consul fails (for example, unable to resolve cluster) and end the nssm.exe and consul.exe process.
|
|
# The sc configuration will set Recovery under the Consul service properties such that a new instance will be started on failure,
|
|
# spawning new nssm.exe and consul.exe processes. In short, nothing changed from a functionality perspective (the service will
|
|
# still attempt to restart on failure) but this method kills the nssm.exe process thus avoiding memory hog.
|
|
& $wrapperExe set $serviceName AppExit Default Exit | Out-Null
|
|
Write-Verbose "sc failure"
|
|
cmd.exe /c "sc failure $serviceName reset= 0 actions= restart/60000" | Out-Null
|
|
|
|
Write-Verbose "Stop service"
|
|
# Let this call to Get-Service throw if the service does not exist
|
|
$service = Get-Service $serviceName
|
|
if($service.Status -ne "Stopped" -and $service.Status -ne "Stopping") {
|
|
$service.Stop()
|
|
}
|
|
|
|
Write-Verbose "Wait for service to stop"
|
|
$service.WaitForStatus("Stopped", (New-TimeSpan -Minutes 1));
|
|
|
|
Write-Verbose "Start service"
|
|
Start-Service $serviceName
|
|
|
|
Write-Host "Installed service: $serviceName"
|
|
|
|
2024-03-27 01:17:21,329 4744 [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\consul\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-03-27 01:17:21,456 4744 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-03-27 01:17:21,549 4744 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-03-27 01:17:22,065 4744 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-03-27 01:17:22,081 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-03-27 01:17:22,095 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-03-27 01:17:22,095 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-03-27 01:17:22,111 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-03-27 01:17:22,127 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-03-27 01:17:22,127 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-03-27 01:17:22,142 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-03-27 01:17:22,193 4744 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-03-27 01:17:22,207 4744 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-03-27 01:17:22,207 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-03-27 01:17:22,220 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-27 01:17:22,238 4744 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-03-27 01:17:22,254 4744 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-03-27 01:17:22,266 4744 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-03-27 01:17:22,266 4744 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-03-27 01:17:22,284 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-03-27 01:17:22,300 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-03-27 01:17:22,314 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-03-27 01:17:22,332 4744 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-03-27 01:17:22,332 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:17:22,344 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-27 01:17:22,360 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-27 01:17:22,360 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-27 01:17:22,377 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-03-27 01:17:22,393 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-03-27 01:17:22,407 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-27 01:17:22,426 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-27 01:17:22,441 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-03-27 01:17:22,441 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-27 01:17:22,454 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-03-27 01:17:22,470 4744 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-03-27 01:17:22,470 4744 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-03-27 01:17:22,487 4744 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-03-27 01:17:22,504 4744 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-27 01:17:22,532 4744 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-03-27 01:17:22,532 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-03-27 01:17:22,563 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:17:22,585 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-27 01:17:22,598 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-27 01:17:22,610 4744 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-03-27 01:17:22,627 4744 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-03-27 01:17:22,643 4744 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-03-27 01:17:22,643 4744 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-03-27 01:17:22,659 4744 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-03-27 01:17:22,725 4744 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-03-27 01:17:22,735 4744 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-03-27 01:17:22,752 4744 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-03-27 01:17:22,752 4744 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-27 01:17:22,767 4744 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-03-27 01:17:22,782 4744 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-03-27 01:17:22,798 4744 [DEBUG] - Loading community extensions
|
|
2024-03-27 01:17:22,848 4744 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-03-27 01:17:22,878 4744 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-03-27 01:17:22,985 4744 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:17:23,019 4744 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:17:23,037 4744 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:17:23,049 4744 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:17:23,063 4744 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-03-27 01:17:23,063 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-03-27 01:17:23,081 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-03-27 01:17:23,098 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-03-27 01:17:23,111 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-03-27 01:17:23,131 4744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-03-27 01:17:23,131 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-03-27 01:17:23,142 4744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-03-27 01:17:23,142 4744 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-03-27 01:17:23,157 4744 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-03-27 01:17:23,179 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-03-27 01:17:23,204 4744 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-27 01:17:23,223 4744 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-03-27 01:17:23,236 4744 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-03-27 01:17:23,236 4744 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-03-27 01:17:23,251 4744 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-03-27 01:17:23,268 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-03-27 01:17:23,282 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-03-27 01:17:23,282 4744 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-03-27 01:17:23,301 4744 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-03-27 01:17:23,313 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:17:23,313 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-27 01:17:23,332 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-27 01:17:23,345 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-27 01:17:23,345 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-03-27 01:17:23,360 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-03-27 01:17:23,360 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-27 01:17:23,375 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-27 01:17:23,393 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-03-27 01:17:23,409 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-27 01:17:23,426 4744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-03-27 01:17:23,438 4744 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-03-27 01:17:23,438 4744 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-03-27 01:17:23,454 4744 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-03-27 01:17:23,471 4744 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-27 01:17:23,486 4744 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-03-27 01:17:23,502 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-03-27 01:17:23,517 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:17:23,517 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-27 01:17:23,534 4744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-27 01:17:23,548 4744 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-03-27 01:17:23,548 4744 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-03-27 01:17:23,565 4744 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:17:23,584 4744 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:17:23,595 4744 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-03-27 01:17:23,595 4744 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-03-27 01:17:23,610 4744 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-03-27 01:17:23,626 4744 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-03-27 01:17:23,626 4744 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-03-27 01:17:23,642 4744 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-03-27 01:17:23,658 4744 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-27 01:17:23,658 4744 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-03-27 01:17:23,676 4744 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-03-27 01:17:23,704 4744 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-03-27 01:17:23,704 4744 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-03-27 01:17:23,720 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-03-27 01:17:23,739 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-03-27 01:17:23,751 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-03-27 01:17:23,769 4744 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-03-27 01:17:23,786 4744 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-03-27 01:17:23,786 4744 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-03-27 01:17:23,799 4744 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-03-27 01:17:23,820 4744 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-03-27 01:17:23,828 4744 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-03-27 01:17:23,844 4744 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-27 01:17:23,861 4744 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-03-27 01:17:23,879 4744 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-03-27 01:17:23,879 4744 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-03-27 01:17:23,893 4744 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-03-27 01:17:23,907 4744 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-03-27 01:17:23,927 4744 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-03-27 01:17:23,988 4744 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-03-27 01:17:24,002 4744 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-03-27 01:17:24,036 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:17:24,048 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-27 01:17:24,066 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-27 01:17:24,086 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-27 01:17:24,109 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-03-27 01:17:24,109 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-03-27 01:17:24,130 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-27 01:17:24,141 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-27 01:17:24,141 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-03-27 01:17:24,174 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-27 01:17:24,188 4744 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-03-27 01:17:24,204 4744 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-03-27 01:17:24,220 4744 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-03-27 01:17:24,220 4744 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-03-27 01:17:24,235 4744 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-03-27 01:17:24,254 4744 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-27 01:17:24,271 4744 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-03-27 01:17:24,297 4744 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-03-27 01:17:24,297 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-03-27 01:17:24,315 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-27 01:17:24,328 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-27 01:17:24,328 4744 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-27 01:17:24,344 4744 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-03-27 01:17:24,344 4744 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-03-27 01:17:24,362 4744 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-03-27 01:17:24,393 4744 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-03-27 01:17:24,409 4744 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-03-27 01:17:24,423 4744 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-03-27 01:17:24,423 4744 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-03-27 01:17:24,447 4744 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-27 01:17:24,461 4744 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-03-27 01:17:24,469 4744 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-03-27 01:17:24,469 4744 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-03-27 01:17:24,500 4744 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-03-27 01:17:24,518 4744 [DEBUG] - Running 'ChocolateyScriptRunner' for consul v1.18.1 with packageScript 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\consul', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-03-27 01:17:24,549 4744 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
2024-03-27 01:17:24,688 4744 [DEBUG] - No Package Parameters Passed in
|
|
2024-03-27 01:17:24,705 4744 [INFO ] - Creating C:\ProgramData\consul\logs
|
|
2024-03-27 01:17:24,831 4744 [INFO ] - Creating C:\ProgramData\consul\config
|
|
2024-03-27 01:17:25,251 4744 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_386.zip' -fileFullPath64 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip' -destination 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2024-03-27 01:17:25,316 4744 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-03-27 01:17:25,345 4744 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip to C:\ProgramData\chocolatey\lib\consul\tools...
|
|
2024-03-27 01:17:25,345 4744 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-03-27 01:17:25,408 4744 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\consul\tools" -y "C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip"]
|
|
2024-03-27 01:17:27,849 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:17:27,860 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:17:27,860 4744 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-03-27 01:17:27,878 4744 [INFO ] - VERBOSE: 1 file, 67281004 bytes (65 MiB)
|
|
2024-03-27 01:17:27,892 4744 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-03-27 01:17:27,892 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:17:27,910 4744 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip
|
|
2024-03-27 01:17:27,927 4744 [INFO ] - VERBOSE: --
|
|
2024-03-27 01:17:27,927 4744 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip
|
|
2024-03-27 01:17:27,940 4744 [INFO ] - VERBOSE: Type = zip
|
|
2024-03-27 01:17:27,940 4744 [INFO ] - VERBOSE: Physical Size = 67281004
|
|
2024-03-27 01:17:27,955 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:17:27,969 4744 [INFO ] - VERBOSE: - consul.exe
|
|
2024-03-27 01:17:27,969 4744 [INFO ] - VERBOSE:
|
|
2024-03-27 01:17:27,985 4744 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-03-27 01:17:27,985 4744 [INFO ] - VERBOSE: Compressed: 67281004
|
|
2024-03-27 01:17:28,000 4744 [INFO ] - VERBOSE: Size: 179720880
|
|
2024-03-27 01:17:28,017 4744 [DEBUG] - $exitCode was passed null
|
|
2024-03-27 01:17:28,017 4744 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\consul\tools" -y "C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip"] exited with '0'.
|
|
2024-03-27 01:17:28,031 4744 [DEBUG] - 7z exit code: 0
|
|
2024-03-27 01:17:28,048 4744 [INFO ] - C:\ProgramData\chocolatey\lib\consul\tools
|
|
2024-03-27 01:17:28,564 4744 [INFO ] - Installing service: consul
|
|
2024-03-27 01:17:31,360 4744 [INFO ] - VERBOSE: Service installed
|
|
2024-03-27 01:17:31,595 4744 [INFO ] - VERBOSE: sc failure
|
|
2024-03-27 01:17:31,702 4744 [INFO ] - VERBOSE: Stop service
|
|
2024-03-27 01:17:31,765 4744 [INFO ] - VERBOSE: Wait for service to stop
|
|
2024-03-27 01:17:31,796 4744 [INFO ] - VERBOSE: Start service
|
|
2024-03-27 01:17:34,108 4744 [WARN ] - WARNING: Waiting for service 'consul (consul)' to start...
|
|
2024-03-27 01:17:35,484 4744 [INFO ] - Installed service: consul
|
|
2024-03-27 01:17:35,520 4744 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-03-27 01:17:35,549 4744 [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\consul\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-03-27 01:17:35,568 4744 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-03-27 01:17:35,730 4744 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-03-27 01:17:35,753 4744 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\consul'
|
|
2024-03-27 01:17:36,451 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nupkg'
|
|
with checksum '93048460E4EB6AFAF289FDC1AEB29594'
|
|
2024-03-27 01:17:36,461 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nuspec'
|
|
with checksum 'E380DDAEB5E2E413B331DCCE14F1A89F'
|
|
2024-03-27 01:17:36,471 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\.skipAutoUninstall'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-03-27 01:17:36,475 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '095C6EC65E43C0C95345E56785A73AE6'
|
|
2024-03-27 01:17:36,488 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
with checksum 'ECC44B59E087C12908CA4321837F0C3F'
|
|
2024-03-27 01:17:36,503 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyUninstall.ps1'
|
|
with checksum '0D73B08B060E56302FB4101E5C74E196'
|
|
2024-03-27 01:17:37,507 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul.exe'
|
|
with checksum 'FF0DF677012F2FC41A8AA6801BDAE67F'
|
|
2024-03-27 01:17:37,905 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_386.zip'
|
|
with checksum 'FAAA88A58F1BD1859143B35A8026FA98'
|
|
2024-03-27 01:17:38,204 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.1_windows_amd64.zip'
|
|
with checksum 'A6CD08FA43B688B208C1E9D5E256D7BE'
|
|
2024-03-27 01:17:38,222 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\LICENSE.txt'
|
|
with checksum '2DFF9ADD0DCD2288B9EE2BFA78AB55D9'
|
|
2024-03-27 01:17:38,233 4744 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\VERIFICATION.txt'
|
|
with checksum '5A7988C5873B1DDBCABBA9C8E5F0D8E3'
|
|
2024-03-27 01:17:38,233 4744 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\consul\tools\consul.exe" --output="C:\ProgramData\chocolatey\bin\consul.exe" --iconpath="C:\ProgramData\chocolatey\lib\consul\tools\consul.exe"']
|
|
2024-03-27 01:17:41,183 4744 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
|
|
2024-03-27 01:17:41,196 4744 [DEBUG] - [ShimGen] Selected Icon is invalid
|
|
2024-03-27 01:17:41,588 4744 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2024-03-27 01:17:41,605 4744 [DEBUG] - [ShimGen] for C# 5
|
|
2024-03-27 01:17:41,622 4744 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2024-03-27 01:17:41,622 4744 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
|
|
2024-03-27 01:17:41,652 4744 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\consul.exe'
|
|
2024-03-27 01:17:41,712 4744 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\consul\tools\consul.exe" --output="C:\ProgramData\chocolatey\bin\consul.exe" --iconpath="C:\ProgramData\chocolatey\lib\consul\tools\consul.exe"'] exited with '0'
|
|
2024-03-27 01:17:41,712 4744 [INFO ] - ShimGen has successfully created a shim for consul.exe
|
|
2024-03-27 01:17:41,729 4744 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\consul.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\consul\tools\consul.exe
|
|
IsGui:False
|
|
|
|
2024-03-27 01:17:41,750 4744 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.1".
|
|
2024-03-27 01:17:41,759 4744 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\consul.1.18.1\.files'
|
|
2024-03-27 01:17:41,810 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.1\.extra".
|
|
2024-03-27 01:17:41,824 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.1\.version".
|
|
2024-03-27 01:17:41,824 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.1\.sxs".
|
|
2024-03-27 01:17:41,838 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.1\.pin".
|
|
2024-03-27 01:17:41,853 4744 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-03-27 01:17:41,853 4744 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\consul\.chocolateyPending".
|
|
2024-03-27 01:17:41,853 4744 [INFO ] - The install of consul was successful.
|
|
2024-03-27 01:17:41,870 4744 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2024-03-27 01:17:41,916 4744 [WARN ] -
|
|
Chocolatey installed 2/2 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-03-27 01:17:41,933 4744 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-03-27 01:17:41,949 4744 [DEBUG] - Exiting with 0
|