Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 17, 2023 20:48
Show Gist options
  • Save choco-bot/8cb834253d0abaec5dbe1989d10fce84 to your computer and use it in GitHub Desktop.
Save choco-bot/8cb834253d0abaec5dbe1989d10fce84 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230609 - 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-2806287847-3994094490-1724072447-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git5c580c8c)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B63D18D-6BF5-1014-94C7-D58110A8EEC1}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{7B63D18D-6BF5-1014-94C7-D58110A8EEC1}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230617</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\]]></InstallSource>
<Language>1033</Language>
<Version>17104896</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>5</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3c7a9.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg" checksum="C6A3707529747AF32D4DDA84E48D13C4" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="9B34717CC89DF822A8A4F1FD25D26B26" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="7969135DC61A2EA99B19D33FB028562D" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="7D3131918D67D75EC1A20EF78DEF3D6B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1" checksum="DE828B733952B51030AFFCFAA23BD7A6" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1" checksum="6D34979CB00EB53E8CD68A6CF9947AD2" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1" checksum="6B0400F7F1626CE5D4B3DE26A190423B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi" checksum="A9EDE394FBC6FDB91A0CED04483876C8" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-17 20:44:49,277 4640 [DEBUG] - XmlConfiguration is now operational
2023-06-17 20:44:49,417 4640 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:44:49,417 4640 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:44:49,433 4640 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:44:49,433 4640 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:44:49,433 4640 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:44:49,433 4640 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-17 20:44:49,699 4640 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-17 20:44:49,699 4640 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-17 20:44:49,699 4640 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-17 20:44:49,715 4640 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-17 20:44:49,715 4640 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-17 20:44:49,715 4640 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-17 20:44:49,715 4640 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-17 20:44:49,730 4640 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-17 20:44:49,730 4640 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-17 20:44:49,730 4640 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-17 20:44:49,745 4640 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-17 20:44:49,745 4640 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-17 20:44:49,745 4640 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-17 20:44:49,745 4640 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-17 20:44:49,745 4640 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-17 20:44:49,761 4640 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-17 20:44:49,761 4640 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-17 20:44:49,761 4640 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-17 20:44:50,058 4640 [INFO ] - ============================================================
2023-06-17 20:44:50,433 4640 [INFO ] - Chocolatey v1.3.0
2023-06-17 20:44:50,464 4640 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-17 20:44:50,481 4640 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-17 20:44:50,481 4640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-17 20:44:50,496 4640 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230609 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-17 20:44:50,511 4640 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230609 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-17 20:44:50,683 4640 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-17 20:44:50,699 4640 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-17 20:44:50,730 4640 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-17 20:44:50,886 4640 [DEBUG] - Performing validation checks.
2023-06-17 20:44:50,902 4640 [DEBUG] - Global Configuration Validation Checks:
2023-06-17 20:44:50,902 4640 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-17 20:44:50,918 4640 [DEBUG] - System State Validation Checks:
2023-06-17 20:44:50,934 4640 [DEBUG] - Reboot Requirement Checks:
2023-06-17 20:44:50,948 4640 [DEBUG] - - Pending Computer Rename = Checked
2023-06-17 20:44:50,948 4640 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-17 20:44:50,964 4640 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-17 20:44:50,964 4640 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-17 20:44:50,964 4640 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-17 20:44:50,980 4640 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-17 20:44:50,996 4640 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-17 20:44:51,058 4640 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-17 20:44:51,074 4640 [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-17 20:44:51,105 4640 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230609'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-N6C8A78ENGH'|
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-17 20:44:51,136 4640 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-17 20:44:51,152 4640 [INFO ] - Installing the following packages:
2023-06-17 20:44:51,167 4640 [INFO ] - glpi-agent-nightly.install
2023-06-17 20:44:51,167 4640 [INFO ] - By installing, you accept licenses for the packages.
2023-06-17 20:44:51,199 4640 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-17 20:44:51,199 4640 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-17 20:44:51,214 4640 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 20:44:51,214 4640 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 20:44:51,230 4640 [DEBUG] - * 'ChocolateyLastPathUpdate'='133314802898949136' ('User')
2023-06-17 20:44:51,230 4640 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-17 20:44:51,230 4640 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-17 20:44:51,245 4640 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-17 20:44:51,245 4640 [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-17 20:44:51,261 4640 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-17 20:44:51,261 4640 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-17 20:44:51,277 4640 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-17 20:44:51,277 4640 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 20:44:51,293 4640 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 20:44:51,293 4640 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-17 20:44:51,308 4640 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-17 20:44:51,308 4640 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-17 20:44:51,308 4640 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-17 20:44:51,324 4640 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-17 20:44:51,324 4640 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-17 20:44:51,339 4640 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-17 20:44:55,028 4640 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230609'.
2023-06-17 20:44:55,073 4640 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-17 20:44:55,073 4640 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-17 20:44:55,073 4640 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 20:44:55,089 4640 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 20:44:55,089 4640 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 20:44:55,136 4640 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git5c580c8c-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 20:44:55,199 4640 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-17 20:44:55,527 4640 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-17 20:44:55,543 4640 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230609'.
2023-06-17 20:44:55,543 4640 [INFO ] -
glpi-agent-nightly.install v1.5.20230609 (forced)
2023-06-17 20:44:55,574 4640 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-17 20:44:55,668 4640 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-17 20:44:55,668 4640 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-17 20:44:55,668 4640 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-17 20:44:55,699 4640 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'MSI'
url = 'https://nightly.glpi-project.org/glpi-agent/GLPI-Agent-1.5-git5c580c8c-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git5c580c8c-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = 'A7600232C222909E7560351860702B3C8B914F18571C5E5ABB8580681414A5E8' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = 'C285744F2D2570A2F814068D74AB2F10631AACC2A2D9C64765A69F101EC0CA9B' # (From $Latest)
checksumType64 = 'sha256' # (From $Latest)
# MSI
silentArgs = '/quiet'
validExitCodes= @(0)
}
If ((Get-OSArchitectureWidth 32) -or $env:ChocolateyForceX86 -eq 'true') {
# Download the 32-bit installer on-the-fly
Install-ChocolateyPackage @packageArgs
} Else {
# Use the embedded 64-bit installer
# Access file from $toolsDir
$packageArgs.file64 = Join-Path $toolsDir $packageArgs.file64
Install-ChocolateyInstallPackage @packageArgs
}
2023-06-17 20:44:55,886 4640 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-17 20:44:55,902 4640 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-17 20:44:56,559 4640 [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-17 20:44:57,028 4640 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 20:44:57,042 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 20:44:57,042 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 20:44:57,058 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 20:44:57,058 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 20:44:57,073 4640 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 20:44:57,073 4640 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 20:44:57,090 4640 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 20:44:57,090 4640 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 20:44:57,105 4640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 20:44:57,105 4640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:44:57,105 4640 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 20:44:57,120 4640 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 20:44:57,120 4640 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 20:44:57,136 4640 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 20:44:57,136 4640 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 20:44:57,152 4640 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 20:44:57,152 4640 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 20:44:57,152 4640 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 20:44:57,168 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:44:57,183 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:44:57,183 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:44:57,245 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:44:57,292 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 20:44:57,354 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 20:44:57,386 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:44:57,386 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:44:57,418 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 20:44:57,433 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:44:57,433 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 20:44:57,449 4640 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 20:44:57,449 4640 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 20:44:57,464 4640 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 20:44:57,464 4640 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:44:57,480 4640 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 20:44:57,480 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 20:44:57,496 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:44:57,496 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:44:57,511 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:44:57,511 4640 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 20:44:57,527 4640 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 20:44:57,543 4640 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 20:44:57,543 4640 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 20:44:57,558 4640 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 20:44:57,558 4640 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 20:44:57,558 4640 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 20:44:57,590 4640 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 20:44:57,590 4640 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:44:57,605 4640 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 20:44:57,605 4640 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 20:44:57,668 4640 [DEBUG] - Loading community extensions
2023-06-17 20:44:57,699 4640 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-17 20:44:57,699 4640 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-17 20:44:57,825 4640 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 20:44:57,825 4640 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 20:44:57,840 4640 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 20:44:57,840 4640 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 20:44:57,855 4640 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 20:44:57,855 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 20:44:57,855 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 20:44:57,871 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 20:44:57,871 4640 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 20:44:57,886 4640 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 20:44:57,886 4640 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 20:44:57,901 4640 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 20:44:57,901 4640 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 20:44:57,918 4640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 20:44:57,918 4640 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:44:57,933 4640 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 20:44:57,933 4640 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 20:44:57,948 4640 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 20:44:57,948 4640 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 20:44:57,964 4640 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 20:44:57,964 4640 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 20:44:57,980 4640 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 20:44:57,980 4640 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 20:44:57,996 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:44:57,996 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:44:58,012 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:44:58,012 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:44:58,012 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 20:44:58,027 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 20:44:58,027 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:44:58,043 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:44:58,043 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 20:44:58,043 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:44:58,058 4640 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 20:44:58,058 4640 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 20:44:58,074 4640 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 20:44:58,074 4640 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 20:44:58,090 4640 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:44:58,090 4640 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 20:44:58,105 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 20:44:58,105 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:44:58,121 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:44:58,121 4640 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:44:58,136 4640 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 20:44:58,136 4640 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 20:44:58,153 4640 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 20:44:58,153 4640 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 20:44:58,168 4640 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 20:44:58,168 4640 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 20:44:58,184 4640 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 20:44:58,184 4640 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 20:44:58,199 4640 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 20:44:58,199 4640 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 20:44:58,214 4640 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:44:58,214 4640 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 20:44:58,230 4640 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 20:44:58,245 4640 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-17 20:44:58,245 4640 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-17 20:44:58,261 4640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-17 20:44:58,261 4640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-17 20:44:58,277 4640 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-17 20:44:58,277 4640 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-17 20:44:58,277 4640 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-17 20:44:58,292 4640 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-17 20:44:58,308 4640 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-17 20:44:58,308 4640 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-17 20:44:58,324 4640 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:44:58,324 4640 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-17 20:44:58,339 4640 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-17 20:44:58,339 4640 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-17 20:44:58,355 4640 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-17 20:44:58,355 4640 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-17 20:44:58,370 4640 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-17 20:44:58,370 4640 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-17 20:44:58,370 4640 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-17 20:44:58,386 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:44:58,386 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:44:58,402 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:44:58,402 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:44:58,417 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-17 20:44:58,417 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-17 20:44:58,433 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:44:58,433 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:44:58,449 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-17 20:44:58,449 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:44:58,464 4640 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-17 20:44:58,464 4640 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-17 20:44:58,480 4640 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 20:44:58,480 4640 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-17 20:44:58,495 4640 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-17 20:44:58,495 4640 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:44:58,495 4640 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-17 20:44:58,511 4640 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 20:44:58,511 4640 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-17 20:44:58,527 4640 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:44:58,527 4640 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:44:58,543 4640 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:44:58,558 4640 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-17 20:44:58,558 4640 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-17 20:44:58,574 4640 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-17 20:44:58,574 4640 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-17 20:44:58,574 4640 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-17 20:44:58,590 4640 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-17 20:44:58,590 4640 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-17 20:44:58,605 4640 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:44:58,605 4640 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-17 20:44:58,620 4640 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-17 20:44:58,620 4640 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-17 20:44:58,855 4640 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-17 20:44:58,871 4640 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230609 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-17 20:44:58,949 4640 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-17 20:44:59,026 4640 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-17 20:44:59,183 4640 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-17 20:44:59,199 4640 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-17 20:44:59,230 4640 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-17 20:44:59,417 4640 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools' -statements '/i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-17 20:44:59,497 4640 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-17 20:44:59,542 4640 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-17 20:45:43,495 4640 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi" /quiet ] exited with '0'.
2023-06-17 20:45:43,573 4640 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-17 20:45:43,604 4640 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-17 20:45:43,619 4640 [DEBUG] - ----------------------------------------------------------------------
2023-06-17 20:45:43,823 4640 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-17 20:45:43,839 4640 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-17 20:45:44,166 4640 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-17 20:45:44,245 4640 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-17 20:45:44,417 4640 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-17 20:45:44,495 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'C6A3707529747AF32D4DDA84E48D13C4'
2023-06-17 20:45:44,495 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '9B34717CC89DF822A8A4F1FD25D26B26'
2023-06-17 20:45:44,510 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '7969135DC61A2EA99B19D33FB028562D'
2023-06-17 20:45:44,510 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '7D3131918D67D75EC1A20EF78DEF3D6B'
2023-06-17 20:45:44,526 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-17 20:45:44,526 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '6D34979CB00EB53E8CD68A6CF9947AD2'
2023-06-17 20:45:44,542 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-17 20:45:44,699 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi'
with checksum 'A9EDE394FBC6FDB91A0CED04483876C8'
2023-06-17 20:45:44,714 4640 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-17 20:45:44,838 4640 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609".
2023-06-17 20:45:44,886 4640 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609\.registry'
2023-06-17 20:45:44,932 4640 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609\.files'
2023-06-17 20:45:44,948 4640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609\.extra".
2023-06-17 20:45:44,963 4640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609\.version".
2023-06-17 20:45:44,963 4640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609\.sxs".
2023-06-17 20:45:44,980 4640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230609\.pin".
2023-06-17 20:45:44,995 4640 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-17 20:45:45,010 4640 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-17 20:45:45,010 4640 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-17 20:45:45,026 4640 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-17 20:45:45,026 4640 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230609.nupkg".
2023-06-17 20:45:45,074 4640 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-17 20:45:45,088 4640 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-17 20:45:45,135 4640 [DEBUG] - Exiting with 0
2023-06-17 20:45:56,963 5720 [DEBUG] - XmlConfiguration is now operational
2023-06-17 20:45:57,120 5720 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:45:57,135 5720 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:45:57,135 5720 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:45:57,135 5720 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:45:57,135 5720 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 20:45:57,151 5720 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-17 20:45:57,417 5720 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-17 20:45:57,417 5720 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-17 20:45:57,432 5720 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-17 20:45:57,432 5720 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-17 20:45:57,432 5720 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-17 20:45:57,432 5720 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-17 20:45:57,448 5720 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-17 20:45:57,448 5720 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-17 20:45:57,448 5720 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-17 20:45:57,463 5720 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-17 20:45:57,463 5720 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-17 20:45:57,463 5720 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-17 20:45:57,479 5720 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-17 20:45:57,479 5720 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-17 20:45:57,479 5720 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-17 20:45:57,479 5720 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-17 20:45:57,494 5720 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-17 20:45:57,494 5720 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-17 20:45:57,792 5720 [INFO ] - ============================================================
2023-06-17 20:45:58,168 5720 [INFO ] - Chocolatey v1.3.0
2023-06-17 20:45:58,199 5720 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-17 20:45:58,199 5720 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-17 20:45:58,213 5720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-17 20:45:58,230 5720 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230609 -dvy --execution-timeout=2700
2023-06-17 20:45:58,230 5720 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230609 -dvy --execution-timeout=2700
2023-06-17 20:45:58,402 5720 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-17 20:45:58,433 5720 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-17 20:45:58,464 5720 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-17 20:45:58,620 5720 [DEBUG] - Performing validation checks.
2023-06-17 20:45:58,620 5720 [DEBUG] - Global Configuration Validation Checks:
2023-06-17 20:45:58,636 5720 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-17 20:45:58,652 5720 [DEBUG] - System State Validation Checks:
2023-06-17 20:45:58,666 5720 [DEBUG] - Reboot Requirement Checks:
2023-06-17 20:45:58,666 5720 [DEBUG] - - Pending Computer Rename = Checked
2023-06-17 20:45:58,682 5720 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-17 20:45:58,698 5720 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-17 20:45:58,698 5720 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-17 20:45:58,714 5720 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-17 20:45:58,714 5720 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-17 20:45:58,729 5720 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-17 20:45:58,792 5720 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-17 20:45:58,792 5720 [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-17 20:45:58,839 5720 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230609'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-N6C8A78ENGH'|
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-17 20:45:58,870 5720 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-17 20:45:58,901 5720 [INFO ] - Uninstalling the following packages:
2023-06-17 20:45:58,932 5720 [INFO ] - glpi-agent-nightly.install
2023-06-17 20:45:58,948 5720 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-17 20:45:58,965 5720 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-17 20:45:58,965 5720 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 20:45:58,995 5720 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 20:45:58,995 5720 [DEBUG] - * 'ChocolateyLastPathUpdate'='133314802898949136' ('User')
2023-06-17 20:45:59,010 5720 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-17 20:45:59,026 5720 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-17 20:45:59,042 5720 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-17 20:45:59,042 5720 [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-17 20:45:59,057 5720 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-17 20:45:59,073 5720 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-17 20:45:59,073 5720 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-17 20:45:59,089 5720 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 20:45:59,089 5720 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 20:45:59,104 5720 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-17 20:45:59,104 5720 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-17 20:45:59,104 5720 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-17 20:45:59,120 5720 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-17 20:45:59,120 5720 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-17 20:45:59,135 5720 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-17 20:45:59,135 5720 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-17 20:45:59,292 5720 [DEBUG] - Running list with the following filter = ''
2023-06-17 20:45:59,307 5720 [DEBUG] - --- Start of List ---
2023-06-17 20:45:59,730 5720 [DEBUG] - glpi-agent-nightly.install 1.5.20230609
2023-06-17 20:45:59,745 5720 [DEBUG] - --- End of List ---
2023-06-17 20:45:59,901 5720 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-17 20:45:59,918 5720 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-17 20:45:59,918 5720 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-17 20:45:59,950 5720 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
# Remove the service if it exists
$service = Get-Service -Name 'glpi-agent' -ErrorAction SilentlyContinue
If ($service -ne $null) {
Stop-Service $service -Force -Confirm
}
2023-06-17 20:45:59,995 5720 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-17 20:46:00,027 5720 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-17 20:46:00,761 5720 [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-17 20:46:01,339 5720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 20:46:01,339 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 20:46:01,339 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 20:46:01,354 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 20:46:01,354 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 20:46:01,370 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 20:46:01,385 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 20:46:01,385 5720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 20:46:01,401 5720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 20:46:01,401 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 20:46:01,417 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:46:01,432 5720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 20:46:01,432 5720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 20:46:01,448 5720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 20:46:01,448 5720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 20:46:01,463 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 20:46:01,479 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 20:46:01,479 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 20:46:01,495 5720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 20:46:01,495 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:01,510 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:46:01,510 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:46:01,526 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:46:01,542 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 20:46:01,542 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 20:46:01,557 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:46:01,573 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:46:01,573 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 20:46:01,588 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:46:01,588 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 20:46:01,588 5720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 20:46:01,604 5720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 20:46:01,604 5720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 20:46:01,619 5720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:46:01,635 5720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 20:46:01,635 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 20:46:01,651 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:01,651 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:46:01,666 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:46:01,682 5720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 20:46:01,682 5720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 20:46:01,698 5720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 20:46:01,714 5720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 20:46:01,729 5720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 20:46:01,729 5720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 20:46:01,744 5720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 20:46:01,744 5720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 20:46:01,760 5720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:46:01,760 5720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 20:46:01,776 5720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 20:46:01,809 5720 [DEBUG] - Loading community extensions
2023-06-17 20:46:01,840 5720 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-17 20:46:01,840 5720 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-17 20:46:01,980 5720 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 20:46:01,980 5720 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 20:46:01,995 5720 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 20:46:01,995 5720 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 20:46:02,010 5720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 20:46:02,010 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 20:46:02,026 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 20:46:02,026 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 20:46:02,042 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 20:46:02,042 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 20:46:02,057 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 20:46:02,057 5720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 20:46:02,073 5720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 20:46:02,073 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 20:46:02,088 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:46:02,104 5720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 20:46:02,104 5720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 20:46:02,119 5720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 20:46:02,119 5720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 20:46:02,135 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 20:46:02,135 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 20:46:02,151 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 20:46:02,166 5720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 20:46:02,182 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:02,182 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:46:02,182 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:46:02,198 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:46:02,214 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 20:46:02,214 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 20:46:02,214 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:46:02,230 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:46:02,245 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 20:46:02,245 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:46:02,260 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 20:46:02,260 5720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 20:46:02,276 5720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 20:46:02,292 5720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 20:46:02,292 5720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:46:02,308 5720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 20:46:02,323 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 20:46:02,323 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:02,338 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:46:02,338 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:46:02,354 5720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 20:46:02,370 5720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 20:46:02,370 5720 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 20:46:02,385 5720 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 20:46:02,385 5720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 20:46:02,401 5720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 20:46:02,401 5720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 20:46:02,416 5720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 20:46:02,416 5720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 20:46:02,432 5720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 20:46:02,432 5720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:46:02,448 5720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 20:46:02,448 5720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 20:46:02,464 5720 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-17 20:46:02,464 5720 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-17 20:46:02,479 5720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-17 20:46:02,479 5720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-17 20:46:02,495 5720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-17 20:46:02,495 5720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-17 20:46:02,510 5720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-17 20:46:02,510 5720 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-17 20:46:02,526 5720 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-17 20:46:02,542 5720 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-17 20:46:02,542 5720 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:46:02,557 5720 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-17 20:46:02,557 5720 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-17 20:46:02,557 5720 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-17 20:46:02,572 5720 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-17 20:46:02,572 5720 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-17 20:46:02,588 5720 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-17 20:46:02,588 5720 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-17 20:46:02,604 5720 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-17 20:46:02,604 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:02,619 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:46:02,619 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:46:02,635 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:46:02,635 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-17 20:46:02,651 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-17 20:46:02,651 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:46:02,667 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:46:02,667 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-17 20:46:02,682 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:46:02,682 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-17 20:46:02,698 5720 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-17 20:46:02,705 5720 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 20:46:02,714 5720 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-17 20:46:02,714 5720 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-17 20:46:02,729 5720 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:46:02,729 5720 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-17 20:46:02,729 5720 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 20:46:02,744 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-17 20:46:02,744 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:02,760 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:46:02,776 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:46:02,776 5720 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-17 20:46:02,791 5720 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-17 20:46:02,791 5720 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-17 20:46:02,807 5720 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-17 20:46:02,807 5720 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-17 20:46:02,807 5720 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-17 20:46:02,823 5720 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-17 20:46:02,823 5720 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:46:02,839 5720 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-17 20:46:02,854 5720 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-17 20:46:02,854 5720 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-17 20:46:02,979 5720 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-17 20:46:02,994 5720 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230609 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-17 20:46:03,057 5720 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-17 20:46:03,135 5720 [WARN ] - Confirm
2023-06-17 20:46:03,135 5720 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-17 20:46:03,151 5720 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-17 20:46:03,151 5720 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-17 20:46:33,805 5720 [DEBUG] - ----------------------------------------------------------------------
2023-06-17 20:46:33,837 5720 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-17 20:46:34,008 5720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-17 20:46:34,008 5720 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-17 20:46:34,023 5720 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-17 20:46:36,383 5720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-17 20:46:36,399 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
2023-06-17 20:46:36,868 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
2023-06-17 20:46:36,868 5720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-17 20:46:36,883 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
2023-06-17 20:46:36,898 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
2023-06-17 20:46:36,898 5720 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-17 20:46:36,915 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
2023-06-17 20:46:36,915 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
2023-06-17 20:46:36,930 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
2023-06-17 20:46:36,930 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi".
2023-06-17 20:46:36,961 5720 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore".
2023-06-17 20:46:38,868 5720 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-17 20:46:38,946 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'C6A3707529747AF32D4DDA84E48D13C4'
2023-06-17 20:46:38,962 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '9B34717CC89DF822A8A4F1FD25D26B26'
2023-06-17 20:46:38,962 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '7969135DC61A2EA99B19D33FB028562D'
2023-06-17 20:46:38,976 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '7D3131918D67D75EC1A20EF78DEF3D6B'
2023-06-17 20:46:38,976 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-17 20:46:38,992 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '6D34979CB00EB53E8CD68A6CF9947AD2'
2023-06-17 20:46:38,992 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-17 20:46:40,836 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi'
with checksum 'A9EDE394FBC6FDB91A0CED04483876C8'
2023-06-17 20:46:40,836 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-17 20:46:42,055 5720 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230609'.
2023-06-17 20:46:43,165 5720 [INFO ] -
glpi-agent-nightly.install v1.5.20230609
2023-06-17 20:46:43,806 5720 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-17 20:46:43,806 5720 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-17 20:46:43,820 5720 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-17 20:46:43,820 5720 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'GLPI Agent *'
fileType = 'MSI'
silentArgs = '/qn /norestart'
# Allows (see https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx):
# * 0: ERROR_SUCCESS
# * 3010: ERROR_SUCCESS_REBOOT_REQUIRED
# * 1605: ERROR_UNKNOWN_PRODUCT
# * 1614: ERROR_PRODUCT_UNINSTALLED
# * 1641: ERROR_SUCCESS_REBOOT_INITIATED
validExitCodes= @(0, 3010, 1605, 1614, 1641)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | % {
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below
if ($packageArgs['fileType'] -eq 'MSI') {
# The Product Code GUID is all that should be passed for MSI, and very
# FIRST, because it comes directly after /x, which is already set in the
# Uninstall-ChocolateyPackage msiargs (facepalm).
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
# Don't pass anything for file, it is ignored for msi (facepalm number 2)
# Alternatively if you need to pass a path to an msi, determine that and
# use it instead of the above in silentArgs, still very first
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $($_.DisplayName)"}
}
2023-06-17 20:46:44,415 5720 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-17 20:46:44,460 5720 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-17 20:46:45,992 5720 [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-17 20:46:46,399 5720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 20:46:46,461 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 20:46:46,476 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 20:46:46,476 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 20:46:46,492 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 20:46:46,492 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 20:46:46,508 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 20:46:46,508 5720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 20:46:46,523 5720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 20:46:46,523 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 20:46:46,523 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:46:46,539 5720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 20:46:46,539 5720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 20:46:46,554 5720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 20:46:46,554 5720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 20:46:46,570 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 20:46:46,570 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 20:46:46,570 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 20:46:46,586 5720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 20:46:46,602 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:46,602 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:46:46,602 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:46:46,710 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:46:46,727 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 20:46:46,742 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 20:46:46,757 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:46:46,773 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:46:46,773 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 20:46:46,789 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:46:46,804 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 20:46:46,820 5720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 20:46:46,820 5720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 20:46:46,851 5720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 20:46:46,883 5720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:46:46,899 5720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 20:46:46,945 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 20:46:46,992 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:47,023 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:46:47,102 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:46:47,117 5720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 20:46:47,136 5720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 20:46:47,149 5720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 20:46:47,166 5720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 20:46:47,226 5720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 20:46:47,289 5720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 20:46:47,304 5720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 20:46:47,304 5720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 20:46:47,320 5720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:46:47,352 5720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 20:46:47,367 5720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 20:46:47,383 5720 [DEBUG] - Loading community extensions
2023-06-17 20:46:47,383 5720 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-17 20:46:47,399 5720 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-17 20:46:47,586 5720 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 20:46:47,601 5720 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 20:46:47,617 5720 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 20:46:47,633 5720 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 20:46:47,648 5720 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 20:46:47,679 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 20:46:47,679 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 20:46:47,711 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 20:46:47,711 5720 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 20:46:47,726 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 20:46:47,742 5720 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 20:46:47,758 5720 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 20:46:47,789 5720 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 20:46:47,836 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 20:46:47,851 5720 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:46:47,867 5720 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 20:46:47,882 5720 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 20:46:47,914 5720 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 20:46:48,008 5720 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 20:46:48,039 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 20:46:48,039 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 20:46:48,054 5720 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 20:46:48,054 5720 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 20:46:48,070 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:48,070 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:46:48,086 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:46:48,101 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:46:48,101 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 20:46:48,117 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 20:46:48,117 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:46:48,117 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:46:48,133 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 20:46:48,133 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:46:48,149 5720 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 20:46:48,149 5720 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 20:46:48,164 5720 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 20:46:48,164 5720 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 20:46:48,179 5720 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:46:48,195 5720 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 20:46:48,195 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 20:46:48,195 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:48,211 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:46:48,211 5720 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:46:48,226 5720 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 20:46:48,226 5720 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 20:46:48,242 5720 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 20:46:48,242 5720 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 20:46:48,258 5720 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 20:46:48,258 5720 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 20:46:48,258 5720 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 20:46:48,274 5720 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 20:46:48,274 5720 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 20:46:48,289 5720 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 20:46:48,289 5720 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:46:48,304 5720 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 20:46:48,304 5720 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 20:46:48,321 5720 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-17 20:46:48,321 5720 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-17 20:46:48,336 5720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-17 20:46:48,367 5720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-17 20:46:48,367 5720 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-17 20:46:48,383 5720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-17 20:46:48,383 5720 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-17 20:46:48,398 5720 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-17 20:46:48,398 5720 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-17 20:46:48,414 5720 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-17 20:46:48,414 5720 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-17 20:46:48,414 5720 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-17 20:46:48,429 5720 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-17 20:46:48,429 5720 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-17 20:46:48,445 5720 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-17 20:46:48,445 5720 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-17 20:46:48,461 5720 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-17 20:46:48,461 5720 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-17 20:46:48,476 5720 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-17 20:46:48,476 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:48,492 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 20:46:48,492 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-17 20:46:48,507 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-17 20:46:48,507 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-17 20:46:48,523 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-17 20:46:48,570 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 20:46:48,586 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-17 20:46:48,601 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-17 20:46:48,601 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-17 20:46:48,617 5720 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-17 20:46:48,632 5720 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-17 20:46:48,649 5720 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 20:46:48,680 5720 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-17 20:46:48,711 5720 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-17 20:46:48,883 5720 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 20:46:48,898 5720 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-17 20:46:48,914 5720 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 20:46:48,929 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-17 20:46:48,945 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 20:46:48,961 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-17 20:46:48,992 5720 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 20:46:49,149 5720 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-17 20:46:49,149 5720 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-17 20:46:49,164 5720 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-17 20:46:49,164 5720 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-17 20:46:49,180 5720 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-17 20:46:49,195 5720 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-17 20:46:49,195 5720 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-17 20:46:49,211 5720 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-17 20:46:49,211 5720 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-17 20:46:49,226 5720 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-17 20:46:49,226 5720 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-17 20:46:49,259 5720 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-17 20:46:49,259 5720 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230609 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-17 20:46:49,273 5720 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-17 20:46:49,914 5720 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-17 20:46:49,945 5720 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-17 20:46:50,509 5720 [DEBUG] - Registry uninstall keys on system: 28
2023-06-17 20:46:50,601 5720 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-17 20:46:51,086 5720 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-17 20:46:51,133 5720 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{7B63D18D-6BF5-1014-94C7-D58110A8EEC1} /qn /norestart' -file ''
2023-06-17 20:46:51,320 5720 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-17 20:46:51,478 5720 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {7B63D18D-6BF5-1014-94C7-D58110A8EEC1} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-17 20:46:51,572 5720 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-17 20:46:51,634 5720 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {7B63D18D-6BF5-1014-94C7-D58110A8EEC1} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-17 20:48:39,801 5720 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {7B63D18D-6BF5-1014-94C7-D58110A8EEC1} /qn /norestart ] exited with '0'.
2023-06-17 20:48:39,864 5720 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-17 20:48:39,880 5720 [INFO ] - 0
2023-06-17 20:48:39,895 5720 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-17 20:48:39,895 5720 [DEBUG] - ----------------------------------------------------------------------
2023-06-17 20:48:39,910 5720 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-17 20:48:39,957 5720 [INFO ] - Running auto uninstaller...
2023-06-17 20:48:39,972 5720 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-17 20:48:42,004 5720 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{7B63D18D-6BF5-1014-94C7-D58110A8EEC1}' for 'GLPI Agent 1.5 (git5c580c8c)'
2023-06-17 20:48:42,036 5720 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git5c580c8c)' appears to have been uninstalled already by other means.
2023-06-17 20:48:42,036 5720 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-17 20:48:42,051 5720 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B63D18D-6BF5-1014-94C7-D58110A8EEC1}' value 'InstallLocation' - found? False
2023-06-17 20:48:42,066 5720 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-17 20:48:42,192 5720 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-17 20:48:42,207 5720 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-17 20:48:42,285 5720 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-17 20:48:42,285 5720 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-17 20:48:42,301 5720 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-17 20:48:42,316 5720 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 20:48:42,316 5720 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 20:48:42,316 5720 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 20:48:42,378 5720 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git5c580c8c-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 20:48:42,394 5720 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-17 20:48:42,394 5720 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-17 20:48:42,412 5720 [DEBUG] - [NuGet] The directory is not empty.
2023-06-17 20:48:42,412 5720 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230609'.
2023-06-17 20:48:42,442 5720 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-17 20:48:42,457 5720 [DEBUG] - Removing nupkg if it still exists.
2023-06-17 20:48:42,473 5720 [DEBUG] - Ensuring removal of installation files.
2023-06-17 20:48:42,473 5720 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-17 20:48:42,488 5720 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git5c580c8c-x64.msi.ignore".
2023-06-17 20:48:42,488 5720 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-17 20:48:42,503 5720 [DEBUG] - Ensuring removal of package cache files.
2023-06-17 20:48:42,551 5720 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-17 20:48:42,566 5720 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-17 20:48:42,599 5720 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment