|
2023-10-18 22:54:02,415 2612 [DEBUG] - XmlConfiguration is now operational
|
|
2023-10-18 22:54:02,571 2612 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,586 2612 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,586 2612 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,586 2612 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,602 2612 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,618 2612 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,618 2612 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,634 2612 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,650 2612 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 22:54:02,650 2612 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-18 22:54:02,664 2612 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-18 22:54:03,586 2612 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,586 2612 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,602 2612 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,602 2612 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,602 2612 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,618 2612 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,636 2612 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,636 2612 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,650 2612 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,666 2612 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 22:54:03,698 2612 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-10-18 22:54:03,698 2612 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-10-18 22:54:03,698 2612 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-10-18 22:54:03,713 2612 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-10-18 22:54:03,713 2612 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-10-18 22:54:03,728 2612 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-10-18 22:54:03,728 2612 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-10-18 22:54:03,728 2612 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-10-18 22:54:03,745 2612 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-10-18 22:54:03,745 2612 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-10-18 22:54:03,760 2612 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-10-18 22:54:03,760 2612 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-10-18 22:54:03,760 2612 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-10-18 22:54:03,776 2612 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-10-18 22:54:03,776 2612 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-10-18 22:54:03,776 2612 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-10-18 22:54:03,792 2612 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-10-18 22:54:03,792 2612 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-10-18 22:54:03,806 2612 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-10-18 22:54:03,806 2612 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-10-18 22:54:04,104 2612 [INFO ] - ============================================================
|
|
2023-10-18 22:54:04,509 2612 [INFO ] - Chocolatey v2.2.2
|
|
2023-10-18 22:54:04,542 2612 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-10-18 22:54:04,571 2612 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-10-18 22:54:04,571 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-10-18 22:54:04,602 2612 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.6.20231018 -dvy --execution-timeout=2700
|
|
2023-10-18 22:54:04,602 2612 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.6.20231018 -dvy --execution-timeout=2700
|
|
2023-10-18 22:54:04,790 2612 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-10-18 22:54:04,837 2612 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-10-18 22:54:04,868 2612 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-10-18 22:54:05,055 2612 [DEBUG] - Performing validation checks.
|
|
2023-10-18 22:54:05,071 2612 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-10-18 22:54:05,086 2612 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-10-18 22:54:05,102 2612 [DEBUG] - System State Validation Checks:
|
|
2023-10-18 22:54:05,118 2612 [DEBUG] - Reboot Requirement Checks:
|
|
2023-10-18 22:54:05,133 2612 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-10-18 22:54:05,149 2612 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-10-18 22:54:05,149 2612 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-10-18 22:54:05,165 2612 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-10-18 22:54:05,181 2612 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-10-18 22:54:05,201 2612 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-10-18 22:54:05,227 2612 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-10-18 22:54:05,227 2612 [DEBUG] - - Elevated State = Checked
|
|
2023-10-18 22:54:05,243 2612 [DEBUG] - - Folder Exists = Checked
|
|
2023-10-18 22:54:05,290 2612 [DEBUG] - - Folder lockdown = Checked
|
|
2023-10-18 22:54:05,321 2612 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-10-18 22:54:05,368 2612 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-10-18 22:54:05,383 2612 [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-10-18 22:54:05,447 2612 [DEBUG] - Configuration: CommandName='uninstall'|
|
|
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='False'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='glpi-agent-nightly.install'|Version='1.6.20231018'|
|
|
AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
|
|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
|
|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
|
|
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-1LME9BEVOOH'|
|
|
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-10-18 22:54:05,461 2612 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-10-18 22:54:05,477 2612 [INFO ] - Uninstalling the following packages:
|
|
2023-10-18 22:54:05,494 2612 [INFO ] - glpi-agent-nightly.install
|
|
2023-10-18 22:54:05,541 2612 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-10-18 22:54:05,557 2612 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-10-18 22:54:05,557 2612 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-18 22:54:05,571 2612 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-18 22:54:05,586 2612 [DEBUG] - * 'ChocolateyLastPathUpdate'='133421044431182884' ('User')
|
|
2023-10-18 22:54:05,586 2612 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-10-18 22:54:05,603 2612 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-10-18 22:54:05,619 2612 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-10-18 22:54:05,633 2612 [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-10-18 22:54:05,649 2612 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-10-18 22:54:05,649 2612 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-10-18 22:54:05,664 2612 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-10-18 22:54:05,664 2612 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-18 22:54:05,682 2612 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-18 22:54:05,696 2612 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-10-18 22:54:05,696 2612 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-10-18 22:54:05,712 2612 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-10-18 22:54:05,712 2612 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-10-18 22:54:05,727 2612 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-10-18 22:54:05,744 2612 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-10-18 22:54:05,744 2612 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-10-18 22:54:06,025 2612 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-18 22:54:06,039 2612 [DEBUG] - --- Start of List ---
|
|
2023-10-18 22:54:06,446 2612 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-10-18 22:54:07,055 2612 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-18 22:54:07,071 2612 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-18 22:54:07,212 2612 [DEBUG] - glpi-agent-nightly.install 1.6.20231018
|
|
2023-10-18 22:54:07,227 2612 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-18 22:54:07,227 2612 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-18 22:54:07,243 2612 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-18 22:54:07,259 2612 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-18 22:54:07,274 2612 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-18 22:54:07,310 2612 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-18 22:54:07,321 2612 [DEBUG] - --- End of List ---
|
|
2023-10-18 22:54:07,337 2612 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-18 22:54:07,352 2612 [DEBUG] - --- Start of List ---
|
|
2023-10-18 22:54:07,384 2612 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-18 22:54:07,400 2612 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-18 22:54:07,448 2612 [DEBUG] - glpi-agent-nightly.install 1.6.20231018
|
|
2023-10-18 22:54:07,461 2612 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-18 22:54:07,477 2612 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-18 22:54:07,493 2612 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-18 22:54:07,512 2612 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-18 22:54:07,524 2612 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-18 22:54:07,540 2612 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-18 22:54:07,555 2612 [DEBUG] - --- End of List ---
|
|
2023-10-18 22:54:07,650 2612 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-18 22:54:07,650 2612 [DEBUG] - --- Start of List ---
|
|
2023-10-18 22:54:07,680 2612 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-18 22:54:07,696 2612 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-18 22:54:07,758 2612 [DEBUG] - glpi-agent-nightly.install 1.6.20231018
|
|
2023-10-18 22:54:07,774 2612 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-18 22:54:07,789 2612 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-18 22:54:07,806 2612 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-18 22:54:07,821 2612 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-18 22:54:07,821 2612 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-18 22:54:07,837 2612 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-18 22:54:07,852 2612 [DEBUG] - --- End of List ---
|
|
2023-10-18 22:54:07,930 2612 [INFO ] -
|
|
glpi-agent-nightly.install v1.6.20231018
|
|
2023-10-18 22:54:07,993 2612 [DEBUG] - Running beforeModify step for 'glpi-agent-nightly.install'
|
|
2023-10-18 22:54:08,055 2612 [DEBUG] - Setting installer args for glpi-agent-nightly.install
|
|
2023-10-18 22:54:08,055 2612 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
|
|
2023-10-18 22:54:08,071 2612 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
|
|
2023-10-18 22:54:08,102 2612 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors |
|
|
|
# Remove the service if it exists |
|
$service = Get-Service -Name 'glpi-agent' -ErrorAction SilentlyContinue |
|
If ($service -ne $null) { |
|
Stop-Service $service -Force -Confirm |
|
} |
|
|
|
2023-10-18 22:54:08,165 2612 [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\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-10-18 22:54:08,198 2612 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-18 22:54:09,321 2612 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-10-18 22:54:09,915 2612 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-18 22:54:09,931 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-18 22:54:09,931 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 22:54:09,948 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-18 22:54:09,962 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 22:54:09,979 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 22:54:09,979 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-18 22:54:09,995 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 22:54:10,011 2612 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-18 22:54:10,024 2612 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 22:54:10,041 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-18 22:54:10,041 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 22:54:10,056 2612 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-18 22:54:10,056 2612 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-18 22:54:10,072 2612 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 22:54:10,087 2612 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-18 22:54:10,087 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-18 22:54:10,102 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-18 22:54:10,102 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-18 22:54:10,118 2612 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-18 22:54:10,133 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:10,133 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 22:54:10,149 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 22:54:10,149 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 22:54:10,164 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-18 22:54:10,164 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-18 22:54:10,181 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 22:54:10,196 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 22:54:10,196 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 22:54:10,212 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 22:54:10,231 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:10,244 2612 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-18 22:54:10,244 2612 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-18 22:54:10,260 2612 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-18 22:54:10,276 2612 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 22:54:10,276 2612 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-18 22:54:10,292 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-18 22:54:10,307 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:10,336 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 22:54:10,336 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:10,368 2612 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-18 22:54:10,384 2612 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 22:54:10,401 2612 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-18 22:54:10,416 2612 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-18 22:54:10,416 2612 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 22:54:10,431 2612 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-18 22:54:10,446 2612 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-18 22:54:10,446 2612 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 22:54:10,462 2612 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 22:54:10,462 2612 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-18 22:54:10,478 2612 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-18 22:54:10,524 2612 [DEBUG] - Loading community extensions
|
|
2023-10-18 22:54:10,586 2612 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-18 22:54:10,602 2612 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-18 22:54:10,742 2612 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:10,758 2612 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:10,774 2612 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:10,774 2612 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:10,790 2612 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-18 22:54:10,807 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-18 22:54:10,807 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 22:54:10,822 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-18 22:54:10,836 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 22:54:10,836 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 22:54:10,852 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-18 22:54:10,868 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 22:54:10,868 2612 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-18 22:54:10,884 2612 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 22:54:10,884 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-18 22:54:10,931 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 22:54:10,946 2612 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-18 22:54:10,946 2612 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-18 22:54:10,962 2612 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 22:54:10,962 2612 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-18 22:54:10,977 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-18 22:54:10,977 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-18 22:54:10,994 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-18 22:54:11,009 2612 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-18 22:54:11,024 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:11,024 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 22:54:11,046 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 22:54:11,056 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 22:54:11,056 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-18 22:54:11,072 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-18 22:54:11,088 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 22:54:11,088 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 22:54:11,104 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 22:54:11,118 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 22:54:11,118 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:11,135 2612 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-18 22:54:11,135 2612 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-18 22:54:11,150 2612 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-18 22:54:11,150 2612 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 22:54:11,166 2612 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-18 22:54:11,180 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-18 22:54:11,180 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:11,196 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 22:54:11,196 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:11,212 2612 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-18 22:54:11,227 2612 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 22:54:11,227 2612 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:11,247 2612 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:11,260 2612 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-18 22:54:11,274 2612 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-18 22:54:11,274 2612 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 22:54:11,290 2612 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-18 22:54:11,290 2612 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-18 22:54:11,307 2612 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 22:54:11,321 2612 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 22:54:11,338 2612 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-18 22:54:11,352 2612 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-18 22:54:11,369 2612 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-18 22:54:11,369 2612 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-18 22:54:11,383 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 22:54:11,399 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-18 22:54:11,399 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 22:54:11,414 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 22:54:11,414 2612 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-18 22:54:11,432 2612 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 22:54:11,446 2612 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-18 22:54:11,446 2612 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 22:54:11,463 2612 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-18 22:54:11,478 2612 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 22:54:11,494 2612 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-18 22:54:11,494 2612 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-18 22:54:11,508 2612 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 22:54:11,524 2612 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-18 22:54:11,540 2612 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-18 22:54:11,540 2612 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-18 22:54:11,572 2612 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-18 22:54:11,587 2612 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-18 22:54:11,603 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:11,603 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 22:54:11,634 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 22:54:11,634 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 22:54:11,649 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-18 22:54:11,665 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-18 22:54:11,665 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 22:54:11,685 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 22:54:11,698 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 22:54:11,712 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 22:54:11,728 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:11,728 2612 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-18 22:54:11,743 2612 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:11,743 2612 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-18 22:54:11,760 2612 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-18 22:54:11,774 2612 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 22:54:11,774 2612 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-18 22:54:11,789 2612 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:11,789 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-18 22:54:11,806 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:11,821 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 22:54:11,836 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:11,836 2612 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-18 22:54:11,852 2612 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 22:54:11,867 2612 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-18 22:54:11,884 2612 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-18 22:54:11,884 2612 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 22:54:11,899 2612 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-18 22:54:11,915 2612 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-18 22:54:11,915 2612 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 22:54:11,931 2612 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-18 22:54:11,949 2612 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-18 22:54:11,963 2612 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 22:54:12,166 2612 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-18 22:54:12,196 2612 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20231018 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-18 22:54:12,289 2612 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
2023-10-18 22:54:12,384 2612 [WARN ] - Confirm
|
|
2023-10-18 22:54:12,399 2612 [WARN ] - Are you sure you want to perform this action?
|
|
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
|
|
2023-10-18 22:54:12,399 2612 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
|
|
2023-10-18 22:54:12,417 2612 [WARN ] - Confirmation (`-y`) is set.
|
|
Respond within 30 seconds or the default selection will be chosen.
|
|
2023-10-18 22:54:42,509 2612 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-18 22:54:42,542 2612 [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\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-10-18 22:54:42,608 2612 [DEBUG] - Backing up package files for 'glpi-agent-nightly.install'
|
|
2023-10-18 22:54:42,963 2612 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
|
|
2023-10-18 22:54:42,979 2612 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install to C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018
|
|
2023-10-18 22:54:43,010 2612 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018'
|
|
2023-10-18 22:54:45,040 2612 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
|
|
2023-10-18 22:54:45,056 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\glpi-agent-nightly.install.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
|
|
2023-10-18 22:54:45,197 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\glpi-agent-nightly.install.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
|
|
2023-10-18 22:54:45,214 2612 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
|
|
2023-10-18 22:54:45,228 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\legal\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
|
|
2023-10-18 22:54:45,263 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\legal\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
|
|
2023-10-18 22:54:45,273 2612 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
|
|
2023-10-18 22:54:45,273 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\tools\chocolateybeforemodify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
|
|
2023-10-18 22:54:45,295 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
|
|
2023-10-18 22:54:45,308 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\tools\chocolateyuninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
|
|
2023-10-18 22:54:45,338 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\tools\GLPI-Agent-1.6-git16d14304-x64.msi"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi".
|
|
2023-10-18 22:54:45,682 2612 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231018\tools\GLPI-Agent-1.6-git16d14304-x64.msi.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi.ignore".
|
|
2023-10-18 22:54:47,227 2612 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
|
|
2023-10-18 22:54:47,336 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
|
|
with checksum '0FB9F21F57598EF5BE4D6B1AD1B32945'
|
|
2023-10-18 22:54:47,352 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
|
|
with checksum 'E001389F6AD07F2BB1948151488A83BA'
|
|
2023-10-18 22:54:47,371 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
|
|
with checksum '70E92763897C7F84E0BEC4C7E922251B'
|
|
2023-10-18 22:54:47,384 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
|
|
with checksum 'C1958EC7D7150179B365F52454AB4F3B'
|
|
2023-10-18 22:54:47,399 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
|
|
2023-10-18 22:54:47,415 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
|
|
with checksum '520242D27A953B4E0F413247C210CC30'
|
|
2023-10-18 22:54:47,446 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
|
|
2023-10-18 22:54:47,650 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi'
|
|
with checksum 'DF103E02759FA584F0665C7EEFAD9689'
|
|
2023-10-18 22:54:47,667 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-10-18 22:54:47,711 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi.ignore".
|
|
2023-10-18 22:54:47,758 2612 [DEBUG] - Setting installer args for glpi-agent-nightly.install
|
|
2023-10-18 22:54:47,758 2612 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
|
|
2023-10-18 22:54:47,774 2612 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
|
|
2023-10-18 22:54:47,774 2612 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors |
|
|
|
$packageArgs = @{ |
|
packageName = $env:ChocolateyPackageName |
|
softwareName = 'GLPI Agent *' |
|
fileType = 'MSI' |
|
silentArgs = '/qn /norestart' |
|
|
|
# Allows (see https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx): |
|
# * 0: ERROR_SUCCESS |
|
# * 3010: ERROR_SUCCESS_REBOOT_REQUIRED |
|
# * 1605: ERROR_UNKNOWN_PRODUCT |
|
# * 1614: ERROR_PRODUCT_UNINSTALLED |
|
# * 1641: ERROR_SUCCESS_REBOOT_INITIATED |
|
validExitCodes= @(0, 3010, 1605, 1614, 1641) |
|
} |
|
|
|
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName'] |
|
|
|
if ($key.Count -eq 1) { |
|
$key | % { |
|
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below |
|
|
|
if ($packageArgs['fileType'] -eq 'MSI') { |
|
# The Product Code GUID is all that should be passed for MSI, and very |
|
# FIRST, because it comes directly after /x, which is already set in the |
|
# Uninstall-ChocolateyPackage msiargs (facepalm). |
|
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])" |
|
|
|
# Don't pass anything for file, it is ignored for msi (facepalm number 2) |
|
# Alternatively if you need to pass a path to an msi, determine that and |
|
# use it instead of the above in silentArgs, still very first |
|
$packageArgs['file'] = '' |
|
} |
|
|
|
Uninstall-ChocolateyPackage @packageArgs |
|
} |
|
} elseif ($key.Count -eq 0) { |
|
Write-Warning "$packageName has already been uninstalled by other means." |
|
} elseif ($key.Count -gt 1) { |
|
Write-Warning "$($key.Count) matches found!" |
|
Write-Warning "To prevent accidental data loss, no programs will be uninstalled." |
|
Write-Warning "Please alert package maintainer the following keys were matched:" |
|
$key | % {Write-Warning "- $($_.DisplayName)"} |
|
} |
|
|
|
2023-10-18 22:54:47,805 2612 [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\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-10-18 22:54:47,962 2612 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-18 22:54:48,055 2612 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-10-18 22:54:48,587 2612 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-18 22:54:48,619 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-18 22:54:48,634 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 22:54:48,682 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-18 22:54:48,713 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 22:54:48,743 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 22:54:48,743 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-18 22:54:48,774 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 22:54:48,806 2612 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-18 22:54:48,821 2612 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 22:54:48,837 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-18 22:54:48,868 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 22:54:48,899 2612 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-18 22:54:48,949 2612 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-18 22:54:48,962 2612 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 22:54:48,993 2612 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-18 22:54:49,009 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-18 22:54:49,024 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-18 22:54:49,041 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-18 22:54:49,072 2612 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-18 22:54:49,102 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:49,119 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 22:54:49,133 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 22:54:49,149 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 22:54:49,164 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-18 22:54:49,181 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-18 22:54:49,213 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 22:54:49,227 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 22:54:49,243 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 22:54:49,258 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 22:54:49,277 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:49,292 2612 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-18 22:54:49,325 2612 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-18 22:54:49,338 2612 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-18 22:54:49,354 2612 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 22:54:49,368 2612 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-18 22:54:49,383 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-18 22:54:49,399 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:49,415 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 22:54:49,430 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:49,446 2612 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-18 22:54:49,477 2612 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 22:54:49,493 2612 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-18 22:54:49,493 2612 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-18 22:54:49,524 2612 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 22:54:49,540 2612 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-18 22:54:49,571 2612 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-18 22:54:49,603 2612 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 22:54:49,637 2612 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 22:54:49,650 2612 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-18 22:54:49,665 2612 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-18 22:54:49,696 2612 [DEBUG] - Loading community extensions
|
|
2023-10-18 22:54:49,758 2612 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-18 22:54:49,789 2612 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-18 22:54:50,041 2612 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:50,056 2612 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:50,071 2612 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:50,087 2612 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:50,117 2612 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-18 22:54:50,117 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-18 22:54:50,135 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 22:54:50,150 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-18 22:54:50,165 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 22:54:50,181 2612 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 22:54:50,211 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-18 22:54:50,244 2612 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 22:54:50,275 2612 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-18 22:54:50,306 2612 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 22:54:50,338 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-18 22:54:50,368 2612 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 22:54:50,384 2612 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-18 22:54:50,416 2612 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-18 22:54:50,478 2612 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 22:54:50,525 2612 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-18 22:54:50,555 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-18 22:54:50,574 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-18 22:54:50,588 2612 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-18 22:54:50,605 2612 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-18 22:54:50,619 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:50,650 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 22:54:50,681 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 22:54:50,696 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 22:54:50,713 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-18 22:54:50,727 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-18 22:54:50,744 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 22:54:50,758 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 22:54:50,775 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 22:54:50,791 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 22:54:50,807 2612 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:50,837 2612 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-18 22:54:50,852 2612 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-18 22:54:50,884 2612 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-18 22:54:50,916 2612 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 22:54:50,946 2612 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-18 22:54:50,963 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-18 22:54:50,994 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:51,041 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 22:54:51,056 2612 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:51,088 2612 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-18 22:54:51,103 2612 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 22:54:51,119 2612 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:51,149 2612 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:51,165 2612 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-18 22:54:51,180 2612 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-18 22:54:51,196 2612 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 22:54:51,196 2612 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-18 22:54:51,215 2612 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-18 22:54:51,228 2612 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 22:54:51,259 2612 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 22:54:51,259 2612 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-18 22:54:51,289 2612 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-18 22:54:51,306 2612 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-18 22:54:51,322 2612 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-18 22:54:51,353 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 22:54:51,384 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-18 22:54:51,399 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 22:54:51,415 2612 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 22:54:51,430 2612 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-18 22:54:51,446 2612 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 22:54:51,461 2612 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-18 22:54:51,461 2612 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 22:54:51,477 2612 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-18 22:54:51,493 2612 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 22:54:51,493 2612 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-18 22:54:51,508 2612 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-18 22:54:51,524 2612 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 22:54:51,539 2612 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-18 22:54:51,556 2612 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-18 22:54:51,587 2612 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-18 22:54:51,587 2612 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-18 22:54:51,602 2612 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-18 22:54:51,633 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:51,665 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 22:54:51,680 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 22:54:51,696 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 22:54:51,712 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-18 22:54:51,728 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-18 22:54:51,744 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 22:54:51,744 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 22:54:51,774 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 22:54:51,790 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 22:54:51,805 2612 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:51,821 2612 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-18 22:54:51,837 2612 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-18 22:54:51,852 2612 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-18 22:54:51,868 2612 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-18 22:54:51,901 2612 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 22:54:51,914 2612 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-18 22:54:51,930 2612 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-18 22:54:51,948 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-18 22:54:51,962 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 22:54:51,977 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 22:54:51,993 2612 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 22:54:52,010 2612 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-18 22:54:52,025 2612 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 22:54:52,043 2612 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-18 22:54:52,056 2612 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-18 22:54:52,086 2612 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 22:54:52,105 2612 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-18 22:54:52,119 2612 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-18 22:54:52,134 2612 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 22:54:52,149 2612 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-18 22:54:52,164 2612 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-18 22:54:52,182 2612 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 22:54:52,212 2612 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-18 22:54:52,244 2612 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20231018 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-18 22:54:52,274 2612 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
2023-10-18 22:54:52,852 2612 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
|
|
2023-10-18 22:54:52,915 2612 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
|
|
2023-10-18 22:54:53,181 2612 [DEBUG] - Registry uninstall keys on system: 28
|
|
2023-10-18 22:54:53,181 2612 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
|
|
2023-10-18 22:54:53,696 2612 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
|
|
2023-10-18 22:54:53,961 2612 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{B6B7161F-6BF4-1014-A415-B75C567DF563} /qn /norestart' -file ''
|
|
2023-10-18 22:54:54,024 2612 [INFO ] - Uninstalling glpi-agent-nightly.install...
|
|
2023-10-18 22:54:54,555 2612 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {B6B7161F-6BF4-1014-A415-B75C567DF563} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-10-18 22:54:55,089 2612 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-10-18 22:54:55,305 2612 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {B6B7161F-6BF4-1014-A415-B75C567DF563} /qn /norestart ]. This may take a while, depending on the statements.
|
|
2023-10-18 23:07:20,301 2612 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {B6B7161F-6BF4-1014-A415-B75C567DF563} /qn /norestart ] exited with '0'.
|
|
2023-10-18 23:07:20,440 2612 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-10-18 23:07:20,455 2612 [INFO ] - 0
|
|
2023-10-18 23:07:20,472 2612 [INFO ] - glpi-agent-nightly.install has been uninstalled.
|
|
2023-10-18 23:07:20,489 2612 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-18 23:07:20,505 2612 [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\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-10-18 23:07:20,594 2612 [INFO ] - Running auto uninstaller...
|
|
2023-10-18 23:07:20,611 2612 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
|
|
2023-10-18 23:07:22,658 2612 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{B6B7161F-6BF4-1014-A415-B75C567DF563}' for 'GLPI Agent 1.6 (git16d14304)'
|
|
2023-10-18 23:07:22,707 2612 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.6 (git16d14304)' appears to have been uninstalled already by other means.
|
|
2023-10-18 23:07:22,722 2612 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
|
|
2023-10-18 23:07:22,736 2612 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B6B7161F-6BF4-1014-A415-B75C567DF563}' value 'InstallLocation' - found? False
|
|
2023-10-18 23:07:22,767 2612 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-10-18 23:07:22,984 2612 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-10-18 23:07:23,080 2612 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
|
|
2023-10-18 23:07:23,157 2612 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-18 23:07:23,315 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
|
|
with checksum '0FB9F21F57598EF5BE4D6B1AD1B32945'
|
|
2023-10-18 23:07:23,329 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
|
|
2023-10-18 23:07:23,345 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
|
|
with checksum 'E001389F6AD07F2BB1948151488A83BA'
|
|
2023-10-18 23:07:23,392 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
|
|
2023-10-18 23:07:23,392 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
|
|
with checksum '70E92763897C7F84E0BEC4C7E922251B'
|
|
2023-10-18 23:07:23,411 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
|
|
2023-10-18 23:07:23,424 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
|
|
with checksum 'C1958EC7D7150179B365F52454AB4F3B'
|
|
2023-10-18 23:07:23,455 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
|
|
2023-10-18 23:07:23,471 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
|
|
2023-10-18 23:07:23,486 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
|
|
2023-10-18 23:07:23,501 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
|
|
with checksum '520242D27A953B4E0F413247C210CC30'
|
|
2023-10-18 23:07:23,532 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
|
|
2023-10-18 23:07:23,547 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
|
|
2023-10-18 23:07:23,578 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
|
|
2023-10-18 23:07:23,768 2612 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi'
|
|
with checksum 'DF103E02759FA584F0665C7EEFAD9689'
|
|
2023-10-18 23:07:23,783 2612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git16d14304-x64.msi".
|
|
2023-10-18 23:07:23,801 2612 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
|
|
2023-10-18 23:07:23,815 2612 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
|
|
2023-10-18 23:07:23,830 2612 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-10-18 23:07:23,859 2612 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-18 23:07:23,984 2612 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-10-18 23:07:24,002 2612 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-10-18 23:07:24,033 2612 [DEBUG] - Exiting with 0
|