|
2024-02-28 00:44:11,225 5784 [DEBUG] - XmlConfiguration is now operational
|
|
2024-02-28 00:44:11,429 5784 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,443 5784 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,443 5784 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,443 5784 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,443 5784 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,460 5784 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,460 5784 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,475 5784 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,475 5784 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-28 00:44:11,475 5784 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-02-28 00:44:11,490 5784 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-02-28 00:44:12,319 5784 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,334 5784 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,334 5784 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,346 5784 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,350 5784 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,350 5784 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,365 5784 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,365 5784 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,365 5784 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,382 5784 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-28 00:44:12,412 5784 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-02-28 00:44:12,412 5784 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-02-28 00:44:12,428 5784 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-02-28 00:44:12,428 5784 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-02-28 00:44:12,445 5784 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-02-28 00:44:12,445 5784 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-02-28 00:44:12,445 5784 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-02-28 00:44:12,459 5784 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-02-28 00:44:12,459 5784 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-02-28 00:44:12,459 5784 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-02-28 00:44:12,475 5784 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-02-28 00:44:12,475 5784 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-02-28 00:44:12,475 5784 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-02-28 00:44:12,491 5784 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-02-28 00:44:12,491 5784 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-02-28 00:44:12,491 5784 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-02-28 00:44:12,506 5784 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-02-28 00:44:12,506 5784 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-02-28 00:44:12,506 5784 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-02-28 00:44:12,524 5784 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-02-28 00:44:12,820 5784 [INFO ] - ============================================================
|
|
2024-02-28 00:44:13,241 5784 [INFO ] - Chocolatey v2.2.2
|
|
2024-02-28 00:44:13,272 5784 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-02-28 00:44:13,272 5784 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-02-28 00:44:13,287 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-02-28 00:44:13,303 5784 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install consul --version 1.18.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-02-28 00:44:13,318 5784 [DEBUG] - Received arguments: install consul --version 1.18.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-02-28 00:44:13,491 5784 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-02-28 00:44:13,536 5784 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-02-28 00:44:13,553 5784 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-02-28 00:44:13,787 5784 [DEBUG] - Performing validation checks.
|
|
2024-02-28 00:44:13,802 5784 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-02-28 00:44:13,802 5784 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-02-28 00:44:13,820 5784 [DEBUG] - System State Validation Checks:
|
|
2024-02-28 00:44:13,833 5784 [DEBUG] - Reboot Requirement Checks:
|
|
2024-02-28 00:44:13,833 5784 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-02-28 00:44:13,852 5784 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-02-28 00:44:13,865 5784 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-02-28 00:44:13,865 5784 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-02-28 00:44:13,881 5784 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-02-28 00:44:13,881 5784 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-02-28 00:44:13,896 5784 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-02-28 00:44:13,912 5784 [DEBUG] - - Elevated State = Checked
|
|
2024-02-28 00:44:13,912 5784 [DEBUG] - - Folder Exists = Checked
|
|
2024-02-28 00:44:13,945 5784 [DEBUG] - - Folder lockdown = Checked
|
|
2024-02-28 00:44:13,960 5784 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-02-28 00:44:14,006 5784 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-02-28 00:44:14,021 5784 [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-02-28 00:44:14,068 5784 [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.0'|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-25PNGHKSIM3'|
|
|
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-02-28 00:44:14,084 5784 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-02-28 00:44:14,102 5784 [INFO ] - Installing the following packages:
|
|
2024-02-28 00:44:14,117 5784 [INFO ] - consul
|
|
2024-02-28 00:44:14,117 5784 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-02-28 00:44:14,131 5784 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-02-28 00:44:14,145 5784 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-02-28 00:44:14,145 5784 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-02-28 00:44:14,162 5784 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-02-28 00:44:14,162 5784 [DEBUG] - * 'ChocolateyLastPathUpdate'='133535095660153506' ('User')
|
|
2024-02-28 00:44:14,177 5784 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-02-28 00:44:14,177 5784 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-02-28 00:44:14,192 5784 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-02-28 00:44:14,192 5784 [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-02-28 00:44:14,192 5784 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-02-28 00:44:14,209 5784 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-02-28 00:44:14,226 5784 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-02-28 00:44:14,226 5784 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-02-28 00:44:14,226 5784 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-02-28 00:44:14,239 5784 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-02-28 00:44:14,239 5784 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-02-28 00:44:14,239 5784 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-02-28 00:44:14,256 5784 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-02-28 00:44:14,256 5784 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-02-28 00:44:14,256 5784 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-02-28 00:44:14,271 5784 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-02-28 00:44:14,850 5784 [DEBUG] - Running list with the following filter = ''
|
|
2024-02-28 00:44:14,865 5784 [DEBUG] - --- Start of List ---
|
|
2024-02-28 00:44:14,912 5784 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-02-28 00:44:15,521 5784 [DEBUG] - chocolatey 2.2.2
|
|
2024-02-28 00:44:15,537 5784 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-02-28 00:44:15,551 5784 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-02-28 00:44:15,568 5784 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-02-28 00:44:15,583 5784 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-02-28 00:44:15,583 5784 [DEBUG] - KB3035131 1.0.3
|
|
2024-02-28 00:44:15,632 5784 [DEBUG] - KB3118401 1.0.5
|
|
2024-02-28 00:44:15,645 5784 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-02-28 00:44:15,645 5784 [DEBUG] - --- End of List ---
|
|
2024-02-28 00:44:15,662 5784 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-02-28 00:44:16,364 5784 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-02-28 00:44:17,051 5784 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.18.0')
|
|
2024-02-28 00:44:17,319 5784 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.18.0') 252ms
|
|
2024-02-28 00:44:17,521 5784 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-02-28 00:44:18,175 5784 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-02-28 00:44:18,176 5784 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.18.0')
|
|
2024-02-28 00:44:18,878 5784 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2024-02-28 00:44:18,926 5784 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 45ms
|
|
2024-02-28 00:44:18,988 5784 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0
|
|
2024-02-28 00:44:19,302 5784 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0 306ms
|
|
2024-02-28 00:44:19,675 5784 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-02-28 00:44:19,706 5784 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116')
|
|
2024-02-28 00:44:19,942 5784 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116') 223ms
|
|
2024-02-28 00:44:19,957 5784 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-02-28 00:44:20,034 5784 [DEBUG] - Attempting to delete file "".
|
|
2024-02-28 00:44:20,082 5784 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116
|
|
2024-02-28 00:44:20,661 5784 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116 572ms
|
|
2024-02-28 00:44:20,707 5784 [INFO ] - [NuGet] Acquiring lock for the installation of NSSM 2.24.101.20180116
|
|
2024-02-28 00:44:20,785 5784 [INFO ] - [NuGet] Acquired lock for the installation of NSSM 2.24.101.20180116
|
|
2024-02-28 00:44:21,363 5784 [INFO ] - [NuGet] Installed NSSM 2.24.101.20180116 from https://community.chocolatey.org/api/v2/ with content hash fuJpe592dg8JbBkBeU80oH51aVI5CUmAtNIFzvZfpE9nyFp6017LDBHNuZDZ6eOK3zwUjAlZo9u6I5lTM8otLA==.
|
|
2024-02-28 00:44:21,426 5784 [INFO ] - [NuGet] Adding package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-28 00:44:21,535 5784 [INFO ] - [NuGet] Added package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-28 00:44:21,535 5784 [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-02-28 00:44:21,557 5784 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\NSSM/2.24.101.20180116\.nupkg.metadata".
|
|
2024-02-28 00:44:21,566 5784 [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-02-28 00:44:21,566 5784 [INFO ] -
|
|
nssm v2.24.101.20180116 (forced) [Approved]
|
|
2024-02-28 00:44:21,675 5784 [INFO ] - nssm package files install completed. Performing other installation steps.
|
|
2024-02-28 00:44:21,753 5784 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1':
|
|
2024-02-28 00:44:21,769 5784 [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-02-28 00:44:21,816 5784 [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-02-28 00:44:21,816 5784 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-02-28 00:44:22,675 5784 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-02-28 00:44:23,330 5784 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-28 00:44:23,330 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-28 00:44:23,348 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-28 00:44:23,348 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-28 00:44:23,362 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-28 00:44:23,362 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-28 00:44:23,379 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-28 00:44:23,379 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-28 00:44:23,379 5784 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-28 00:44:23,394 5784 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-28 00:44:23,394 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-28 00:44:23,394 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-28 00:44:23,409 5784 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-28 00:44:23,426 5784 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-28 00:44:23,426 5784 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-28 00:44:23,440 5784 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-28 00:44:23,440 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-28 00:44:23,457 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-28 00:44:23,458 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-28 00:44:23,458 5784 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-28 00:44:23,472 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:44:23,472 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-28 00:44:23,488 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-28 00:44:23,488 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-28 00:44:23,488 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-28 00:44:23,504 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-28 00:44:23,504 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-28 00:44:23,519 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-28 00:44:23,519 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-28 00:44:23,519 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-28 00:44:23,534 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-28 00:44:23,534 5784 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-28 00:44:23,549 5784 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-28 00:44:23,549 5784 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-28 00:44:23,549 5784 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-28 00:44:23,566 5784 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-28 00:44:23,584 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-28 00:44:23,584 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:44:23,597 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-28 00:44:23,597 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-28 00:44:23,614 5784 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-28 00:44:23,630 5784 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-28 00:44:23,630 5784 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-28 00:44:23,644 5784 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-28 00:44:23,644 5784 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-28 00:44:23,659 5784 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-28 00:44:23,659 5784 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-28 00:44:23,659 5784 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-28 00:44:23,676 5784 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-28 00:44:23,676 5784 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-28 00:44:23,690 5784 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-28 00:44:23,737 5784 [DEBUG] - Loading community extensions
|
|
2024-02-28 00:44:23,768 5784 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-02-28 00:44:23,784 5784 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-02-28 00:44:23,925 5784 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:44:23,956 5784 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:44:23,971 5784 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:44:23,971 5784 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:44:23,971 5784 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-28 00:44:23,988 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-28 00:44:23,988 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-28 00:44:24,002 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-28 00:44:24,002 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-28 00:44:24,018 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-28 00:44:24,018 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-28 00:44:24,035 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-28 00:44:24,035 5784 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-28 00:44:24,050 5784 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-28 00:44:24,050 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-28 00:44:24,066 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-28 00:44:24,066 5784 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-28 00:44:24,082 5784 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-28 00:44:24,082 5784 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-28 00:44:24,082 5784 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-28 00:44:24,097 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-28 00:44:24,097 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-28 00:44:24,114 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-28 00:44:24,114 5784 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-28 00:44:24,130 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:44:24,130 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-28 00:44:24,143 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-28 00:44:24,143 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-28 00:44:24,143 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-28 00:44:24,159 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-28 00:44:24,159 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-28 00:44:24,174 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-28 00:44:24,174 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-28 00:44:24,190 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-28 00:44:24,190 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-28 00:44:24,190 5784 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-28 00:44:24,206 5784 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-28 00:44:24,206 5784 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-28 00:44:24,221 5784 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-28 00:44:24,221 5784 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-28 00:44:24,236 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-28 00:44:24,236 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:44:24,236 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-28 00:44:24,252 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-28 00:44:24,252 5784 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-28 00:44:24,269 5784 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-28 00:44:24,269 5784 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:44:24,285 5784 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:44:24,285 5784 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-28 00:44:24,300 5784 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-28 00:44:24,300 5784 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-28 00:44:24,318 5784 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-28 00:44:24,318 5784 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-28 00:44:24,330 5784 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-28 00:44:24,330 5784 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-28 00:44:24,346 5784 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-28 00:44:24,346 5784 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-28 00:44:24,362 5784 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-02-28 00:44:24,362 5784 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-02-28 00:44:24,378 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-02-28 00:44:24,378 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-02-28 00:44:24,378 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-02-28 00:44:24,393 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-02-28 00:44:24,393 5784 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-02-28 00:44:24,409 5784 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-02-28 00:44:24,409 5784 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-02-28 00:44:24,409 5784 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-02-28 00:44:24,424 5784 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-02-28 00:44:24,424 5784 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-28 00:44:24,440 5784 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-02-28 00:44:24,440 5784 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-02-28 00:44:24,440 5784 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-02-28 00:44:24,456 5784 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-02-28 00:44:24,456 5784 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-02-28 00:44:24,471 5784 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-02-28 00:44:24,472 5784 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-02-28 00:44:24,472 5784 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-02-28 00:44:24,488 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:44:24,488 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-28 00:44:24,503 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-28 00:44:24,503 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-28 00:44:24,519 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-02-28 00:44:24,519 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-02-28 00:44:24,519 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-28 00:44:24,533 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-28 00:44:24,533 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-02-28 00:44:24,549 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-28 00:44:24,549 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-02-28 00:44:24,549 5784 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-02-28 00:44:24,565 5784 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:44:24,565 5784 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-02-28 00:44:24,581 5784 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-02-28 00:44:24,581 5784 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-28 00:44:24,596 5784 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-02-28 00:44:24,596 5784 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:44:24,612 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-02-28 00:44:24,612 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:44:24,628 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-28 00:44:24,628 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-28 00:44:24,643 5784 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-02-28 00:44:24,643 5784 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-02-28 00:44:24,643 5784 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-02-28 00:44:24,660 5784 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-02-28 00:44:24,660 5784 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-02-28 00:44:24,675 5784 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-02-28 00:44:24,675 5784 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-02-28 00:44:24,690 5784 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-28 00:44:24,690 5784 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-02-28 00:44:24,706 5784 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-02-28 00:44:24,706 5784 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-02-28 00:44:24,847 5784 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-02-28 00:44:24,893 5784 [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-02-28 00:44:24,971 5784 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
2024-02-28 00:44:25,159 5784 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2024-02-28 00:44:25,315 5784 [INFO ] - Installing 64 bit version
|
|
2024-02-28 00:44:25,613 5784 [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-02-28 00:44:25,627 5784 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-02-28 00:44:25,675 5784 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
|
|
2024-02-28 00:44:25,783 5784 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-02-28 00:44:25,909 5784 [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-02-28 00:44:26,378 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:44:26,408 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:44:26,423 5784 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-02-28 00:44:26,423 5784 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
|
|
2024-02-28 00:44:26,423 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:44:26,439 5784 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2024-02-28 00:44:26,455 5784 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-02-28 00:44:26,455 5784 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2024-02-28 00:44:26,470 5784 [INFO ] - VERBOSE: Type = zip
|
|
2024-02-28 00:44:26,470 5784 [INFO ] - VERBOSE: Physical Size = 415458
|
|
2024-02-28 00:44:26,489 5784 [INFO ] - VERBOSE: --
|
|
2024-02-28 00:44:26,503 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:44:26,520 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\
|
|
2024-02-28 00:44:26,596 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
|
|
2024-02-28 00:44:26,596 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
|
|
2024-02-28 00:44:26,612 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\
|
|
2024-02-28 00:44:26,612 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
|
|
2024-02-28 00:44:26,632 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
|
|
2024-02-28 00:44:26,642 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
|
|
2024-02-28 00:44:26,658 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
|
|
2024-02-28 00:44:26,658 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
|
|
2024-02-28 00:44:26,721 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
|
|
2024-02-28 00:44:26,721 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
|
|
2024-02-28 00:44:26,737 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
|
|
2024-02-28 00:44:26,751 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
|
|
2024-02-28 00:44:26,751 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
|
|
2024-02-28 00:44:26,767 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
|
|
2024-02-28 00:44:26,783 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
|
|
2024-02-28 00:44:26,783 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
|
|
2024-02-28 00:44:26,783 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
|
|
2024-02-28 00:44:26,800 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
|
|
2024-02-28 00:44:26,815 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
|
|
2024-02-28 00:44:26,831 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
|
|
2024-02-28 00:44:26,831 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
|
|
2024-02-28 00:44:26,846 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
|
|
2024-02-28 00:44:26,846 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
|
|
2024-02-28 00:44:26,862 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
|
|
2024-02-28 00:44:26,862 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
|
|
2024-02-28 00:44:26,877 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
|
|
2024-02-28 00:44:26,877 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
|
|
2024-02-28 00:44:26,892 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
|
|
2024-02-28 00:44:26,892 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
|
|
2024-02-28 00:44:26,908 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
|
|
2024-02-28 00:44:26,924 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
|
|
2024-02-28 00:44:26,924 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
|
|
2024-02-28 00:44:26,940 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
|
|
2024-02-28 00:44:26,940 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
|
|
2024-02-28 00:44:26,955 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
|
|
2024-02-28 00:44:26,955 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
|
|
2024-02-28 00:44:26,970 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
|
|
2024-02-28 00:44:26,970 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
|
|
2024-02-28 00:44:27,018 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
|
|
2024-02-28 00:44:27,018 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\
|
|
2024-02-28 00:44:27,034 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\
|
|
2024-02-28 00:44:27,034 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
|
|
2024-02-28 00:44:27,048 5784 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-02-28 00:44:27,048 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:44:27,048 5784 [INFO ] - VERBOSE: Folders: 4
|
|
2024-02-28 00:44:27,064 5784 [INFO ] - VERBOSE: Files: 40
|
|
2024-02-28 00:44:27,064 5784 [INFO ] - VERBOSE: Size: 1411772
|
|
2024-02-28 00:44:27,081 5784 [INFO ] - VERBOSE: Compressed: 415458
|
|
2024-02-28 00:44:27,081 5784 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
|
|
2024-02-28 00:44:27,236 5784 [DEBUG] - $exitCode was passed null
|
|
2024-02-28 00:44:27,252 5784 [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-02-28 00:44:27,314 5784 [DEBUG] - 7z exit code: 0
|
|
2024-02-28 00:44:27,345 5784 [INFO ] - C:\ProgramData\chocolatey\lib\NSSM\tools
|
|
2024-02-28 00:44:27,439 5784 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-02-28 00:44:27,455 5784 [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-02-28 00:44:27,470 5784 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-02-28 00:44:27,611 5784 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-02-28 00:44:27,814 5784 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\NSSM'
|
|
2024-02-28 00:44:27,814 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm-2.24-101-g897c7ad.zip.txt'
|
|
with checksum 'E547F0AA50CFFC01156C3AC949DEB7B6'
|
|
2024-02-28 00:44:27,830 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nupkg'
|
|
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
|
|
2024-02-28 00:44:27,830 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nuspec'
|
|
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
|
|
2024-02-28 00:44:27,846 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\License.txt'
|
|
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
|
|
2024-02-28 00:44:27,846 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\VERIFICATION.txt'
|
|
with checksum '8591C7D2CED72370160BAAD01E373EFA'
|
|
2024-02-28 00:44:27,862 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyBeforeModify.ps1'
|
|
with checksum 'E404813C6C470EF6D868D205C4649408'
|
|
2024-02-28 00:44:27,862 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
with checksum '2A67BD22033BDF5CB20693640EF65B28'
|
|
2024-02-28 00:44:27,862 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe'
|
|
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
|
|
2024-02-28 00:44:27,924 5784 [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-02-28 00:44:29,033 5784 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2024-02-28 00:44:29,049 5784 [DEBUG] - [ShimGen] for C# 5
|
|
2024-02-28 00:44:29,049 5784 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2024-02-28 00:44:29,065 5784 [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-02-28 00:44:29,065 5784 [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-02-28 00:44:29,065 5784 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
|
|
2024-02-28 00:44:29,080 5784 [INFO ] - ShimGen has successfully created a shim for nssm.exe
|
|
2024-02-28 00:44:29,080 5784 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe
|
|
IsGui:False
|
|
|
|
2024-02-28 00:44:29,142 5784 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116".
|
|
2024-02-28 00:44:29,189 5784 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.files'
|
|
2024-02-28 00:44:29,205 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.extra".
|
|
2024-02-28 00:44:29,220 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.version".
|
|
2024-02-28 00:44:29,220 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.sxs".
|
|
2024-02-28 00:44:29,220 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.pin".
|
|
2024-02-28 00:44:29,236 5784 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-02-28 00:44:29,251 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\NSSM\.chocolateyPending".
|
|
2024-02-28 00:44:29,267 5784 [INFO ] - The install of nssm was successful.
|
|
2024-02-28 00:44:29,267 5784 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'
|
|
2024-02-28 00:44:29,283 5784 [DEBUG] - Attempting to delete file "".
|
|
2024-02-28 00:44:29,283 5784 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/consul/1.18.0
|
|
2024-02-28 00:44:29,923 5784 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/consul/1.18.0 628ms
|
|
2024-02-28 00:44:29,923 5784 [INFO ] - [NuGet] Acquiring lock for the installation of consul 1.18.0
|
|
2024-02-28 00:44:29,940 5784 [INFO ] - [NuGet] Acquired lock for the installation of consul 1.18.0
|
|
2024-02-28 00:45:03,672 5784 [INFO ] - [NuGet] Installed consul 1.18.0 from https://community.chocolatey.org/api/v2/ with content hash BCUqjAjhFy1blrc5ljBuI5fxMmH2NKcruCPt+/mmXh8Cw3/0apYWJ2RUh4TJS+l7aRgOGeLuQKURg+3ZFPuWUA==.
|
|
2024-02-28 00:45:03,719 5784 [INFO ] - [NuGet] Adding package 'consul.1.18.0 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-28 00:45:04,846 5784 [INFO ] - [NuGet] Added package 'consul.1.18.0 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-28 00:45:04,864 5784 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.18.0\consul.1.18.0.nupkg".
|
|
2024-02-28 00:45:04,892 5784 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.18.0\.nupkg.metadata".
|
|
2024-02-28 00:45:04,907 5784 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.18.0\consul.1.18.0.nupkg.sha512".
|
|
2024-02-28 00:45:04,923 5784 [INFO ] -
|
|
consul v1.18.0 (forced)
|
|
2024-02-28 00:45:05,140 5784 [INFO ] - consul package files install completed. Performing other installation steps.
|
|
2024-02-28 00:45:05,173 5784 [DEBUG] - Setting installer args for consul
|
|
2024-02-28 00:45:05,173 5784 [DEBUG] - Setting package parameters for consul
|
|
2024-02-28 00:45:05,188 5784 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1':
|
|
2024-02-28 00:45:05,188 5784 [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-02-28 00:45:05,204 5784 [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-02-28 00:45:05,298 5784 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-02-28 00:45:05,375 5784 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-02-28 00:45:05,624 5784 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-28 00:45:05,624 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-28 00:45:05,640 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-28 00:45:05,640 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-28 00:45:05,640 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-28 00:45:05,657 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-28 00:45:05,657 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-28 00:45:05,672 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-28 00:45:05,672 5784 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-28 00:45:05,672 5784 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-28 00:45:05,688 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-28 00:45:05,688 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-28 00:45:05,704 5784 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-28 00:45:05,704 5784 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-28 00:45:05,704 5784 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-28 00:45:05,720 5784 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-28 00:45:05,737 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-28 00:45:05,737 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-28 00:45:05,751 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-28 00:45:05,751 5784 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-28 00:45:05,766 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:45:05,766 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-28 00:45:05,782 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-28 00:45:05,782 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-28 00:45:05,797 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-28 00:45:05,797 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-28 00:45:05,797 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-28 00:45:05,813 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-28 00:45:05,813 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-28 00:45:05,829 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-28 00:45:05,829 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-28 00:45:05,845 5784 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-28 00:45:05,845 5784 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-28 00:45:05,864 5784 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-28 00:45:05,876 5784 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-28 00:45:05,876 5784 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-28 00:45:05,890 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-28 00:45:05,890 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:45:05,890 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-28 00:45:05,907 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-28 00:45:05,907 5784 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-28 00:45:05,922 5784 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-28 00:45:05,922 5784 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-28 00:45:05,938 5784 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-28 00:45:05,938 5784 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-28 00:45:05,938 5784 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-28 00:45:05,953 5784 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-28 00:45:05,953 5784 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-28 00:45:05,969 5784 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-28 00:45:05,969 5784 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-28 00:45:05,984 5784 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-28 00:45:05,984 5784 [DEBUG] - Loading community extensions
|
|
2024-02-28 00:45:06,002 5784 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-02-28 00:45:06,002 5784 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-02-28 00:45:06,046 5784 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:45:06,046 5784 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:45:06,062 5784 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:45:06,062 5784 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:45:06,078 5784 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-28 00:45:06,078 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-28 00:45:06,094 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-28 00:45:06,094 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-28 00:45:06,110 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-28 00:45:06,110 5784 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-28 00:45:06,125 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-28 00:45:06,125 5784 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-28 00:45:06,125 5784 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-28 00:45:06,141 5784 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-28 00:45:06,141 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-28 00:45:06,141 5784 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-28 00:45:06,157 5784 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-28 00:45:06,157 5784 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-28 00:45:06,173 5784 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-28 00:45:06,173 5784 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-28 00:45:06,173 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-28 00:45:06,187 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-28 00:45:06,187 5784 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-28 00:45:06,203 5784 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-28 00:45:06,203 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:45:06,203 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-28 00:45:06,219 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-28 00:45:06,219 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-28 00:45:06,235 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-28 00:45:06,235 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-28 00:45:06,250 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-28 00:45:06,250 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-28 00:45:06,266 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-28 00:45:06,281 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-28 00:45:06,299 5784 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-28 00:45:06,314 5784 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-28 00:45:06,314 5784 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-28 00:45:06,330 5784 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-28 00:45:06,345 5784 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-28 00:45:06,345 5784 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-28 00:45:06,363 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-28 00:45:06,363 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:45:06,374 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-28 00:45:06,374 5784 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-28 00:45:06,390 5784 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-28 00:45:06,390 5784 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-28 00:45:06,407 5784 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:45:06,407 5784 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:45:06,422 5784 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-28 00:45:06,422 5784 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-28 00:45:06,437 5784 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-28 00:45:06,437 5784 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-28 00:45:06,453 5784 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-28 00:45:06,453 5784 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-28 00:45:06,469 5784 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-28 00:45:06,469 5784 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-28 00:45:06,484 5784 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-28 00:45:06,484 5784 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-02-28 00:45:06,500 5784 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-02-28 00:45:06,515 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-02-28 00:45:06,515 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-02-28 00:45:06,533 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-02-28 00:45:06,533 5784 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-02-28 00:45:06,546 5784 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-02-28 00:45:06,546 5784 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-02-28 00:45:06,562 5784 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-02-28 00:45:06,562 5784 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-02-28 00:45:06,562 5784 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-02-28 00:45:06,578 5784 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-28 00:45:06,578 5784 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-02-28 00:45:06,594 5784 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-02-28 00:45:06,594 5784 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-02-28 00:45:06,610 5784 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-02-28 00:45:06,610 5784 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-02-28 00:45:06,625 5784 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-02-28 00:45:06,625 5784 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-02-28 00:45:06,640 5784 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-02-28 00:45:06,640 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:45:06,657 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-28 00:45:06,657 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-28 00:45:06,672 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-28 00:45:06,686 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-02-28 00:45:06,686 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-02-28 00:45:06,686 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-28 00:45:06,703 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-28 00:45:06,703 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-02-28 00:45:06,719 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-28 00:45:06,735 5784 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-02-28 00:45:06,735 5784 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-02-28 00:45:06,749 5784 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-28 00:45:06,749 5784 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-02-28 00:45:06,766 5784 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-02-28 00:45:06,766 5784 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-28 00:45:06,781 5784 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-02-28 00:45:06,781 5784 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-28 00:45:06,796 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-02-28 00:45:06,796 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-28 00:45:06,811 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-28 00:45:06,812 5784 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-28 00:45:06,812 5784 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-02-28 00:45:06,828 5784 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-02-28 00:45:06,828 5784 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-02-28 00:45:06,843 5784 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-02-28 00:45:06,843 5784 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-02-28 00:45:06,859 5784 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-02-28 00:45:06,859 5784 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-02-28 00:45:06,859 5784 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-28 00:45:06,874 5784 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-02-28 00:45:06,874 5784 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-02-28 00:45:06,891 5784 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-02-28 00:45:06,906 5784 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-02-28 00:45:06,906 5784 [DEBUG] - Running 'ChocolateyScriptRunner' for consul v1.18.0 with packageScript 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\consul', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-02-28 00:45:06,922 5784 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
2024-02-28 00:45:07,000 5784 [DEBUG] - No Package Parameters Passed in
|
|
2024-02-28 00:45:07,000 5784 [INFO ] - Creating C:\ProgramData\consul\logs
|
|
2024-02-28 00:45:07,033 5784 [INFO ] - Creating C:\ProgramData\consul\config
|
|
2024-02-28 00:45:07,094 5784 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_386.zip' -fileFullPath64 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_amd64.zip' -destination 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2024-02-28 00:45:07,124 5784 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-02-28 00:45:07,141 5784 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_amd64.zip to C:\ProgramData\chocolatey\lib\consul\tools...
|
|
2024-02-28 00:45:07,141 5784 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-02-28 00:45:07,157 5784 [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.0_windows_amd64.zip"]
|
|
2024-02-28 00:45:09,484 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:45:09,484 5784 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-02-28 00:45:09,500 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:45:09,515 5784 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-02-28 00:45:09,515 5784 [INFO ] - VERBOSE: 1 file, 67183542 bytes (65 MiB)
|
|
2024-02-28 00:45:09,532 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:45:09,547 5784 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_amd64.zip
|
|
2024-02-28 00:45:09,547 5784 [INFO ] - VERBOSE: --
|
|
2024-02-28 00:45:09,562 5784 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_amd64.zip
|
|
2024-02-28 00:45:09,562 5784 [INFO ] - VERBOSE: Physical Size = 67183542
|
|
2024-02-28 00:45:09,579 5784 [INFO ] - VERBOSE: Type = zip
|
|
2024-02-28 00:45:09,594 5784 [INFO ] - VERBOSE: - consul.exe
|
|
2024-02-28 00:45:09,609 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:45:09,609 5784 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-02-28 00:45:09,627 5784 [INFO ] - VERBOSE:
|
|
2024-02-28 00:45:09,640 5784 [INFO ] - VERBOSE: Compressed: 67183542
|
|
2024-02-28 00:45:09,640 5784 [INFO ] - VERBOSE: Size: 179499696
|
|
2024-02-28 00:45:09,657 5784 [DEBUG] - $exitCode was passed null
|
|
2024-02-28 00:45:09,672 5784 [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.0_windows_amd64.zip"] exited with '0'.
|
|
2024-02-28 00:45:09,687 5784 [DEBUG] - 7z exit code: 0
|
|
2024-02-28 00:45:09,687 5784 [INFO ] - C:\ProgramData\chocolatey\lib\consul\tools
|
|
2024-02-28 00:45:10,236 5784 [INFO ] - Installing service: consul
|
|
2024-02-28 00:45:12,749 5784 [INFO ] - VERBOSE: Service installed
|
|
2024-02-28 00:45:13,016 5784 [INFO ] - VERBOSE: sc failure
|
|
2024-02-28 00:45:13,140 5784 [INFO ] - VERBOSE: Stop service
|
|
2024-02-28 00:45:13,187 5784 [INFO ] - VERBOSE: Wait for service to stop
|
|
2024-02-28 00:45:13,249 5784 [INFO ] - VERBOSE: Start service
|
|
2024-02-28 00:45:15,563 5784 [WARN ] - WARNING: Waiting for service 'consul (consul)' to start...
|
|
2024-02-28 00:45:16,890 5784 [INFO ] - Installed service: consul
|
|
2024-02-28 00:45:16,913 5784 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-02-28 00:45:16,940 5784 [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-02-28 00:45:16,950 5784 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-02-28 00:45:17,110 5784 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-02-28 00:45:17,150 5784 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\consul'
|
|
2024-02-28 00:45:17,816 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nupkg'
|
|
with checksum '9FAAB337C3A9A65FA9C261E5F2D8C2AA'
|
|
2024-02-28 00:45:17,831 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nuspec'
|
|
with checksum '157EA214EAD328FF30EC96D20C254CCC'
|
|
2024-02-28 00:45:17,842 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\.skipAutoUninstall'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-02-28 00:45:17,853 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '095C6EC65E43C0C95345E56785A73AE6'
|
|
2024-02-28 00:45:17,856 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
with checksum 'ECC44B59E087C12908CA4321837F0C3F'
|
|
2024-02-28 00:45:17,878 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyUninstall.ps1'
|
|
with checksum '0D73B08B060E56302FB4101E5C74E196'
|
|
2024-02-28 00:45:18,918 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul.exe'
|
|
with checksum '8C31B6CC707728D67D8E05A13BA27FFC'
|
|
2024-02-28 00:45:19,334 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_386.zip'
|
|
with checksum '546B2D324CA86C823383AFA94F4AFF6C'
|
|
2024-02-28 00:45:19,741 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.18.0_windows_amd64.zip'
|
|
with checksum 'B215F61380B23910C8FEE2C7255EE209'
|
|
2024-02-28 00:45:19,753 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\LICENSE.txt'
|
|
with checksum '2DFF9ADD0DCD2288B9EE2BFA78AB55D9'
|
|
2024-02-28 00:45:19,764 5784 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\VERIFICATION.txt'
|
|
with checksum '5A7988C5873B1DDBCABBA9C8E5F0D8E3'
|
|
2024-02-28 00:45:19,780 5784 [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-02-28 00:45:22,922 5784 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
|
|
2024-02-28 00:45:22,922 5784 [DEBUG] - [ShimGen] Selected Icon is invalid
|
|
2024-02-28 00:45:23,339 5784 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2024-02-28 00:45:23,353 5784 [DEBUG] - [ShimGen] for C# 5
|
|
2024-02-28 00:45:23,353 5784 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2024-02-28 00:45:23,370 5784 [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-02-28 00:45:23,385 5784 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\consul.exe'
|
|
2024-02-28 00:45:23,443 5784 [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-02-28 00:45:23,464 5784 [INFO ] - ShimGen has successfully created a shim for consul.exe
|
|
2024-02-28 00:45:23,475 5784 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\consul.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\consul\tools\consul.exe
|
|
IsGui:False
|
|
|
|
2024-02-28 00:45:23,493 5784 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.0".
|
|
2024-02-28 00:45:23,510 5784 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\consul.1.18.0\.files'
|
|
2024-02-28 00:45:23,523 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.0\.extra".
|
|
2024-02-28 00:45:23,539 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.0\.version".
|
|
2024-02-28 00:45:23,539 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.0\.sxs".
|
|
2024-02-28 00:45:23,554 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.18.0\.pin".
|
|
2024-02-28 00:45:23,569 5784 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-02-28 00:45:23,569 5784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\consul\.chocolateyPending".
|
|
2024-02-28 00:45:23,585 5784 [INFO ] - The install of consul was successful.
|
|
2024-02-28 00:45:23,585 5784 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2024-02-28 00:45:23,632 5784 [WARN ] -
|
|
Chocolatey installed 2/2 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-02-28 00:45:23,649 5784 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-02-28 00:45:23,660 5784 [DEBUG] - Exiting with 0
|