Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 17, 2023 15:54
Show Gist options
  • Save choco-bot/e4ea9cda0889854091dab767a6e4a0d1 to your computer and use it in GitHub Desktop.
Save choco-bot/e4ea9cda0889854091dab767a6e4a0d1 to your computer and use it in GitHub Desktop.
glpi-agent v1.5.0 - 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-295306283-1597655263-3574438847-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AACB13FD-6BF5-1014-8857-9DC1274EEC25}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{AACB13FD-6BF5-1014-8857-9DC1274EEC25}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230717</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\]]></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\41378.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/glpi-agent/1.5.0
  • Tested 17 Jul 2023 15:54:51 +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="8B63F5B2F7BAC473128199845D667F4F" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec" checksum="BDBB3FA9A2E9FF77F369272C2CBE8F7D" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1" checksum="3B9446AC07D99A18640521BB78108014" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1" checksum="CC02D3D40E2E19B0B77658040C2F0A39" />
</files>
</fileSnapshot>
2023-07-17 15:52:06,338 3048 [DEBUG] - XmlConfiguration is now operational
2023-07-17 15:52:06,511 3048 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:52:06,511 3048 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:52:06,525 3048 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:52:06,525 3048 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:52:06,525 3048 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:52:06,541 3048 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-17 15:52:06,822 3048 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-17 15:52:06,822 3048 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-17 15:52:06,822 3048 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-17 15:52:06,822 3048 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-17 15:52:06,838 3048 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-17 15:52:06,838 3048 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-17 15:52:06,838 3048 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-17 15:52:06,853 3048 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-17 15:52:06,853 3048 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-17 15:52:06,853 3048 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-17 15:52:06,869 3048 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-17 15:52:06,869 3048 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-17 15:52:06,869 3048 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-17 15:52:06,885 3048 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-17 15:52:06,885 3048 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-17 15:52:06,885 3048 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-17 15:52:06,885 3048 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-17 15:52:06,900 3048 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-17 15:52:07,260 3048 [INFO ] - ============================================================
2023-07-17 15:52:07,682 3048 [INFO ] - Chocolatey v1.3.0
2023-07-17 15:52:07,714 3048 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-17 15:52:07,714 3048 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-17 15:52:07,729 3048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-17 15:52:07,761 3048 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent --version 1.5.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-17 15:52:07,776 3048 [DEBUG] - Received arguments: install glpi-agent --version 1.5.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-17 15:52:07,979 3048 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-17 15:52:08,027 3048 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-17 15:52:08,058 3048 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-17 15:52:08,229 3048 [DEBUG] - Performing validation checks.
2023-07-17 15:52:08,246 3048 [DEBUG] - Global Configuration Validation Checks:
2023-07-17 15:52:08,260 3048 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-17 15:52:08,276 3048 [DEBUG] - System State Validation Checks:
2023-07-17 15:52:08,276 3048 [DEBUG] - Reboot Requirement Checks:
2023-07-17 15:52:08,292 3048 [DEBUG] - - Pending Computer Rename = Checked
2023-07-17 15:52:08,308 3048 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-17 15:52:08,322 3048 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-17 15:52:08,322 3048 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-17 15:52:08,337 3048 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-17 15:52:08,354 3048 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-17 15:52:08,370 3048 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-17 15:52:08,432 3048 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-17 15:52:08,447 3048 [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-07-17 15:52:08,510 3048 [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.5.0'|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-O1NBU424698'|
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-07-17 15:52:08,525 3048 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-17 15:52:08,557 3048 [INFO ] - Installing the following packages:
2023-07-17 15:52:08,557 3048 [INFO ] - glpi-agent
2023-07-17 15:52:08,572 3048 [INFO ] - By installing, you accept licenses for the packages.
2023-07-17 15:52:08,588 3048 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-17 15:52:08,605 3048 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-17 15:52:08,605 3048 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 15:52:08,605 3048 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 15:52:08,619 3048 [DEBUG] - * 'ChocolateyLastPathUpdate'='133340723152818450' ('User')
2023-07-17 15:52:08,619 3048 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-17 15:52:08,635 3048 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-17 15:52:08,635 3048 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-17 15:52:08,635 3048 [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-07-17 15:52:08,650 3048 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-17 15:52:08,666 3048 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-17 15:52:08,666 3048 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-17 15:52:08,682 3048 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 15:52:08,682 3048 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 15:52:08,697 3048 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-17 15:52:08,697 3048 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-17 15:52:08,713 3048 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-17 15:52:08,713 3048 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-17 15:52:08,713 3048 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-17 15:52:08,728 3048 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-17 15:52:08,744 3048 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-17 15:52:10,948 3048 [INFO ] - [NuGet] Installing 'glpi-agent 1.5.0'.
2023-07-17 15:52:10,963 3048 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent\tools'.
2023-07-17 15:52:10,978 3048 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent\tools'.
2023-07-17 15:52:10,995 3048 [DEBUG] - [NuGet] Added file 'glpi-agent.nupkg' to folder 'glpi-agent'.
2023-07-17 15:52:11,354 3048 [DEBUG] - [NuGet] Added file 'glpi-agent.nuspec' to folder 'glpi-agent'.
2023-07-17 15:52:11,370 3048 [INFO ] - [NuGet] Successfully installed 'glpi-agent 1.5.0'.
2023-07-17 15:52:11,370 3048 [INFO ] -
glpi-agent v1.5.0 (forced)
2023-07-17 15:52:11,421 3048 [INFO ] - glpi-agent package files install completed. Performing other installation steps.
2023-07-17 15:52:11,496 3048 [DEBUG] - Setting installer args for glpi-agent
2023-07-17 15:52:11,510 3048 [DEBUG] - Setting package parameters for glpi-agent
2023-07-17 15:52:11,510 3048 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1':
2023-07-17 15:52:11,542 3048 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x86.msi'
checksum = 'b9ffaef446ac86fad22c19d7daf57b76918760ac828d990f390066ec2972d025'
checksumType = 'sha256'
url64 = 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi'
checksum64 = '0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d'
checksumType64= 'sha256'
silentArgs = "/quiet"
validExitCodes= @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgs
2023-07-17 15:52:11,604 3048 [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-07-17 15:52:11,620 3048 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-17 15:52:12,370 3048 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-17 15:52:12,933 3048 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 15:52:12,947 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 15:52:12,947 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 15:52:12,963 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 15:52:12,963 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 15:52:12,979 3048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 15:52:12,979 3048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 15:52:12,995 3048 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 15:52:12,995 3048 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 15:52:13,010 3048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 15:52:13,010 3048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 15:52:13,026 3048 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 15:52:13,026 3048 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 15:52:13,041 3048 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 15:52:13,041 3048 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 15:52:13,056 3048 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 15:52:13,056 3048 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 15:52:13,072 3048 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 15:52:13,072 3048 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 15:52:13,088 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 15:52:13,104 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 15:52:13,104 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 15:52:13,119 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 15:52:13,135 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 15:52:13,135 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 15:52:13,150 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 15:52:13,150 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 15:52:13,150 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 15:52:13,166 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 15:52:13,182 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 15:52:13,182 3048 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 15:52:13,198 3048 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 15:52:13,198 3048 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 15:52:13,213 3048 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 15:52:13,213 3048 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 15:52:13,229 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 15:52:13,229 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 15:52:13,245 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 15:52:13,245 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 15:52:13,260 3048 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 15:52:13,260 3048 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 15:52:13,276 3048 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 15:52:13,276 3048 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 15:52:13,291 3048 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 15:52:13,291 3048 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 15:52:13,307 3048 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 15:52:13,307 3048 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 15:52:13,322 3048 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 15:52:13,322 3048 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 15:52:13,338 3048 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 15:52:13,370 3048 [DEBUG] - Loading community extensions
2023-07-17 15:52:13,402 3048 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-17 15:52:13,416 3048 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-17 15:52:13,558 3048 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 15:52:13,558 3048 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 15:52:13,573 3048 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 15:52:13,573 3048 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 15:52:13,588 3048 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 15:52:13,588 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 15:52:13,604 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 15:52:13,604 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 15:52:13,619 3048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 15:52:13,619 3048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 15:52:13,635 3048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 15:52:13,635 3048 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 15:52:13,650 3048 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 15:52:13,666 3048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 15:52:13,666 3048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 15:52:13,681 3048 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 15:52:13,697 3048 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 15:52:13,697 3048 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 15:52:13,713 3048 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 15:52:13,713 3048 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 15:52:13,728 3048 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 15:52:13,728 3048 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 15:52:13,744 3048 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 15:52:13,744 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 15:52:13,760 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 15:52:13,760 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 15:52:13,775 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 15:52:13,792 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 15:52:13,792 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 15:52:13,807 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 15:52:13,822 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 15:52:13,822 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 15:52:13,822 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 15:52:13,838 3048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 15:52:13,854 3048 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 15:52:13,854 3048 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 15:52:13,869 3048 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 15:52:13,869 3048 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 15:52:13,884 3048 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 15:52:13,884 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 15:52:13,900 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 15:52:13,900 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 15:52:13,916 3048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 15:52:13,916 3048 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 15:52:13,931 3048 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 15:52:13,931 3048 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 15:52:13,947 3048 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 15:52:13,963 3048 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 15:52:13,963 3048 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 15:52:13,979 3048 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 15:52:13,979 3048 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 15:52:13,994 3048 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 15:52:13,994 3048 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 15:52:14,010 3048 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 15:52:14,025 3048 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 15:52:14,025 3048 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 15:52:14,041 3048 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-17 15:52:14,041 3048 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-17 15:52:14,057 3048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-17 15:52:14,057 3048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-17 15:52:14,072 3048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-17 15:52:14,072 3048 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-17 15:52:14,088 3048 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-17 15:52:14,088 3048 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-17 15:52:14,104 3048 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-17 15:52:14,104 3048 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-17 15:52:14,119 3048 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-17 15:52:14,135 3048 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-17 15:52:14,135 3048 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-17 15:52:14,151 3048 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-17 15:52:14,151 3048 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-17 15:52:14,166 3048 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-17 15:52:14,182 3048 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-17 15:52:14,182 3048 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-17 15:52:14,214 3048 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-17 15:52:14,214 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 15:52:14,229 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 15:52:14,229 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-17 15:52:14,244 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-17 15:52:14,260 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-17 15:52:14,260 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-17 15:52:14,275 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 15:52:14,275 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-17 15:52:14,291 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-17 15:52:14,307 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-17 15:52:14,307 3048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-17 15:52:14,322 3048 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-17 15:52:14,322 3048 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 15:52:14,338 3048 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-17 15:52:14,338 3048 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-17 15:52:14,353 3048 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 15:52:14,353 3048 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-17 15:52:14,369 3048 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 15:52:14,369 3048 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-17 15:52:14,369 3048 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 15:52:14,385 3048 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-17 15:52:14,385 3048 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 15:52:14,400 3048 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-17 15:52:14,400 3048 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-17 15:52:14,416 3048 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-17 15:52:14,416 3048 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-17 15:52:14,432 3048 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-17 15:52:14,432 3048 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-17 15:52:14,447 3048 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-17 15:52:14,447 3048 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-17 15:52:14,463 3048 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-17 15:52:14,463 3048 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-17 15:52:14,479 3048 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-17 15:52:14,619 3048 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-17 15:52:14,635 3048 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent v1.5.0 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-17 15:52:14,713 3048 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1'
2023-07-17 15:52:14,885 3048 [DEBUG] - Running Install-ChocolateyPackage -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x86.msi' -checksum 'b9ffaef446ac86fad22c19d7daf57b76918760ac828d990f390066ec2972d025' -checksum64 '0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d' -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.5/GLPI-Agent-1.5-x64.msi'
2023-07-17 15:52:15,073 3048 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'glpi-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\glpi-agentInstall.msi' -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x86.msi' -url64bit 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi' -checksum 'b9ffaef446ac86fad22c19d7daf57b76918760ac828d990f390066ec2972d025' -checksumType 'sha256' -checksum64 '0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-07-17 15:52:15,150 3048 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-07-17 15:52:15,291 3048 [DEBUG] - CPU is 64 bit
2023-07-17 15:52:15,306 3048 [DEBUG] - Setting url to 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi' and bitPackage to 64
2023-07-17 15:52:15,416 3048 [DEBUG] - Running Get-WebFileName -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi' -defaultName 'glpi-agentInstall.msi'
2023-07-17 15:52:16,275 3048 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-07-17 15:52:16,292 3048 [DEBUG] - File name determined from url is 'GLPI-Agent-1.5-x64.msi'
2023-07-17 15:52:16,402 3048 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi' -ErrorAction 'Stop'
2023-07-17 15:52:16,417 3048 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-07-17 15:52:16,417 3048 [DEBUG] - Request Headers:
2023-07-17 15:52:16,463 3048 [DEBUG] - 'Accept':'*/*'
2023-07-17 15:52:16,463 3048 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-07-17 15:52:16,775 3048 [DEBUG] - Response Headers:
2023-07-17 15:52:16,808 3048 [DEBUG] - 'Connection':'keep-alive'
2023-07-17 15:52:16,808 3048 [DEBUG] - 'Content-MD5':'x4QA4oH6nKIQhiEva/VeLw=='
2023-07-17 15:52:16,822 3048 [DEBUG] - 'x-ms-request-id':'875125d2-b01e-002f-18c5-b8ec9e000000'
2023-07-17 15:52:16,838 3048 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-07-17 15:52:16,858 3048 [DEBUG] - 'x-ms-creation-time':'Wed, 21 Jun 2023 14:33:35 GMT'
2023-07-17 15:52:16,870 3048 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-07-17 15:52:16,870 3048 [DEBUG] - 'x-ms-lease-state':'available'
2023-07-17 15:52:16,885 3048 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-07-17 15:52:16,885 3048 [DEBUG] - 'Content-Disposition':'attachment; filename=GLPI-Agent-1.5-x64.msi'
2023-07-17 15:52:16,900 3048 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-07-17 15:52:16,917 3048 [DEBUG] - 'Fastly-Restarts':'1'
2023-07-17 15:52:16,917 3048 [DEBUG] - 'Age':'1'
2023-07-17 15:52:16,932 3048 [DEBUG] - 'X-Served-By':'cache-iad-kiad7000097-IAD, cache-mci680069-MCI'
2023-07-17 15:52:16,947 3048 [DEBUG] - 'X-Cache':'HIT, HIT'
2023-07-17 15:52:16,947 3048 [DEBUG] - 'X-Cache-Hits':'10, 0'
2023-07-17 15:52:16,963 3048 [DEBUG] - 'X-Timer':'S1689609137.725490,VS0,VE51'
2023-07-17 15:52:17,042 3048 [DEBUG] - 'Accept-Ranges':'bytes'
2023-07-17 15:52:17,042 3048 [DEBUG] - 'Content-Length':'16621756'
2023-07-17 15:52:17,056 3048 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-07-17 15:52:17,056 3048 [DEBUG] - 'Date':'Mon, 17 Jul 2023 15:52:16 GMT'
2023-07-17 15:52:17,072 3048 [DEBUG] - 'ETag':'"0x8DB72647EA870E7"'
2023-07-17 15:52:17,072 3048 [DEBUG] - 'Last-Modified':'Wed, 21 Jun 2023 14:33:35 GMT'
2023-07-17 15:52:17,088 3048 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-07-17 15:52:17,088 3048 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-07-17 15:52:17,135 3048 [INFO ] - Downloading glpi-agent 64 bit
from 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi'
2023-07-17 15:52:17,213 3048 [DEBUG] - Running Get-WebFile -url 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi' -options 'System.Collections.Hashtable'
2023-07-17 15:52:17,229 3048 [DEBUG] - Setting request timeout to 30000
2023-07-17 15:52:17,229 3048 [DEBUG] - Setting read/write timeout to 2700000
2023-07-17 15:52:17,244 3048 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-07-17 15:52:17,916 3048 [DEBUG] - Downloading https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi
2023-07-17 15:52:19,652 3048 [INFO ] -
2023-07-17 15:52:19,666 3048 [INFO ] - Download of GLPI-Agent-1.5-x64.msi (15.85 MB) completed.
2023-07-17 15:52:22,744 3048 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-07-17 15:52:22,761 3048 [DEBUG] - Verifying package provided checksum of '0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi'.
2023-07-17 15:52:22,808 3048 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi' -checksum '0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d' -checksumType 'sha256' -originalUrl 'https://github.com/glpi-project/glpi-agent/releases/download/1.5/GLPI-Agent-1.5-x64.msi'
2023-07-17 15:52:22,839 3048 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-07-17 15:52:22,854 3048 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi"]
2023-07-17 15:52:23,214 3048 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="0f2cfadee623013028b73bf31c89ca3f43a3797c95a7cf45fdeb320ea73a4b7d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi"] exited with '0'.
2023-07-17 15:52:23,292 3048 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'glpi-agent' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2023-07-17 15:52:23,307 3048 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-17 15:52:23,324 3048 [INFO ] - Installing glpi-agent...
2023-07-17 15:52:23,495 3048 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-17 15:52:23,573 3048 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-17 15:52:23,606 3048 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-07-17 15:53:12,714 3048 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0\GLPI-Agent-1.5-x64.msi" /quiet ] exited with '0'.
2023-07-17 15:53:12,824 3048 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-17 15:53:12,839 3048 [INFO ] - glpi-agent has been installed.
2023-07-17 15:53:12,855 3048 [DEBUG] - ----------------------------------------------------------------------
2023-07-17 15:53:12,917 3048 [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-07-17 15:53:12,933 3048 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-17 15:53:13,183 3048 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-17 15:53:13,261 3048 [INFO ] - glpi-agent may be able to be automatically uninstalled.
2023-07-17 15:53:13,433 3048 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent'
2023-07-17 15:53:13,449 3048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nupkg'
with checksum '8B63F5B2F7BAC473128199845D667F4F'
2023-07-17 15:53:13,464 3048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec'
with checksum 'BDBB3FA9A2E9FF77F369272C2CBE8F7D'
2023-07-17 15:53:13,464 3048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1'
with checksum '3B9446AC07D99A18640521BB78108014'
2023-07-17 15:53:13,480 3048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1'
with checksum 'CC02D3D40E2E19B0B77658040C2F0A39'
2023-07-17 15:53:13,668 3048 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0".
2023-07-17 15:53:13,762 3048 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0\.registry'
2023-07-17 15:53:13,809 3048 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0\.files'
2023-07-17 15:53:13,824 3048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0\.extra".
2023-07-17 15:53:13,839 3048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0\.version".
2023-07-17 15:53:13,839 3048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0\.sxs".
2023-07-17 15:53:13,854 3048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent.1.5.0\.pin".
2023-07-17 15:53:13,870 3048 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-17 15:53:13,870 3048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent\.chocolateyPending".
2023-07-17 15:53:13,886 3048 [INFO ] - The install of glpi-agent was successful.
2023-07-17 15:53:13,902 3048 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-07-17 15:53:13,917 3048 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent.1.5.0.nupkg".
2023-07-17 15:53:13,964 3048 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-17 15:53:13,980 3048 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-17 15:53:14,027 3048 [DEBUG] - Exiting with 0
2023-07-17 15:53:26,948 3396 [DEBUG] - XmlConfiguration is now operational
2023-07-17 15:53:27,152 3396 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:53:27,152 3396 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:53:27,152 3396 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:53:27,167 3396 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:53:27,167 3396 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 15:53:27,167 3396 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-17 15:53:27,496 3396 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-17 15:53:27,496 3396 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-17 15:53:27,496 3396 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-17 15:53:27,511 3396 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-17 15:53:27,511 3396 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-17 15:53:27,511 3396 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-17 15:53:27,527 3396 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-17 15:53:27,527 3396 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-17 15:53:27,542 3396 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-17 15:53:27,557 3396 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-17 15:53:27,557 3396 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-17 15:53:27,557 3396 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-17 15:53:27,573 3396 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-17 15:53:27,573 3396 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-17 15:53:27,573 3396 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-17 15:53:27,589 3396 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-17 15:53:27,589 3396 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-17 15:53:27,589 3396 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-17 15:53:27,949 3396 [INFO ] - ============================================================
2023-07-17 15:53:28,371 3396 [INFO ] - Chocolatey v1.3.0
2023-07-17 15:53:28,402 3396 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-17 15:53:28,418 3396 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-17 15:53:28,433 3396 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-17 15:53:28,464 3396 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent --version 1.5.0 -dvy --execution-timeout=2700
2023-07-17 15:53:28,480 3396 [DEBUG] - Received arguments: uninstall glpi-agent --version 1.5.0 -dvy --execution-timeout=2700
2023-07-17 15:53:28,699 3396 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-17 15:53:28,732 3396 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-17 15:53:28,762 3396 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-17 15:53:28,964 3396 [DEBUG] - Performing validation checks.
2023-07-17 15:53:28,981 3396 [DEBUG] - Global Configuration Validation Checks:
2023-07-17 15:53:28,981 3396 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-17 15:53:29,012 3396 [DEBUG] - System State Validation Checks:
2023-07-17 15:53:29,027 3396 [DEBUG] - Reboot Requirement Checks:
2023-07-17 15:53:29,042 3396 [DEBUG] - - Pending Computer Rename = Checked
2023-07-17 15:53:29,058 3396 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-17 15:53:29,058 3396 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-17 15:53:29,074 3396 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-17 15:53:29,089 3396 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-17 15:53:29,089 3396 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-17 15:53:29,182 3396 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-17 15:53:29,591 3396 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-17 15:53:29,606 3396 [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-07-17 15:53:29,667 3396 [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.5.0'|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-O1NBU424698'|
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-07-17 15:53:29,682 3396 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-17 15:53:29,730 3396 [INFO ] - Uninstalling the following packages:
2023-07-17 15:53:29,746 3396 [INFO ] - glpi-agent
2023-07-17 15:53:29,761 3396 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-17 15:53:29,777 3396 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-17 15:53:29,793 3396 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 15:53:29,793 3396 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 15:53:29,808 3396 [DEBUG] - * 'ChocolateyLastPathUpdate'='133340723152818450' ('User')
2023-07-17 15:53:29,808 3396 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-17 15:53:29,823 3396 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-17 15:53:29,823 3396 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-17 15:53:29,839 3396 [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-07-17 15:53:29,839 3396 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-17 15:53:29,855 3396 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-17 15:53:29,855 3396 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-17 15:53:29,870 3396 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 15:53:29,870 3396 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 15:53:29,886 3396 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-17 15:53:29,901 3396 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-17 15:53:29,901 3396 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-17 15:53:29,918 3396 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-17 15:53:29,918 3396 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-17 15:53:29,918 3396 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-17 15:53:29,933 3396 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-17 15:53:30,089 3396 [DEBUG] - Running list with the following filter = ''
2023-07-17 15:53:30,104 3396 [DEBUG] - --- Start of List ---
2023-07-17 15:53:30,589 3396 [DEBUG] - glpi-agent 1.5.0
2023-07-17 15:53:30,605 3396 [DEBUG] - --- End of List ---
2023-07-17 15:53:30,917 3396 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-17 15:53:30,933 3396 [DEBUG] - Backing up existing glpi-agent prior to operation.
2023-07-17 15:53:30,949 3396 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent'
2023-07-17 15:53:32,980 3396 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent".
2023-07-17 15:53:32,996 3396 [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-07-17 15:53:33,011 3396 [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-07-17 15:53:33,026 3396 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent\tools".
2023-07-17 15:53:33,042 3396 [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-07-17 15:53:33,042 3396 [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-07-17 15:53:34,589 3396 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent'
2023-07-17 15:53:34,604 3396 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nupkg'
with checksum '8B63F5B2F7BAC473128199845D667F4F'
2023-07-17 15:53:34,620 3396 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\glpi-agent.nuspec'
with checksum 'BDBB3FA9A2E9FF77F369272C2CBE8F7D'
2023-07-17 15:53:34,620 3396 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyinstall.ps1'
with checksum '3B9446AC07D99A18640521BB78108014'
2023-07-17 15:53:34,636 3396 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1'
with checksum 'CC02D3D40E2E19B0B77658040C2F0A39'
2023-07-17 15:53:35,073 3396 [INFO ] - [NuGet] Uninstalling 'glpi-agent 1.5.0'.
2023-07-17 15:53:35,090 3396 [INFO ] -
glpi-agent v1.5.0
2023-07-17 15:53:35,168 3396 [DEBUG] - Setting installer args for glpi-agent
2023-07-17 15:53:35,168 3396 [DEBUG] - Setting package parameters for glpi-agent
2023-07-17 15:53:35,183 3396 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1':
2023-07-17 15:53:35,199 3396 [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-07-17 15:53:35,277 3396 [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-07-17 15:53:35,293 3396 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-17 15:53:36,106 3396 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-17 15:53:36,683 3396 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 15:53:36,683 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 15:53:36,699 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 15:53:36,699 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 15:53:36,714 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 15:53:36,714 3396 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 15:53:36,730 3396 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 15:53:36,730 3396 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 15:53:36,745 3396 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 15:53:36,745 3396 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 15:53:36,761 3396 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 15:53:36,777 3396 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 15:53:36,777 3396 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 15:53:36,792 3396 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 15:53:36,792 3396 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 15:53:36,808 3396 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 15:53:36,808 3396 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 15:53:36,823 3396 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 15:53:36,839 3396 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 15:53:36,839 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 15:53:36,855 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 15:53:36,870 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 15:53:36,870 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 15:53:36,886 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 15:53:36,901 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 15:53:36,901 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 15:53:36,917 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 15:53:36,933 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 15:53:36,949 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 15:53:36,949 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 15:53:36,964 3396 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 15:53:36,964 3396 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 15:53:36,981 3396 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 15:53:36,981 3396 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 15:53:36,995 3396 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 15:53:36,995 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 15:53:37,011 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 15:53:37,026 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 15:53:37,026 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 15:53:37,026 3396 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 15:53:37,042 3396 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 15:53:37,058 3396 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 15:53:37,073 3396 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 15:53:37,073 3396 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 15:53:37,089 3396 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 15:53:37,089 3396 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 15:53:37,105 3396 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 15:53:37,105 3396 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 15:53:37,120 3396 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 15:53:37,136 3396 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 15:53:37,169 3396 [DEBUG] - Loading community extensions
2023-07-17 15:53:37,214 3396 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-17 15:53:37,230 3396 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-17 15:53:37,356 3396 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 15:53:37,356 3396 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 15:53:37,371 3396 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 15:53:37,386 3396 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 15:53:37,386 3396 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 15:53:37,401 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 15:53:37,401 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 15:53:37,417 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 15:53:37,432 3396 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 15:53:37,432 3396 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 15:53:37,432 3396 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 15:53:37,448 3396 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 15:53:37,464 3396 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 15:53:37,464 3396 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 15:53:37,464 3396 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 15:53:37,480 3396 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 15:53:37,495 3396 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 15:53:37,495 3396 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 15:53:37,511 3396 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 15:53:37,511 3396 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 15:53:37,526 3396 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 15:53:37,526 3396 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 15:53:37,542 3396 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 15:53:37,558 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 15:53:37,558 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 15:53:37,574 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 15:53:37,589 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 15:53:37,589 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 15:53:37,589 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 15:53:37,604 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 15:53:37,604 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 15:53:37,621 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 15:53:37,636 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 15:53:37,636 3396 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 15:53:37,652 3396 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 15:53:37,652 3396 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 15:53:37,667 3396 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 15:53:37,667 3396 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 15:53:37,667 3396 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 15:53:37,684 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 15:53:37,684 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 15:53:37,698 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 15:53:37,698 3396 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 15:53:37,714 3396 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 15:53:37,714 3396 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 15:53:37,730 3396 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 15:53:37,730 3396 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 15:53:37,745 3396 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 15:53:37,745 3396 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 15:53:37,761 3396 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 15:53:37,761 3396 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 15:53:37,777 3396 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 15:53:37,777 3396 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 15:53:37,792 3396 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 15:53:37,792 3396 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 15:53:37,808 3396 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 15:53:37,808 3396 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-17 15:53:37,824 3396 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-17 15:53:37,824 3396 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-17 15:53:37,839 3396 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-17 15:53:37,839 3396 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-17 15:53:37,855 3396 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-17 15:53:37,855 3396 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-17 15:53:37,871 3396 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-17 15:53:37,871 3396 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-17 15:53:37,886 3396 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-17 15:53:37,886 3396 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-17 15:53:37,902 3396 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-17 15:53:37,917 3396 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-17 15:53:37,917 3396 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-17 15:53:37,933 3396 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-17 15:53:37,933 3396 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-17 15:53:37,948 3396 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-17 15:53:37,964 3396 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-17 15:53:37,964 3396 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-17 15:53:37,980 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 15:53:37,980 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 15:53:37,996 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-17 15:53:38,011 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-17 15:53:38,011 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-17 15:53:38,028 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-17 15:53:38,042 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 15:53:38,042 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-17 15:53:38,058 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-17 15:53:38,058 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-17 15:53:38,073 3396 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-17 15:53:38,089 3396 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-17 15:53:38,089 3396 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 15:53:38,105 3396 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-17 15:53:38,105 3396 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-17 15:53:38,120 3396 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 15:53:38,120 3396 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-17 15:53:38,136 3396 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 15:53:38,151 3396 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-17 15:53:38,151 3396 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 15:53:38,167 3396 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-17 15:53:38,167 3396 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 15:53:38,183 3396 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-17 15:53:38,183 3396 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-17 15:53:38,198 3396 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-17 15:53:38,198 3396 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-17 15:53:38,214 3396 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-17 15:53:38,230 3396 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-17 15:53:38,230 3396 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-17 15:53:38,245 3396 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-17 15:53:38,261 3396 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-17 15:53:38,261 3396 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-17 15:53:38,277 3396 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-17 15:53:38,386 3396 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-17 15:53:38,418 3396 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent v1.5.0 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-17 15:53:38,496 3396 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent\tools\chocolateyuninstall.ps1'
2023-07-17 15:53:38,651 3396 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent*'
2023-07-17 15:53:38,699 3396 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-07-17 15:53:38,840 3396 [DEBUG] - Registry uninstall keys on system: 28
2023-07-17 15:53:38,840 3396 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-07-17 15:53:38,981 3396 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent*'
2023-07-17 15:53:39,075 3396 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent' -fileType 'msi' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{AACB13FD-6BF5-1014-8857-9DC1274EEC25} /qn /norestart'
2023-07-17 15:53:39,120 3396 [INFO ] - Uninstalling glpi-agent...
2023-07-17 15:53:39,324 3396 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {AACB13FD-6BF5-1014-8857-9DC1274EEC25} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-17 15:53:39,418 3396 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-17 15:53:39,481 3396 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {AACB13FD-6BF5-1014-8857-9DC1274EEC25} /qn /norestart ]. This may take a while, depending on the statements.
2023-07-17 15:54:47,840 3396 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {AACB13FD-6BF5-1014-8857-9DC1274EEC25} /qn /norestart ] exited with '0'.
2023-07-17 15:54:47,870 3396 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-17 15:54:47,886 3396 [INFO ] - 0
2023-07-17 15:54:47,901 3396 [INFO ] - glpi-agent has been uninstalled.
2023-07-17 15:54:47,980 3396 [DEBUG] - ----------------------------------------------------------------------
2023-07-17 15:54:48,012 3396 [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-07-17 15:54:48,074 3396 [INFO ] - Running auto uninstaller...
2023-07-17 15:54:48,074 3396 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-07-17 15:54:50,123 3396 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{AACB13FD-6BF5-1014-8857-9DC1274EEC25}' for 'GLPI Agent 1.5'
2023-07-17 15:54:50,123 3396 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5' appears to have been uninstalled already by other means.
2023-07-17 15:54:50,136 3396 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? False
2023-07-17 15:54:50,168 3396 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AACB13FD-6BF5-1014-8857-9DC1274EEC25}' value 'InstallLocation' - found? False
2023-07-17 15:54:50,184 3396 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-17 15:54:50,308 3396 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-17 15:54:50,323 3396 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent".
2023-07-17 15:54:50,401 3396 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent\tools'.
2023-07-17 15:54:50,417 3396 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent\tools'.
2023-07-17 15:54:50,433 3396 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent\tools'.
2023-07-17 15:54:50,433 3396 [DEBUG] - [NuGet] Removed file 'glpi-agent.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent'.
2023-07-17 15:54:50,448 3396 [DEBUG] - [NuGet] Removed file 'glpi-agent.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent'.
2023-07-17 15:54:50,464 3396 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent'.
2023-07-17 15:54:50,464 3396 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent 1.5.0'.
2023-07-17 15:54:50,479 3396 [INFO ] - glpi-agent has been successfully uninstalled.
2023-07-17 15:54:50,496 3396 [DEBUG] - Removing nupkg if it still exists.
2023-07-17 15:54:50,511 3396 [DEBUG] - Ensuring removal of installation files.
2023-07-17 15:54:50,527 3396 [DEBUG] - Ensuring removal of package cache files.
2023-07-17 15:54:50,527 3396 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\glpi-agent\1.5.0".
2023-07-17 15:54:50,590 3396 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-17 15:54:50,605 3396 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-17 15:54:50,636 3396 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment