|
2023-11-04 00:59:03,361 3168 [DEBUG] - XmlConfiguration is now operational
|
|
2023-11-04 00:59:03,515 3168 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,532 3168 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,532 3168 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,532 3168 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,550 3168 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,550 3168 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,561 3168 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,561 3168 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,561 3168 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-11-04 00:59:03,577 3168 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-11-04 00:59:03,577 3168 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-11-04 00:59:04,373 3168 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,389 3168 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,389 3168 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,389 3168 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,406 3168 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,406 3168 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,406 3168 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,421 3168 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,421 3168 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,421 3168 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-04 00:59:04,467 3168 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-11-04 00:59:04,467 3168 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-11-04 00:59:04,482 3168 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-11-04 00:59:04,499 3168 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-11-04 00:59:04,499 3168 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-11-04 00:59:04,499 3168 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-11-04 00:59:04,514 3168 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-11-04 00:59:04,514 3168 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-11-04 00:59:04,514 3168 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-11-04 00:59:04,531 3168 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-11-04 00:59:04,531 3168 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-11-04 00:59:04,531 3168 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-11-04 00:59:04,531 3168 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-11-04 00:59:04,546 3168 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-11-04 00:59:04,546 3168 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-11-04 00:59:04,546 3168 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-11-04 00:59:04,561 3168 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-11-04 00:59:04,561 3168 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-11-04 00:59:04,561 3168 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-11-04 00:59:04,561 3168 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-11-04 00:59:04,859 3168 [INFO ] - ============================================================
|
|
2023-11-04 00:59:05,312 3168 [INFO ] - Chocolatey v2.2.2
|
|
2023-11-04 00:59:05,343 3168 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-11-04 00:59:05,359 3168 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-11-04 00:59:05,359 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-11-04 00:59:05,389 3168 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install consul --version 1.17.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-11-04 00:59:05,389 3168 [DEBUG] - Received arguments: install consul --version 1.17.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-11-04 00:59:05,514 3168 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-11-04 00:59:05,545 3168 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-11-04 00:59:05,565 3168 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-11-04 00:59:05,780 3168 [DEBUG] - Performing validation checks.
|
|
2023-11-04 00:59:05,795 3168 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-11-04 00:59:05,811 3168 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-11-04 00:59:05,827 3168 [DEBUG] - System State Validation Checks:
|
|
2023-11-04 00:59:05,842 3168 [DEBUG] - Reboot Requirement Checks:
|
|
2023-11-04 00:59:05,842 3168 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-11-04 00:59:05,857 3168 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-11-04 00:59:05,873 3168 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-11-04 00:59:05,873 3168 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-11-04 00:59:05,889 3168 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-11-04 00:59:05,889 3168 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-11-04 00:59:05,905 3168 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-11-04 00:59:05,920 3168 [DEBUG] - - Elevated State = Checked
|
|
2023-11-04 00:59:05,920 3168 [DEBUG] - - Folder Exists = Checked
|
|
2023-11-04 00:59:05,937 3168 [DEBUG] - - Folder lockdown = Checked
|
|
2023-11-04 00:59:05,967 3168 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-11-04 00:59:05,998 3168 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-11-04 00:59:06,014 3168 [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-11-04 00:59:06,061 3168 [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.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-FBIJ53ESDF1'|
|
|
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-11-04 00:59:06,061 3168 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-11-04 00:59:06,077 3168 [INFO ] - Installing the following packages:
|
|
2023-11-04 00:59:06,094 3168 [INFO ] - consul
|
|
2023-11-04 00:59:06,094 3168 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-11-04 00:59:06,155 3168 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-11-04 00:59:06,155 3168 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-11-04 00:59:06,170 3168 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-11-04 00:59:06,170 3168 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-11-04 00:59:06,186 3168 [DEBUG] - * 'ChocolateyLastPathUpdate'='133434868389206509' ('User')
|
|
2023-11-04 00:59:06,186 3168 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-11-04 00:59:06,186 3168 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-11-04 00:59:06,203 3168 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-11-04 00:59:06,203 3168 [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-11-04 00:59:06,218 3168 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-11-04 00:59:06,218 3168 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-11-04 00:59:06,234 3168 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-11-04 00:59:06,234 3168 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-11-04 00:59:06,249 3168 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-11-04 00:59:06,249 3168 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-11-04 00:59:06,249 3168 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-11-04 00:59:06,266 3168 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-11-04 00:59:06,266 3168 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-11-04 00:59:06,281 3168 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-11-04 00:59:06,281 3168 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-11-04 00:59:06,295 3168 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-11-04 00:59:06,795 3168 [DEBUG] - Running list with the following filter = ''
|
|
2023-11-04 00:59:06,795 3168 [DEBUG] - --- Start of List ---
|
|
2023-11-04 00:59:06,843 3168 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-11-04 00:59:07,437 3168 [DEBUG] - chocolatey 2.2.2
|
|
2023-11-04 00:59:07,452 3168 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-11-04 00:59:07,467 3168 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-11-04 00:59:07,467 3168 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-11-04 00:59:07,483 3168 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-11-04 00:59:07,499 3168 [DEBUG] - KB3035131 1.0.3
|
|
2023-11-04 00:59:07,514 3168 [DEBUG] - KB3118401 1.0.5
|
|
2023-11-04 00:59:07,531 3168 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-11-04 00:59:07,531 3168 [DEBUG] - --- End of List ---
|
|
2023-11-04 00:59:07,545 3168 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-11-04 00:59:08,405 3168 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-11-04 00:59:09,093 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.0')
|
|
2023-11-04 00:59:09,373 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.0') 266ms
|
|
2023-11-04 00:59:09,529 3168 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-11-04 00:59:10,217 3168 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-11-04 00:59:10,234 3168 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.0')
|
|
2023-11-04 00:59:10,952 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2023-11-04 00:59:11,014 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 49ms
|
|
2023-11-04 00:59:11,045 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0
|
|
2023-11-04 00:59:11,374 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0 329ms
|
|
2023-11-04 00:59:11,717 3168 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-11-04 00:59:11,733 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116')
|
|
2023-11-04 00:59:12,017 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116') 275ms
|
|
2023-11-04 00:59:12,046 3168 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-11-04 00:59:12,092 3168 [DEBUG] - Attempting to delete file "".
|
|
2023-11-04 00:59:12,139 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116
|
|
2023-11-04 00:59:12,530 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116 393ms
|
|
2023-11-04 00:59:12,561 3168 [INFO ] - [NuGet] Acquiring lock for the installation of NSSM 2.24.101.20180116
|
|
2023-11-04 00:59:12,639 3168 [INFO ] - [NuGet] Acquired lock for the installation of NSSM 2.24.101.20180116
|
|
2023-11-04 00:59:13,093 3168 [INFO ] - [NuGet] Installed NSSM 2.24.101.20180116 from https://community.chocolatey.org/api/v2/ with content hash fuJpe592dg8JbBkBeU80oH51aVI5CUmAtNIFzvZfpE9nyFp6017LDBHNuZDZ6eOK3zwUjAlZo9u6I5lTM8otLA==.
|
|
2023-11-04 00:59:13,140 3168 [INFO ] - [NuGet] Adding package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-11-04 00:59:13,280 3168 [INFO ] - [NuGet] Added package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-11-04 00:59:13,280 3168 [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-11-04 00:59:13,295 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\NSSM/2.24.101.20180116\.nupkg.metadata".
|
|
2023-11-04 00:59:13,295 3168 [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-11-04 00:59:13,311 3168 [INFO ] -
|
|
nssm v2.24.101.20180116 (forced) [Approved]
|
|
2023-11-04 00:59:13,373 3168 [INFO ] - nssm package files install completed. Performing other installation steps.
|
|
2023-11-04 00:59:13,435 3168 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1':
|
|
2023-11-04 00:59:13,467 3168 [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-11-04 00:59:13,514 3168 [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-11-04 00:59:13,530 3168 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-11-04 00:59:14,639 3168 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-11-04 00:59:15,202 3168 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-11-04 00:59:15,202 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-11-04 00:59:15,202 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-11-04 00:59:15,217 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-11-04 00:59:15,233 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-11-04 00:59:15,233 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-11-04 00:59:15,249 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-11-04 00:59:15,249 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-11-04 00:59:15,264 3168 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-11-04 00:59:15,264 3168 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-11-04 00:59:15,264 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-11-04 00:59:15,281 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-04 00:59:15,281 3168 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-11-04 00:59:15,295 3168 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-11-04 00:59:15,311 3168 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-11-04 00:59:15,328 3168 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-11-04 00:59:15,328 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-11-04 00:59:15,345 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-11-04 00:59:15,357 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-11-04 00:59:15,357 3168 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-11-04 00:59:15,373 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:15,373 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-04 00:59:15,391 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-04 00:59:15,391 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-04 00:59:15,405 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-11-04 00:59:15,420 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-11-04 00:59:15,420 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-04 00:59:15,435 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-04 00:59:15,435 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-11-04 00:59:15,460 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-04 00:59:15,467 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:15,467 3168 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-11-04 00:59:15,483 3168 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-11-04 00:59:15,483 3168 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-11-04 00:59:15,499 3168 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-04 00:59:15,499 3168 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-11-04 00:59:15,513 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-11-04 00:59:15,513 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:15,530 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-04 00:59:15,546 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:15,560 3168 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-11-04 00:59:15,560 3168 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-11-04 00:59:15,578 3168 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-11-04 00:59:15,578 3168 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-11-04 00:59:15,592 3168 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-11-04 00:59:15,592 3168 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-11-04 00:59:15,607 3168 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-11-04 00:59:15,607 3168 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-11-04 00:59:15,623 3168 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-04 00:59:15,623 3168 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-11-04 00:59:15,639 3168 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-11-04 00:59:15,671 3168 [DEBUG] - Loading community extensions
|
|
2023-11-04 00:59:15,717 3168 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-11-04 00:59:15,717 3168 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-11-04 00:59:15,889 3168 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:15,905 3168 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:15,920 3168 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:15,935 3168 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:15,967 3168 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-11-04 00:59:15,982 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-11-04 00:59:15,982 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-11-04 00:59:15,998 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-11-04 00:59:15,998 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-11-04 00:59:16,014 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-11-04 00:59:16,031 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-11-04 00:59:16,031 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-11-04 00:59:16,046 3168 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-11-04 00:59:16,060 3168 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-11-04 00:59:16,060 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-11-04 00:59:16,076 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-04 00:59:16,092 3168 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-11-04 00:59:16,107 3168 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-11-04 00:59:16,123 3168 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-11-04 00:59:16,139 3168 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-11-04 00:59:16,154 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-11-04 00:59:16,170 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-11-04 00:59:16,170 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-11-04 00:59:16,186 3168 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-11-04 00:59:16,186 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:16,186 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-04 00:59:16,202 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-04 00:59:16,202 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-04 00:59:16,217 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-11-04 00:59:16,217 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-11-04 00:59:16,233 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-04 00:59:16,233 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-04 00:59:16,249 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-11-04 00:59:16,249 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-04 00:59:16,265 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:16,265 3168 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-11-04 00:59:16,281 3168 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-11-04 00:59:16,281 3168 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-11-04 00:59:16,295 3168 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-04 00:59:16,295 3168 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-11-04 00:59:16,311 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-11-04 00:59:16,311 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:16,326 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-04 00:59:16,326 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:16,344 3168 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-11-04 00:59:16,344 3168 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-11-04 00:59:16,358 3168 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:16,358 3168 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:16,373 3168 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-11-04 00:59:16,373 3168 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-11-04 00:59:16,373 3168 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-11-04 00:59:16,390 3168 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-11-04 00:59:16,390 3168 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-11-04 00:59:16,404 3168 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-11-04 00:59:16,420 3168 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-04 00:59:16,420 3168 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-11-04 00:59:16,420 3168 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-11-04 00:59:16,437 3168 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-11-04 00:59:16,437 3168 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-11-04 00:59:16,452 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-11-04 00:59:16,452 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-11-04 00:59:16,467 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-11-04 00:59:16,467 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-11-04 00:59:16,483 3168 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-11-04 00:59:16,483 3168 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-11-04 00:59:16,499 3168 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-11-04 00:59:16,515 3168 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-11-04 00:59:16,530 3168 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-11-04 00:59:16,545 3168 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-04 00:59:16,561 3168 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-11-04 00:59:16,561 3168 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-11-04 00:59:16,592 3168 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-11-04 00:59:16,592 3168 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-11-04 00:59:16,607 3168 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-11-04 00:59:16,623 3168 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-11-04 00:59:16,623 3168 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-11-04 00:59:16,639 3168 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-11-04 00:59:16,639 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:16,655 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-04 00:59:16,655 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-04 00:59:16,671 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-04 00:59:16,671 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-11-04 00:59:16,686 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-11-04 00:59:16,686 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-04 00:59:16,701 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-04 00:59:16,701 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-11-04 00:59:16,717 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-04 00:59:16,717 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:16,732 3168 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-11-04 00:59:16,732 3168 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:16,749 3168 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-11-04 00:59:16,749 3168 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-11-04 00:59:16,764 3168 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-04 00:59:16,764 3168 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-11-04 00:59:16,780 3168 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:16,796 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-11-04 00:59:16,796 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:16,811 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-04 00:59:16,811 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:16,842 3168 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-11-04 00:59:16,858 3168 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-11-04 00:59:16,858 3168 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-11-04 00:59:16,873 3168 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-11-04 00:59:16,904 3168 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-11-04 00:59:16,904 3168 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-11-04 00:59:16,920 3168 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-11-04 00:59:16,936 3168 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-04 00:59:16,951 3168 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-11-04 00:59:16,967 3168 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-11-04 00:59:16,983 3168 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-11-04 00:59:17,312 3168 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-11-04 00:59:17,389 3168 [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-11-04 00:59:17,499 3168 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
2023-11-04 00:59:17,655 3168 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2023-11-04 00:59:17,749 3168 [INFO ] - Installing 64 bit version
|
|
2023-11-04 00:59:17,936 3168 [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-11-04 00:59:17,936 3168 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-11-04 00:59:17,984 3168 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
|
|
2023-11-04 00:59:18,062 3168 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2023-11-04 00:59:18,311 3168 [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-11-04 00:59:18,937 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:18,970 3168 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2023-11-04 00:59:18,983 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:18,999 3168 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2023-11-04 00:59:18,999 3168 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
|
|
2023-11-04 00:59:19,014 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:19,030 3168 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2023-11-04 00:59:19,061 3168 [INFO ] - VERBOSE: --
|
|
2023-11-04 00:59:19,077 3168 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2023-11-04 00:59:19,077 3168 [INFO ] - VERBOSE: Type = zip
|
|
2023-11-04 00:59:19,093 3168 [INFO ] - VERBOSE: Physical Size = 415458
|
|
2023-11-04 00:59:19,093 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:19,109 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\
|
|
2023-11-04 00:59:19,405 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
|
|
2023-11-04 00:59:19,436 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
|
|
2023-11-04 00:59:19,451 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\
|
|
2023-11-04 00:59:19,451 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
|
|
2023-11-04 00:59:19,467 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
|
|
2023-11-04 00:59:19,467 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
|
|
2023-11-04 00:59:19,483 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
|
|
2023-11-04 00:59:19,498 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
|
|
2023-11-04 00:59:19,498 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
|
|
2023-11-04 00:59:19,515 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
|
|
2023-11-04 00:59:19,515 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
|
|
2023-11-04 00:59:19,530 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
|
|
2023-11-04 00:59:19,546 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
|
|
2023-11-04 00:59:19,577 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
|
|
2023-11-04 00:59:19,593 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
|
|
2023-11-04 00:59:19,623 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
|
|
2023-11-04 00:59:19,639 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
|
|
2023-11-04 00:59:19,639 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
|
|
2023-11-04 00:59:19,655 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
|
|
2023-11-04 00:59:19,671 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
|
|
2023-11-04 00:59:19,671 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
|
|
2023-11-04 00:59:19,687 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
|
|
2023-11-04 00:59:19,702 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
|
|
2023-11-04 00:59:19,718 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
|
|
2023-11-04 00:59:19,718 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
|
|
2023-11-04 00:59:19,738 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
|
|
2023-11-04 00:59:19,750 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
|
|
2023-11-04 00:59:19,750 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
|
|
2023-11-04 00:59:19,765 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
|
|
2023-11-04 00:59:19,780 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
|
|
2023-11-04 00:59:19,780 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
|
|
2023-11-04 00:59:19,796 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
|
|
2023-11-04 00:59:19,811 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
|
|
2023-11-04 00:59:19,828 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
|
|
2023-11-04 00:59:19,828 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
|
|
2023-11-04 00:59:19,843 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
|
|
2023-11-04 00:59:19,858 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
|
|
2023-11-04 00:59:19,873 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
|
|
2023-11-04 00:59:19,873 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
|
|
2023-11-04 00:59:19,890 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\
|
|
2023-11-04 00:59:19,905 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
|
|
2023-11-04 00:59:19,921 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\
|
|
2023-11-04 00:59:19,936 3168 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
|
|
2023-11-04 00:59:19,936 3168 [INFO ] - VERBOSE: Everything is Ok
|
|
2023-11-04 00:59:19,952 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:19,968 3168 [INFO ] - VERBOSE: Folders: 4
|
|
2023-11-04 00:59:19,968 3168 [INFO ] - VERBOSE: Files: 40
|
|
2023-11-04 00:59:19,984 3168 [INFO ] - VERBOSE: Size: 1411772
|
|
2023-11-04 00:59:19,984 3168 [INFO ] - VERBOSE: Compressed: 415458
|
|
2023-11-04 00:59:20,139 3168 [DEBUG] - $exitCode was passed null
|
|
2023-11-04 00:59:20,170 3168 [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-11-04 00:59:20,234 3168 [DEBUG] - 7z exit code: 0
|
|
2023-11-04 00:59:20,343 3168 [INFO ] - C:\ProgramData\chocolatey\lib\NSSM\tools
|
|
2023-11-04 00:59:20,437 3168 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-11-04 00:59:20,467 3168 [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-11-04 00:59:20,483 3168 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-11-04 00:59:20,645 3168 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-11-04 00:59:20,921 3168 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\NSSM'
|
|
2023-11-04 00:59:20,921 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm-2.24-101-g897c7ad.zip.txt'
|
|
with checksum 'C14B347E13EA3FC337CAF1E03C2BD744'
|
|
2023-11-04 00:59:20,937 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nupkg'
|
|
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
|
|
2023-11-04 00:59:20,937 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nuspec'
|
|
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
|
|
2023-11-04 00:59:20,953 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\License.txt'
|
|
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
|
|
2023-11-04 00:59:20,953 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\VERIFICATION.txt'
|
|
with checksum '8591C7D2CED72370160BAAD01E373EFA'
|
|
2023-11-04 00:59:20,968 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyBeforeModify.ps1'
|
|
with checksum 'E404813C6C470EF6D868D205C4649408'
|
|
2023-11-04 00:59:20,968 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
with checksum '2A67BD22033BDF5CB20693640EF65B28'
|
|
2023-11-04 00:59:20,984 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe'
|
|
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
|
|
2023-11-04 00:59:21,015 3168 [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-11-04 00:59:22,531 3168 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2023-11-04 00:59:22,547 3168 [DEBUG] - [ShimGen] for C# 5
|
|
2023-11-04 00:59:22,547 3168 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2023-11-04 00:59:22,562 3168 [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-11-04 00:59:22,578 3168 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
|
|
2023-11-04 00:59:22,578 3168 [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-11-04 00:59:22,594 3168 [INFO ] - ShimGen has successfully created a shim for nssm.exe
|
|
2023-11-04 00:59:22,594 3168 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe
|
|
IsGui:False
|
|
|
|
2023-11-04 00:59:22,640 3168 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116".
|
|
2023-11-04 00:59:22,687 3168 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.files'
|
|
2023-11-04 00:59:22,704 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.extra".
|
|
2023-11-04 00:59:22,704 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.version".
|
|
2023-11-04 00:59:22,718 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.sxs".
|
|
2023-11-04 00:59:22,718 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.pin".
|
|
2023-11-04 00:59:22,749 3168 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-11-04 00:59:22,749 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\NSSM\.chocolateyPending".
|
|
2023-11-04 00:59:22,765 3168 [INFO ] - The install of nssm was successful.
|
|
2023-11-04 00:59:22,765 3168 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'
|
|
2023-11-04 00:59:22,781 3168 [DEBUG] - Attempting to delete file "".
|
|
2023-11-04 00:59:22,797 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/consul/1.17.0
|
|
2023-11-04 00:59:23,375 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/consul/1.17.0 576ms
|
|
2023-11-04 00:59:23,405 3168 [INFO ] - [NuGet] Acquiring lock for the installation of consul 1.17.0
|
|
2023-11-04 00:59:23,422 3168 [INFO ] - [NuGet] Acquired lock for the installation of consul 1.17.0
|
|
2023-11-04 00:59:40,096 3168 [INFO ] - [NuGet] Installed consul 1.17.0 from https://community.chocolatey.org/api/v2/ with content hash vEi4XZIlFsNOyPc1odLHdnZTOkUTtZ3EGb5jo4663UIUThx2M1Wdym5UogwrldyaM4hmGTkzS6TrUa5UMA2L6g==.
|
|
2023-11-04 00:59:40,189 3168 [INFO ] - [NuGet] Adding package 'consul.1.17.0 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-11-04 00:59:41,053 3168 [INFO ] - [NuGet] Added package 'consul.1.17.0 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-11-04 00:59:41,062 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.0\consul.1.17.0.nupkg".
|
|
2023-11-04 00:59:41,078 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.0\.nupkg.metadata".
|
|
2023-11-04 00:59:41,078 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.0\consul.1.17.0.nupkg.sha512".
|
|
2023-11-04 00:59:41,093 3168 [INFO ] -
|
|
consul v1.17.0 (forced)
|
|
2023-11-04 00:59:41,109 3168 [INFO ] - consul package files install completed. Performing other installation steps.
|
|
2023-11-04 00:59:41,126 3168 [DEBUG] - Setting installer args for consul
|
|
2023-11-04 00:59:41,140 3168 [DEBUG] - Setting package parameters for consul
|
|
2023-11-04 00:59:41,140 3168 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1':
|
|
2023-11-04 00:59:41,140 3168 [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-11-04 00:59:41,157 3168 [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-11-04 00:59:41,282 3168 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-11-04 00:59:41,423 3168 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-11-04 00:59:41,876 3168 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-11-04 00:59:41,892 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-11-04 00:59:41,909 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-11-04 00:59:41,923 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-11-04 00:59:41,938 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-11-04 00:59:41,954 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-11-04 00:59:41,986 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-11-04 00:59:42,001 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-11-04 00:59:42,016 3168 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-11-04 00:59:42,031 3168 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-11-04 00:59:42,047 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-11-04 00:59:42,064 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-04 00:59:42,079 3168 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-11-04 00:59:42,079 3168 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-11-04 00:59:42,094 3168 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-11-04 00:59:42,111 3168 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-11-04 00:59:42,125 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-11-04 00:59:42,141 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-11-04 00:59:42,157 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-11-04 00:59:42,172 3168 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-11-04 00:59:42,172 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:42,188 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-04 00:59:42,203 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-04 00:59:42,219 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-04 00:59:42,236 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-11-04 00:59:42,251 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-11-04 00:59:42,267 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-04 00:59:42,284 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-04 00:59:42,329 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-11-04 00:59:42,346 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-04 00:59:42,346 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:42,376 3168 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-11-04 00:59:42,391 3168 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-11-04 00:59:42,407 3168 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-11-04 00:59:42,425 3168 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-04 00:59:42,437 3168 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-11-04 00:59:42,454 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-11-04 00:59:42,485 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:42,505 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-04 00:59:42,527 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:42,548 3168 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-11-04 00:59:42,563 3168 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-11-04 00:59:42,594 3168 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-11-04 00:59:42,594 3168 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-11-04 00:59:42,610 3168 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-11-04 00:59:42,657 3168 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-11-04 00:59:42,672 3168 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-11-04 00:59:42,690 3168 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-11-04 00:59:42,690 3168 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-04 00:59:42,720 3168 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-11-04 00:59:42,735 3168 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-11-04 00:59:42,750 3168 [DEBUG] - Loading community extensions
|
|
2023-11-04 00:59:42,800 3168 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-11-04 00:59:42,813 3168 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-11-04 00:59:42,908 3168 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:42,923 3168 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:42,923 3168 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:42,939 3168 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:42,939 3168 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-11-04 00:59:42,954 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-11-04 00:59:42,969 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-11-04 00:59:42,986 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-11-04 00:59:43,001 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-11-04 00:59:43,017 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-11-04 00:59:43,048 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-11-04 00:59:43,079 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-11-04 00:59:43,095 3168 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-11-04 00:59:43,126 3168 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-11-04 00:59:43,157 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-11-04 00:59:43,188 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-04 00:59:43,188 3168 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-11-04 00:59:43,204 3168 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-11-04 00:59:43,220 3168 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-11-04 00:59:43,251 3168 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-11-04 00:59:43,266 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-11-04 00:59:43,282 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-11-04 00:59:43,282 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-11-04 00:59:43,297 3168 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-11-04 00:59:43,315 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:43,330 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-04 00:59:43,344 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-04 00:59:43,360 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-04 00:59:43,376 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-11-04 00:59:43,390 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-11-04 00:59:43,408 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-04 00:59:43,422 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-04 00:59:43,439 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-11-04 00:59:43,457 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-04 00:59:43,469 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:43,469 3168 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-11-04 00:59:43,485 3168 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-11-04 00:59:43,501 3168 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-11-04 00:59:43,517 3168 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-04 00:59:43,517 3168 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-11-04 00:59:43,532 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-11-04 00:59:43,532 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:43,548 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-04 00:59:43,564 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:43,595 3168 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-11-04 00:59:43,610 3168 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-11-04 00:59:43,642 3168 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:43,657 3168 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:43,657 3168 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-11-04 00:59:43,673 3168 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-11-04 00:59:43,688 3168 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-11-04 00:59:43,688 3168 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-11-04 00:59:43,703 3168 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-11-04 00:59:43,720 3168 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-11-04 00:59:43,720 3168 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-04 00:59:43,750 3168 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-11-04 00:59:43,768 3168 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-11-04 00:59:43,768 3168 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-11-04 00:59:43,817 3168 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-11-04 00:59:43,845 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-11-04 00:59:43,861 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-11-04 00:59:43,876 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-11-04 00:59:43,891 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-11-04 00:59:43,907 3168 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-11-04 00:59:43,923 3168 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-11-04 00:59:43,938 3168 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-11-04 00:59:43,954 3168 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-11-04 00:59:44,001 3168 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-11-04 00:59:44,032 3168 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-04 00:59:44,047 3168 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-11-04 00:59:44,064 3168 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-11-04 00:59:44,080 3168 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-11-04 00:59:44,110 3168 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-11-04 00:59:44,130 3168 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-11-04 00:59:44,141 3168 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-11-04 00:59:44,157 3168 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-11-04 00:59:44,172 3168 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-11-04 00:59:44,172 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:44,204 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-04 00:59:44,219 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-04 00:59:44,234 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-04 00:59:44,251 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-11-04 00:59:44,267 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-11-04 00:59:44,267 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-04 00:59:44,281 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-04 00:59:44,297 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-11-04 00:59:44,297 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-04 00:59:44,313 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:44,330 3168 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-11-04 00:59:44,344 3168 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-11-04 00:59:44,359 3168 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-11-04 00:59:44,377 3168 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-11-04 00:59:44,392 3168 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-04 00:59:44,407 3168 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-11-04 00:59:44,407 3168 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-11-04 00:59:44,439 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-11-04 00:59:44,453 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-04 00:59:44,485 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-04 00:59:44,502 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-04 00:59:44,532 3168 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-11-04 00:59:44,548 3168 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-11-04 00:59:44,578 3168 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-11-04 00:59:44,578 3168 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-11-04 00:59:44,611 3168 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-11-04 00:59:44,625 3168 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-11-04 00:59:44,625 3168 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-11-04 00:59:44,656 3168 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-04 00:59:44,672 3168 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-11-04 00:59:44,672 3168 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-11-04 00:59:44,688 3168 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-11-04 00:59:44,721 3168 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-11-04 00:59:44,737 3168 [DEBUG] - Running 'ChocolateyScriptRunner' for consul v1.17.0 with packageScript 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\consul', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-11-04 00:59:44,783 3168 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
2023-11-04 00:59:45,032 3168 [DEBUG] - No Package Parameters Passed in
|
|
2023-11-04 00:59:45,048 3168 [INFO ] - Creating C:\ProgramData\consul\logs
|
|
2023-11-04 00:59:45,095 3168 [INFO ] - Creating C:\ProgramData\consul\config
|
|
2023-11-04 00:59:45,172 3168 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_386.zip' -fileFullPath64 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_amd64.zip' -destination 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2023-11-04 00:59:45,188 3168 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-11-04 00:59:45,235 3168 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_amd64.zip to C:\ProgramData\chocolatey\lib\consul\tools...
|
|
2023-11-04 00:59:45,252 3168 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2023-11-04 00:59:45,282 3168 [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.0_windows_amd64.zip"]
|
|
2023-11-04 00:59:47,018 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:47,032 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:47,047 3168 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2023-11-04 00:59:47,063 3168 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2023-11-04 00:59:47,063 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:47,079 3168 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_amd64.zip
|
|
2023-11-04 00:59:47,094 3168 [INFO ] - VERBOSE: 1 file, 63902638 bytes (61 MiB)
|
|
2023-11-04 00:59:47,110 3168 [INFO ] - VERBOSE: --
|
|
2023-11-04 00:59:47,126 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:47,141 3168 [INFO ] - VERBOSE: Physical Size = 63902638
|
|
2023-11-04 00:59:47,141 3168 [INFO ] - VERBOSE: - consul.exe
|
|
2023-11-04 00:59:47,187 3168 [INFO ] - VERBOSE: Type = zip
|
|
2023-11-04 00:59:47,203 3168 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_amd64.zip
|
|
2023-11-04 00:59:47,236 3168 [INFO ] - VERBOSE: Everything is Ok
|
|
2023-11-04 00:59:47,250 3168 [INFO ] - VERBOSE:
|
|
2023-11-04 00:59:47,266 3168 [INFO ] - VERBOSE: Size: 171471024
|
|
2023-11-04 00:59:47,298 3168 [INFO ] - VERBOSE: Compressed: 63902638
|
|
2023-11-04 00:59:47,328 3168 [DEBUG] - $exitCode was passed null
|
|
2023-11-04 00:59:47,344 3168 [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.0_windows_amd64.zip"] exited with '0'.
|
|
2023-11-04 00:59:47,376 3168 [DEBUG] - 7z exit code: 0
|
|
2023-11-04 00:59:47,392 3168 [INFO ] - C:\ProgramData\chocolatey\lib\consul\tools
|
|
2023-11-04 00:59:47,704 3168 [INFO ] - Installing service: consul
|
|
2023-11-04 00:59:49,640 3168 [INFO ] - VERBOSE: Service installed
|
|
2023-11-04 00:59:49,907 3168 [INFO ] - VERBOSE: sc failure
|
|
2023-11-04 00:59:50,095 3168 [INFO ] - VERBOSE: Stop service
|
|
2023-11-04 00:59:50,235 3168 [INFO ] - VERBOSE: Wait for service to stop
|
|
2023-11-04 00:59:50,313 3168 [INFO ] - VERBOSE: Start service
|
|
2023-11-04 00:59:52,535 3168 [WARN ] - WARNING: Waiting for service 'consul (consul)' to start...
|
|
2023-11-04 00:59:53,581 3168 [INFO ] - Installed service: consul
|
|
2023-11-04 00:59:53,594 3168 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-11-04 00:59:53,615 3168 [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-11-04 00:59:53,628 3168 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-11-04 00:59:53,966 3168 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-11-04 00:59:54,042 3168 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\consul'
|
|
2023-11-04 00:59:54,693 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nupkg'
|
|
with checksum '8EBEED386D567988B040932B8933B19F'
|
|
2023-11-04 00:59:54,705 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nuspec'
|
|
with checksum '56523FD0815852C41A7FD36F561E2F5D'
|
|
2023-11-04 00:59:54,713 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\.skipAutoUninstall'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-11-04 00:59:54,727 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '095C6EC65E43C0C95345E56785A73AE6'
|
|
2023-11-04 00:59:54,742 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
with checksum 'ECC44B59E087C12908CA4321837F0C3F'
|
|
2023-11-04 00:59:54,753 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyUninstall.ps1'
|
|
with checksum '0D73B08B060E56302FB4101E5C74E196'
|
|
2023-11-04 00:59:56,366 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul.exe'
|
|
with checksum 'C14C957FB0A4AE28F15BB2BA672478A9'
|
|
2023-11-04 00:59:56,914 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_386.zip'
|
|
with checksum '27A6932599B97B94313627467681987F'
|
|
2023-11-04 00:59:57,494 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.0_windows_amd64.zip'
|
|
with checksum 'EE883C54AF27C3B04A4512D5427DC774'
|
|
2023-11-04 00:59:57,494 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\LICENSE.txt'
|
|
with checksum '2DFF9ADD0DCD2288B9EE2BFA78AB55D9'
|
|
2023-11-04 00:59:57,512 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\VERIFICATION.txt'
|
|
with checksum '5A7988C5873B1DDBCABBA9C8E5F0D8E3'
|
|
2023-11-04 00:59:57,516 3168 [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-11-04 01:00:12,923 3168 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
|
|
2023-11-04 01:00:12,935 3168 [DEBUG] - [ShimGen] Selected Icon is invalid
|
|
2023-11-04 01:00:22,509 3168 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2023-11-04 01:00:22,522 3168 [DEBUG] - [ShimGen] for C# 5
|
|
2023-11-04 01:00:22,538 3168 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2023-11-04 01:00:22,569 3168 [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-11-04 01:00:22,655 3168 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\consul.exe'
|
|
2023-11-04 01:00:22,937 3168 [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-11-04 01:00:22,944 3168 [INFO ] - ShimGen has successfully created a shim for consul.exe
|
|
2023-11-04 01:00:22,960 3168 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\consul.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\consul\tools\consul.exe
|
|
IsGui:False
|
|
|
|
2023-11-04 01:00:23,005 3168 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.0".
|
|
2023-11-04 01:00:23,036 3168 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\consul.1.17.0\.files'
|
|
2023-11-04 01:00:23,101 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.0\.extra".
|
|
2023-11-04 01:00:23,130 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.0\.version".
|
|
2023-11-04 01:00:23,162 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.0\.sxs".
|
|
2023-11-04 01:00:23,177 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.0\.pin".
|
|
2023-11-04 01:00:23,192 3168 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-11-04 01:00:23,211 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\consul\.chocolateyPending".
|
|
2023-11-04 01:00:23,239 3168 [INFO ] - The install of consul was successful.
|
|
2023-11-04 01:00:23,255 3168 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2023-11-04 01:00:23,632 3168 [WARN ] -
|
|
Chocolatey installed 2/2 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-11-04 01:00:23,648 3168 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-11-04 01:00:23,693 3168 [DEBUG] - Exiting with 0
|