Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 23, 2023 10:16
Show Gist options
  • Save choco-bot/b35983509210ffd2d10ed48f62874087 to your computer and use it in GitHub Desktop.
Save choco-bot/b35983509210ffd2d10ed48f62874087 to your computer and use it in GitHub Desktop.
glpi-agent v1.4.20230619 - 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-1409604995-1251682611-678278009-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.4" displayVersion="1.4">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E1BE6C18-6BF4-1014-844A-F1F114E3EA24}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{E1BE6C18-6BF4-1014-844A-F1F114E3EA24}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230623</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\]]></InstallSource>
<Language>1033</Language>
<Version>17039360</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>4</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3e9d7.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent v1.4.20230619 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/glpi-agent/1.4.20230619
  • Tested 23 Jun 2023 10:16:43 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?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\glpi-agent.nupkg" checksum="B17A6A1F359B5A7161380E5E9767A45D" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec" checksum="4F4407EF64C07508B481866E99872CE1" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1" checksum="1833C358E942DA62CA706F9452925F98" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1" checksum="CC02D3D40E2E19B0B77658040C2F0A39" />
</files>
</fileSnapshot>
2023-06-23 10:14:09,806 844 [DEBUG] - XmlConfiguration is now operational
2023-06-23 10:14:09,947 844 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:14:09,962 844 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:14:09,962 844 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:14:09,962 844 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:14:09,977 844 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:14:09,977 844 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-23 10:14:10,260 844 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-23 10:14:10,274 844 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-23 10:14:10,274 844 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-23 10:14:10,274 844 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-23 10:14:10,274 844 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-23 10:14:10,290 844 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-23 10:14:10,290 844 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-23 10:14:10,290 844 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-23 10:14:10,290 844 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-23 10:14:10,306 844 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-23 10:14:10,306 844 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-23 10:14:10,306 844 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-23 10:14:10,321 844 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-23 10:14:10,337 844 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-23 10:14:10,337 844 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-23 10:14:10,337 844 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-23 10:14:10,337 844 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-23 10:14:10,353 844 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-23 10:14:10,633 844 [INFO ] - ============================================================
2023-06-23 10:14:11,040 844 [INFO ] - Chocolatey v1.3.0
2023-06-23 10:14:11,087 844 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-23 10:14:11,087 844 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-23 10:14:11,103 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-23 10:14:11,134 844 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent --version 1.4.20230619 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-23 10:14:11,150 844 [DEBUG] - Received arguments: install glpi-agent --version 1.4.20230619 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-22 12:49:36,729 844 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-22 12:49:36,760 844 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-22 12:49:36,775 844 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-22 12:49:36,931 844 [DEBUG] - Performing validation checks.
2023-06-22 12:49:36,947 844 [DEBUG] - Global Configuration Validation Checks:
2023-06-22 12:49:36,963 844 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-22 12:49:36,978 844 [DEBUG] - System State Validation Checks:
2023-06-22 12:49:36,994 844 [DEBUG] - Reboot Requirement Checks:
2023-06-22 12:49:37,010 844 [DEBUG] - - Pending Computer Rename = Checked
2023-06-22 12:49:37,010 844 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-22 12:49:37,025 844 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-22 12:49:37,025 844 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-22 12:49:37,041 844 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-22 12:49:37,041 844 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-22 12:49:37,073 844 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-22 12:49:37,135 844 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-22 12:49:37,150 844 [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-06-22 12:49:37,197 844 [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'|
Version='1.4.20230619'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='glpi-agent'|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-TGOD4CCUTHG'|
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-06-22 12:49:37,229 844 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-22 12:49:37,244 844 [INFO ] - Installing the following packages:
2023-06-22 12:49:37,259 844 [INFO ] - glpi-agent
2023-06-22 12:49:37,259 844 [INFO ] - By installing, you accept licenses for the packages.
2023-06-22 12:49:37,291 844 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-22 12:49:37,291 844 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-22 12:49:37,306 844 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-22 12:49:37,306 844 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-22 12:49:37,322 844 [DEBUG] - * 'ChocolateyLastPathUpdate'='133319117188422619' ('User')
2023-06-22 12:49:37,322 844 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-22 12:49:37,337 844 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-22 12:49:37,337 844 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-22 12:49:37,353 844 [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-06-22 12:49:37,353 844 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-22 12:49:37,369 844 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-22 12:49:37,369 844 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-22 12:49:37,384 844 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-22 12:49:37,384 844 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-22 12:49:37,400 844 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-22 12:49:37,400 844 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-22 12:49:37,400 844 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-22 12:49:37,416 844 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-22 12:49:37,416 844 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-22 12:49:37,431 844 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-22 12:49:37,431 844 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-22 12:49:39,526 844 [INFO ] - [NuGet] Installing 'glpi-agent 1.4.20230619'.
2023-06-22 12:49:39,556 844 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent\tools'.
2023-06-22 12:49:39,587 844 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent\tools'.
2023-06-22 12:49:39,603 844 [DEBUG] - [NuGet] Added file 'glpi-agent.nupkg' to folder 'glpi-agent'.
2023-06-22 12:49:39,963 844 [DEBUG] - [NuGet] Added file 'glpi-agent.nuspec' to folder 'glpi-agent'.
2023-06-22 12:49:39,963 844 [INFO ] - [NuGet] Successfully installed 'glpi-agent 1.4.20230619'.
2023-06-22 12:49:39,978 844 [INFO ] -
glpi-agent v1.4.20230619 (forced)
2023-06-22 12:49:40,009 844 [INFO ] - glpi-agent package files install completed. Performing other installation steps.
2023-06-22 12:49:40,104 844 [DEBUG] - Setting installer args for glpi-agent
2023-06-22 12:49:40,104 844 [DEBUG] - Setting package parameters for glpi-agent
2023-06-22 12:49:40,119 844 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1':
2023-06-22 12:49:40,135 844 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x86.msi'
checksum = '987C4874EAE6291D9ADCF50B70509B57FA5DF2C205624B1CF0975F8A3E59C02E'
checksumType = 'sha256'
url64 = 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi'
checksum64 = '95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5'
checksumType64= 'sha256'
silentArgs = "/quiet"
validExitCodes= @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgs
2023-06-22 12:49:40,228 844 [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\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-22 12:49:40,244 844 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-22 12:49:40,994 844 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-22 12:49:41,479 844 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-22 12:49:41,494 844 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-22 12:49:41,494 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-22 12:49:41,509 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-22 12:49:41,525 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-22 12:49:41,525 844 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-22 12:49:41,541 844 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-22 12:49:41,541 844 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-22 12:49:41,541 844 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-22 12:49:41,556 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-22 12:49:41,556 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-22 12:49:41,572 844 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-22 12:49:41,572 844 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-22 12:49:41,587 844 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-22 12:49:41,587 844 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-22 12:49:41,603 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-22 12:49:41,603 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-22 12:49:41,618 844 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-22 12:49:41,618 844 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-22 12:49:41,634 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-22 12:49:41,634 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-22 12:49:41,650 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-22 12:49:41,650 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-22 12:49:41,650 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-22 12:49:41,666 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-22 12:49:41,682 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-22 12:49:41,682 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-22 12:49:41,697 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-22 12:49:41,697 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-22 12:49:41,712 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-22 12:49:41,712 844 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-22 12:49:41,728 844 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-22 12:49:41,728 844 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-22 12:49:41,743 844 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-22 12:49:41,743 844 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-22 12:49:41,759 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-22 12:49:41,759 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-22 12:49:41,775 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-22 12:49:41,775 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-22 12:49:41,791 844 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-22 12:49:41,791 844 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-22 12:49:41,806 844 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-22 12:49:41,869 844 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-22 12:49:41,869 844 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-22 12:49:41,884 844 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-22 12:49:41,884 844 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-22 12:49:41,900 844 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-22 12:49:41,900 844 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-22 12:49:41,915 844 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-22 12:49:41,915 844 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-22 12:49:41,948 844 [DEBUG] - Loading community extensions
2023-06-22 12:49:41,979 844 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-22 12:49:41,995 844 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-22 12:49:42,105 844 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-22 12:49:42,121 844 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-22 12:49:42,121 844 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-22 12:49:42,134 844 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-22 12:49:42,134 844 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-22 12:49:42,150 844 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-22 12:49:42,150 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-22 12:49:42,166 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-22 12:49:42,166 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-22 12:49:42,181 844 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-22 12:49:42,181 844 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-22 12:49:42,197 844 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-22 12:49:42,197 844 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-22 12:49:42,212 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-22 12:49:42,212 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-22 12:49:42,228 844 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-22 12:49:42,228 844 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-22 12:49:42,244 844 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-22 12:49:42,244 844 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-22 12:49:42,259 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-22 12:49:42,259 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-22 12:49:42,275 844 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-22 12:49:42,307 844 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-22 12:49:42,307 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-22 12:49:42,322 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-22 12:49:42,322 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-22 12:49:42,322 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-22 12:49:42,338 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-22 12:49:42,353 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-22 12:49:42,353 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-22 12:49:42,369 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-22 12:49:42,369 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-22 12:49:42,385 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-22 12:49:42,385 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-22 12:49:42,400 844 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-22 12:49:42,400 844 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-22 12:49:42,416 844 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-22 12:49:42,416 844 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-22 12:49:42,431 844 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-22 12:49:42,431 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-22 12:49:42,447 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-22 12:49:42,447 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-22 12:49:42,463 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-22 12:49:42,463 844 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-22 12:49:42,479 844 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-22 12:49:42,479 844 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-22 12:49:42,493 844 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-22 12:49:42,493 844 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-22 12:49:42,509 844 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-22 12:49:42,509 844 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-22 12:49:42,509 844 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-22 12:49:42,525 844 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-22 12:49:42,525 844 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-22 12:49:42,541 844 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-22 12:49:42,541 844 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-22 12:49:42,556 844 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-22 12:49:42,572 844 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-22 12:49:42,572 844 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-22 12:49:42,588 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-22 12:49:42,588 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-22 12:49:42,603 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-22 12:49:42,603 844 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-22 12:49:42,618 844 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-22 12:49:42,618 844 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-22 12:49:42,635 844 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-22 12:49:42,635 844 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-22 12:49:42,650 844 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-22 12:49:42,650 844 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-22 12:49:42,665 844 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-22 12:49:42,665 844 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-22 12:49:42,681 844 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-22 12:49:42,681 844 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-22 12:49:42,681 844 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-22 12:49:42,697 844 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-22 12:49:42,713 844 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-22 12:49:42,713 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-22 12:49:42,713 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-22 12:49:42,728 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-22 12:49:42,744 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-22 12:49:42,744 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-22 12:49:42,759 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-22 12:49:42,759 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-22 12:49:42,775 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-22 12:49:42,775 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-22 12:49:42,790 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-22 12:49:42,806 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-22 12:49:42,806 844 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-22 12:49:42,822 844 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-22 12:49:42,822 844 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-22 12:49:42,837 844 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-22 12:49:42,837 844 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-22 12:49:42,853 844 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-22 12:49:42,853 844 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-22 12:49:42,869 844 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-22 12:49:42,869 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-22 12:49:42,869 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-22 12:49:42,885 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-22 12:49:42,900 844 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-22 12:49:42,900 844 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-22 12:49:42,916 844 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-22 12:49:42,916 844 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-22 12:49:42,931 844 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-22 12:49:42,931 844 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-22 12:49:42,947 844 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-22 12:49:42,947 844 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-22 12:49:42,963 844 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-22 12:49:42,963 844 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-22 12:49:42,979 844 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-22 12:49:43,089 844 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-22 12:49:43,119 844 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent v1.4.20230619 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-22 12:49:43,197 844 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1'
2023-06-22 12:49:43,353 844 [DEBUG] - Running Install-ChocolateyPackage -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x86.msi' -checksum '987C4874EAE6291D9ADCF50B70509B57FA5DF2C205624B1CF0975F8A3E59C02E' -checksum64 '95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5' -silentArgs '/quiet' -packageName 'glpi-agent' -checksumType 'sha256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'sha256' -url64bit 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi'
2023-06-22 12:49:43,528 844 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'glpi-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\glpi-agentInstall.msi' -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x86.msi' -url64bit 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi' -checksum '987C4874EAE6291D9ADCF50B70509B57FA5DF2C205624B1CF0975F8A3E59C02E' -checksumType 'sha256' -checksum64 '95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-06-22 12:49:43,713 844 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-06-22 12:49:43,744 844 [DEBUG] - CPU is 64 bit
2023-06-22 12:49:43,776 844 [DEBUG] - Setting url to 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi' and bitPackage to 64
2023-06-22 12:49:43,854 844 [DEBUG] - Running Get-WebFileName -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi' -defaultName 'glpi-agentInstall.msi'
2023-06-23 10:14:19,501 844 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-06-23 10:14:19,532 844 [DEBUG] - File name determined from url is 'GLPI-Agent-1.4-x64.msi'
2023-06-23 10:14:19,610 844 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi' -ErrorAction 'Stop'
2023-06-23 10:14:19,641 844 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-23 10:14:19,641 844 [DEBUG] - Request Headers:
2023-06-23 10:14:19,656 844 [DEBUG] - 'Accept':'*/*'
2023-06-23 10:14:19,672 844 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-06-23 10:14:19,906 844 [DEBUG] - Response Headers:
2023-06-23 10:14:19,937 844 [DEBUG] - 'Connection':'keep-alive'
2023-06-23 10:14:19,953 844 [DEBUG] - 'Content-MD5':'qi2dQ6Wz82CpvFxI5u3aKg=='
2023-06-23 10:14:19,953 844 [DEBUG] - 'x-ms-request-id':'9759ccdc-b01e-004d-18b9-a52eb9000000'
2023-06-23 10:14:19,969 844 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-06-23 10:14:19,984 844 [DEBUG] - 'x-ms-creation-time':'Fri, 01 Jul 2022 09:37:45 GMT'
2023-06-23 10:14:20,000 844 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-06-23 10:14:20,016 844 [DEBUG] - 'x-ms-lease-state':'available'
2023-06-23 10:14:20,033 844 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-06-23 10:14:20,033 844 [DEBUG] - 'Content-Disposition':'attachment; filename=GLPI-Agent-1.4-x64.msi'
2023-06-23 10:14:20,047 844 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-06-23 10:14:20,047 844 [DEBUG] - 'Fastly-Restarts':'1'
2023-06-23 10:14:20,062 844 [DEBUG] - 'Age':'0'
2023-06-23 10:14:20,062 844 [DEBUG] - 'X-Served-By':'cache-iad-kiad7000140-IAD, cache-mci680035-MCI'
2023-06-23 10:14:20,078 844 [DEBUG] - 'X-Cache':'HIT, HIT'
2023-06-23 10:14:20,078 844 [DEBUG] - 'X-Cache-Hits':'19, 1'
2023-06-23 10:14:20,094 844 [DEBUG] - 'X-Timer':'S1687515260.829344,VS0,VE54'
2023-06-23 10:14:20,172 844 [DEBUG] - 'Accept-Ranges':'bytes'
2023-06-23 10:14:20,172 844 [DEBUG] - 'Content-Length':'15056896'
2023-06-23 10:14:20,187 844 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-06-23 10:14:20,187 844 [DEBUG] - 'Date':'Fri, 23 Jun 2023 10:14:19 GMT'
2023-06-23 10:14:20,203 844 [DEBUG] - 'ETag':'"0x8DA5B455A3E1F59"'
2023-06-23 10:14:20,218 844 [DEBUG] - 'Last-Modified':'Fri, 01 Jul 2022 09:37:45 GMT'
2023-06-23 10:14:20,218 844 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-06-23 10:14:20,218 844 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-06-23 10:14:20,281 844 [INFO ] - Downloading glpi-agent 64 bit
from 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi'
2023-06-23 10:14:20,344 844 [DEBUG] - Running Get-WebFile -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi' -options 'System.Collections.Hashtable'
2023-06-23 10:14:20,360 844 [DEBUG] - Setting request timeout to 30000
2023-06-23 10:14:20,375 844 [DEBUG] - Setting read/write timeout to 2700000
2023-06-23 10:14:20,375 844 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-23 10:14:21,016 844 [DEBUG] - Downloading https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi
2023-06-23 10:14:22,563 844 [INFO ] -
2023-06-23 10:14:22,594 844 [INFO ] - Download of GLPI-Agent-1.4-x64.msi (14.36 MB) completed.
2023-06-23 10:14:25,703 844 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-06-23 10:14:25,719 844 [DEBUG] - Verifying package provided checksum of '95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi'.
2023-06-23 10:14:25,751 844 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi' -checksum '95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5' -checksumType 'sha256' -originalUrl 'https://github.com/glpi-project/glpi-agent/releases/download/1.4/GLPI-Agent-1.4-x64.msi'
2023-06-23 10:14:25,781 844 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-06-23 10:14:25,796 844 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi"]
2023-06-23 10:14:26,125 844 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="95C3E417BF7FCC7674B033C1ABB89E108F7677BC01A2628EC5A00A6BC289A7E5" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi"] exited with '0'.
2023-06-23 10:14:26,204 844 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'glpi-agent' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2023-06-23 10:14:26,219 844 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-23 10:14:26,234 844 [INFO ] - Installing glpi-agent...
2023-06-23 10:14:26,377 844 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-23 10:14:26,455 844 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-23 10:14:26,501 844 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-23 10:15:12,281 844 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619\GLPI-Agent-1.4-x64.msi" /quiet ] exited with '0'.
2023-06-23 10:15:12,327 844 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-23 10:15:12,375 844 [INFO ] - glpi-agent has been installed.
2023-06-23 10:15:12,391 844 [DEBUG] - ----------------------------------------------------------------------
2023-06-23 10:15:12,406 844 [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\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-23 10:15:12,422 844 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-23 10:15:12,750 844 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-23 10:15:12,797 844 [INFO ] - glpi-agent may be able to be automatically uninstalled.
2023-06-23 10:15:12,984 844 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent'
2023-06-23 10:15:13,000 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nupkg'
with checksum 'B17A6A1F359B5A7161380E5E9767A45D'
2023-06-23 10:15:13,015 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec'
with checksum '4F4407EF64C07508B481866E99872CE1'
2023-06-23 10:15:13,015 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1'
with checksum '1833C358E942DA62CA706F9452925F98'
2023-06-23 10:15:13,031 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1'
with checksum 'CC02D3D40E2E19B0B77658040C2F0A39'
2023-06-23 10:15:13,219 844 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619".
2023-06-23 10:15:13,283 844 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619\.registry'
2023-06-23 10:15:13,328 844 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619\.files'
2023-06-23 10:15:13,344 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619\.extra".
2023-06-23 10:15:13,359 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619\.version".
2023-06-23 10:15:13,375 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619\.sxs".
2023-06-23 10:15:13,375 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.4.20230619\.pin".
2023-06-23 10:15:13,391 844 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-23 10:15:13,406 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent\.chocolateyPending".
2023-06-23 10:15:13,406 844 [INFO ] - The install of glpi-agent was successful.
2023-06-23 10:15:13,422 844 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-23 10:15:13,437 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent.1.4.20230619.nupkg".
2023-06-23 10:15:13,470 844 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-23 10:15:13,484 844 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-23 10:15:13,532 844 [DEBUG] - Exiting with 0
2023-06-23 10:15:25,953 4292 [DEBUG] - XmlConfiguration is now operational
2023-06-23 10:15:26,094 4292 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:15:26,094 4292 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:15:26,094 4292 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:15:26,109 4292 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:15:26,109 4292 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-23 10:15:26,109 4292 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-23 10:15:26,391 4292 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-23 10:15:26,391 4292 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-23 10:15:26,406 4292 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-23 10:15:26,406 4292 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-23 10:15:26,406 4292 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-23 10:15:26,422 4292 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-23 10:15:26,422 4292 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-23 10:15:26,422 4292 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-23 10:15:26,437 4292 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-23 10:15:26,437 4292 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-23 10:15:26,437 4292 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-23 10:15:26,437 4292 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-23 10:15:26,453 4292 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-23 10:15:26,453 4292 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-23 10:15:26,453 4292 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-23 10:15:26,468 4292 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-23 10:15:26,468 4292 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-23 10:15:26,468 4292 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-23 10:15:26,751 4292 [INFO ] - ============================================================
2023-06-23 10:15:27,125 4292 [INFO ] - Chocolatey v1.3.0
2023-06-23 10:15:27,156 4292 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-23 10:15:27,172 4292 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-23 10:15:27,172 4292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-23 10:15:27,203 4292 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent --version 1.4.20230619 -dvy --execution-timeout=2700
2023-06-23 10:15:27,219 4292 [DEBUG] - Received arguments: uninstall glpi-agent --version 1.4.20230619 -dvy --execution-timeout=2700
2023-06-23 10:15:27,390 4292 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-23 10:15:27,407 4292 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-23 10:15:27,438 4292 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-23 10:15:27,578 4292 [DEBUG] - Performing validation checks.
2023-06-23 10:15:27,593 4292 [DEBUG] - Global Configuration Validation Checks:
2023-06-23 10:15:27,609 4292 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-23 10:15:27,625 4292 [DEBUG] - System State Validation Checks:
2023-06-23 10:15:27,625 4292 [DEBUG] - Reboot Requirement Checks:
2023-06-23 10:15:27,640 4292 [DEBUG] - - Pending Computer Rename = Checked
2023-06-23 10:15:27,656 4292 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-23 10:15:27,671 4292 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-23 10:15:27,671 4292 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-23 10:15:27,671 4292 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-23 10:15:27,688 4292 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-23 10:15:27,703 4292 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-23 10:15:27,765 4292 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-23 10:15:27,765 4292 [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-06-23 10:15:27,812 4292 [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'|
Version='1.4.20230619'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='glpi-agent'|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-TGOD4CCUTHG'|
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-06-23 10:15:27,828 4292 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-23 10:15:27,860 4292 [INFO ] - Uninstalling the following packages:
2023-06-23 10:15:27,875 4292 [INFO ] - glpi-agent
2023-06-23 10:15:27,891 4292 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-23 10:15:27,891 4292 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-23 10:15:27,906 4292 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-23 10:15:27,906 4292 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-23 10:15:27,922 4292 [DEBUG] - * 'ChocolateyLastPathUpdate'='133319117188422619' ('User')
2023-06-23 10:15:27,922 4292 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-23 10:15:27,938 4292 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-23 10:15:27,938 4292 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-23 10:15:27,953 4292 [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-06-23 10:15:27,953 4292 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-23 10:15:27,969 4292 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-23 10:15:27,969 4292 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-23 10:15:27,984 4292 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-23 10:15:27,984 4292 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-23 10:15:27,984 4292 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-23 10:15:28,000 4292 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-23 10:15:28,015 4292 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-23 10:15:28,015 4292 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-23 10:15:28,015 4292 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-23 10:15:28,031 4292 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-23 10:15:28,031 4292 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-23 10:15:28,187 4292 [DEBUG] - Running list with the following filter = ''
2023-06-23 10:15:28,203 4292 [DEBUG] - --- Start of List ---
2023-06-23 10:15:28,625 4292 [DEBUG] - glpi-agent 1.4.20230619
2023-06-23 10:15:28,641 4292 [DEBUG] - --- End of List ---
2023-06-23 10:15:28,937 4292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-23 10:15:28,953 4292 [DEBUG] - Backing up existing glpi-agent prior to operation.
2023-06-23 10:15:28,969 4292 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent'
2023-06-23 10:15:30,984 4292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent".
2023-06-23 10:15:30,984 4292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent\glpi-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nupkg".
2023-06-23 10:15:31,000 4292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent\glpi-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec".
2023-06-23 10:15:31,015 4292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent\tools".
2023-06-23 10:15:31,015 4292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1".
2023-06-23 10:15:31,031 4292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1".
2023-06-23 10:15:32,547 4292 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent'
2023-06-23 10:15:32,562 4292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nupkg'
with checksum 'B17A6A1F359B5A7161380E5E9767A45D'
2023-06-23 10:15:32,562 4292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec'
with checksum '4F4407EF64C07508B481866E99872CE1'
2023-06-23 10:15:32,577 4292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1'
with checksum '1833C358E942DA62CA706F9452925F98'
2023-06-23 10:15:32,577 4292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1'
with checksum 'CC02D3D40E2E19B0B77658040C2F0A39'
2023-06-23 10:15:32,953 4292 [INFO ] - [NuGet] Uninstalling 'glpi-agent 1.4.20230619'.
2023-06-23 10:15:32,968 4292 [INFO ] -
glpi-agent v1.4.20230619
2023-06-23 10:15:33,032 4292 [DEBUG] - Setting installer args for glpi-agent
2023-06-23 10:15:33,047 4292 [DEBUG] - Setting package parameters for glpi-agent
2023-06-23 10:15:33,047 4292 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1':
2023-06-23 10:15:33,062 4292 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'GLPI Agent*'
fileType = 'msi'
silentArgs = "/qn /norestart"
validExitCodes= @(0, 3010, 1605, 1614, 1641)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$packageArgs['silentArgs'] = "$($key.PSChildName) $($packageArgs['silentArgs'])"
Uninstall-ChocolateyPackage @packageArgs
# Remove folders
if(Test-Path $($key.InstallLocation)) {
if(Test-Path "$($key.InstallLocation)logs\glpi-agent.log") {
Move-Item -Path "$($key.InstallLocation)logs\glpi-agent.log" -Destination $env:TEMP -Force -ErrorAction SilentlyContinue
}
Remove-Item -Path $($key.InstallLocation) -Recurse -Force -ErrorAction SilentlyContinue
}
} 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 | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
2023-06-23 10:15:33,126 4292 [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\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-23 10:15:33,140 4292 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-23 10:15:33,859 4292 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-23 10:15:34,422 4292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-23 10:15:34,437 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-23 10:15:34,453 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-23 10:15:34,453 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-23 10:15:34,453 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-23 10:15:34,469 4292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-23 10:15:34,484 4292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-23 10:15:34,499 4292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-23 10:15:34,499 4292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-23 10:15:34,515 4292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-23 10:15:34,515 4292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-23 10:15:34,531 4292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-23 10:15:34,531 4292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-23 10:15:34,546 4292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-23 10:15:34,546 4292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-23 10:15:34,563 4292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-23 10:15:34,578 4292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-23 10:15:34,578 4292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-23 10:15:34,594 4292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-23 10:15:34,594 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-23 10:15:34,609 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-23 10:15:34,625 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-23 10:15:34,625 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-23 10:15:34,641 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-23 10:15:34,641 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-23 10:15:34,656 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-23 10:15:34,656 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-23 10:15:34,671 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-23 10:15:34,671 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-23 10:15:34,687 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-23 10:15:34,703 4292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-23 10:15:34,703 4292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-23 10:15:34,718 4292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-23 10:15:34,718 4292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-23 10:15:34,734 4292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-23 10:15:34,734 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-23 10:15:34,749 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-23 10:15:34,749 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-23 10:15:34,765 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-23 10:15:34,765 4292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-23 10:15:34,781 4292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-23 10:15:34,781 4292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-23 10:15:34,796 4292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-23 10:15:34,796 4292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-23 10:15:34,812 4292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-23 10:15:34,812 4292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-23 10:15:34,828 4292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-23 10:15:34,828 4292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-23 10:15:34,844 4292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-23 10:15:34,844 4292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-23 10:15:34,907 4292 [DEBUG] - Loading community extensions
2023-06-23 10:15:34,953 4292 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-23 10:15:34,953 4292 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-23 10:15:35,094 4292 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-23 10:15:35,109 4292 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-23 10:15:35,125 4292 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-23 10:15:35,125 4292 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-23 10:15:35,125 4292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-23 10:15:35,141 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-23 10:15:35,156 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-23 10:15:35,156 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-23 10:15:35,171 4292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-23 10:15:35,171 4292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-23 10:15:35,188 4292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-23 10:15:35,188 4292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-23 10:15:35,203 4292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-23 10:15:35,219 4292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-23 10:15:35,219 4292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-23 10:15:35,234 4292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-23 10:15:35,234 4292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-23 10:15:35,250 4292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-23 10:15:35,250 4292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-23 10:15:35,265 4292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-23 10:15:35,265 4292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-23 10:15:35,281 4292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-23 10:15:35,281 4292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-23 10:15:35,296 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-23 10:15:35,296 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-23 10:15:35,312 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-23 10:15:35,312 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-23 10:15:35,328 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-23 10:15:35,328 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-23 10:15:35,344 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-23 10:15:35,359 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-23 10:15:35,359 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-23 10:15:35,375 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-23 10:15:35,375 4292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-23 10:15:35,392 4292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-23 10:15:35,406 4292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-23 10:15:35,406 4292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-23 10:15:35,421 4292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-23 10:15:35,421 4292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-23 10:15:35,437 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-23 10:15:35,437 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-23 10:15:35,453 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-23 10:15:35,468 4292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-23 10:15:35,468 4292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-23 10:15:35,484 4292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-23 10:15:35,484 4292 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-23 10:15:35,499 4292 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-23 10:15:35,499 4292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-23 10:15:35,515 4292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-23 10:15:35,531 4292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-23 10:15:35,531 4292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-23 10:15:35,547 4292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-23 10:15:35,547 4292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-23 10:15:35,562 4292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-23 10:15:35,562 4292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-23 10:15:35,562 4292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-23 10:15:35,578 4292 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-23 10:15:35,578 4292 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-23 10:15:35,593 4292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-23 10:15:35,593 4292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-23 10:15:35,609 4292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-23 10:15:35,609 4292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-23 10:15:35,625 4292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-23 10:15:35,640 4292 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-23 10:15:35,640 4292 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-23 10:15:35,656 4292 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-23 10:15:35,656 4292 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-23 10:15:35,671 4292 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-23 10:15:35,671 4292 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-23 10:15:35,687 4292 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-23 10:15:35,687 4292 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-23 10:15:35,703 4292 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-23 10:15:35,718 4292 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-23 10:15:35,718 4292 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-23 10:15:35,734 4292 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-23 10:15:35,734 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-23 10:15:35,749 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-23 10:15:35,749 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-23 10:15:35,765 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-23 10:15:35,765 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-23 10:15:35,781 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-23 10:15:35,781 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-23 10:15:35,796 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-23 10:15:35,796 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-23 10:15:35,812 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-23 10:15:35,812 4292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-23 10:15:35,827 4292 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-23 10:15:35,827 4292 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-23 10:15:35,843 4292 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-23 10:15:35,859 4292 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-23 10:15:35,859 4292 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-23 10:15:35,875 4292 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-23 10:15:35,875 4292 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-23 10:15:35,890 4292 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-23 10:15:35,890 4292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-23 10:15:35,906 4292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-23 10:15:35,906 4292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-23 10:15:35,921 4292 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-23 10:15:35,921 4292 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-23 10:15:35,938 4292 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-23 10:15:35,953 4292 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-23 10:15:35,953 4292 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-23 10:15:35,969 4292 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-23 10:15:35,969 4292 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-23 10:15:35,984 4292 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-23 10:15:35,984 4292 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-23 10:15:36,000 4292 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-23 10:15:36,000 4292 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-23 10:15:36,125 4292 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-23 10:15:36,157 4292 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent v1.4.20230619 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-23 10:15:36,219 4292 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1'
2023-06-23 10:15:36,375 4292 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent*'
2023-06-23 10:15:36,390 4292 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-23 10:15:36,515 4292 [DEBUG] - Registry uninstall keys on system: 28
2023-06-23 10:15:36,531 4292 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-23 10:15:36,641 4292 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent*'
2023-06-23 10:15:36,704 4292 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent' -fileType 'msi' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{E1BE6C18-6BF4-1014-844A-F1F114E3EA24} /qn /norestart'
2023-06-23 10:15:36,734 4292 [INFO ] - Uninstalling glpi-agent...
2023-06-23 10:15:36,923 4292 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {E1BE6C18-6BF4-1014-844A-F1F114E3EA24} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-23 10:15:37,000 4292 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-23 10:15:37,062 4292 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {E1BE6C18-6BF4-1014-844A-F1F114E3EA24} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-23 10:16:36,187 4292 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {E1BE6C18-6BF4-1014-844A-F1F114E3EA24} /qn /norestart ] exited with '0'.
2023-06-23 10:16:36,234 4292 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-23 10:16:36,250 4292 [INFO ] - 0
2023-06-23 10:16:36,266 4292 [INFO ] - glpi-agent has been uninstalled.
2023-06-23 10:16:36,343 4292 [DEBUG] - ----------------------------------------------------------------------
2023-06-23 10:16:36,359 4292 [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\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-23 10:16:36,406 4292 [INFO ] - Running auto uninstaller...
2023-06-23 10:16:36,422 4292 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-23 10:16:40,797 4292 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{E1BE6C18-6BF4-1014-844A-F1F114E3EA24}' for 'GLPI Agent 1.4'
2023-06-23 10:16:40,814 4292 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.4' appears to have been uninstalled already by other means.
2023-06-23 10:16:40,828 4292 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? False
2023-06-23 10:16:40,845 4292 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E1BE6C18-6BF4-1014-844A-F1F114E3EA24}' value 'InstallLocation' - found? False
2023-06-23 10:16:40,859 4292 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-23 10:16:42,109 4292 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-23 10:16:42,141 4292 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent".
2023-06-23 10:16:42,296 4292 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent\tools'.
2023-06-23 10:16:42,312 4292 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent\tools'.
2023-06-23 10:16:42,328 4292 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent\tools'.
2023-06-23 10:16:42,328 4292 [DEBUG] - [NuGet] Removed file 'glpi-agent.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent'.
2023-06-23 10:16:42,343 4292 [DEBUG] - [NuGet] Removed file 'glpi-agent.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent'.
2023-06-23 10:16:42,343 4292 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent'.
2023-06-23 10:16:42,359 4292 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent 1.4.20230619'.
2023-06-23 10:16:42,376 4292 [INFO ] - glpi-agent has been successfully uninstalled.
2023-06-23 10:16:42,390 4292 [DEBUG] - Removing nupkg if it still exists.
2023-06-23 10:16:42,406 4292 [DEBUG] - Ensuring removal of installation files.
2023-06-23 10:16:42,406 4292 [DEBUG] - Ensuring removal of package cache files.
2023-06-23 10:16:42,422 4292 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.4.20230619".
2023-06-23 10:16:42,469 4292 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-23 10:16:42,484 4292 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-23 10:16:42,515 4292 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment