|
2024-02-18 08:54:53,583 2184 [DEBUG] - XmlConfiguration is now operational
|
|
2024-02-18 08:54:53,849 2184 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,849 2184 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,849 2184 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,866 2184 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,880 2184 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,880 2184 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,897 2184 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,915 2184 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,915 2184 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-02-18 08:54:53,927 2184 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-02-18 08:54:53,927 2184 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-02-18 08:54:55,084 2184 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,099 2184 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,099 2184 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,099 2184 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,115 2184 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,131 2184 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,131 2184 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,177 2184 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,192 2184 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,208 2184 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-02-18 08:54:55,240 2184 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-02-18 08:54:55,255 2184 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-02-18 08:54:55,271 2184 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-02-18 08:54:55,286 2184 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-02-18 08:54:55,286 2184 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-02-18 08:54:55,302 2184 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-02-18 08:54:55,302 2184 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-02-18 08:54:55,318 2184 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-02-18 08:54:55,318 2184 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-02-18 08:54:55,334 2184 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-02-18 08:54:55,334 2184 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-02-18 08:54:55,350 2184 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-02-18 08:54:55,350 2184 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-02-18 08:54:55,367 2184 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-02-18 08:54:55,379 2184 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-02-18 08:54:55,396 2184 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-02-18 08:54:55,396 2184 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-02-18 08:54:55,396 2184 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-02-18 08:54:55,413 2184 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-02-18 08:54:55,413 2184 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-02-18 08:54:55,913 2184 [INFO ] - ============================================================
|
|
2024-02-18 08:54:56,475 2184 [INFO ] - Chocolatey v2.2.2
|
|
2024-02-18 08:54:56,521 2184 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-02-18 08:54:56,537 2184 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-02-18 08:54:56,537 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-02-18 08:54:56,584 2184 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install consul --version 1.17.3 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-02-18 08:54:56,600 2184 [DEBUG] - Received arguments: install consul --version 1.17.3 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-02-18 08:54:56,897 2184 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-02-18 08:54:56,943 2184 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-02-18 08:54:56,974 2184 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-02-18 08:54:57,318 2184 [DEBUG] - Performing validation checks.
|
|
2024-02-18 08:54:57,334 2184 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-02-18 08:54:57,350 2184 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-02-18 08:54:57,368 2184 [DEBUG] - System State Validation Checks:
|
|
2024-02-18 08:54:57,381 2184 [DEBUG] - Reboot Requirement Checks:
|
|
2024-02-18 08:54:57,398 2184 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-02-18 08:54:57,412 2184 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-02-18 08:54:57,412 2184 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-02-18 08:54:57,427 2184 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-02-18 08:54:57,427 2184 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-02-18 08:54:57,443 2184 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-02-18 08:54:57,459 2184 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-02-18 08:54:57,475 2184 [DEBUG] - - Elevated State = Checked
|
|
2024-02-18 08:54:57,490 2184 [DEBUG] - - Folder Exists = Checked
|
|
2024-02-18 08:54:57,505 2184 [DEBUG] - - Folder lockdown = Checked
|
|
2024-02-18 08:54:57,521 2184 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-02-18 08:54:57,583 2184 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-02-18 08:54:57,599 2184 [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-18 08:54:57,692 2184 [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.3'|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-60L5KF04JMA'|
|
|
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-18 08:54:57,708 2184 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-02-18 08:54:57,725 2184 [INFO ] - Installing the following packages:
|
|
2024-02-18 08:54:57,740 2184 [INFO ] - consul
|
|
2024-02-18 08:54:57,759 2184 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-02-18 08:54:57,771 2184 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-02-18 08:54:57,786 2184 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-02-18 08:54:57,786 2184 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-02-18 08:54:57,803 2184 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-02-18 08:54:57,803 2184 [DEBUG] - * 'ChocolateyLastPathUpdate'='133526479763087399' ('User')
|
|
2024-02-18 08:54:57,818 2184 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-02-18 08:54:57,818 2184 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-02-18 08:54:57,818 2184 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-02-18 08:54:57,834 2184 [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-18 08:54:57,834 2184 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-02-18 08:54:57,850 2184 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-02-18 08:54:57,850 2184 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-02-18 08:54:57,865 2184 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-02-18 08:54:57,865 2184 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-02-18 08:54:57,881 2184 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-02-18 08:54:57,881 2184 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-02-18 08:54:57,895 2184 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-02-18 08:54:57,895 2184 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-02-18 08:54:57,895 2184 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-02-18 08:54:57,914 2184 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-02-18 08:54:57,914 2184 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-02-18 08:54:58,692 2184 [DEBUG] - Running list with the following filter = ''
|
|
2024-02-18 08:54:58,692 2184 [DEBUG] - --- Start of List ---
|
|
2024-02-18 08:54:58,770 2184 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-02-18 08:55:00,037 2184 [DEBUG] - chocolatey 2.2.2
|
|
2024-02-18 08:55:00,070 2184 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-02-18 08:55:00,085 2184 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-02-18 08:55:00,099 2184 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-02-18 08:55:00,116 2184 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-02-18 08:55:00,116 2184 [DEBUG] - KB3035131 1.0.3
|
|
2024-02-18 08:55:00,161 2184 [DEBUG] - KB3118401 1.0.5
|
|
2024-02-18 08:55:00,178 2184 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-02-18 08:55:00,193 2184 [DEBUG] - --- End of List ---
|
|
2024-02-18 08:55:00,208 2184 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-02-18 08:55:01,055 2184 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-02-18 08:55:02,052 2184 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.3')
|
|
2024-02-18 08:55:02,317 2184 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.3') 253ms
|
|
2024-02-18 08:55:02,521 2184 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-02-18 08:55:03,459 2184 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-02-18 08:55:03,474 2184 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='consul',Version='1.17.3')
|
|
2024-02-18 08:55:04,443 2184 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
|
|
2024-02-18 08:55:04,505 2184 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 35ms
|
|
2024-02-18 08:55:04,568 2184 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0
|
|
2024-02-18 08:55:04,849 2184 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='NSSM'&semVerLevel=2.0.0 270ms
|
|
2024-02-18 08:55:05,460 2184 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-02-18 08:55:05,505 2184 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116')
|
|
2024-02-18 08:55:05,739 2184 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='NSSM',Version='2.24.101.20180116') 218ms
|
|
2024-02-18 08:55:05,771 2184 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-02-18 08:55:05,865 2184 [DEBUG] - Attempting to delete file "".
|
|
2024-02-18 08:55:05,928 2184 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116
|
|
2024-02-18 08:55:06,567 2184 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/NSSM/2.24.101.20180116 623ms
|
|
2024-02-18 08:55:06,630 2184 [INFO ] - [NuGet] Acquiring lock for the installation of NSSM 2.24.101.20180116
|
|
2024-02-18 08:55:06,787 2184 [INFO ] - [NuGet] Acquired lock for the installation of NSSM 2.24.101.20180116
|
|
2024-02-18 08:55:07,427 2184 [INFO ] - [NuGet] Installed NSSM 2.24.101.20180116 from https://community.chocolatey.org/api/v2/ with content hash fuJpe592dg8JbBkBeU80oH51aVI5CUmAtNIFzvZfpE9nyFp6017LDBHNuZDZ6eOK3zwUjAlZo9u6I5lTM8otLA==.
|
|
2024-02-18 08:55:07,521 2184 [INFO ] - [NuGet] Adding package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-18 08:55:07,630 2184 [INFO ] - [NuGet] Added package 'NSSM.2.24.101.20180116' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-18 08:55:07,662 2184 [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-18 08:55:07,677 2184 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\NSSM/2.24.101.20180116\.nupkg.metadata".
|
|
2024-02-18 08:55:07,677 2184 [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-18 08:55:07,693 2184 [INFO ] -
|
|
nssm v2.24.101.20180116 (forced) [Approved]
|
|
2024-02-18 08:55:07,817 2184 [INFO ] - nssm package files install completed. Performing other installation steps.
|
|
2024-02-18 08:55:07,927 2184 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1':
|
|
2024-02-18 08:55:07,973 2184 [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-18 08:55:08,020 2184 [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-18 08:55:08,036 2184 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-02-18 08:55:09,023 2184 [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-18 08:55:09,709 2184 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-18 08:55:09,724 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-18 08:55:09,724 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-18 08:55:09,741 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-18 08:55:09,755 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-18 08:55:09,755 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-18 08:55:09,755 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-18 08:55:09,772 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-18 08:55:09,772 2184 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-18 08:55:09,786 2184 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-18 08:55:09,786 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-18 08:55:09,802 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-18 08:55:09,802 2184 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-18 08:55:09,817 2184 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-18 08:55:09,817 2184 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-18 08:55:09,833 2184 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-18 08:55:09,833 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-18 08:55:09,850 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-18 08:55:09,850 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-18 08:55:09,864 2184 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-18 08:55:09,864 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:09,880 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-18 08:55:09,880 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-18 08:55:09,895 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-18 08:55:09,895 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-18 08:55:09,911 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-18 08:55:09,911 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-18 08:55:09,926 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-18 08:55:09,926 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-18 08:55:09,942 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-18 08:55:09,942 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:09,942 2184 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-18 08:55:09,958 2184 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-18 08:55:09,958 2184 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-18 08:55:09,974 2184 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-18 08:55:09,989 2184 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-18 08:55:09,989 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-18 08:55:10,004 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:10,004 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-18 08:55:10,004 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:10,020 2184 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-18 08:55:10,020 2184 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-18 08:55:10,038 2184 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-18 08:55:10,038 2184 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-18 08:55:10,053 2184 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-18 08:55:10,070 2184 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-18 08:55:10,070 2184 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-18 08:55:10,083 2184 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-18 08:55:10,083 2184 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-18 08:55:10,099 2184 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-18 08:55:10,099 2184 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-18 08:55:10,161 2184 [DEBUG] - Loading community extensions
|
|
2024-02-18 08:55:10,209 2184 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-02-18 08:55:10,225 2184 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-02-18 08:55:10,380 2184 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:10,380 2184 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:10,397 2184 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:10,411 2184 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:10,411 2184 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-18 08:55:10,427 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-18 08:55:10,427 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-18 08:55:10,427 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-18 08:55:10,459 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-18 08:55:10,459 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-18 08:55:10,475 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-18 08:55:10,475 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-18 08:55:10,490 2184 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-18 08:55:10,490 2184 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-18 08:55:10,490 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-18 08:55:10,506 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-18 08:55:10,506 2184 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-18 08:55:10,520 2184 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-18 08:55:10,520 2184 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-18 08:55:10,537 2184 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-18 08:55:10,537 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-18 08:55:10,551 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-18 08:55:10,551 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-18 08:55:10,568 2184 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-18 08:55:10,568 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:10,583 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-18 08:55:10,583 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-18 08:55:10,583 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-18 08:55:10,599 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-18 08:55:10,599 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-18 08:55:10,615 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-18 08:55:10,615 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-18 08:55:10,630 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-18 08:55:10,630 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-18 08:55:10,647 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:10,708 2184 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-18 08:55:10,724 2184 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-18 08:55:10,724 2184 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-18 08:55:10,739 2184 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-18 08:55:10,739 2184 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-18 08:55:10,755 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-18 08:55:10,755 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:10,755 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-18 08:55:10,772 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:10,772 2184 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-18 08:55:10,786 2184 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-18 08:55:10,786 2184 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:10,802 2184 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:10,802 2184 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-18 08:55:10,818 2184 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-18 08:55:10,818 2184 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-18 08:55:10,832 2184 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-18 08:55:10,832 2184 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-18 08:55:10,832 2184 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-18 08:55:10,849 2184 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-18 08:55:10,849 2184 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-18 08:55:10,849 2184 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-18 08:55:10,866 2184 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-02-18 08:55:10,880 2184 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-02-18 08:55:10,880 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-02-18 08:55:10,896 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-02-18 08:55:10,896 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-02-18 08:55:10,913 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-02-18 08:55:10,913 2184 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-02-18 08:55:10,927 2184 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-02-18 08:55:10,927 2184 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-02-18 08:55:10,927 2184 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-02-18 08:55:10,943 2184 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-02-18 08:55:10,958 2184 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-18 08:55:10,958 2184 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-02-18 08:55:10,974 2184 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-02-18 08:55:10,974 2184 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-02-18 08:55:10,974 2184 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-02-18 08:55:10,990 2184 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-02-18 08:55:11,005 2184 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-02-18 08:55:11,005 2184 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-02-18 08:55:11,005 2184 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-02-18 08:55:11,021 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:11,021 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-18 08:55:11,036 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-18 08:55:11,036 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-18 08:55:11,053 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-02-18 08:55:11,053 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-02-18 08:55:11,067 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-18 08:55:11,067 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-18 08:55:11,067 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-02-18 08:55:11,085 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-18 08:55:11,085 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:11,100 2184 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-02-18 08:55:11,116 2184 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:11,116 2184 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-02-18 08:55:11,132 2184 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-02-18 08:55:11,132 2184 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-18 08:55:11,147 2184 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-02-18 08:55:11,147 2184 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:11,164 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-02-18 08:55:11,164 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:11,176 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-18 08:55:11,176 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:11,193 2184 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-02-18 08:55:11,193 2184 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-02-18 08:55:11,193 2184 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-02-18 08:55:11,208 2184 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-02-18 08:55:11,208 2184 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-02-18 08:55:11,225 2184 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-02-18 08:55:11,225 2184 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-02-18 08:55:11,240 2184 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-18 08:55:11,255 2184 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-02-18 08:55:11,255 2184 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-02-18 08:55:11,273 2184 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-02-18 08:55:11,411 2184 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-02-18 08:55:11,443 2184 [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-18 08:55:11,522 2184 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
2024-02-18 08:55:11,707 2184 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2024-02-18 08:55:11,802 2184 [INFO ] - Installing 64 bit version
|
|
2024-02-18 08:55:12,036 2184 [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-18 08:55:12,115 2184 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-02-18 08:55:12,176 2184 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip to C:\ProgramData\chocolatey\lib\NSSM\tools...
|
|
2024-02-18 08:55:12,349 2184 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-02-18 08:55:12,474 2184 [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-18 08:55:13,082 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:55:13,115 2184 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-02-18 08:55:13,130 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:55:13,145 2184 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2024-02-18 08:55:13,161 2184 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-02-18 08:55:13,161 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:55:13,177 2184 [INFO ] - VERBOSE: 1 file, 415458 bytes (406 KiB)
|
|
2024-02-18 08:55:13,177 2184 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\NSSM\tools\nssm-2.24-101-g897c7ad.zip
|
|
2024-02-18 08:55:13,192 2184 [INFO ] - VERBOSE: --
|
|
2024-02-18 08:55:13,192 2184 [INFO ] - VERBOSE: Physical Size = 415458
|
|
2024-02-18 08:55:13,208 2184 [INFO ] - VERBOSE: Type = zip
|
|
2024-02-18 08:55:13,223 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:55:13,223 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\README.txt
|
|
2024-02-18 08:55:13,303 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\
|
|
2024-02-18 08:55:13,317 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\
|
|
2024-02-18 08:55:13,317 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\ChangeLog.txt
|
|
2024-02-18 08:55:13,334 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.cpp
|
|
2024-02-18 08:55:13,348 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\account.h
|
|
2024-02-18 08:55:13,348 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.cpp
|
|
2024-02-18 08:55:13,365 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\console.h
|
|
2024-02-18 08:55:13,411 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.cpp
|
|
2024-02-18 08:55:13,427 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\env.h
|
|
2024-02-18 08:55:13,427 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.cpp
|
|
2024-02-18 08:55:13,442 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\event.h
|
|
2024-02-18 08:55:13,459 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.cpp
|
|
2024-02-18 08:55:13,459 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\.gitattributes
|
|
2024-02-18 08:55:13,474 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\gui.h
|
|
2024-02-18 08:55:13,474 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.cpp
|
|
2024-02-18 08:55:13,490 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\hook.h
|
|
2024-02-18 08:55:13,490 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.cpp
|
|
2024-02-18 08:55:13,504 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\imports.h
|
|
2024-02-18 08:55:13,504 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.cpp
|
|
2024-02-18 08:55:13,521 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\io.h
|
|
2024-02-18 08:55:13,521 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\messages.mc
|
|
2024-02-18 08:55:13,537 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.cpp
|
|
2024-02-18 08:55:13,553 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.ico
|
|
2024-02-18 08:55:13,553 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.h
|
|
2024-02-18 08:55:13,569 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.rc
|
|
2024-02-18 08:55:13,583 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.sln
|
|
2024-02-18 08:55:13,583 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\nssm.vcproj
|
|
2024-02-18 08:55:13,599 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.cpp
|
|
2024-02-18 08:55:13,599 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\process.h
|
|
2024-02-18 08:55:13,615 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.cpp
|
|
2024-02-18 08:55:13,615 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\registry.h
|
|
2024-02-18 08:55:13,630 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\resource.h
|
|
2024-02-18 08:55:13,630 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.h
|
|
2024-02-18 08:55:13,646 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\service.cpp
|
|
2024-02-18 08:55:13,646 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.cpp
|
|
2024-02-18 08:55:13,661 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\settings.h
|
|
2024-02-18 08:55:13,661 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.cpp
|
|
2024-02-18 08:55:13,739 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\utf8.h
|
|
2024-02-18 08:55:13,739 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\src\version.cmd
|
|
2024-02-18 08:55:13,755 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\
|
|
2024-02-18 08:55:13,755 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win32\nssm.exe
|
|
2024-02-18 08:55:13,771 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\
|
|
2024-02-18 08:55:13,771 2184 [INFO ] - VERBOSE: - nssm-2.24-101-g897c7ad\win64\nssm.exe
|
|
2024-02-18 08:55:13,786 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:55:13,786 2184 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-02-18 08:55:13,802 2184 [INFO ] - VERBOSE: Folders: 4
|
|
2024-02-18 08:55:13,818 2184 [INFO ] - VERBOSE: Files: 40
|
|
2024-02-18 08:55:13,818 2184 [INFO ] - VERBOSE: Compressed: 415458
|
|
2024-02-18 08:55:13,833 2184 [INFO ] - VERBOSE: Size: 1411772
|
|
2024-02-18 08:55:14,004 2184 [DEBUG] - $exitCode was passed null
|
|
2024-02-18 08:55:14,020 2184 [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-18 08:55:14,099 2184 [DEBUG] - 7z exit code: 0
|
|
2024-02-18 08:55:14,130 2184 [INFO ] - C:\ProgramData\chocolatey\lib\NSSM\tools
|
|
2024-02-18 08:55:14,239 2184 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-02-18 08:55:14,270 2184 [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-18 08:55:14,270 2184 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-02-18 08:55:14,462 2184 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-02-18 08:55:14,693 2184 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\NSSM'
|
|
2024-02-18 08:55:14,708 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm-2.24-101-g897c7ad.zip.txt'
|
|
with checksum 'DAB334582F147858C96CBC3CDC92419C'
|
|
2024-02-18 08:55:14,723 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nupkg'
|
|
with checksum '4997E9319A7CEA960E731B7BDF25DEC1'
|
|
2024-02-18 08:55:14,723 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\nssm.nuspec'
|
|
with checksum '4A90600D0AF8D01F83C9292D5B7CCE11'
|
|
2024-02-18 08:55:14,787 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\License.txt'
|
|
with checksum 'F862A0CAC71EB253A3DDDF75BD056F0F'
|
|
2024-02-18 08:55:14,802 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\legal\VERIFICATION.txt'
|
|
with checksum '8591C7D2CED72370160BAAD01E373EFA'
|
|
2024-02-18 08:55:14,802 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyBeforeModify.ps1'
|
|
with checksum 'E404813C6C470EF6D868D205C4649408'
|
|
2024-02-18 08:55:14,817 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\chocolateyInstall.ps1'
|
|
with checksum '2A67BD22033BDF5CB20693640EF65B28'
|
|
2024-02-18 08:55:14,817 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe'
|
|
with checksum '1136EFB1A46D1F2D508162387F30DC4D'
|
|
2024-02-18 08:55:14,865 2184 [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-18 08:55:15,989 2184 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2024-02-18 08:55:15,989 2184 [DEBUG] - [ShimGen] for C# 5
|
|
2024-02-18 08:55:16,006 2184 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2024-02-18 08:55:16,021 2184 [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-18 08:55:16,021 2184 [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-18 08:55:16,036 2184 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\nssm.exe'
|
|
2024-02-18 08:55:16,036 2184 [INFO ] - ShimGen has successfully created a shim for nssm.exe
|
|
2024-02-18 08:55:16,052 2184 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\nssm.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\NSSM\tools\nssm.exe
|
|
IsGui:False
|
|
|
|
2024-02-18 08:55:16,130 2184 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116".
|
|
2024-02-18 08:55:16,270 2184 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.files'
|
|
2024-02-18 08:55:16,302 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.extra".
|
|
2024-02-18 08:55:16,302 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.version".
|
|
2024-02-18 08:55:16,319 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.sxs".
|
|
2024-02-18 08:55:16,319 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nssm.2.24.101.20180116\.pin".
|
|
2024-02-18 08:55:16,334 2184 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-02-18 08:55:16,349 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\NSSM\.chocolateyPending".
|
|
2024-02-18 08:55:16,365 2184 [INFO ] - The install of nssm was successful.
|
|
2024-02-18 08:55:16,380 2184 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\NSSM\tools'
|
|
2024-02-18 08:55:16,380 2184 [DEBUG] - Attempting to delete file "".
|
|
2024-02-18 08:55:16,397 2184 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/consul/1.17.3
|
|
2024-02-18 08:55:16,835 2184 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/consul/1.17.3 431ms
|
|
2024-02-18 08:55:16,850 2184 [INFO ] - [NuGet] Acquiring lock for the installation of consul 1.17.3
|
|
2024-02-18 08:55:16,865 2184 [INFO ] - [NuGet] Acquired lock for the installation of consul 1.17.3
|
|
2024-02-18 08:55:51,989 2184 [INFO ] - [NuGet] Installed consul 1.17.3 from https://community.chocolatey.org/api/v2/ with content hash TE9QbLDM/T97C/zJR3nzc/h+CaNSsdvppAZjJCX5uHP7TNAXz3ne76BMz9Zzm8cG3I9jO6MGzBr3fPHGtLbMng==.
|
|
2024-02-18 08:55:52,067 2184 [INFO ] - [NuGet] Adding package 'consul.1.17.3 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-18 08:55:52,748 2184 [INFO ] - [NuGet] Added package 'consul.1.17.3 : NSSM [2.24.0, )' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-02-18 08:55:52,755 2184 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.3\consul.1.17.3.nupkg".
|
|
2024-02-18 08:55:52,808 2184 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.3\.nupkg.metadata".
|
|
2024-02-18 08:55:52,817 2184 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\consul/1.17.3\consul.1.17.3.nupkg.sha512".
|
|
2024-02-18 08:55:52,833 2184 [INFO ] -
|
|
consul v1.17.3 (forced)
|
|
2024-02-18 08:55:52,913 2184 [INFO ] - consul package files install completed. Performing other installation steps.
|
|
2024-02-18 08:55:52,944 2184 [DEBUG] - Setting installer args for consul
|
|
2024-02-18 08:55:52,958 2184 [DEBUG] - Setting package parameters for consul
|
|
2024-02-18 08:55:52,978 2184 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1':
|
|
2024-02-18 08:55:52,990 2184 [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-18 08:55:53,022 2184 [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-18 08:55:53,115 2184 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-02-18 08:55:53,271 2184 [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-18 08:55:53,677 2184 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-18 08:55:53,708 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-18 08:55:53,723 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-18 08:55:53,740 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-18 08:55:53,772 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-18 08:55:53,786 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-18 08:55:53,802 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-18 08:55:53,834 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-18 08:55:53,848 2184 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-18 08:55:53,865 2184 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-18 08:55:53,880 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-18 08:55:53,896 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-18 08:55:53,911 2184 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-18 08:55:53,943 2184 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-18 08:55:53,959 2184 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-18 08:55:53,973 2184 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-18 08:55:53,990 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-18 08:55:54,006 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-18 08:55:54,038 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-18 08:55:54,052 2184 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-18 08:55:54,083 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:54,099 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-18 08:55:54,115 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-18 08:55:54,131 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-18 08:55:54,146 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-18 08:55:54,162 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-18 08:55:54,177 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-18 08:55:54,193 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-18 08:55:54,208 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-18 08:55:54,224 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-18 08:55:54,240 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:54,255 2184 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-18 08:55:54,287 2184 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-18 08:55:54,303 2184 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-18 08:55:54,318 2184 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-18 08:55:54,333 2184 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-18 08:55:54,366 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-18 08:55:54,380 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:54,396 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-18 08:55:54,428 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:54,442 2184 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-18 08:55:54,474 2184 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-18 08:55:54,505 2184 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-18 08:55:54,521 2184 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-18 08:55:54,552 2184 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-18 08:55:54,599 2184 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-18 08:55:54,614 2184 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-18 08:55:54,631 2184 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-18 08:55:54,662 2184 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-18 08:55:54,677 2184 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-18 08:55:54,712 2184 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-18 08:55:54,802 2184 [DEBUG] - Loading community extensions
|
|
2024-02-18 08:55:54,864 2184 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-02-18 08:55:54,895 2184 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-02-18 08:55:55,177 2184 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:55,193 2184 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:55,224 2184 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:55,240 2184 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:55,256 2184 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-02-18 08:55:55,288 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-02-18 08:55:55,303 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-02-18 08:55:55,319 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-02-18 08:55:55,334 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-02-18 08:55:55,367 2184 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-02-18 08:55:55,396 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-02-18 08:55:55,411 2184 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-02-18 08:55:55,443 2184 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-02-18 08:55:55,459 2184 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-02-18 08:55:55,474 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-02-18 08:55:55,490 2184 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-18 08:55:55,505 2184 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-02-18 08:55:55,520 2184 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-02-18 08:55:55,553 2184 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-02-18 08:55:55,569 2184 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-02-18 08:55:55,584 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-02-18 08:55:55,600 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-02-18 08:55:55,630 2184 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-02-18 08:55:55,646 2184 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-02-18 08:55:55,662 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:55,677 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-18 08:55:55,693 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-18 08:55:55,709 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-18 08:55:55,742 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-02-18 08:55:55,755 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-02-18 08:55:55,772 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-18 08:55:55,787 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-18 08:55:55,803 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-02-18 08:55:55,833 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-18 08:55:55,849 2184 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:55,882 2184 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-02-18 08:55:55,895 2184 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-02-18 08:55:55,910 2184 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-02-18 08:55:55,928 2184 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-18 08:55:55,943 2184 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-02-18 08:55:55,959 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-02-18 08:55:55,975 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:56,005 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-18 08:55:56,021 2184 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:56,038 2184 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-02-18 08:55:56,052 2184 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-02-18 08:55:56,068 2184 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:56,100 2184 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:56,115 2184 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-02-18 08:55:56,146 2184 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-02-18 08:55:56,162 2184 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-02-18 08:55:56,179 2184 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-02-18 08:55:56,193 2184 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-02-18 08:55:56,210 2184 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-02-18 08:55:56,225 2184 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-18 08:55:56,239 2184 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-02-18 08:55:56,256 2184 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-02-18 08:55:56,287 2184 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-02-18 08:55:56,302 2184 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-02-18 08:55:56,319 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-02-18 08:55:56,333 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-02-18 08:55:56,349 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-02-18 08:55:56,365 2184 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-02-18 08:55:56,381 2184 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-02-18 08:55:56,411 2184 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-02-18 08:55:56,427 2184 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-02-18 08:55:56,444 2184 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-02-18 08:55:56,458 2184 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-02-18 08:55:56,476 2184 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-02-18 08:55:56,505 2184 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-02-18 08:55:56,505 2184 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-02-18 08:55:56,536 2184 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-02-18 08:55:56,553 2184 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-02-18 08:55:56,568 2184 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-02-18 08:55:56,584 2184 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-02-18 08:55:56,599 2184 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-02-18 08:55:56,631 2184 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-02-18 08:55:56,645 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:56,661 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-02-18 08:55:56,693 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-02-18 08:55:56,708 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-02-18 08:55:56,708 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-02-18 08:55:56,727 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-02-18 08:55:56,741 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-02-18 08:55:56,773 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-02-18 08:55:56,786 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-02-18 08:55:56,801 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-02-18 08:55:56,818 2184 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:56,850 2184 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-02-18 08:55:56,865 2184 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-02-18 08:55:56,896 2184 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-02-18 08:55:56,912 2184 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-02-18 08:55:56,942 2184 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-02-18 08:55:56,974 2184 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-02-18 08:55:57,005 2184 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-02-18 08:55:57,021 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-02-18 08:55:57,036 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-02-18 08:55:57,053 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-02-18 08:55:57,083 2184 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-02-18 08:55:57,099 2184 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-02-18 08:55:57,115 2184 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-02-18 08:55:57,131 2184 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-02-18 08:55:57,145 2184 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-02-18 08:55:57,162 2184 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-02-18 08:55:57,178 2184 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-02-18 08:55:57,194 2184 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-02-18 08:55:57,209 2184 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-02-18 08:55:57,224 2184 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-02-18 08:55:57,240 2184 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-02-18 08:55:57,272 2184 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-02-18 08:55:57,333 2184 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-02-18 08:55:57,365 2184 [DEBUG] - Running 'ChocolateyScriptRunner' for consul v1.17.3 with packageScript 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\consul', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-02-18 08:55:57,490 2184 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
2024-02-18 08:55:57,817 2184 [DEBUG] - No Package Parameters Passed in
|
|
2024-02-18 08:55:57,866 2184 [INFO ] - Creating C:\ProgramData\consul\logs
|
|
2024-02-18 08:55:57,989 2184 [INFO ] - Creating C:\ProgramData\consul\config
|
|
2024-02-18 08:55:58,177 2184 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_386.zip' -fileFullPath64 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_amd64.zip' -destination 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2024-02-18 08:55:58,224 2184 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-02-18 08:55:58,286 2184 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_amd64.zip to C:\ProgramData\chocolatey\lib\consul\tools...
|
|
2024-02-18 08:55:58,318 2184 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-02-18 08:55:58,380 2184 [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.3_windows_amd64.zip"]
|
|
2024-02-18 08:56:01,086 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:56:01,116 2184 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-02-18 08:56:01,131 2184 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-02-18 08:56:01,146 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:56:01,161 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:56:01,177 2184 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_amd64.zip
|
|
2024-02-18 08:56:01,192 2184 [INFO ] - VERBOSE: 1 file, 65179953 bytes (63 MiB)
|
|
2024-02-18 08:56:01,207 2184 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_amd64.zip
|
|
2024-02-18 08:56:01,224 2184 [INFO ] - VERBOSE: Type = zip
|
|
2024-02-18 08:56:01,239 2184 [INFO ] - VERBOSE: --
|
|
2024-02-18 08:56:01,256 2184 [INFO ] - VERBOSE: Physical Size = 65179953
|
|
2024-02-18 08:56:01,273 2184 [INFO ] - VERBOSE: - consul.exe
|
|
2024-02-18 08:56:01,302 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:56:01,302 2184 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-02-18 08:56:01,317 2184 [INFO ] - VERBOSE: Size: 173964464
|
|
2024-02-18 08:56:01,334 2184 [INFO ] - VERBOSE:
|
|
2024-02-18 08:56:01,348 2184 [INFO ] - VERBOSE: Compressed: 65179953
|
|
2024-02-18 08:56:01,365 2184 [DEBUG] - $exitCode was passed null
|
|
2024-02-18 08:56:01,381 2184 [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.3_windows_amd64.zip"] exited with '0'.
|
|
2024-02-18 08:56:01,396 2184 [DEBUG] - 7z exit code: 0
|
|
2024-02-18 08:56:01,411 2184 [INFO ] - C:\ProgramData\chocolatey\lib\consul\tools
|
|
2024-02-18 08:56:02,380 2184 [INFO ] - Installing service: consul
|
|
2024-02-18 08:56:05,146 2184 [INFO ] - VERBOSE: Service installed
|
|
2024-02-18 08:56:05,521 2184 [INFO ] - VERBOSE: sc failure
|
|
2024-02-18 08:56:05,630 2184 [INFO ] - VERBOSE: Stop service
|
|
2024-02-18 08:56:05,755 2184 [INFO ] - VERBOSE: Wait for service to stop
|
|
2024-02-18 08:56:05,895 2184 [INFO ] - VERBOSE: Start service
|
|
2024-02-18 08:56:08,256 2184 [WARN ] - WARNING: Waiting for service 'consul (consul)' to start...
|
|
2024-02-18 08:56:09,152 2184 [INFO ] - Installed service: consul
|
|
2024-02-18 08:56:09,284 2184 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-02-18 08:56:09,303 2184 [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-18 08:56:09,318 2184 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-02-18 08:56:09,517 2184 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-02-18 08:56:09,531 2184 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\consul'
|
|
2024-02-18 08:56:10,213 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nupkg'
|
|
with checksum '4EB663B18377B61D519B58A35B8A08EE'
|
|
2024-02-18 08:56:10,229 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\consul.nuspec'
|
|
with checksum '8B99CEA4DADBD0E5BCF2DE58E9383271'
|
|
2024-02-18 08:56:10,245 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\.skipAutoUninstall'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2024-02-18 08:56:10,252 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '095C6EC65E43C0C95345E56785A73AE6'
|
|
2024-02-18 08:56:10,278 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyInstall.ps1'
|
|
with checksum 'ECC44B59E087C12908CA4321837F0C3F'
|
|
2024-02-18 08:56:10,293 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\chocolateyUninstall.ps1'
|
|
with checksum '0D73B08B060E56302FB4101E5C74E196'
|
|
2024-02-18 08:56:11,713 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul.exe'
|
|
with checksum 'FDEE43B0FDC60D0A039F3420F16ABEAF'
|
|
2024-02-18 08:56:12,118 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_386.zip'
|
|
with checksum '42C9F0A35A4F080AC861CFF6DDF146BB'
|
|
2024-02-18 08:56:12,462 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\consul_1.17.3_windows_amd64.zip'
|
|
with checksum 'DBD4D7D3127B5DF74AA641F4FD4E7E91'
|
|
2024-02-18 08:56:12,462 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\LICENSE.txt'
|
|
with checksum '2DFF9ADD0DCD2288B9EE2BFA78AB55D9'
|
|
2024-02-18 08:56:12,478 2184 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\consul\tools\VERIFICATION.txt'
|
|
with checksum '5A7988C5873B1DDBCABBA9C8E5F0D8E3'
|
|
2024-02-18 08:56:12,478 2184 [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-18 08:56:15,509 2184 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
|
|
2024-02-18 08:56:15,525 2184 [DEBUG] - [ShimGen] Selected Icon is invalid
|
|
2024-02-18 08:56:15,947 2184 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
|
|
2024-02-18 08:56:15,964 2184 [DEBUG] - [ShimGen] for C# 5
|
|
2024-02-18 08:56:15,979 2184 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
|
|
2024-02-18 08:56:15,979 2184 [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-18 08:56:15,995 2184 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\consul.exe'
|
|
2024-02-18 08:56:16,074 2184 [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-18 08:56:16,087 2184 [INFO ] - ShimGen has successfully created a shim for consul.exe
|
|
2024-02-18 08:56:16,087 2184 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\consul.exe
|
|
Targeting: C:\ProgramData\chocolatey\lib\consul\tools\consul.exe
|
|
IsGui:False
|
|
|
|
2024-02-18 08:56:16,119 2184 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.3".
|
|
2024-02-18 08:56:16,134 2184 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\consul.1.17.3\.files'
|
|
2024-02-18 08:56:16,167 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.3\.extra".
|
|
2024-02-18 08:56:16,167 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.3\.version".
|
|
2024-02-18 08:56:16,182 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.3\.sxs".
|
|
2024-02-18 08:56:16,182 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\consul.1.17.3\.pin".
|
|
2024-02-18 08:56:16,212 2184 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-02-18 08:56:16,212 2184 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\consul\.chocolateyPending".
|
|
2024-02-18 08:56:16,228 2184 [INFO ] - The install of consul was successful.
|
|
2024-02-18 08:56:16,228 2184 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\consul\tools'
|
|
2024-02-18 08:56:16,275 2184 [WARN ] -
|
|
Chocolatey installed 2/2 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-02-18 08:56:16,308 2184 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-02-18 08:56:16,322 2184 [DEBUG] - Exiting with 0
|