|
2023-10-04 22:43:38,475 2488 [DEBUG] - XmlConfiguration is now operational
|
|
2023-10-04 22:43:38,632 2488 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,647 2488 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,647 2488 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,647 2488 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,647 2488 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,662 2488 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,662 2488 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,662 2488 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,678 2488 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 22:43:38,678 2488 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-04 22:43:38,678 2488 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-04 22:43:39,616 2488 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,616 2488 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,631 2488 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,631 2488 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,631 2488 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,631 2488 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,647 2488 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,647 2488 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,647 2488 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,662 2488 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 22:43:39,679 2488 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-10-04 22:43:39,693 2488 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-10-04 22:43:39,693 2488 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-10-04 22:43:39,693 2488 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-10-04 22:43:39,709 2488 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-10-04 22:43:39,709 2488 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-10-04 22:43:39,709 2488 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-10-04 22:43:39,725 2488 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-10-04 22:43:39,725 2488 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-10-04 22:43:39,725 2488 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-10-04 22:43:39,725 2488 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-10-04 22:43:39,741 2488 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-10-04 22:43:39,741 2488 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-10-04 22:43:39,741 2488 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-10-04 22:43:39,756 2488 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-10-04 22:43:39,756 2488 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-10-04 22:43:39,756 2488 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-10-04 22:43:39,756 2488 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-10-04 22:43:39,772 2488 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-10-04 22:43:39,772 2488 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-10-04 22:43:40,069 2488 [INFO ] - ============================================================
|
|
2023-10-04 22:43:40,475 2488 [INFO ] - Chocolatey v2.2.2
|
|
2023-10-04 22:43:40,507 2488 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-10-04 22:43:40,521 2488 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-10-04 22:43:40,521 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-10-04 22:43:40,554 2488 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.6.20231004 -dvy --execution-timeout=2700
|
|
2023-10-04 22:43:40,568 2488 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.6.20231004 -dvy --execution-timeout=2700
|
|
2023-10-04 22:43:40,724 2488 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-10-04 22:43:40,757 2488 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-10-04 22:43:40,788 2488 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-10-04 22:43:41,006 2488 [DEBUG] - Performing validation checks.
|
|
2023-10-04 22:43:41,022 2488 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-10-04 22:43:41,037 2488 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-10-04 22:43:41,053 2488 [DEBUG] - System State Validation Checks:
|
|
2023-10-04 22:43:41,068 2488 [DEBUG] - Reboot Requirement Checks:
|
|
2023-10-04 22:43:41,068 2488 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-10-04 22:43:41,084 2488 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-10-04 22:43:41,100 2488 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-10-04 22:43:41,100 2488 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-10-04 22:43:41,115 2488 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-10-04 22:43:41,131 2488 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-10-04 22:43:41,131 2488 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-10-04 22:43:41,147 2488 [DEBUG] - - Elevated State = Checked
|
|
2023-10-04 22:43:41,147 2488 [DEBUG] - - Folder Exists = Checked
|
|
2023-10-04 22:43:41,163 2488 [DEBUG] - - Folder lockdown = Checked
|
|
2023-10-04 22:43:41,178 2488 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-10-04 22:43:41,600 2488 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-10-04 22:43:41,616 2488 [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-04 22:43:41,662 2488 [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.20231004'|
|
|
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-N54E072I2BA'|
|
|
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-04 22:43:41,678 2488 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-10-04 22:43:41,710 2488 [INFO ] - Uninstalling the following packages:
|
|
2023-10-04 22:43:41,710 2488 [INFO ] - glpi-agent-nightly.install
|
|
2023-10-04 22:43:41,773 2488 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-10-04 22:43:41,773 2488 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-10-04 22:43:41,787 2488 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-04 22:43:41,787 2488 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-04 22:43:41,803 2488 [DEBUG] - * 'ChocolateyLastPathUpdate'='133408948891996618' ('User')
|
|
2023-10-04 22:43:41,818 2488 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-10-04 22:43:41,818 2488 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-10-04 22:43:41,834 2488 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-10-04 22:43:41,834 2488 [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-04 22:43:41,850 2488 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-10-04 22:43:41,850 2488 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-10-04 22:43:41,865 2488 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-10-04 22:43:41,865 2488 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-04 22:43:41,881 2488 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-04 22:43:41,881 2488 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-10-04 22:43:41,897 2488 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-10-04 22:43:41,912 2488 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-10-04 22:43:41,912 2488 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-10-04 22:43:41,912 2488 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-10-04 22:43:41,928 2488 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-10-04 22:43:41,944 2488 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-10-04 22:43:42,210 2488 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-04 22:43:42,210 2488 [DEBUG] - --- Start of List ---
|
|
2023-10-04 22:43:42,490 2488 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-10-04 22:43:43,037 2488 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-04 22:43:43,053 2488 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-04 22:43:43,193 2488 [DEBUG] - glpi-agent-nightly.install 1.6.20231004
|
|
2023-10-04 22:43:43,210 2488 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-04 22:43:43,225 2488 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-04 22:43:43,241 2488 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-04 22:43:43,241 2488 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-04 22:43:43,256 2488 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-04 22:43:43,272 2488 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-04 22:43:43,272 2488 [DEBUG] - --- End of List ---
|
|
2023-10-04 22:43:43,287 2488 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-04 22:43:43,287 2488 [DEBUG] - --- Start of List ---
|
|
2023-10-04 22:43:43,334 2488 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-04 22:43:43,334 2488 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-04 22:43:43,381 2488 [DEBUG] - glpi-agent-nightly.install 1.6.20231004
|
|
2023-10-04 22:43:43,397 2488 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-04 22:43:43,413 2488 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-04 22:43:43,413 2488 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-04 22:43:43,428 2488 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-04 22:43:43,443 2488 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-04 22:43:43,459 2488 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-04 22:43:43,459 2488 [DEBUG] - --- End of List ---
|
|
2023-10-04 22:43:43,522 2488 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-04 22:43:43,522 2488 [DEBUG] - --- Start of List ---
|
|
2023-10-04 22:43:43,570 2488 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-04 22:43:43,584 2488 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-04 22:43:43,647 2488 [DEBUG] - glpi-agent-nightly.install 1.6.20231004
|
|
2023-10-04 22:43:43,662 2488 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-04 22:43:43,694 2488 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-04 22:43:43,694 2488 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-04 22:43:43,709 2488 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-04 22:43:43,726 2488 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-04 22:43:43,741 2488 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-04 22:43:43,758 2488 [DEBUG] - --- End of List ---
|
|
2023-10-04 22:43:43,819 2488 [INFO ] -
|
|
glpi-agent-nightly.install v1.6.20231004
|
|
2023-10-04 22:43:43,865 2488 [DEBUG] - Running beforeModify step for 'glpi-agent-nightly.install'
|
|
2023-10-04 22:43:43,913 2488 [DEBUG] - Setting installer args for glpi-agent-nightly.install
|
|
2023-10-04 22:43:43,913 2488 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
|
|
2023-10-04 22:43:43,928 2488 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
|
|
2023-10-04 22:43:43,944 2488 [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-04 22:43:43,991 2488 [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-04 22:43:44,006 2488 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-04 22:43:44,740 2488 [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-04 22:43:45,241 2488 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 22:43:45,241 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 22:43:45,256 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 22:43:45,256 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 22:43:45,272 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 22:43:45,272 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 22:43:45,288 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 22:43:45,288 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 22:43:45,303 2488 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 22:43:45,318 2488 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 22:43:45,318 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 22:43:45,318 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 22:43:45,335 2488 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 22:43:45,349 2488 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 22:43:45,349 2488 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 22:43:45,366 2488 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 22:43:45,366 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 22:43:45,381 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 22:43:45,397 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 22:43:45,397 2488 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 22:43:45,412 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:43:45,429 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 22:43:45,444 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 22:43:45,444 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 22:43:45,459 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 22:43:45,459 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 22:43:45,459 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 22:43:45,475 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 22:43:45,490 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 22:43:45,490 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 22:43:45,506 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 22:43:45,506 2488 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 22:43:45,522 2488 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 22:43:45,522 2488 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 22:43:45,538 2488 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 22:43:45,538 2488 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 22:43:45,553 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 22:43:45,553 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:43:45,569 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 22:43:45,569 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 22:43:45,584 2488 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 22:43:45,584 2488 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 22:43:45,600 2488 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 22:43:45,616 2488 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 22:43:45,616 2488 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 22:43:45,631 2488 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 22:43:45,631 2488 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 22:43:45,647 2488 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 22:43:45,647 2488 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 22:43:45,663 2488 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 22:43:45,678 2488 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 22:43:45,710 2488 [DEBUG] - Loading community extensions
|
|
2023-10-04 22:43:45,742 2488 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-04 22:43:45,756 2488 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-04 22:43:45,866 2488 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:43:45,882 2488 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:43:45,882 2488 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:43:45,897 2488 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:43:45,912 2488 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 22:43:45,912 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 22:43:45,928 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 22:43:45,944 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 22:43:45,944 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 22:43:45,960 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 22:43:45,974 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 22:43:45,975 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 22:43:45,990 2488 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 22:43:45,990 2488 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 22:43:46,006 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 22:43:46,006 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 22:43:46,021 2488 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 22:43:46,021 2488 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 22:43:46,038 2488 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 22:43:46,053 2488 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 22:43:46,053 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 22:43:46,068 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 22:43:46,068 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 22:43:46,084 2488 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 22:43:46,084 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:43:46,100 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 22:43:46,100 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 22:43:46,115 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 22:43:46,115 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 22:43:46,115 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 22:43:46,132 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 22:43:46,132 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 22:43:46,146 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 22:43:46,146 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 22:43:46,162 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 22:43:46,162 2488 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 22:43:46,178 2488 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 22:43:46,194 2488 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 22:43:46,194 2488 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 22:43:46,210 2488 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 22:43:46,210 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 22:43:46,225 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:43:46,225 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 22:43:46,241 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 22:43:46,241 2488 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 22:43:46,256 2488 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 22:43:46,256 2488 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:43:46,272 2488 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:43:46,272 2488 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 22:43:46,288 2488 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 22:43:46,303 2488 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 22:43:46,381 2488 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 22:43:46,381 2488 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 22:43:46,397 2488 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 22:43:46,397 2488 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 22:43:46,412 2488 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 22:43:46,412 2488 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 22:43:46,428 2488 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-04 22:43:46,428 2488 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-04 22:43:46,444 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 22:43:46,444 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-04 22:43:46,459 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 22:43:46,475 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 22:43:46,475 2488 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-04 22:43:46,490 2488 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 22:43:46,490 2488 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-04 22:43:46,490 2488 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 22:43:46,506 2488 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-04 22:43:46,522 2488 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 22:43:46,522 2488 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-04 22:43:46,537 2488 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-04 22:43:46,537 2488 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 22:43:46,553 2488 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-04 22:43:46,553 2488 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-04 22:43:46,569 2488 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-04 22:43:46,569 2488 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-04 22:43:46,585 2488 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-04 22:43:46,585 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:43:46,600 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 22:43:46,600 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 22:43:46,615 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 22:43:46,631 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-04 22:43:46,631 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-04 22:43:46,631 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 22:43:46,647 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 22:43:46,647 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 22:43:46,662 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 22:43:46,662 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 22:43:46,678 2488 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-04 22:43:46,694 2488 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:43:46,694 2488 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-04 22:43:46,710 2488 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-04 22:43:46,710 2488 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 22:43:46,725 2488 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-04 22:43:46,725 2488 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:43:46,741 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-04 22:43:46,741 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:43:46,756 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 22:43:46,756 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 22:43:46,772 2488 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-04 22:43:46,772 2488 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 22:43:46,787 2488 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-04 22:43:46,787 2488 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-04 22:43:46,803 2488 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 22:43:46,818 2488 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-04 22:43:46,818 2488 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-04 22:43:46,834 2488 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 22:43:46,834 2488 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-04 22:43:46,850 2488 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-04 22:43:46,866 2488 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 22:43:46,975 2488 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-04 22:43:46,991 2488 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20231004 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-04 22:43:47,053 2488 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
2023-10-04 22:43:47,101 2488 [WARN ] - Confirm
|
|
2023-10-04 22:43:47,101 2488 [WARN ] - Are you sure you want to perform this action?
|
|
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
|
|
2023-10-04 22:43:47,132 2488 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
|
|
2023-10-04 22:43:47,132 2488 [WARN ] - Confirmation (`-y`) is set.
|
|
Respond within 30 seconds or the default selection will be chosen.
|
|
2023-10-04 22:44:18,413 2488 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-04 22:44:18,428 2488 [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-04 22:44:18,444 2488 [DEBUG] - Backing up package files for 'glpi-agent-nightly.install'
|
|
2023-10-04 22:44:19,021 2488 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
|
|
2023-10-04 22:44:19,037 2488 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install to C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004
|
|
2023-10-04 22:44:19,053 2488 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004'
|
|
2023-10-04 22:44:21,069 2488 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
|
|
2023-10-04 22:44:21,069 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\glpi-agent-nightly.install.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
|
|
2023-10-04 22:44:21,100 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\glpi-agent-nightly.install.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
|
|
2023-10-04 22:44:21,115 2488 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
|
|
2023-10-04 22:44:21,115 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\legal\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
|
|
2023-10-04 22:44:21,131 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\legal\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
|
|
2023-10-04 22:44:21,147 2488 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
|
|
2023-10-04 22:44:21,147 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\tools\chocolateybeforemodify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
|
|
2023-10-04 22:44:21,162 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
|
|
2023-10-04 22:44:21,162 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\tools\chocolateyuninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
|
|
2023-10-04 22:44:21,194 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi".
|
|
2023-10-04 22:44:21,225 2488 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\1.6.20231004\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi.ignore".
|
|
2023-10-04 22:44:23,553 2488 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
|
|
2023-10-04 22:44:23,631 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
|
|
with checksum 'BE2BED55FE6663F3B36190A01ACD3E21'
|
|
2023-10-04 22:44:23,631 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
|
|
with checksum 'AD51E04F83348D428929551C6DA3E85B'
|
|
2023-10-04 22:44:23,647 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
|
|
with checksum '7DFC45720BB481C9BCA53CB5AA8890AA'
|
|
2023-10-04 22:44:23,647 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
|
|
with checksum '508B29183974FCD073B179F799F6DB1D'
|
|
2023-10-04 22:44:23,662 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
|
|
2023-10-04 22:44:23,662 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
|
|
with checksum 'E7E97CDB572DBB8DDE3FDD345125E11A'
|
|
2023-10-04 22:44:23,662 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
|
|
2023-10-04 22:44:24,647 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi'
|
|
with checksum '55F0D420F04819A8165D58735067FF6A'
|
|
2023-10-04 22:44:24,662 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-10-04 22:44:24,678 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi.ignore".
|
|
2023-10-04 22:44:24,694 2488 [DEBUG] - Setting installer args for glpi-agent-nightly.install
|
|
2023-10-04 22:44:25,428 2488 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
|
|
2023-10-04 22:44:25,428 2488 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
|
|
2023-10-04 22:44:25,444 2488 [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-04 22:44:25,459 2488 [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-04 22:44:25,506 2488 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-04 22:44:28,225 2488 [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-04 22:44:28,960 2488 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 22:44:28,960 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 22:44:28,975 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 22:44:28,975 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 22:44:28,991 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 22:44:29,006 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 22:44:29,006 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 22:44:29,022 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 22:44:29,037 2488 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 22:44:29,037 2488 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 22:44:29,053 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 22:44:29,053 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 22:44:29,069 2488 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 22:44:29,084 2488 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 22:44:29,100 2488 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 22:44:29,100 2488 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 22:44:29,100 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 22:44:29,116 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 22:44:29,116 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 22:44:29,131 2488 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 22:44:29,131 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:44:29,803 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 22:44:29,803 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 22:44:29,819 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 22:44:29,834 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 22:44:29,834 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 22:44:29,850 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 22:44:29,850 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 22:44:29,865 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 22:44:29,865 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 22:44:29,865 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 22:44:29,881 2488 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 22:44:29,896 2488 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 22:44:29,896 2488 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 22:44:29,913 2488 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 22:44:29,913 2488 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 22:44:29,913 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 22:44:29,928 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:44:29,944 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 22:44:29,944 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 22:44:29,959 2488 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 22:44:29,959 2488 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 22:44:29,975 2488 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 22:44:29,991 2488 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 22:44:29,991 2488 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 22:44:30,006 2488 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 22:44:30,022 2488 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 22:44:30,022 2488 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 22:44:30,038 2488 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 22:44:30,053 2488 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 22:44:30,053 2488 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 22:44:30,085 2488 [DEBUG] - Loading community extensions
|
|
2023-10-04 22:44:30,602 2488 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-04 22:44:30,602 2488 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-04 22:44:30,633 2488 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:44:30,647 2488 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:44:30,647 2488 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:44:30,662 2488 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:44:30,678 2488 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 22:44:30,678 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 22:44:30,694 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 22:44:30,694 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 22:44:30,709 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 22:44:30,725 2488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 22:44:30,725 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 22:44:30,741 2488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 22:44:30,741 2488 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 22:44:30,756 2488 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 22:44:30,756 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 22:44:30,772 2488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 22:44:30,787 2488 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 22:44:31,273 2488 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 22:44:31,287 2488 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 22:44:31,287 2488 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 22:44:31,303 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 22:44:31,319 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 22:44:31,319 2488 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 22:44:31,334 2488 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 22:44:31,334 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:44:31,350 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 22:44:31,350 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 22:44:31,365 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 22:44:31,365 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 22:44:31,381 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 22:44:31,381 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 22:44:31,396 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 22:44:31,396 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 22:44:31,413 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 22:44:31,428 2488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 22:44:31,428 2488 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 22:44:31,443 2488 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 22:44:31,960 2488 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 22:44:31,960 2488 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 22:44:31,960 2488 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 22:44:31,975 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 22:44:31,991 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:44:31,991 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 22:44:32,007 2488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 22:44:32,022 2488 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 22:44:32,022 2488 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 22:44:32,037 2488 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:44:32,037 2488 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:44:32,054 2488 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 22:44:32,069 2488 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 22:44:32,069 2488 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 22:44:32,084 2488 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 22:44:32,084 2488 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 22:44:32,100 2488 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 22:44:32,100 2488 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 22:44:32,116 2488 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 22:44:32,116 2488 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 22:44:32,131 2488 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-04 22:44:32,131 2488 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-04 22:44:32,148 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 22:44:32,148 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-04 22:44:32,162 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 22:44:32,178 2488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 22:44:32,178 2488 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-04 22:44:32,194 2488 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 22:44:32,194 2488 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-04 22:44:32,210 2488 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 22:44:32,210 2488 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-04 22:44:32,225 2488 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 22:44:32,240 2488 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-04 22:44:32,240 2488 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-04 22:44:32,257 2488 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 22:44:32,257 2488 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-04 22:44:32,272 2488 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-04 22:44:32,272 2488 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-04 22:44:32,287 2488 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-04 22:44:32,287 2488 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-04 22:44:32,804 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:44:32,804 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 22:44:32,819 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 22:44:32,834 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 22:44:32,834 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-04 22:44:32,834 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-04 22:44:32,850 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 22:44:32,866 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 22:44:32,866 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 22:44:32,881 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 22:44:32,881 2488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 22:44:32,897 2488 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-04 22:44:32,897 2488 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 22:44:32,912 2488 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-04 22:44:32,928 2488 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-04 22:44:32,928 2488 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 22:44:32,944 2488 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-04 22:44:32,959 2488 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 22:44:32,959 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-04 22:44:32,975 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 22:44:32,975 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 22:44:32,990 2488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 22:44:32,990 2488 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-04 22:44:33,006 2488 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 22:44:33,006 2488 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-04 22:44:33,022 2488 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-04 22:44:33,037 2488 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 22:44:33,037 2488 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-04 22:44:33,053 2488 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-04 22:44:33,053 2488 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 22:44:33,069 2488 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-04 22:44:33,069 2488 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-04 22:44:33,084 2488 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 22:44:33,100 2488 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-04 22:44:33,100 2488 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20231004 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-04 22:44:33,115 2488 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
2023-10-04 22:44:33,787 2488 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
|
|
2023-10-04 22:44:34,506 2488 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
|
|
2023-10-04 22:44:34,850 2488 [DEBUG] - Registry uninstall keys on system: 28
|
|
2023-10-04 22:44:34,850 2488 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
|
|
2023-10-04 22:44:34,959 2488 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
|
|
2023-10-04 22:44:35,178 2488 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{63C47056-6BF4-1014-85BF-B9CF834372A2} /qn /norestart' -file ''
|
|
2023-10-04 22:44:35,523 2488 [INFO ] - Uninstalling glpi-agent-nightly.install...
|
|
2023-10-04 22:44:35,709 2488 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {63C47056-6BF4-1014-85BF-B9CF834372A2} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-10-04 22:44:35,804 2488 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-10-04 22:44:36,100 2488 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {63C47056-6BF4-1014-85BF-B9CF834372A2} /qn /norestart ]. This may take a while, depending on the statements.
|
|
2023-10-04 22:46:17,600 2488 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {63C47056-6BF4-1014-85BF-B9CF834372A2} /qn /norestart ] exited with '0'.
|
|
2023-10-04 22:46:17,647 2488 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-10-04 22:46:17,663 2488 [INFO ] - 0
|
|
2023-10-04 22:46:17,678 2488 [INFO ] - glpi-agent-nightly.install has been uninstalled.
|
|
2023-10-04 22:46:17,678 2488 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-04 22:46:17,694 2488 [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-04 22:46:17,756 2488 [INFO ] - Running auto uninstaller...
|
|
2023-10-04 22:46:17,756 2488 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
|
|
2023-10-04 22:46:19,804 2488 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{63C47056-6BF4-1014-85BF-B9CF834372A2}' for 'GLPI Agent 1.6 (git4995a1ef)'
|
|
2023-10-04 22:46:19,819 2488 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.6 (git4995a1ef)' appears to have been uninstalled already by other means.
|
|
2023-10-04 22:46:19,835 2488 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
|
|
2023-10-04 22:46:19,849 2488 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{63C47056-6BF4-1014-85BF-B9CF834372A2}' value 'InstallLocation' - found? False
|
|
2023-10-04 22:46:19,865 2488 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-10-04 22:46:19,975 2488 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-10-04 22:46:20,007 2488 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
|
|
2023-10-04 22:46:20,039 2488 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-04 22:46:20,101 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
|
|
with checksum 'BE2BED55FE6663F3B36190A01ACD3E21'
|
|
2023-10-04 22:46:20,116 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
|
|
2023-10-04 22:46:20,116 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
|
|
with checksum 'AD51E04F83348D428929551C6DA3E85B'
|
|
2023-10-04 22:46:20,131 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
|
|
2023-10-04 22:46:20,146 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
|
|
with checksum '7DFC45720BB481C9BCA53CB5AA8890AA'
|
|
2023-10-04 22:46:20,146 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
|
|
2023-10-04 22:46:20,162 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
|
|
with checksum '508B29183974FCD073B179F799F6DB1D'
|
|
2023-10-04 22:46:20,162 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
|
|
2023-10-04 22:46:20,178 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
|
|
2023-10-04 22:46:20,193 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
|
|
2023-10-04 22:46:20,193 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
|
|
with checksum 'E7E97CDB572DBB8DDE3FDD345125E11A'
|
|
2023-10-04 22:46:20,209 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
|
|
2023-10-04 22:46:20,209 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
|
|
2023-10-04 22:46:20,225 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
|
|
2023-10-04 22:46:20,350 2488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi'
|
|
with checksum '55F0D420F04819A8165D58735067FF6A'
|
|
2023-10-04 22:46:20,350 2488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-git4995a1ef-x64.msi".
|
|
2023-10-04 22:46:20,366 2488 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
|
|
2023-10-04 22:46:20,366 2488 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
|
|
2023-10-04 22:46:20,381 2488 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-10-04 22:46:20,398 2488 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-04 22:46:20,553 2488 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-10-04 22:46:20,569 2488 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-10-04 22:46:20,584 2488 [DEBUG] - Exiting with 0
|