Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 26, 2023 23:39
Show Gist options
  • Save choco-bot/e21e4c1e166e68ae7dae76b80a94764d to your computer and use it in GitHub Desktop.
Save choco-bot/e21e4c1e166e68ae7dae76b80a94764d to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230505 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2197125801-663379873-280097284-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git786514bf)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{064AE34D-6BF6-1014-BACE-A2A9C9D57D72}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{064AE34D-6BF6-1014-BACE-A2A9C9D57D72}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230526</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\]]></InstallSource>
<Language>1033</Language>
<Version>17104896</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>5</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3d9f9.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230505 - Passed - Package Test Results

<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg" checksum="F18DB9DF409B89652373F8E3C4B8C5D5" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="4B6C560579DBE6E6A90019B1D2E28A0C" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="FE5985138BF393BC16D1A0DC3E20559E" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="04EA4274B2976FEDCBF4E737D0952FC8" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1" checksum="DE828B733952B51030AFFCFAA23BD7A6" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1" checksum="AE6BF26089745FABF534204D31E1A3AA" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1" checksum="6B0400F7F1626CE5D4B3DE26A190423B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi" checksum="EA94B2679F148492514271F38F75E190" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x86.msi" checksum="D1E2031040A258F2F69A3794C27A0AB7" />
</files>
</fileSnapshot>
2023-05-26 23:35:51,523 4572 [DEBUG] - XmlConfiguration is now operational
2023-05-26 23:35:51,663 4572 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:35:51,680 4572 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:35:51,680 4572 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:35:51,680 4572 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:35:51,680 4572 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:35:51,695 4572 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-05-26 23:35:52,087 4572 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-05-26 23:35:52,101 4572 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-05-26 23:35:52,101 4572 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-05-26 23:35:52,101 4572 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-05-26 23:35:52,116 4572 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-05-26 23:35:52,116 4572 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-05-26 23:35:52,116 4572 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-05-26 23:35:52,116 4572 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-05-26 23:35:52,132 4572 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-05-26 23:35:52,132 4572 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-05-26 23:35:52,132 4572 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-05-26 23:35:52,132 4572 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-05-26 23:35:52,148 4572 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-05-26 23:35:52,148 4572 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-05-26 23:35:52,164 4572 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-05-26 23:35:52,164 4572 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-05-26 23:35:52,164 4572 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-05-26 23:35:52,179 4572 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-05-26 23:35:52,539 4572 [INFO ] - ============================================================
2023-05-26 23:35:52,914 4572 [INFO ] - Chocolatey v1.3.0
2023-05-26 23:35:52,945 4572 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-05-26 23:35:53,007 4572 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-05-26 23:35:53,007 4572 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-05-26 23:35:53,039 4572 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230505 -fdvy --execution-timeout=2700 --allow-downgrade
2023-05-26 23:35:53,039 4572 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230505 -fdvy --execution-timeout=2700 --allow-downgrade
2023-05-26 23:35:53,195 4572 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-05-26 23:35:53,226 4572 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-05-26 23:35:53,242 4572 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-05-26 23:35:53,383 4572 [DEBUG] - Performing validation checks.
2023-05-26 23:35:53,398 4572 [DEBUG] - Global Configuration Validation Checks:
2023-05-26 23:35:53,398 4572 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-05-26 23:35:53,415 4572 [DEBUG] - System State Validation Checks:
2023-05-26 23:35:53,415 4572 [DEBUG] - Reboot Requirement Checks:
2023-05-26 23:35:53,430 4572 [DEBUG] - - Pending Computer Rename = Checked
2023-05-26 23:35:53,445 4572 [DEBUG] - - Pending Component Based Servicing = Checked
2023-05-26 23:35:53,445 4572 [DEBUG] - - Pending Windows Auto Update = Checked
2023-05-26 23:35:53,461 4572 [DEBUG] - - Pending File Rename Operations = Ignored
2023-05-26 23:35:53,461 4572 [DEBUG] - - Pending Windows Package Installer = Checked
2023-05-26 23:35:53,476 4572 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-05-26 23:35:53,492 4572 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-05-26 23:35:53,555 4572 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-05-26 23:35:53,570 4572 [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-05-26 23:35:53,602 4572 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230505'|
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'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-8QHQSE9477K'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='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'|
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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-05-26 23:35:53,617 4572 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-05-26 23:35:53,648 4572 [INFO ] - Installing the following packages:
2023-05-26 23:35:53,648 4572 [INFO ] - glpi-agent-nightly.install
2023-05-26 23:35:53,664 4572 [INFO ] - By installing, you accept licenses for the packages.
2023-05-26 23:35:53,679 4572 [DEBUG] - Current environment values (may contain sensitive data):
2023-05-26 23:35:53,679 4572 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-05-26 23:35:53,695 4572 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-26 23:35:53,695 4572 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-26 23:35:53,711 4572 [DEBUG] - * 'ChocolateyLastPathUpdate'='133295765002116655' ('User')
2023-05-26 23:35:53,711 4572 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-05-26 23:35:53,726 4572 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-05-26 23:35:53,726 4572 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-05-26 23:35:53,742 4572 [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-05-26 23:35:53,742 4572 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-05-26 23:35:53,742 4572 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-05-26 23:35:53,757 4572 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-05-26 23:35:53,773 4572 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-05-26 23:35:53,773 4572 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-05-26 23:35:53,789 4572 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-05-26 23:35:53,789 4572 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-05-26 23:35:53,804 4572 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-05-26 23:35:53,820 4572 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-05-26 23:35:53,820 4572 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-05-26 23:35:53,820 4572 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-05-26 23:35:53,836 4572 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-05-26 23:35:58,321 4572 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230505'.
2023-05-26 23:35:58,461 4572 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-05-26 23:35:58,461 4572 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-05-26 23:35:58,476 4572 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-05-26 23:35:58,476 4572 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-05-26 23:35:58,492 4572 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-05-26 23:35:58,570 4572 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git786514bf-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-05-26 23:35:58,617 4572 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git786514bf-x86.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-05-26 23:35:58,695 4572 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-05-26 23:35:59,039 4572 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-05-26 23:35:59,039 4572 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230505'.
2023-05-26 23:35:59,054 4572 [INFO ] -
glpi-agent-nightly.install v1.5.20230505 (forced)
2023-05-26 23:35:59,070 4572 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-05-26 23:35:59,149 4572 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-05-26 23:35:59,164 4572 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-05-26 23:35:59,179 4572 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-05-26 23:35:59,195 4572 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'MSI'
file = 'GLPI-Agent-1.5-git786514bf-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git786514bf-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = '049C868CFF8A78F04388B98EB55BF83A4E42C6B58C433B8F35EA4C09D6E482B1' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = 'B05F79A43135B9E975B2AB1E35B9056EC86637F1D83963308D93C5633C62D368' # (From $Latest)
checksumType64 = 'sha256' # (From $Latest)
# MSI
silentArgs = '/quiet'
validExitCodes= @(0)
}
# Access files from $toolsDir
$packageArgs.file = Join-Path $toolsDir $packageArgs.file
$packageArgs.file64 = Join-Path $toolsDir $packageArgs.file64
Install-ChocolateyInstallPackage @packageArgs
2023-05-26 23:35:59,258 4572 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-05-26 23:35:59,273 4572 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-05-26 23:35:59,915 4572 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-05-26 23:36:00,399 4572 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-26 23:36:00,399 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-26 23:36:00,414 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-26 23:36:00,414 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-26 23:36:00,430 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-26 23:36:00,430 4572 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-26 23:36:00,445 4572 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-26 23:36:00,445 4572 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-26 23:36:00,460 4572 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-26 23:36:00,460 4572 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-26 23:36:00,476 4572 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:36:00,476 4572 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-26 23:36:00,476 4572 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-26 23:36:00,492 4572 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-26 23:36:00,492 4572 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-26 23:36:00,507 4572 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-26 23:36:00,507 4572 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-26 23:36:00,524 4572 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-26 23:36:00,524 4572 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-26 23:36:00,538 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:00,538 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:36:00,538 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:36:00,632 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:36:00,664 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-26 23:36:00,711 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-26 23:36:00,742 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:36:00,758 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:36:00,758 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-26 23:36:00,773 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:36:00,773 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-26 23:36:00,789 4572 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-26 23:36:00,789 4572 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-26 23:36:00,804 4572 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-26 23:36:00,804 4572 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:36:00,820 4572 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-26 23:36:00,820 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-26 23:36:00,836 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:00,836 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:36:00,851 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:36:00,851 4572 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-26 23:36:00,867 4572 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-26 23:36:00,867 4572 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-26 23:36:00,882 4572 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-26 23:36:00,882 4572 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-26 23:36:00,898 4572 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-26 23:36:00,914 4572 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-26 23:36:00,914 4572 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-26 23:36:00,929 4572 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:36:00,929 4572 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-26 23:36:00,945 4572 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-26 23:36:00,978 4572 [DEBUG] - Loading community extensions
2023-05-26 23:36:01,008 4572 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-05-26 23:36:01,023 4572 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-05-26 23:36:01,133 4572 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-26 23:36:01,148 4572 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-26 23:36:01,163 4572 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-26 23:36:01,163 4572 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-26 23:36:01,181 4572 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-26 23:36:01,196 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-26 23:36:01,210 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-26 23:36:01,211 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-26 23:36:01,211 4572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-26 23:36:01,226 4572 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-26 23:36:01,241 4572 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-26 23:36:01,242 4572 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-26 23:36:01,242 4572 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-26 23:36:01,257 4572 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-26 23:36:01,257 4572 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:36:01,273 4572 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-26 23:36:01,273 4572 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-26 23:36:01,289 4572 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-26 23:36:01,289 4572 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-26 23:36:01,304 4572 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-26 23:36:01,304 4572 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-26 23:36:01,320 4572 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-26 23:36:01,336 4572 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-26 23:36:01,336 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:01,351 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:36:01,351 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:36:01,351 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:36:01,367 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-26 23:36:01,367 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-26 23:36:01,383 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:36:01,383 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:36:01,398 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-26 23:36:01,398 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:36:01,414 4572 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-26 23:36:01,414 4572 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-26 23:36:01,429 4572 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-26 23:36:01,445 4572 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-26 23:36:01,445 4572 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:36:01,461 4572 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-26 23:36:01,461 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-26 23:36:01,476 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:01,476 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:36:01,492 4572 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:36:01,492 4572 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-26 23:36:01,508 4572 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-26 23:36:01,508 4572 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-26 23:36:01,523 4572 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-26 23:36:01,523 4572 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-26 23:36:01,523 4572 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-26 23:36:01,539 4572 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-26 23:36:01,555 4572 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-26 23:36:01,555 4572 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-26 23:36:01,570 4572 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-26 23:36:01,570 4572 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:36:01,570 4572 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-26 23:36:01,586 4572 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-26 23:36:01,586 4572 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-05-26 23:36:01,601 4572 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-05-26 23:36:01,601 4572 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-05-26 23:36:01,618 4572 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-05-26 23:36:01,618 4572 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-05-26 23:36:01,632 4572 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-05-26 23:36:01,632 4572 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-05-26 23:36:01,648 4572 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-05-26 23:36:01,648 4572 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-05-26 23:36:01,664 4572 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-05-26 23:36:01,664 4572 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:36:01,664 4572 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-05-26 23:36:01,679 4572 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-05-26 23:36:01,679 4572 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-05-26 23:36:01,695 4572 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-05-26 23:36:01,695 4572 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-05-26 23:36:01,711 4572 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-05-26 23:36:01,711 4572 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-05-26 23:36:01,728 4572 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-05-26 23:36:01,728 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:01,742 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:36:01,742 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:36:01,742 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:36:01,758 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-05-26 23:36:01,758 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-05-26 23:36:01,773 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:36:01,773 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:36:01,789 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-05-26 23:36:01,804 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:36:01,804 4572 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-05-26 23:36:01,820 4572 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-05-26 23:36:01,820 4572 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-26 23:36:01,820 4572 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-05-26 23:36:01,836 4572 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-05-26 23:36:01,836 4572 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:36:01,851 4572 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-05-26 23:36:01,851 4572 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-26 23:36:01,867 4572 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-05-26 23:36:01,867 4572 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:01,882 4572 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:36:01,882 4572 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:36:01,898 4572 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-05-26 23:36:01,898 4572 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-05-26 23:36:01,914 4572 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-05-26 23:36:01,914 4572 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-05-26 23:36:01,914 4572 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-05-26 23:36:01,929 4572 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-05-26 23:36:01,929 4572 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-05-26 23:36:01,945 4572 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:36:01,945 4572 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-05-26 23:36:01,961 4572 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-05-26 23:36:01,961 4572 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-05-26 23:36:02,055 4572 [DEBUG] - ---------------------------Script Execution---------------------------
2023-05-26 23:36:02,070 4572 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230505 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-05-26 23:36:02,242 4572 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-05-26 23:36:02,429 4572 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi' -fileType 'MSI' -validExitCodes '0' -file 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x86.msi' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-05-26 23:36:02,462 4572 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-05-26 23:36:02,523 4572 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-05-26 23:36:02,711 4572 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools' -statements '/i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-05-26 23:36:02,789 4572 [DEBUG] - Test-ProcessAdminRights: returning True
2023-05-26 23:36:02,836 4572 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-05-26 23:36:38,397 4572 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi" /quiet ] exited with '0'.
2023-05-26 23:36:38,460 4572 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-05-26 23:36:38,475 4572 [INFO ] - glpi-agent-nightly.install has been installed.
2023-05-26 23:36:38,492 4572 [DEBUG] - ----------------------------------------------------------------------
2023-05-26 23:36:38,538 4572 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-05-26 23:36:38,554 4572 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-05-26 23:36:38,913 4572 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-05-26 23:36:38,960 4572 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-05-26 23:36:39,133 4572 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-05-26 23:36:39,711 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'F18DB9DF409B89652373F8E3C4B8C5D5'
2023-05-26 23:36:39,711 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '4B6C560579DBE6E6A90019B1D2E28A0C'
2023-05-26 23:36:39,726 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'FE5985138BF393BC16D1A0DC3E20559E'
2023-05-26 23:36:39,726 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '04EA4274B2976FEDCBF4E737D0952FC8'
2023-05-26 23:36:39,741 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-05-26 23:36:39,741 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum 'AE6BF26089745FABF534204D31E1A3AA'
2023-05-26 23:36:39,756 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-05-26 23:36:39,929 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi'
with checksum 'EA94B2679F148492514271F38F75E190'
2023-05-26 23:36:39,944 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-05-26 23:36:40,022 4572 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x86.msi'
with checksum 'D1E2031040A258F2F69A3794C27A0AB7'
2023-05-26 23:36:40,132 4572 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505".
2023-05-26 23:36:40,194 4572 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505\.registry'
2023-05-26 23:36:40,242 4572 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505\.files'
2023-05-26 23:36:40,257 4572 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505\.extra".
2023-05-26 23:36:40,257 4572 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505\.version".
2023-05-26 23:36:40,273 4572 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505\.sxs".
2023-05-26 23:36:40,273 4572 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230505\.pin".
2023-05-26 23:36:40,288 4572 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-05-26 23:36:40,303 4572 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-05-26 23:36:40,320 4572 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-05-26 23:36:40,320 4572 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-05-26 23:36:40,336 4572 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230505.nupkg".
2023-05-26 23:36:40,366 4572 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-05-26 23:36:40,382 4572 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-26 23:36:40,445 4572 [DEBUG] - Exiting with 0
2023-05-26 23:36:52,882 4980 [DEBUG] - XmlConfiguration is now operational
2023-05-26 23:36:53,023 4980 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:36:53,023 4980 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:36:53,023 4980 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:36:53,038 4980 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:36:53,038 4980 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-05-26 23:36:53,038 4980 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-05-26 23:36:53,304 4980 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-05-26 23:36:53,304 4980 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-05-26 23:36:53,304 4980 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-05-26 23:36:53,319 4980 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-05-26 23:36:53,319 4980 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-05-26 23:36:53,319 4980 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-05-26 23:36:53,335 4980 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-05-26 23:36:53,335 4980 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-05-26 23:36:53,335 4980 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-05-26 23:36:53,335 4980 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-05-26 23:36:53,351 4980 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-05-26 23:36:53,351 4980 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-05-26 23:36:53,351 4980 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-05-26 23:36:53,351 4980 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-05-26 23:36:53,366 4980 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-05-26 23:36:53,366 4980 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-05-26 23:36:53,366 4980 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-05-26 23:36:53,366 4980 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-05-26 23:36:53,678 4980 [INFO ] - ============================================================
2023-05-26 23:36:54,053 4980 [INFO ] - Chocolatey v1.3.0
2023-05-26 23:36:54,085 4980 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-05-26 23:36:54,101 4980 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-05-26 23:36:54,101 4980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-05-26 23:36:54,133 4980 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230505 -dvy --execution-timeout=2700
2023-05-26 23:36:54,133 4980 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230505 -dvy --execution-timeout=2700
2023-05-26 23:36:54,335 4980 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-05-26 23:36:54,351 4980 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-05-26 23:36:54,382 4980 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-05-26 23:36:54,538 4980 [DEBUG] - Performing validation checks.
2023-05-26 23:36:54,538 4980 [DEBUG] - Global Configuration Validation Checks:
2023-05-26 23:36:54,554 4980 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-05-26 23:36:54,569 4980 [DEBUG] - System State Validation Checks:
2023-05-26 23:36:54,585 4980 [DEBUG] - Reboot Requirement Checks:
2023-05-26 23:36:54,585 4980 [DEBUG] - - Pending Computer Rename = Checked
2023-05-26 23:36:54,600 4980 [DEBUG] - - Pending Component Based Servicing = Checked
2023-05-26 23:36:54,600 4980 [DEBUG] - - Pending Windows Auto Update = Checked
2023-05-26 23:36:54,616 4980 [DEBUG] - - Pending File Rename Operations = Ignored
2023-05-26 23:36:54,616 4980 [DEBUG] - - Pending Windows Package Installer = Checked
2023-05-26 23:36:54,632 4980 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-05-26 23:36:54,647 4980 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-05-26 23:36:54,711 4980 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-05-26 23:36:54,711 4980 [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-05-26 23:36:54,772 4980 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|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.5.20230505'|
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'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-8QHQSE9477K'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='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'|
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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-05-26 23:36:54,788 4980 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-05-26 23:36:54,819 4980 [INFO ] - Uninstalling the following packages:
2023-05-26 23:36:54,819 4980 [INFO ] - glpi-agent-nightly.install
2023-05-26 23:36:54,852 4980 [DEBUG] - Current environment values (may contain sensitive data):
2023-05-26 23:36:54,852 4980 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-05-26 23:36:54,866 4980 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-26 23:36:54,866 4980 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-26 23:36:54,866 4980 [DEBUG] - * 'ChocolateyLastPathUpdate'='133295765002116655' ('User')
2023-05-26 23:36:54,882 4980 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-05-26 23:36:54,882 4980 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-05-26 23:36:54,897 4980 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-05-26 23:36:54,897 4980 [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-05-26 23:36:54,897 4980 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-05-26 23:36:54,913 4980 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-05-26 23:36:54,913 4980 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-05-26 23:36:54,929 4980 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-05-26 23:36:54,929 4980 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-05-26 23:36:54,944 4980 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-05-26 23:36:54,944 4980 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-05-26 23:36:54,944 4980 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-05-26 23:36:54,960 4980 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-05-26 23:36:54,975 4980 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-05-26 23:36:54,975 4980 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-05-26 23:36:54,975 4980 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-05-26 23:36:55,132 4980 [DEBUG] - Running list with the following filter = ''
2023-05-26 23:36:55,148 4980 [DEBUG] - --- Start of List ---
2023-05-26 23:36:55,616 4980 [DEBUG] - glpi-agent-nightly.install 1.5.20230505
2023-05-26 23:36:55,616 4980 [DEBUG] - --- End of List ---
2023-05-26 23:36:55,788 4980 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-05-26 23:36:55,788 4980 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-05-26 23:36:55,804 4980 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-05-26 23:36:55,820 4980 [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-05-26 23:36:55,866 4980 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-05-26 23:36:55,882 4980 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-05-26 23:36:56,585 4980 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-05-26 23:36:57,069 4980 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-26 23:36:57,069 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-26 23:36:57,084 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-26 23:36:57,084 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-26 23:36:57,100 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-26 23:36:57,100 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-26 23:36:57,100 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-26 23:36:57,116 4980 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-26 23:36:57,116 4980 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-26 23:36:57,132 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-26 23:36:57,132 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:36:57,147 4980 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-26 23:36:57,147 4980 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-26 23:36:57,163 4980 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-26 23:36:57,163 4980 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-26 23:36:57,178 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-26 23:36:57,178 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-26 23:36:57,194 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-26 23:36:57,194 4980 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-26 23:36:57,194 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:57,210 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:36:57,225 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:36:57,225 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:36:57,242 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-26 23:36:57,242 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-26 23:36:57,257 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:36:57,257 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:36:57,273 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-26 23:36:57,273 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:36:57,288 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-26 23:36:57,303 4980 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-26 23:36:57,303 4980 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-26 23:36:57,319 4980 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-26 23:36:57,319 4980 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:36:57,335 4980 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-26 23:36:57,351 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-26 23:36:57,351 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:57,351 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:36:57,366 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:36:57,366 4980 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-26 23:36:57,398 4980 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-26 23:36:57,398 4980 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-26 23:36:57,413 4980 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-26 23:36:57,413 4980 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-26 23:36:57,428 4980 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-26 23:36:57,428 4980 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-26 23:36:57,444 4980 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-26 23:36:57,444 4980 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:36:57,460 4980 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-26 23:36:57,460 4980 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-26 23:36:57,507 4980 [DEBUG] - Loading community extensions
2023-05-26 23:36:57,539 4980 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-05-26 23:36:57,553 4980 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-05-26 23:36:57,679 4980 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-26 23:36:57,695 4980 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-26 23:36:57,695 4980 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-26 23:36:57,709 4980 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-26 23:36:57,709 4980 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-26 23:36:57,725 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-26 23:36:57,725 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-26 23:36:57,741 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-26 23:36:57,741 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-26 23:36:57,757 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-26 23:36:57,757 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-26 23:36:57,772 4980 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-26 23:36:57,960 4980 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-26 23:36:57,960 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-26 23:36:57,975 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:36:57,975 4980 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-26 23:36:57,991 4980 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-26 23:36:57,991 4980 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-26 23:36:58,007 4980 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-26 23:36:58,007 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-26 23:36:58,022 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-26 23:36:58,022 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-26 23:36:58,037 4980 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-26 23:36:58,037 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:58,053 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:36:58,053 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:36:58,069 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:36:58,069 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-26 23:36:58,085 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-26 23:36:58,100 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:36:58,100 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:36:58,117 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-26 23:36:58,117 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:36:58,132 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-26 23:36:58,132 4980 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-26 23:36:58,132 4980 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-26 23:36:58,147 4980 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-26 23:36:58,147 4980 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:36:58,163 4980 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-26 23:36:58,163 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-26 23:36:58,179 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:58,179 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:36:58,195 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:36:58,195 4980 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-26 23:36:58,210 4980 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-26 23:36:58,210 4980 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-26 23:36:58,225 4980 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-26 23:36:58,225 4980 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-26 23:36:58,241 4980 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-26 23:36:58,241 4980 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-26 23:36:58,256 4980 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-26 23:36:58,256 4980 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-26 23:36:58,272 4980 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-26 23:36:58,272 4980 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:36:58,288 4980 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-26 23:36:58,288 4980 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-26 23:36:58,303 4980 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-05-26 23:36:58,303 4980 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-05-26 23:36:58,319 4980 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-05-26 23:36:58,319 4980 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-05-26 23:36:58,319 4980 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-05-26 23:36:58,335 4980 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-05-26 23:36:58,335 4980 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-05-26 23:36:58,350 4980 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-05-26 23:36:58,350 4980 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-05-26 23:36:58,366 4980 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-05-26 23:36:58,381 4980 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:36:58,381 4980 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-05-26 23:36:58,397 4980 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-05-26 23:36:58,397 4980 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-05-26 23:36:58,413 4980 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-05-26 23:36:58,461 4980 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-05-26 23:36:58,476 4980 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-05-26 23:36:58,476 4980 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-05-26 23:36:58,491 4980 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-05-26 23:36:58,506 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:58,506 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:36:58,522 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:36:58,522 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:36:58,522 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-05-26 23:36:58,537 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-05-26 23:36:58,553 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:36:58,553 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:36:58,553 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-05-26 23:36:58,569 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:36:58,569 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-05-26 23:36:58,585 4980 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-05-26 23:36:58,585 4980 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-26 23:36:58,601 4980 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-05-26 23:36:58,601 4980 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-05-26 23:36:58,616 4980 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:36:58,616 4980 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-05-26 23:36:58,631 4980 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-26 23:36:58,631 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-05-26 23:36:58,631 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:36:58,648 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:36:58,648 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:36:58,663 4980 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-05-26 23:36:58,663 4980 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-05-26 23:36:58,678 4980 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-05-26 23:36:58,678 4980 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-05-26 23:36:58,694 4980 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-05-26 23:36:58,710 4980 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-05-26 23:36:58,710 4980 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-05-26 23:36:58,726 4980 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:36:58,726 4980 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-05-26 23:36:58,742 4980 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-05-26 23:36:58,742 4980 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-05-26 23:36:58,852 4980 [DEBUG] - ---------------------------Script Execution---------------------------
2023-05-26 23:36:58,866 4980 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230505 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-05-26 23:36:58,960 4980 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-05-26 23:36:59,023 4980 [WARN ] - Confirm
2023-05-26 23:36:59,023 4980 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-05-26 23:36:59,039 4980 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-05-26 23:36:59,054 4980 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-05-26 23:37:29,902 4980 [DEBUG] - ----------------------------------------------------------------------
2023-05-26 23:37:29,933 4980 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-05-26 23:37:30,105 4980 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-05-26 23:37:30,121 4980 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-05-26 23:37:30,121 4980 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-05-26 23:37:32,153 4980 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-05-26 23:37:32,153 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
2023-05-26 23:37:32,199 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
2023-05-26 23:37:32,216 4980 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-05-26 23:37:32,231 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
2023-05-26 23:37:32,231 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
2023-05-26 23:37:32,246 4980 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-05-26 23:37:32,246 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
2023-05-26 23:37:32,262 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
2023-05-26 23:37:32,277 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
2023-05-26 23:37:32,293 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi".
2023-05-26 23:37:32,387 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore".
2023-05-26 23:37:32,418 4980 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x86.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x86.msi".
2023-05-26 23:37:34,183 4980 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-05-26 23:37:34,308 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'F18DB9DF409B89652373F8E3C4B8C5D5'
2023-05-26 23:37:34,325 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '4B6C560579DBE6E6A90019B1D2E28A0C'
2023-05-26 23:37:34,325 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'FE5985138BF393BC16D1A0DC3E20559E'
2023-05-26 23:37:34,340 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '04EA4274B2976FEDCBF4E737D0952FC8'
2023-05-26 23:37:34,340 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-05-26 23:37:34,355 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum 'AE6BF26089745FABF534204D31E1A3AA'
2023-05-26 23:37:34,355 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-05-26 23:37:34,512 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi'
with checksum 'EA94B2679F148492514271F38F75E190'
2023-05-26 23:37:34,543 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-05-26 23:37:35,090 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x86.msi'
with checksum 'D1E2031040A258F2F69A3794C27A0AB7'
2023-05-26 23:37:36,356 4980 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230505'.
2023-05-26 23:37:36,371 4980 [INFO ] -
glpi-agent-nightly.install v1.5.20230505
2023-05-26 23:37:37,184 4980 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-05-26 23:37:37,199 4980 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-05-26 23:37:37,199 4980 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-05-26 23:37:37,215 4980 [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-05-26 23:37:37,231 4980 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-05-26 23:37:37,277 4980 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-05-26 23:37:39,685 4980 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-05-26 23:37:40,030 4980 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-26 23:37:40,044 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-26 23:37:40,044 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-26 23:37:40,044 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-26 23:37:40,059 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-26 23:37:40,074 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-26 23:37:40,074 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-26 23:37:40,090 4980 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-26 23:37:40,090 4980 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-26 23:37:40,106 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-26 23:37:40,106 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:37:40,106 4980 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-26 23:37:40,121 4980 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-26 23:37:40,137 4980 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-26 23:37:40,137 4980 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-26 23:37:40,153 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-26 23:37:40,153 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-26 23:37:40,169 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-26 23:37:40,169 4980 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-26 23:37:40,183 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:37:40,183 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:37:40,918 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:37:43,199 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:37:43,199 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-26 23:37:43,216 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-26 23:37:43,231 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:37:43,231 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:37:43,246 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-26 23:37:43,246 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:37:43,262 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-26 23:37:43,262 4980 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-26 23:37:43,278 4980 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-26 23:37:43,278 4980 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-26 23:37:43,294 4980 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:37:43,294 4980 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-26 23:37:43,309 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-26 23:37:43,309 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:37:43,324 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:37:43,324 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:37:43,340 4980 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-26 23:37:43,355 4980 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-26 23:37:43,355 4980 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-26 23:37:43,371 4980 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-26 23:37:43,371 4980 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-26 23:37:43,371 4980 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-26 23:37:43,387 4980 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-26 23:37:43,387 4980 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-26 23:37:43,403 4980 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:37:43,418 4980 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-26 23:37:43,418 4980 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-26 23:37:43,434 4980 [DEBUG] - Loading community extensions
2023-05-26 23:37:43,450 4980 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-05-26 23:37:43,450 4980 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-05-26 23:37:43,481 4980 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-26 23:37:43,496 4980 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-26 23:37:43,496 4980 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-26 23:37:43,512 4980 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-26 23:37:43,512 4980 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-26 23:37:43,527 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-26 23:37:43,527 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-26 23:37:44,092 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-26 23:37:44,106 4980 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-26 23:37:44,106 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-26 23:37:44,121 4980 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-26 23:37:44,121 4980 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-26 23:37:44,137 4980 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-26 23:37:44,137 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-26 23:37:44,153 4980 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:37:44,153 4980 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-26 23:37:44,168 4980 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-26 23:37:44,168 4980 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-26 23:37:44,184 4980 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-26 23:37:44,184 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-26 23:37:44,199 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-26 23:37:44,199 4980 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-26 23:37:44,215 4980 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-26 23:37:44,215 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:37:44,231 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:37:44,231 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:37:44,794 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:37:44,810 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-26 23:37:44,810 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-26 23:37:44,825 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:37:44,825 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:37:44,840 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-26 23:37:44,856 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:37:44,856 4980 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-26 23:37:44,872 4980 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-26 23:37:44,872 4980 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-26 23:37:44,887 4980 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-26 23:37:44,887 4980 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:37:44,903 4980 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-26 23:37:44,903 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-26 23:37:44,918 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:37:44,934 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:37:44,934 4980 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:37:44,950 4980 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-26 23:37:44,950 4980 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-26 23:37:44,965 4980 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-26 23:37:44,965 4980 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-26 23:37:45,028 4980 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-26 23:37:45,028 4980 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-26 23:37:45,043 4980 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-26 23:37:45,043 4980 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-26 23:37:45,059 4980 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-26 23:37:45,059 4980 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-26 23:37:45,075 4980 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:37:45,075 4980 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-26 23:37:45,075 4980 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-26 23:37:45,090 4980 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-05-26 23:37:45,090 4980 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-05-26 23:37:45,106 4980 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-05-26 23:37:45,106 4980 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-05-26 23:37:45,122 4980 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-05-26 23:37:45,122 4980 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-05-26 23:37:45,137 4980 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-05-26 23:37:45,153 4980 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-05-26 23:37:45,153 4980 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-05-26 23:37:45,168 4980 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-05-26 23:37:45,168 4980 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-05-26 23:37:45,184 4980 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-05-26 23:37:45,719 4980 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-05-26 23:37:45,719 4980 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-05-26 23:37:45,731 4980 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-05-26 23:37:45,731 4980 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-05-26 23:37:45,747 4980 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-05-26 23:37:45,747 4980 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-05-26 23:37:45,763 4980 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-05-26 23:37:45,763 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-05-26 23:37:45,778 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-05-26 23:37:45,778 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-05-26 23:37:45,826 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-05-26 23:37:45,826 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-05-26 23:37:45,840 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-05-26 23:37:45,840 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-26 23:37:45,856 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-05-26 23:37:45,856 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-05-26 23:37:45,871 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-05-26 23:37:45,871 4980 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-05-26 23:37:45,871 4980 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-05-26 23:37:45,887 4980 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-26 23:37:45,887 4980 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-05-26 23:37:45,996 4980 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-05-26 23:37:46,012 4980 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-05-26 23:37:46,200 4980 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-05-26 23:37:46,340 4980 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-26 23:37:46,340 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-05-26 23:37:46,357 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-26 23:37:46,371 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-05-26 23:37:46,371 4980 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-05-26 23:37:46,371 4980 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-05-26 23:37:46,387 4980 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-05-26 23:37:46,387 4980 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-05-26 23:37:46,403 4980 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-05-26 23:37:46,418 4980 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-05-26 23:37:46,418 4980 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-05-26 23:37:46,434 4980 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-05-26 23:37:46,434 4980 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-05-26 23:37:46,450 4980 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-05-26 23:37:46,450 4980 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-05-26 23:37:46,465 4980 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-05-26 23:37:46,465 4980 [DEBUG] - ---------------------------Script Execution---------------------------
2023-05-26 23:37:46,481 4980 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230505 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-05-26 23:37:46,497 4980 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-05-26 23:37:46,997 4980 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-05-26 23:37:47,029 4980 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-05-26 23:37:47,388 4980 [DEBUG] - Registry uninstall keys on system: 28
2023-05-26 23:37:47,403 4980 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-05-26 23:37:47,794 4980 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-05-26 23:37:47,872 4980 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{064AE34D-6BF6-1014-BACE-A2A9C9D57D72} /qn /norestart' -file ''
2023-05-26 23:37:48,121 4980 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-05-26 23:37:48,482 4980 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {064AE34D-6BF6-1014-BACE-A2A9C9D57D72} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-05-26 23:37:48,575 4980 [DEBUG] - Test-ProcessAdminRights: returning True
2023-05-26 23:37:49,075 4980 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {064AE34D-6BF6-1014-BACE-A2A9C9D57D72} /qn /norestart ]. This may take a while, depending on the statements.
2023-05-26 23:39:33,404 4980 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {064AE34D-6BF6-1014-BACE-A2A9C9D57D72} /qn /norestart ] exited with '0'.
2023-05-26 23:39:33,450 4980 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-05-26 23:39:33,450 4980 [INFO ] - 0
2023-05-26 23:39:33,466 4980 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-05-26 23:39:33,481 4980 [DEBUG] - ----------------------------------------------------------------------
2023-05-26 23:39:33,497 4980 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-05-26 23:39:33,544 4980 [INFO ] - Running auto uninstaller...
2023-05-26 23:39:33,559 4980 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-05-26 23:39:35,590 4980 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{064AE34D-6BF6-1014-BACE-A2A9C9D57D72}' for 'GLPI Agent 1.5 (git786514bf)'
2023-05-26 23:39:35,606 4980 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git786514bf)' appears to have been uninstalled already by other means.
2023-05-26 23:39:35,622 4980 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-05-26 23:39:35,622 4980 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{064AE34D-6BF6-1014-BACE-A2A9C9D57D72}' value 'InstallLocation' - found? False
2023-05-26 23:39:35,638 4980 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-05-26 23:39:35,763 4980 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-05-26 23:39:35,778 4980 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-05-26 23:39:35,856 4980 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-05-26 23:39:35,856 4980 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-05-26 23:39:35,872 4980 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-05-26 23:39:35,887 4980 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-05-26 23:39:35,887 4980 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-05-26 23:39:35,903 4980 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-05-26 23:39:35,951 4980 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git786514bf-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-05-26 23:39:36,013 4980 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git786514bf-x86.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-05-26 23:39:36,028 4980 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-05-26 23:39:36,044 4980 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-05-26 23:39:36,044 4980 [DEBUG] - [NuGet] The directory is not empty.
2023-05-26 23:39:36,059 4980 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230505'.
2023-05-26 23:39:36,076 4980 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-05-26 23:39:36,091 4980 [DEBUG] - Removing nupkg if it still exists.
2023-05-26 23:39:36,107 4980 [DEBUG] - Ensuring removal of installation files.
2023-05-26 23:39:36,107 4980 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-05-26 23:39:36,107 4980 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git786514bf-x64.msi.ignore".
2023-05-26 23:39:36,122 4980 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-05-26 23:39:36,138 4980 [DEBUG] - Ensuring removal of package cache files.
2023-05-26 23:39:36,185 4980 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-05-26 23:39:36,200 4980 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-26 23:39:36,232 4980 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment