|
2023-12-16 13:08:54,666 4592 [DEBUG] - XmlConfiguration is now operational
|
|
2023-12-16 13:08:54,929 4592 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:54,945 4592 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:54,961 4592 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:54,976 4592 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:54,991 4592 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:55,008 4592 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:55,023 4592 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:55,023 4592 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:55,039 4592 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-12-16 13:08:55,055 4592 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-16 13:08:55,070 4592 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-12-16 13:08:56,133 4592 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,147 4592 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,147 4592 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,165 4592 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,179 4592 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,179 4592 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,179 4592 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,210 4592 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,210 4592 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,228 4592 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-12-16 13:08:56,257 4592 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-12-16 13:08:56,289 4592 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-12-16 13:08:56,289 4592 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-12-16 13:08:56,306 4592 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-12-16 13:08:56,320 4592 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-12-16 13:08:56,320 4592 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-12-16 13:08:56,336 4592 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-12-16 13:08:56,336 4592 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-12-16 13:08:56,336 4592 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-12-16 13:08:56,352 4592 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-12-16 13:08:56,367 4592 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-12-16 13:08:56,383 4592 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-12-16 13:08:56,399 4592 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-12-16 13:08:56,399 4592 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-12-16 13:08:56,414 4592 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-12-16 13:08:56,414 4592 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-12-16 13:08:56,430 4592 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-12-16 13:08:56,430 4592 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-12-16 13:08:56,430 4592 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-12-16 13:08:56,445 4592 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-12-16 13:08:56,805 4592 [INFO ] - ============================================================
|
|
2023-12-16 13:08:57,743 4592 [INFO ] - Chocolatey v2.2.2
|
|
2023-12-16 13:08:57,836 4592 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-12-16 13:08:57,898 4592 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-12-16 13:08:57,914 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-12-16 13:08:58,025 4592 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install consul --version 1.17.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-12-16 13:08:58,039 4592 [DEBUG] - Received arguments: install consul --version 1.17.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-12-16 13:08:58,429 4592 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-12-16 13:08:58,524 4592 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-12-16 13:08:58,649 4592 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-12-16 13:08:59,163 4592 [DEBUG] - Performing validation checks.
|
|
2023-12-16 13:08:59,211 4592 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-12-16 13:08:59,242 4592 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-12-16 13:08:59,258 4592 [DEBUG] - System State Validation Checks:
|
|
2023-12-16 13:08:59,289 4592 [DEBUG] - Reboot Requirement Checks:
|
|
2023-12-16 13:08:59,304 4592 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-12-16 13:08:59,335 4592 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-12-16 13:08:59,352 4592 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-12-16 13:08:59,367 4592 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-12-16 13:08:59,384 4592 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-12-16 13:08:59,398 4592 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-12-16 13:08:59,429 4592 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-12-16 13:08:59,429 4592 [DEBUG] - - Elevated State = Checked
|
|
2023-12-16 13:08:59,444 4592 [DEBUG] - - Folder Exists = Checked
|
|
2023-12-16 13:08:59,492 4592 [DEBUG] - - Folder lockdown = Checked
|
|
2023-12-16 13:08:59,556 4592 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-12-16 13:08:59,680 4592 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-12-16 13:08:59,727 4592 [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.
|
|
2023-12-16 13:08:59,931 4592 [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.17.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-20O62PLOOGB'|
|
|
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'|
|
|
2023-12-16 13:08:59,960 4592 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-12-16 13:09:00,040 4592 [INFO ] - Installing the following packages:
|
|
2023-12-16 13:09:00,070 4592 [INFO ] - consul
|
|
2023-12-16 13:09:00,085 4592 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-12-16 13:09:00,134 4592 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-12-16 13:09:00,171 4592 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-12-16 13:09:00,181 4592 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-16 13:09:00,194 4592 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-12-16 13:09:00,210 4592 [DEBUG] - * 'ChocolateyLastPathUpdate'='133472023936079746' ('User')
|
|
2023-12-16 13:09:00,226 4592 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-12-16 13:09:00,226 4592 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-12-16 13:09:00,243 4592 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-12-16 13:09:00,258 4592 [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')
|
|
2023-12-16 13:09:00,273 4592 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-12-16 13:09:00,290 4592 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-12-16 13:09:00,305 4592 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-12-16 13:09:00,320 4592 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-16 13:09:00,335 4592 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-12-16 13:09:00,351 4592 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-12-16 13:09:00,383 4592 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-12-16 13:09:00,403 4592 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-12-16 13:09:00,415 4592 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-12-16 13:09:00,430 4592 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2023-12-16 13:09:00,445 4592 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2023-12-16 13:09:00,476 4592 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-12-16 13:09:01,765 4592 [DEBUG] - Running list with the following filter = ''
|
|
2023-12-16 13:09:01,790 4592 [DEBUG] - --- Start of List ---
|
|
2023-12-16 13:09:01,946 4592 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-12-16 13:09:02,991 4592 [DEBUG] - chocolatey 2.2.2
|
|
2023-12-16 13:09:03,086 4592 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-12-16 13:09:03,135 4592 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-12-16 13:09:03,195 4592 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-12-16 13:09:03,225 4592 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-12-16 13:09:03,259 4592 [DEBUG] - KB3035131 1.0.3
|
|
2023-12-16 13:09:03,322 4592 [DEBUG] - KB3118401 1.0.5
|
|
2023-12-16 13:09:03,413 4592 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-12-16 13:09:03,448 4592 [DEBUG] - --- End of List ---
|
|
2023-12-16 13:09:03,495 4592 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-12-16 13:09:05,727 4592 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-16 13:09:07,179 4592 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.1')
|
|
2023-12-16 13:09:07,467 4592 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.1') 227ms
|
|
2023-12-16 13:09:07,789 4592 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-12-16 13:09:09,445 4592 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-16 13:09:09,445 4592 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.1')
|
|
2023-12-16 13:09:11,211 4592 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2023-12-16 13:09:11,320 4592 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 67ms
|
|
2023-12-16 13:09:11,416 4592 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0
|
|
2023-12-16 13:09:12,055 4592 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0 625ms
|
|
2023-12-16 13:09:12,943 4592 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-12-16 13:09:13,007 4592 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116')
|
|
2023-12-16 13:09:13,102 4592 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116') 55ms
|
|
2023-12-16 13:09:13,197 4592 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-12-16 13:09:13,366 4592 [DEBUG] - Attempting to delete file "".
|
|
2023-12-16 13:09:13,509 4592 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116
|
|
2023-12-16 13:09:14,069 4592 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116 524ms
|
|
2023-12-16 13:09:14,132 4592 [INFO ] - [NuGet] Acquiring lock for the installation of NSSM 2.24.101.20180116
|
|
2023-12-16 13:09:14,246 4592 [INFO ] - [NuGet] Acquired lock for the installation of NSSM 2.24.101.20180116
|
|
2023-12-16 13:09:15,006 4592 [INFO ] - [NuGet] Installed NSSM 2.24.101.20180116 from https://community.chocolatey.org/api/v2/ with content hash fuJpe592dg8JbBkBeU80oH51aVI5CUmAtNIFzvZfpE9nyFp6017LDBHNuZDZ6eOK3zwUjAlZo9u6I5lTM8otLA==.
|
|
2023-12-16 13:09:15,116 4592 [INFO ] - [NuGet] Adding package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-16 13:09:15,457 4592 [INFO ] - [NuGet] Added package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-16 13:09:15,473 4592 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\NSSM/2.24.101.20180116\NSSM.2.24.101.20180116.nupkg".
|
|
2023-12-16 13:09:15,504 4592 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\NSSM/2.24.101.20180116\.nupkg.metadata".
|
|
2023-12-16 13:09:15,537 4592 [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".
|
|
2023-12-16 13:09:15,584 4592 [INFO ] -
|
|
nssm v2.24.101.20180116 (forced) [Approved]
|
|
2023-12-16 13:09:15,817 4592 [INFO ] - nssm package files install completed. Performing other installation steps.
|
|
2023-12-16 13:09:16,037 4592 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1':
|
|
2023-12-16 13:09:16,131 4592 [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-*
|
|
|
|
2023-12-16 13:09:16,176 4592 [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']
|
|
2023-12-16 13:09:16,192 4592 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-12-16 13:09:17,241 4592 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-12-16 13:09:18,097 4592 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-16 13:09:18,130 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-16 13:09:18,147 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-16 13:09:18,161 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-16 13:09:18,176 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-16 13:09:18,176 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-16 13:09:18,191 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-16 13:09:18,207 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-16 13:09:18,207 4592 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-16 13:09:18,223 4592 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-16 13:09:18,223 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-16 13:09:18,239 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-16 13:09:18,254 4592 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-16 13:09:18,254 4592 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-16 13:09:18,269 4592 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-16 13:09:18,319 4592 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-16 13:09:18,333 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-16 13:09:18,347 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-16 13:09:18,347 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-16 13:09:18,363 4592 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-16 13:09:18,378 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:18,378 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-16 13:09:18,394 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-16 13:09:18,409 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-16 13:09:18,409 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-16 13:09:18,425 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-16 13:09:18,440 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-16 13:09:18,440 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-16 13:09:18,457 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-16 13:09:18,472 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-16 13:09:18,472 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:18,489 4592 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-16 13:09:18,504 4592 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-16 13:09:18,504 4592 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-16 13:09:18,518 4592 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-16 13:09:18,536 4592 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-16 13:09:18,550 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-16 13:09:18,550 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:18,565 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-16 13:09:18,580 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:18,580 4592 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-16 13:09:18,596 4592 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-16 13:09:18,614 4592 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-16 13:09:18,614 4592 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-16 13:09:18,629 4592 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-16 13:09:18,644 4592 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-16 13:09:18,659 4592 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-16 13:09:18,659 4592 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-16 13:09:18,675 4592 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-16 13:09:18,675 4592 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-16 13:09:18,690 4592 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-16 13:09:18,752 4592 [DEBUG] - Loading community extensions
|
|
2023-12-16 13:09:18,816 4592 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-12-16 13:09:18,840 4592 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-12-16 13:09:18,998 4592 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:19,006 4592 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:19,050 4592 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:19,065 4592 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:19,082 4592 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-16 13:09:19,082 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-16 13:09:19,095 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-16 13:09:19,111 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-16 13:09:19,129 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-16 13:09:19,129 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-16 13:09:19,143 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-16 13:09:19,160 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-16 13:09:19,175 4592 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-16 13:09:19,175 4592 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-16 13:09:19,191 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-16 13:09:19,191 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-16 13:09:19,207 4592 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-16 13:09:19,221 4592 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-16 13:09:19,238 4592 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-16 13:09:19,255 4592 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-16 13:09:19,255 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-16 13:09:19,317 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-16 13:09:19,317 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-16 13:09:19,354 4592 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-16 13:09:19,366 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:19,378 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-16 13:09:19,378 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-16 13:09:19,394 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-16 13:09:19,410 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-16 13:09:19,426 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-16 13:09:19,441 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-16 13:09:19,441 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-16 13:09:19,456 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-16 13:09:19,471 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-16 13:09:19,487 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:19,487 4592 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-16 13:09:19,502 4592 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-16 13:09:19,502 4592 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-16 13:09:19,519 4592 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-16 13:09:19,533 4592 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-16 13:09:19,533 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-16 13:09:19,550 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:19,566 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-16 13:09:19,566 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:19,580 4592 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-16 13:09:19,580 4592 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-16 13:09:19,598 4592 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:19,612 4592 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:19,629 4592 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-16 13:09:19,629 4592 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-16 13:09:19,643 4592 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-16 13:09:19,658 4592 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-16 13:09:19,674 4592 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-16 13:09:19,674 4592 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-16 13:09:19,690 4592 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-16 13:09:19,705 4592 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-16 13:09:19,705 4592 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-16 13:09:19,722 4592 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-12-16 13:09:19,736 4592 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-12-16 13:09:19,736 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-12-16 13:09:19,753 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-12-16 13:09:19,769 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-12-16 13:09:19,769 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-12-16 13:09:19,784 4592 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-12-16 13:09:19,800 4592 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-12-16 13:09:19,800 4592 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-12-16 13:09:19,815 4592 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-12-16 13:09:19,830 4592 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-12-16 13:09:19,846 4592 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-16 13:09:19,846 4592 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-12-16 13:09:19,862 4592 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-12-16 13:09:19,862 4592 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-12-16 13:09:19,877 4592 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-12-16 13:09:19,877 4592 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-12-16 13:09:19,893 4592 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-12-16 13:09:19,909 4592 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-12-16 13:09:19,909 4592 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-12-16 13:09:19,925 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:19,939 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-16 13:09:19,939 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-16 13:09:19,956 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-16 13:09:19,971 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-12-16 13:09:19,971 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-12-16 13:09:19,987 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-16 13:09:19,987 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-16 13:09:20,003 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-12-16 13:09:20,003 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-16 13:09:20,019 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:20,035 4592 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-12-16 13:09:20,035 4592 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:20,050 4592 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-12-16 13:09:20,065 4592 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-12-16 13:09:20,065 4592 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-16 13:09:20,081 4592 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-12-16 13:09:20,081 4592 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:20,096 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-12-16 13:09:20,096 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:20,112 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-16 13:09:20,127 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:20,127 4592 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-12-16 13:09:20,143 4592 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-12-16 13:09:20,159 4592 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-12-16 13:09:20,159 4592 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-12-16 13:09:20,175 4592 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-12-16 13:09:20,190 4592 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-12-16 13:09:20,205 4592 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-12-16 13:09:20,205 4592 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-16 13:09:20,223 4592 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-12-16 13:09:20,237 4592 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-12-16 13:09:20,237 4592 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-12-16 13:09:20,395 4592 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-12-16 13:09:20,440 4592 [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: '',
|
|
2023-12-16 13:09:20,537 4592 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
2023-12-16 13:09:20,782 4592 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2023-12-16 13:09:20,895 4592 [INFO ] - Installing 64 bit version
|
|
2023-12-16 13:09:21,163 4592 [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'
|
|
2023-12-16 13:09:21,177 4592 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-12-16 13:09:21,236 4592 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
|
|
2023-12-16 13:09:21,314 4592 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2023-12-16 13:09:21,463 4592 [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"]
|
|
2023-12-16 13:09:22,111 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:22,147 4592 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2023-12-16 13:09:22,157 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:22,173 4592 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2023-12-16 13:09:22,173 4592 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
|
|
2023-12-16 13:09:22,189 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:22,204 4592 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2023-12-16 13:09:22,220 4592 [INFO ] - VERBOSE: --
|
|
2023-12-16 13:09:22,220 4592 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2023-12-16 13:09:22,236 4592 [INFO ] - VERBOSE: Type = zip
|
|
2023-12-16 13:09:22,251 4592 [INFO ] - VERBOSE: Physical Size = 415458
|
|
2023-12-16 13:09:22,251 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:22,251 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\
|
|
2023-12-16 13:09:22,378 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
|
|
2023-12-16 13:09:22,378 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
|
|
2023-12-16 13:09:22,407 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\
|
|
2023-12-16 13:09:22,407 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
|
|
2023-12-16 13:09:22,424 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
|
|
2023-12-16 13:09:22,439 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
|
|
2023-12-16 13:09:22,439 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
|
|
2023-12-16 13:09:22,455 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
|
|
2023-12-16 13:09:22,471 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
|
|
2023-12-16 13:09:22,485 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
|
|
2023-12-16 13:09:22,485 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
|
|
2023-12-16 13:09:22,501 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
|
|
2023-12-16 13:09:22,516 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
|
|
2023-12-16 13:09:22,516 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
|
|
2023-12-16 13:09:22,533 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
|
|
2023-12-16 13:09:22,548 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
|
|
2023-12-16 13:09:22,564 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
|
|
2023-12-16 13:09:22,564 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
|
|
2023-12-16 13:09:22,579 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
|
|
2023-12-16 13:09:22,595 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
|
|
2023-12-16 13:09:22,595 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
|
|
2023-12-16 13:09:22,626 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
|
|
2023-12-16 13:09:22,642 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
|
|
2023-12-16 13:09:22,642 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
|
|
2023-12-16 13:09:22,658 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
|
|
2023-12-16 13:09:22,705 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
|
|
2023-12-16 13:09:22,721 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
|
|
2023-12-16 13:09:22,735 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
|
|
2023-12-16 13:09:22,751 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
|
|
2023-12-16 13:09:22,767 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
|
|
2023-12-16 13:09:22,783 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
|
|
2023-12-16 13:09:22,797 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
|
|
2023-12-16 13:09:22,797 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
|
|
2023-12-16 13:09:22,813 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
|
|
2023-12-16 13:09:22,829 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
|
|
2023-12-16 13:09:22,845 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
|
|
2023-12-16 13:09:22,861 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
|
|
2023-12-16 13:09:22,861 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
|
|
2023-12-16 13:09:22,876 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
|
|
2023-12-16 13:09:22,892 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\
|
|
2023-12-16 13:09:22,908 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
|
|
2023-12-16 13:09:22,923 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\
|
|
2023-12-16 13:09:22,938 4592 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
|
|
2023-12-16 13:09:22,954 4592 [INFO ] - VERBOSE: Everything is Ok
|
|
2023-12-16 13:09:22,954 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:22,970 4592 [INFO ] - VERBOSE: Folders: 4
|
|
2023-12-16 13:09:22,986 4592 [INFO ] - VERBOSE: Files: 40
|
|
2023-12-16 13:09:23,006 4592 [INFO ] - VERBOSE: Size: 1411772
|
|
2023-12-16 13:09:23,018 4592 [INFO ] - VERBOSE: Compressed: 415458
|
|
2023-12-16 13:09:23,222 4592 [DEBUG] - $exitCode was passed null
|
|
2023-12-16 13:09:23,222 4592 [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'.
|
|
2023-12-16 13:09:23,330 4592 [DEBUG] - 7z exit code: 0
|
|
2023-12-16 13:09:23,390 4592 [INFO ] - C:\ProgramData\chocolatey\lib\NSSM\tools
|
|
2023-12-16 13:09:23,534 4592 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-12-16 13:09:23,594 4592 [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'.
|
|
2023-12-16 13:09:23,641 4592 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-12-16 13:09:23,985 4592 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-12-16 13:09:24,453 4592 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\NSSM'
|
|
2023-12-16 13:09:24,484 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm-2.24-101-g897c7ad.zip.txt'
|
|
with checksum 'C14B347E13EA3FC337CAF1E03C2BD744'
|
|
2023-12-16 13:09:24,502 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nupkg'
|
|
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
|
|
2023-12-16 13:09:24,537 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nuspec'
|
|
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
|
|
2023-12-16 13:09:24,580 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\License.txt'
|
|
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
|
|
2023-12-16 13:09:24,594 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\VERIFICATION.txt'
|
|
with checksum '8591C7D2CED72370160BAAD01E373EFA'
|
|
2023-12-16 13:09:24,610 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyBeforeModify.ps1'
|
|
with checksum 'E404813C6C470EF6D868D205C4649408'
|
|
2023-12-16 13:09:24,625 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
with checksum '2A67BD22033BDF5CB20693640EF65B28'
|
|
2023-12-16 13:09:24,657 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe'
|
|
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
|
|
2023-12-16 13:09:24,783 4592 [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"']
|
|
2023-12-16 13:09:26,690 4592 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2023-12-16 13:09:26,702 4592 [DEBUG] - [ShimGen] for C# 5
|
|
2023-12-16 13:09:26,719 4592 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2023-12-16 13:09:26,735 4592 [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
|
|
2023-12-16 13:09:26,749 4592 [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'
|
|
2023-12-16 13:09:26,749 4592 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
|
|
2023-12-16 13:09:26,765 4592 [INFO ] - ShimGen has successfully created a shim for nssm.exe
|
|
2023-12-16 13:09:26,798 4592 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe
|
|
IsGui:False
|
|
|
|
2023-12-16 13:09:26,911 4592 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116".
|
|
2023-12-16 13:09:27,063 4592 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.files'
|
|
2023-12-16 13:09:27,115 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.extra".
|
|
2023-12-16 13:09:27,141 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.version".
|
|
2023-12-16 13:09:27,160 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.sxs".
|
|
2023-12-16 13:09:27,171 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.pin".
|
|
2023-12-16 13:09:27,202 4592 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-16 13:09:27,220 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\NSSM\.chocolateyPending".
|
|
2023-12-16 13:09:27,249 4592 [INFO ] - The install of nssm was successful.
|
|
2023-12-16 13:09:27,266 4592 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'
|
|
2023-12-16 13:09:27,281 4592 [DEBUG] - Attempting to delete file "".
|
|
2023-12-16 13:09:27,296 4592 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/consul/1.17.1
|
|
2023-12-16 13:09:27,880 4592 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/consul/1.17.1 586ms
|
|
2023-12-16 13:09:27,923 4592 [INFO ] - [NuGet] Acquiring lock for the installation of consul 1.17.1
|
|
2023-12-16 13:09:27,938 4592 [INFO ] - [NuGet] Acquired lock for the installation of consul 1.17.1
|
|
2023-12-16 13:09:47,014 4592 [INFO ] - [NuGet] Installed consul 1.17.1 from https://community.chocolatey.org/api/v2/ with content hash iZaAA7sOybd10YE76APt6kpAHffOsvLifP9o0SZz+gaFsnHLmeYYvoJGO/LOrnuxIJ+8YSZRNC09KjL6jmLY/Q==.
|
|
2023-12-16 13:09:47,091 4592 [INFO ] - [NuGet] Adding package 'consul.1.17.1 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-16 13:09:48,627 4592 [INFO ] - [NuGet] Added package 'consul.1.17.1 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-12-16 13:09:48,656 4592 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.1\consul.1.17.1.nupkg".
|
|
2023-12-16 13:09:48,732 4592 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.1\.nupkg.metadata".
|
|
2023-12-16 13:09:48,746 4592 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.1\consul.1.17.1.nupkg.sha512".
|
|
2023-12-16 13:09:48,761 4592 [INFO ] -
|
|
consul v1.17.1 (forced)
|
|
2023-12-16 13:09:48,792 4592 [INFO ] - consul package files install completed. Performing other installation steps.
|
|
2023-12-16 13:09:48,873 4592 [DEBUG] - Setting installer args for consul
|
|
2023-12-16 13:09:48,888 4592 [DEBUG] - Setting package parameters for consul
|
|
2023-12-16 13:09:48,903 4592 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1':
|
|
2023-12-16 13:09:48,919 4592 [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"
|
|
|
|
2023-12-16 13:09:48,966 4592 [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']
|
|
2023-12-16 13:09:49,074 4592 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-12-16 13:09:49,233 4592 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-12-16 13:09:49,656 4592 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-16 13:09:49,669 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-16 13:09:49,684 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-16 13:09:49,698 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-16 13:09:49,730 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-16 13:09:49,747 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-16 13:09:49,779 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-16 13:09:49,794 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-16 13:09:49,825 4592 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-16 13:09:49,840 4592 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-16 13:09:49,871 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-16 13:09:49,887 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-16 13:09:49,903 4592 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-16 13:09:49,934 4592 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-16 13:09:49,949 4592 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-16 13:09:49,964 4592 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-16 13:09:49,964 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-16 13:09:49,980 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-16 13:09:49,996 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-16 13:09:50,011 4592 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-16 13:09:50,029 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:50,043 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-16 13:09:50,043 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-16 13:09:50,058 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-16 13:09:50,075 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-16 13:09:50,090 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-16 13:09:50,090 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-16 13:09:50,106 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-16 13:09:50,121 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-16 13:09:50,137 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-16 13:09:50,137 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:50,152 4592 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-16 13:09:50,168 4592 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-16 13:09:50,168 4592 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-16 13:09:50,200 4592 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-16 13:09:50,200 4592 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-16 13:09:50,215 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-16 13:09:50,230 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:50,246 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-16 13:09:50,262 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:50,277 4592 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-16 13:09:50,309 4592 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-16 13:09:50,325 4592 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-16 13:09:50,343 4592 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-16 13:09:50,371 4592 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-16 13:09:50,388 4592 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-16 13:09:50,402 4592 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-16 13:09:50,418 4592 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-16 13:09:50,435 4592 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-16 13:09:50,464 4592 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-16 13:09:50,481 4592 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-16 13:09:50,610 4592 [DEBUG] - Loading community extensions
|
|
2023-12-16 13:09:50,639 4592 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-12-16 13:09:50,652 4592 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-12-16 13:09:50,698 4592 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:50,714 4592 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:50,714 4592 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:50,747 4592 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:50,761 4592 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-12-16 13:09:50,761 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-12-16 13:09:50,778 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-12-16 13:09:50,793 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-12-16 13:09:50,826 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-12-16 13:09:50,840 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-12-16 13:09:50,855 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-12-16 13:09:50,872 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-12-16 13:09:50,872 4592 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-12-16 13:09:50,888 4592 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-12-16 13:09:50,902 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-12-16 13:09:50,917 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-16 13:09:50,917 4592 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-12-16 13:09:50,934 4592 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-12-16 13:09:50,950 4592 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-12-16 13:09:50,965 4592 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-12-16 13:09:50,980 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-12-16 13:09:50,980 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-12-16 13:09:50,996 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-12-16 13:09:51,012 4592 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-12-16 13:09:51,027 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:51,027 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-16 13:09:51,044 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-16 13:09:51,058 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-16 13:09:51,058 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-12-16 13:09:51,074 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-12-16 13:09:51,089 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-16 13:09:51,089 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-16 13:09:51,105 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-12-16 13:09:51,122 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-16 13:09:51,122 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:51,137 4592 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-12-16 13:09:51,151 4592 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-12-16 13:09:51,167 4592 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-12-16 13:09:51,167 4592 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-16 13:09:51,184 4592 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-12-16 13:09:51,199 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-12-16 13:09:51,199 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:51,231 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-16 13:09:51,231 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:51,246 4592 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-12-16 13:09:51,262 4592 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-12-16 13:09:51,262 4592 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:51,277 4592 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:51,293 4592 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-12-16 13:09:51,308 4592 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-12-16 13:09:51,323 4592 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-12-16 13:09:51,323 4592 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-12-16 13:09:51,339 4592 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-12-16 13:09:51,356 4592 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-12-16 13:09:51,356 4592 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-16 13:09:51,372 4592 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-12-16 13:09:51,386 4592 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-12-16 13:09:51,402 4592 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-12-16 13:09:51,418 4592 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-12-16 13:09:51,418 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-12-16 13:09:51,433 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-12-16 13:09:51,433 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-12-16 13:09:51,450 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-12-16 13:09:51,464 4592 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-12-16 13:09:51,480 4592 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-12-16 13:09:51,480 4592 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-12-16 13:09:51,502 4592 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-12-16 13:09:51,528 4592 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-12-16 13:09:51,528 4592 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-12-16 13:09:51,562 4592 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-12-16 13:09:51,574 4592 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-12-16 13:09:51,574 4592 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-12-16 13:09:51,605 4592 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-12-16 13:09:51,621 4592 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-12-16 13:09:51,637 4592 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-12-16 13:09:51,652 4592 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-12-16 13:09:51,667 4592 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-12-16 13:09:51,667 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:51,684 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-12-16 13:09:51,699 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-12-16 13:09:51,715 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-12-16 13:09:51,730 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-12-16 13:09:51,746 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-12-16 13:09:51,763 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-12-16 13:09:51,798 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-12-16 13:09:51,824 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-12-16 13:09:51,855 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-12-16 13:09:51,871 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:51,905 4592 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-12-16 13:09:51,934 4592 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-12-16 13:09:51,965 4592 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-12-16 13:09:51,965 4592 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-12-16 13:09:51,996 4592 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-12-16 13:09:52,011 4592 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-12-16 13:09:52,027 4592 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-12-16 13:09:52,043 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-12-16 13:09:52,043 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-12-16 13:09:52,075 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-12-16 13:09:52,091 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-12-16 13:09:52,106 4592 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-12-16 13:09:52,123 4592 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-12-16 13:09:52,136 4592 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-12-16 13:09:52,152 4592 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-12-16 13:09:52,168 4592 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-12-16 13:09:52,185 4592 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-12-16 13:09:52,199 4592 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-12-16 13:09:52,215 4592 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-12-16 13:09:52,229 4592 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-12-16 13:09:52,248 4592 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-12-16 13:09:52,248 4592 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-12-16 13:09:52,277 4592 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-12-16 13:09:52,292 4592 [DEBUG] - Running 'ChocolateyScriptRunner' for consul v1.17.1 with packageScript 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\consul', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-12-16 13:09:52,323 4592 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
2023-12-16 13:09:52,504 4592 [DEBUG] - No Package Parameters Passed in
|
|
2023-12-16 13:09:52,514 4592 [INFO ] - Creating C:\ProgramData\consul\logs
|
|
2023-12-16 13:09:52,557 4592 [INFO ] - Creating C:\ProgramData\consul\config
|
|
2023-12-16 13:09:52,588 4592 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_386.zip' -fileFullPath64 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_amd64.zip' -destination 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2023-12-16 13:09:52,605 4592 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-12-16 13:09:52,637 4592 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_amd64.zip to C:\ProgramData\chocolatey\lib\consul\tools...
|
|
2023-12-16 13:09:52,651 4592 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2023-12-16 13:09:52,651 4592 [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.17.1_windows_amd64.zip"]
|
|
2023-12-16 13:09:55,280 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:55,309 4592 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2023-12-16 13:09:55,325 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:55,325 4592 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2023-12-16 13:09:55,340 4592 [INFO ] - VERBOSE: 1 file, 64635341 bytes (62 MiB)
|
|
2023-12-16 13:09:55,356 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:55,371 4592 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_amd64.zip
|
|
2023-12-16 13:09:55,387 4592 [INFO ] - VERBOSE: --
|
|
2023-12-16 13:09:55,402 4592 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_amd64.zip
|
|
2023-12-16 13:09:55,402 4592 [INFO ] - VERBOSE: Physical Size = 64635341
|
|
2023-12-16 13:09:55,418 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:55,433 4592 [INFO ] - VERBOSE: - consul.exe
|
|
2023-12-16 13:09:55,449 4592 [INFO ] - VERBOSE: Type = zip
|
|
2023-12-16 13:09:55,464 4592 [INFO ] - VERBOSE: Everything is Ok
|
|
2023-12-16 13:09:55,464 4592 [INFO ] - VERBOSE:
|
|
2023-12-16 13:09:55,481 4592 [INFO ] - VERBOSE: Size: 173716656
|
|
2023-12-16 13:09:55,495 4592 [INFO ] - VERBOSE: Compressed: 64635341
|
|
2023-12-16 13:09:55,512 4592 [DEBUG] - $exitCode was passed null
|
|
2023-12-16 13:09:55,527 4592 [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.17.1_windows_amd64.zip"] exited with '0'.
|
|
2023-12-16 13:09:55,527 4592 [DEBUG] - 7z exit code: 0
|
|
2023-12-16 13:09:55,542 4592 [INFO ] - C:\ProgramData\chocolatey\lib\consul\tools
|
|
2023-12-16 13:09:56,480 4592 [INFO ] - Installing service: consul
|
|
2023-12-16 13:09:59,464 4592 [INFO ] - VERBOSE: Service installed
|
|
2023-12-16 13:09:59,840 4592 [INFO ] - VERBOSE: sc failure
|
|
2023-12-16 13:10:00,045 4592 [INFO ] - VERBOSE: Stop service
|
|
2023-12-16 13:10:00,200 4592 [INFO ] - VERBOSE: Wait for service to stop
|
|
2023-12-16 13:10:00,308 4592 [INFO ] - VERBOSE: Start service
|
|
2023-12-16 13:10:02,701 4592 [WARN ] - WARNING: Waiting for service 'consul (consul)' to start...
|
|
2023-12-16 13:10:04,357 4592 [INFO ] - Installed service: consul
|
|
2023-12-16 13:10:04,357 4592 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-12-16 13:10:04,408 4592 [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'.
|
|
2023-12-16 13:10:04,418 4592 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-12-16 13:10:04,789 4592 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-12-16 13:10:04,828 4592 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\consul'
|
|
2023-12-16 13:10:05,581 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nupkg'
|
|
with checksum 'F5D811962321A9126B5B8C756AFD6F1A'
|
|
2023-12-16 13:10:05,601 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nuspec'
|
|
with checksum '4090AE315427E4CF959FDADDDB5767D1'
|
|
2023-12-16 13:10:05,630 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\.skipAutoUninstall'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-12-16 13:10:05,648 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '095C6EC65E43C0C95345E56785A73AE6'
|
|
2023-12-16 13:10:05,665 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
with checksum 'ECC44B59E087C12908CA4321837F0C3F'
|
|
2023-12-16 13:10:05,678 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyUninstall.ps1'
|
|
with checksum '0D73B08B060E56302FB4101E5C74E196'
|
|
2023-12-16 13:10:06,646 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul.exe'
|
|
with checksum '659AE90845F257D0E9ED419CB6AB0AFF'
|
|
2023-12-16 13:10:07,003 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_386.zip'
|
|
with checksum 'F273C50764696C5ECFD39FD89355AD72'
|
|
2023-12-16 13:10:07,404 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.1_windows_amd64.zip'
|
|
with checksum 'EEF64A8ABB6497C975EC5EEA144C9B2E'
|
|
2023-12-16 13:10:07,457 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\LICENSE.txt'
|
|
with checksum '2DFF9ADD0DCD2288B9EE2BFA78AB55D9'
|
|
2023-12-16 13:10:07,472 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\VERIFICATION.txt'
|
|
with checksum '5A7988C5873B1DDBCABBA9C8E5F0D8E3'
|
|
2023-12-16 13:10:07,488 4592 [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"']
|
|
2023-12-16 13:10:12,349 4592 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
|
|
2023-12-16 13:10:12,381 4592 [DEBUG] - [ShimGen] Selected Icon is invalid
|
|
2023-12-16 13:10:12,866 4592 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2023-12-16 13:10:12,882 4592 [DEBUG] - [ShimGen] for C# 5
|
|
2023-12-16 13:10:12,882 4592 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2023-12-16 13:10:12,898 4592 [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
|
|
2023-12-16 13:10:12,928 4592 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\consul.exe'
|
|
2023-12-16 13:10:12,945 4592 [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'
|
|
2023-12-16 13:10:12,959 4592 [INFO ] - ShimGen has successfully created a shim for consul.exe
|
|
2023-12-16 13:10:12,959 4592 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\consul.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\consul\tools\consul.exe
|
|
IsGui:False
|
|
|
|
2023-12-16 13:10:12,991 4592 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.1".
|
|
2023-12-16 13:10:13,027 4592 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\consul.1.17.1\.files'
|
|
2023-12-16 13:10:13,101 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.1\.extra".
|
|
2023-12-16 13:10:13,132 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.1\.version".
|
|
2023-12-16 13:10:13,148 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.1\.sxs".
|
|
2023-12-16 13:10:13,163 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.1\.pin".
|
|
2023-12-16 13:10:13,209 4592 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-12-16 13:10:13,224 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\consul\.chocolateyPending".
|
|
2023-12-16 13:10:13,253 4592 [INFO ] - The install of consul was successful.
|
|
2023-12-16 13:10:13,271 4592 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2023-12-16 13:10:13,382 4592 [WARN ] -
|
|
Chocolatey installed 2/2 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-12-16 13:10:13,432 4592 [WARN ] -
|
|
Enjoy using Chocolatey? Explore more amazing features to take your
|
|
experience to the next level at
|
|
https://chocolatey.org/compare
|
|
2023-12-16 13:10:13,460 4592 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-12-16 13:10:13,490 4592 [DEBUG] - Exiting with 0
|