Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 4, 2023 01:54
Show Gist options
  • Save choco-bot/cddd710d58ea0321998a34d27e78319d to your computer and use it in GitHub Desktop.
Save choco-bot/cddd710d58ea0321998a34d27e78319d to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230603 - 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-3130559026-1806552809-4037019024-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git532d8204)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C5DCDBB3-6BF5-1014-80A9-AE545AB444B1}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{C5DCDBB3-6BF5-1014-80A9-AE545AB444B1}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230604</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\4abc0.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230603 - 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="F1575C02247AF7B07F815DE102980019" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="94AA4602CE88D898148B37C7C02EC9F4" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="532F627A00012F04849F2AD20223ECCA" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="EAB57A4363387A7711CA8ABE1BB88E16" />
<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="78F0D890FAC1430D6F0283CB46933457" />
<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-git532d8204-x64.msi" checksum="6AEAC9CBF4126E12BEAA8AABB488354B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-04 01:50:26,902 4712 [DEBUG] - XmlConfiguration is now operational
2023-06-04 01:50:27,105 4712 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:50:27,105 4712 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:50:27,121 4712 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:50:27,121 4712 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:50:27,121 4712 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:50:27,136 4712 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-04 01:50:27,733 4712 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-04 01:50:27,733 4712 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-04 01:50:27,733 4712 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-04 01:50:27,746 4712 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-04 01:50:27,746 4712 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-04 01:50:27,761 4712 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-04 01:50:27,761 4712 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-04 01:50:27,761 4712 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-04 01:50:27,777 4712 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-04 01:50:27,777 4712 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-04 01:50:27,777 4712 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-04 01:50:27,793 4712 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-04 01:50:27,793 4712 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-04 01:50:27,808 4712 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-04 01:50:27,808 4712 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-04 01:50:27,808 4712 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-04 01:50:27,824 4712 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-04 01:50:27,824 4712 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-04 01:50:28,313 4712 [INFO ] - ============================================================
2023-06-04 01:50:28,902 4712 [INFO ] - Chocolatey v1.3.0
2023-06-04 01:50:29,011 4712 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-04 01:50:29,011 4712 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-04 01:50:29,026 4712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-04 01:50:29,058 4712 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230603 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-04 01:50:29,073 4712 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230603 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-04 01:50:29,401 4712 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-04 01:50:29,433 4712 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-04 01:50:29,745 4712 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-04 01:50:29,999 4712 [DEBUG] - Performing validation checks.
2023-06-04 01:50:30,027 4712 [DEBUG] - Global Configuration Validation Checks:
2023-06-04 01:50:30,043 4712 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-04 01:50:30,073 4712 [DEBUG] - System State Validation Checks:
2023-06-04 01:50:30,089 4712 [DEBUG] - Reboot Requirement Checks:
2023-06-04 01:50:30,105 4712 [DEBUG] - - Pending Computer Rename = Checked
2023-06-04 01:50:30,277 4712 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-04 01:50:30,292 4712 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-04 01:50:30,292 4712 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-04 01:50:30,308 4712 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-04 01:50:30,324 4712 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-04 01:50:30,339 4712 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-04 01:50:30,451 4712 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-04 01:50:30,467 4712 [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-04 01:50:30,543 4712 [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.20230603'|
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-3D50QHCSCA9'|
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-04 01:50:30,573 4712 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-04 01:50:30,605 4712 [INFO ] - Installing the following packages:
2023-06-04 01:50:30,621 4712 [INFO ] - glpi-agent-nightly.install
2023-06-04 01:50:30,621 4712 [INFO ] - By installing, you accept licenses for the packages.
2023-06-04 01:50:30,652 4712 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-04 01:50:30,652 4712 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-04 01:50:30,671 4712 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 01:50:30,683 4712 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 01:50:30,683 4712 [DEBUG] - * 'ChocolateyLastPathUpdate'='133302683466597275' ('User')
2023-06-04 01:50:30,701 4712 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-04 01:50:30,701 4712 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-04 01:50:30,716 4712 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-04 01:50:30,716 4712 [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-04 01:50:30,730 4712 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-04 01:50:30,746 4712 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-04 01:50:30,746 4712 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-04 01:50:30,761 4712 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 01:50:30,777 4712 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 01:50:30,777 4712 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-04 01:50:30,793 4712 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-04 01:50:30,823 4712 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-04 01:50:30,823 4712 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-04 01:50:30,839 4712 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-04 01:50:30,839 4712 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-04 01:50:30,855 4712 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-04 01:50:34,980 4712 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230603'.
2023-06-04 01:50:35,011 4712 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-04 01:50:35,027 4712 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-04 01:50:35,043 4712 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-04 01:50:35,043 4712 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-04 01:50:35,058 4712 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-04 01:50:35,120 4712 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git532d8204-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-04 01:50:35,167 4712 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-04 01:50:35,763 4712 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-04 01:50:35,777 4712 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230603'.
2023-06-04 01:50:35,793 4712 [INFO ] -
glpi-agent-nightly.install v1.5.20230603 (forced)
2023-06-04 01:50:35,840 4712 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-04 01:50:35,949 4712 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-04 01:50:35,949 4712 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-04 01:50:35,964 4712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-04 01:50:35,999 4712 [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-git532d8204-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git532d8204-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = '81403C47EF7B8AD25B4CDD473C508F1E5378ECC3C3D69BCFE698A0D03511F6A5' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = '00312479C1A964950C066A42D62BEACBDE9834FC100A4A6433FD2D40E95D6477' # (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-04 01:50:36,074 4712 [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-04 01:50:36,105 4712 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-04 01:50:37,700 4712 [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-04 01:50:38,688 4712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 01:50:38,698 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 01:50:38,715 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 01:50:38,730 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 01:50:38,730 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 01:50:38,745 4712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 01:50:38,762 4712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 01:50:38,777 4712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 01:50:38,777 4712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 01:50:38,795 4712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 01:50:38,808 4712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:50:38,823 4712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 01:50:38,823 4712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 01:50:38,839 4712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 01:50:38,855 4712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 01:50:38,870 4712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 01:50:38,870 4712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 01:50:38,886 4712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 01:50:38,902 4712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 01:50:38,902 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:50:38,918 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:50:38,933 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:50:38,933 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:50:38,949 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 01:50:38,964 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 01:50:38,980 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:50:38,980 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:50:38,995 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 01:50:39,011 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:50:39,011 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 01:50:39,026 4712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 01:50:39,043 4712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 01:50:39,043 4712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 01:50:39,058 4712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:50:39,058 4712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 01:50:39,074 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 01:50:39,089 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:50:39,089 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:50:39,104 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:50:39,104 4712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 01:50:39,120 4712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 01:50:39,137 4712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 01:50:39,152 4712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 01:50:39,152 4712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 01:50:39,168 4712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 01:50:39,183 4712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 01:50:39,183 4712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 01:50:39,198 4712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:50:39,198 4712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 01:50:39,214 4712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 01:50:39,277 4712 [DEBUG] - Loading community extensions
2023-06-04 01:50:39,371 4712 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-04 01:50:39,386 4712 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-04 01:50:39,714 4712 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 01:50:39,714 4712 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 01:50:39,736 4712 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 01:50:39,745 4712 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 01:50:39,888 4712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 01:50:39,888 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 01:50:39,903 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 01:50:39,917 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 01:50:39,917 4712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 01:50:39,933 4712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 01:50:39,949 4712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 01:50:39,965 4712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 01:50:39,965 4712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 01:50:39,980 4712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 01:50:39,995 4712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:50:40,012 4712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 01:50:40,027 4712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 01:50:40,042 4712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 01:50:40,058 4712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 01:50:40,058 4712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 01:50:40,073 4712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 01:50:40,089 4712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 01:50:40,089 4712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 01:50:40,105 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:50:40,105 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:50:40,120 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:50:40,136 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:50:40,136 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 01:50:40,152 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 01:50:40,167 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:50:40,167 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:50:40,183 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 01:50:40,199 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:50:40,214 4712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 01:50:40,229 4712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 01:50:40,229 4712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 01:50:40,245 4712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 01:50:40,262 4712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:50:40,262 4712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 01:50:40,278 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 01:50:40,292 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:50:40,292 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:50:40,308 4712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:50:40,323 4712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 01:50:40,323 4712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 01:50:40,339 4712 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 01:50:40,339 4712 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 01:50:40,355 4712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 01:50:40,370 4712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 01:50:40,370 4712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 01:50:40,386 4712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 01:50:40,401 4712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 01:50:40,417 4712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 01:50:40,417 4712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:50:40,433 4712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 01:50:40,433 4712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 01:50:40,450 4712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-04 01:50:40,464 4712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-04 01:50:40,464 4712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-04 01:50:40,480 4712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-04 01:50:40,480 4712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-04 01:50:40,496 4712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-04 01:50:40,511 4712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-04 01:50:40,511 4712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-04 01:50:40,527 4712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-04 01:50:40,527 4712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-04 01:50:40,542 4712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:50:40,558 4712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-04 01:50:40,558 4712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-04 01:50:40,574 4712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-04 01:50:40,589 4712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-04 01:50:40,604 4712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-04 01:50:40,604 4712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-04 01:50:40,620 4712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-04 01:50:40,636 4712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-04 01:50:40,636 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:50:40,652 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:50:40,667 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:50:40,667 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:50:40,683 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-04 01:50:40,699 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-04 01:50:40,714 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:50:40,714 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:50:40,730 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-04 01:50:40,745 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:50:40,745 4712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-04 01:50:40,761 4712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-04 01:50:40,777 4712 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 01:50:40,777 4712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-04 01:50:40,793 4712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-04 01:50:40,808 4712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:50:40,808 4712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-04 01:50:40,824 4712 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 01:50:40,824 4712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-04 01:50:40,839 4712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:50:40,855 4712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:50:40,871 4712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:50:40,871 4712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-04 01:50:40,886 4712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-04 01:50:40,902 4712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-04 01:50:40,902 4712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-04 01:50:40,917 4712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-04 01:50:40,934 4712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-04 01:50:40,949 4712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-04 01:50:40,964 4712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:50:40,980 4712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-04 01:50:40,995 4712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-04 01:50:41,012 4712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-04 01:50:41,308 4712 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-04 01:50:41,354 4712 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230603 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-04 01:50:41,452 4712 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-04 01:50:41,683 4712 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-04 01:50:42,042 4712 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-04 01:50:42,058 4712 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-04 01:50:42,089 4712 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-04 01:50:42,574 4712 [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-git532d8204-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-04 01:50:42,730 4712 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-04 01:50:42,792 4712 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-04 01:51:47,356 4712 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi" /quiet ] exited with '0'.
2023-06-04 01:51:47,480 4712 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-04 01:51:47,480 4712 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-04 01:51:47,527 4712 [DEBUG] - ----------------------------------------------------------------------
2023-06-04 01:51:47,605 4712 [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-04 01:51:47,624 4712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-04 01:51:48,011 4712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-04 01:51:48,092 4712 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-04 01:51:48,370 4712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-04 01:51:48,448 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'F1575C02247AF7B07F815DE102980019'
2023-06-04 01:51:48,448 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '94AA4602CE88D898148B37C7C02EC9F4'
2023-06-04 01:51:48,464 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '532F627A00012F04849F2AD20223ECCA'
2023-06-04 01:51:48,480 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum 'EAB57A4363387A7711CA8ABE1BB88E16'
2023-06-04 01:51:48,495 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-04 01:51:48,495 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '78F0D890FAC1430D6F0283CB46933457'
2023-06-04 01:51:48,511 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-04 01:51:48,702 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi'
with checksum '6AEAC9CBF4126E12BEAA8AABB488354B'
2023-06-04 01:51:48,702 4712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-04 01:51:48,808 4712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603".
2023-06-04 01:51:48,964 4712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603\.registry'
2023-06-04 01:51:49,029 4712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603\.files'
2023-06-04 01:51:49,044 4712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603\.extra".
2023-06-04 01:51:49,057 4712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603\.version".
2023-06-04 01:51:49,057 4712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603\.sxs".
2023-06-04 01:51:49,073 4712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230603\.pin".
2023-06-04 01:51:49,089 4712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-04 01:51:49,105 4712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-04 01:51:49,120 4712 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-04 01:51:49,136 4712 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-04 01:51:49,151 4712 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230603.nupkg".
2023-06-04 01:51:49,229 4712 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-04 01:51:49,245 4712 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-04 01:51:49,342 4712 [DEBUG] - Exiting with 0
2023-06-04 01:52:03,308 1556 [DEBUG] - XmlConfiguration is now operational
2023-06-04 01:52:03,495 1556 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:52:03,495 1556 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:52:03,495 1556 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:52:03,511 1556 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:52:03,511 1556 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 01:52:03,511 1556 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-04 01:52:04,043 1556 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-04 01:52:04,043 1556 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-04 01:52:04,061 1556 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-04 01:52:04,061 1556 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-04 01:52:04,073 1556 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-04 01:52:04,073 1556 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-04 01:52:04,089 1556 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-04 01:52:04,089 1556 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-04 01:52:04,089 1556 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-04 01:52:04,105 1556 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-04 01:52:04,105 1556 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-04 01:52:04,105 1556 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-04 01:52:04,120 1556 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-04 01:52:04,120 1556 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-04 01:52:04,120 1556 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-04 01:52:04,136 1556 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-04 01:52:04,136 1556 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-04 01:52:04,152 1556 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-04 01:52:04,605 1556 [INFO ] - ============================================================
2023-06-04 01:52:05,136 1556 [INFO ] - Chocolatey v1.3.0
2023-06-04 01:52:05,168 1556 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-04 01:52:05,183 1556 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-04 01:52:05,183 1556 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-04 01:52:05,214 1556 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230603 -dvy --execution-timeout=2700
2023-06-04 01:52:05,230 1556 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230603 -dvy --execution-timeout=2700
2023-06-04 01:52:05,419 1556 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-04 01:52:05,453 1556 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-04 01:52:05,495 1556 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-04 01:52:05,749 1556 [DEBUG] - Performing validation checks.
2023-06-04 01:52:05,764 1556 [DEBUG] - Global Configuration Validation Checks:
2023-06-04 01:52:05,764 1556 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-04 01:52:05,792 1556 [DEBUG] - System State Validation Checks:
2023-06-04 01:52:05,808 1556 [DEBUG] - Reboot Requirement Checks:
2023-06-04 01:52:05,823 1556 [DEBUG] - - Pending Computer Rename = Checked
2023-06-04 01:52:05,839 1556 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-04 01:52:05,839 1556 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-04 01:52:05,855 1556 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-04 01:52:05,855 1556 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-04 01:52:05,871 1556 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-04 01:52:05,886 1556 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-04 01:52:05,965 1556 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-04 01:52:05,980 1556 [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-04 01:52:06,030 1556 [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.20230603'|
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-3D50QHCSCA9'|
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-04 01:52:06,060 1556 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-04 01:52:06,089 1556 [INFO ] - Uninstalling the following packages:
2023-06-04 01:52:06,105 1556 [INFO ] - glpi-agent-nightly.install
2023-06-04 01:52:06,136 1556 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-04 01:52:06,152 1556 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-04 01:52:06,152 1556 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 01:52:06,167 1556 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 01:52:06,184 1556 [DEBUG] - * 'ChocolateyLastPathUpdate'='133302683466597275' ('User')
2023-06-04 01:52:06,199 1556 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-04 01:52:06,214 1556 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-04 01:52:06,214 1556 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-04 01:52:06,230 1556 [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-04 01:52:06,245 1556 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-04 01:52:06,245 1556 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-04 01:52:06,245 1556 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-04 01:52:06,261 1556 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 01:52:06,277 1556 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 01:52:06,277 1556 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-04 01:52:06,292 1556 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-04 01:52:06,292 1556 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-04 01:52:06,308 1556 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-04 01:52:06,308 1556 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-04 01:52:06,324 1556 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-04 01:52:06,339 1556 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-04 01:52:06,516 1556 [DEBUG] - Running list with the following filter = ''
2023-06-04 01:52:06,531 1556 [DEBUG] - --- Start of List ---
2023-06-04 01:52:07,276 1556 [DEBUG] - glpi-agent-nightly.install 1.5.20230603
2023-06-04 01:52:07,292 1556 [DEBUG] - --- End of List ---
2023-06-04 01:52:07,527 1556 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-04 01:52:07,542 1556 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-04 01:52:07,558 1556 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-04 01:52:07,573 1556 [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-04 01:52:07,683 1556 [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-04 01:52:07,699 1556 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-04 01:52:08,995 1556 [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-04 01:52:09,901 1556 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 01:52:09,901 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 01:52:09,917 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 01:52:09,933 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 01:52:09,933 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 01:52:09,948 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 01:52:09,948 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 01:52:09,964 1556 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 01:52:09,964 1556 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 01:52:09,980 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 01:52:09,996 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:52:09,996 1556 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 01:52:10,011 1556 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 01:52:10,026 1556 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 01:52:10,026 1556 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 01:52:10,043 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 01:52:10,058 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 01:52:10,058 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 01:52:10,074 1556 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 01:52:10,074 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:10,106 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:52:10,106 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:52:10,120 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:52:10,136 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 01:52:10,136 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 01:52:10,151 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:52:10,183 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:52:10,198 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 01:52:10,214 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:52:10,214 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 01:52:10,230 1556 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 01:52:10,246 1556 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 01:52:10,261 1556 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 01:52:10,261 1556 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:52:10,277 1556 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 01:52:10,277 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 01:52:10,292 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:10,292 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:52:10,308 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:52:10,323 1556 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 01:52:10,339 1556 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 01:52:10,355 1556 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 01:52:10,370 1556 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 01:52:10,370 1556 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 01:52:10,386 1556 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 01:52:10,402 1556 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 01:52:10,418 1556 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 01:52:10,433 1556 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:52:10,449 1556 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 01:52:10,449 1556 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 01:52:10,526 1556 [DEBUG] - Loading community extensions
2023-06-04 01:52:10,595 1556 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-04 01:52:10,605 1556 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-04 01:52:10,905 1556 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 01:52:10,905 1556 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 01:52:10,918 1556 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 01:52:10,933 1556 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 01:52:10,995 1556 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 01:52:10,995 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 01:52:11,015 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 01:52:11,027 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 01:52:11,027 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 01:52:11,042 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 01:52:11,058 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 01:52:11,058 1556 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 01:52:11,073 1556 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 01:52:11,073 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 01:52:11,089 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:52:11,089 1556 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 01:52:11,105 1556 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 01:52:11,120 1556 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 01:52:11,120 1556 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 01:52:11,167 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 01:52:11,183 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 01:52:11,199 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 01:52:11,214 1556 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 01:52:11,230 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:11,245 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:52:11,261 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:52:11,261 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:52:11,277 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 01:52:11,292 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 01:52:11,308 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:52:11,323 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:52:11,323 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 01:52:11,339 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:52:11,355 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 01:52:11,355 1556 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 01:52:11,371 1556 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 01:52:11,386 1556 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 01:52:11,386 1556 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:52:11,404 1556 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 01:52:11,417 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 01:52:11,433 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:11,433 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:52:11,448 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:52:11,464 1556 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 01:52:11,464 1556 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 01:52:11,480 1556 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 01:52:11,495 1556 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 01:52:11,511 1556 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 01:52:11,511 1556 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 01:52:11,527 1556 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 01:52:11,543 1556 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 01:52:11,558 1556 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 01:52:11,558 1556 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 01:52:11,573 1556 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:52:11,573 1556 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 01:52:11,590 1556 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 01:52:11,605 1556 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-04 01:52:11,605 1556 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-04 01:52:11,621 1556 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-04 01:52:11,621 1556 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-04 01:52:11,636 1556 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-04 01:52:11,651 1556 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-04 01:52:11,667 1556 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-04 01:52:11,683 1556 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-04 01:52:11,699 1556 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-04 01:52:11,714 1556 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-04 01:52:11,714 1556 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:52:11,730 1556 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-04 01:52:11,745 1556 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-04 01:52:11,745 1556 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-04 01:52:11,761 1556 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-04 01:52:11,776 1556 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-04 01:52:11,776 1556 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-04 01:52:11,793 1556 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-04 01:52:11,793 1556 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-04 01:52:11,808 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:11,808 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:52:11,826 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:52:11,826 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:52:11,839 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-04 01:52:11,839 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-04 01:52:11,855 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:52:11,890 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:52:11,890 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-04 01:52:11,902 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:52:11,902 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-04 01:52:11,917 1556 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-04 01:52:11,917 1556 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 01:52:11,949 1556 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-04 01:52:11,949 1556 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-04 01:52:11,964 1556 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:52:11,964 1556 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-04 01:52:11,980 1556 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 01:52:11,995 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-04 01:52:11,995 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:12,011 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:52:12,011 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:52:12,027 1556 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-04 01:52:12,042 1556 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-04 01:52:12,042 1556 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-04 01:52:12,058 1556 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-04 01:52:12,073 1556 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-04 01:52:12,089 1556 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-04 01:52:12,105 1556 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-04 01:52:12,105 1556 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:52:12,120 1556 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-04 01:52:12,136 1556 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-04 01:52:12,136 1556 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-04 01:52:12,355 1556 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-04 01:52:12,433 1556 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230603 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-04 01:52:12,527 1556 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-04 01:52:12,636 1556 [WARN ] - Confirm
2023-06-04 01:52:12,656 1556 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-04 01:52:12,667 1556 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-04 01:52:12,667 1556 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-04 01:52:43,766 1556 [DEBUG] - ----------------------------------------------------------------------
2023-06-04 01:52:43,808 1556 [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-04 01:52:44,090 1556 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-04 01:52:44,090 1556 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-04 01:52:44,198 1556 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-04 01:52:46,591 1556 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-04 01:52:46,620 1556 [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-04 01:52:46,763 1556 [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-04 01:52:46,776 1556 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-04 01:52:46,776 1556 [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-04 01:52:46,792 1556 [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-04 01:52:46,808 1556 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-04 01:52:46,839 1556 [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-04 01:52:46,855 1556 [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-04 01:52:46,870 1556 [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-04 01:52:46,886 1556 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi".
2023-06-04 01:52:46,983 1556 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore".
2023-06-04 01:52:48,745 1556 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-04 01:52:49,168 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'F1575C02247AF7B07F815DE102980019'
2023-06-04 01:52:49,183 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '94AA4602CE88D898148B37C7C02EC9F4'
2023-06-04 01:52:49,183 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '532F627A00012F04849F2AD20223ECCA'
2023-06-04 01:52:49,198 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum 'EAB57A4363387A7711CA8ABE1BB88E16'
2023-06-04 01:52:49,214 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-04 01:52:49,214 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '78F0D890FAC1430D6F0283CB46933457'
2023-06-04 01:52:49,230 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-04 01:52:50,542 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi'
with checksum '6AEAC9CBF4126E12BEAA8AABB488354B'
2023-06-04 01:52:50,558 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-04 01:52:51,514 1556 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230603'.
2023-06-04 01:52:51,530 1556 [INFO ] -
glpi-agent-nightly.install v1.5.20230603
2023-06-04 01:52:51,605 1556 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-04 01:52:51,621 1556 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-04 01:52:51,636 1556 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-04 01:52:51,636 1556 [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-04 01:52:51,668 1556 [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-04 01:52:51,840 1556 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-04 01:52:51,980 1556 [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-04 01:52:52,262 1556 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 01:52:52,277 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 01:52:52,293 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 01:52:52,293 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 01:52:52,308 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 01:52:52,344 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 01:52:52,354 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 01:52:52,354 1556 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 01:52:52,370 1556 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 01:52:52,370 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 01:52:52,386 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:52:52,386 1556 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 01:52:52,402 1556 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 01:52:52,402 1556 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 01:52:52,417 1556 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 01:52:52,433 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 01:52:52,433 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 01:52:52,449 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 01:52:52,449 1556 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 01:52:52,464 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:52,464 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:52:52,480 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:52:52,496 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:52:52,511 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 01:52:52,527 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 01:52:52,542 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:52:52,542 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:52:52,558 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 01:52:52,558 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:52:52,574 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 01:52:52,589 1556 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 01:52:52,589 1556 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 01:52:52,605 1556 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 01:52:52,605 1556 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:52:52,621 1556 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 01:52:52,636 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 01:52:52,636 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:52,651 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:52:52,668 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:52:52,668 1556 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 01:52:52,730 1556 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 01:52:52,745 1556 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 01:52:52,761 1556 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 01:52:52,761 1556 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 01:52:52,776 1556 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 01:52:52,776 1556 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 01:52:52,793 1556 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 01:52:52,808 1556 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:52:52,808 1556 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 01:52:52,823 1556 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 01:52:52,855 1556 [DEBUG] - Loading community extensions
2023-06-04 01:52:52,902 1556 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-04 01:52:52,902 1556 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-04 01:52:52,996 1556 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 01:52:52,996 1556 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 01:52:53,011 1556 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 01:52:53,027 1556 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 01:52:53,043 1556 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 01:52:53,058 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 01:52:53,073 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 01:52:53,073 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 01:52:53,090 1556 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 01:52:53,104 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 01:52:53,104 1556 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 01:52:53,120 1556 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 01:52:53,136 1556 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 01:52:53,136 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 01:52:53,151 1556 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:52:53,167 1556 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 01:52:53,167 1556 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 01:52:53,184 1556 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 01:52:53,199 1556 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 01:52:53,214 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 01:52:53,214 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 01:52:53,230 1556 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 01:52:53,246 1556 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 01:52:53,261 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:53,276 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:52:53,293 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:52:53,293 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:52:53,308 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 01:52:53,323 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 01:52:53,339 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:52:53,339 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:52:53,355 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 01:52:53,355 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:52:53,370 1556 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 01:52:53,387 1556 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 01:52:53,401 1556 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 01:52:53,401 1556 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 01:52:53,417 1556 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:52:53,417 1556 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 01:52:53,433 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 01:52:53,433 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:53,449 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:52:53,464 1556 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:52:53,479 1556 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 01:52:53,479 1556 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 01:52:53,496 1556 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 01:52:53,511 1556 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 01:52:53,526 1556 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 01:52:53,526 1556 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 01:52:53,542 1556 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 01:52:53,542 1556 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 01:52:53,558 1556 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 01:52:53,558 1556 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 01:52:53,745 1556 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:52:53,777 1556 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 01:52:53,793 1556 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 01:52:53,808 1556 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-04 01:52:53,823 1556 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-04 01:52:53,839 1556 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-04 01:52:53,855 1556 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-04 01:52:53,871 1556 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-04 01:52:53,886 1556 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-04 01:52:53,901 1556 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-04 01:52:54,073 1556 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-04 01:52:54,089 1556 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-04 01:52:54,089 1556 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-04 01:52:54,105 1556 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-04 01:52:54,120 1556 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-04 01:52:54,136 1556 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-04 01:52:54,151 1556 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-04 01:52:54,151 1556 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-04 01:52:54,168 1556 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-04 01:52:54,198 1556 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-04 01:52:54,229 1556 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-04 01:52:54,245 1556 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-04 01:52:54,245 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:54,261 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 01:52:54,277 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-04 01:52:54,292 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-04 01:52:54,308 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-04 01:52:54,324 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-04 01:52:54,339 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 01:52:54,355 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-04 01:52:54,371 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-04 01:52:54,386 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-04 01:52:54,402 1556 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-04 01:52:54,417 1556 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-04 01:52:54,495 1556 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 01:52:54,511 1556 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-04 01:52:54,527 1556 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-04 01:52:54,573 1556 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 01:52:54,589 1556 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-04 01:52:54,589 1556 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 01:52:54,606 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-04 01:52:54,606 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 01:52:54,620 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-04 01:52:54,620 1556 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 01:52:54,636 1556 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-04 01:52:54,652 1556 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-04 01:52:54,652 1556 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-04 01:52:54,668 1556 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-04 01:52:54,668 1556 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-04 01:52:54,683 1556 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-04 01:52:54,698 1556 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-04 01:52:54,698 1556 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-04 01:52:54,714 1556 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-04 01:52:54,823 1556 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-04 01:52:54,839 1556 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-04 01:52:54,854 1556 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-04 01:52:54,870 1556 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230603 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-04 01:52:54,901 1556 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-04 01:52:55,280 1556 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-04 01:52:55,323 1556 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-04 01:52:55,605 1556 [DEBUG] - Registry uninstall keys on system: 28
2023-06-04 01:52:55,621 1556 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-04 01:52:55,808 1556 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-04 01:52:55,934 1556 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{C5DCDBB3-6BF5-1014-80A9-AE545AB444B1} /qn /norestart' -file ''
2023-06-04 01:52:55,995 1556 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-04 01:52:56,293 1556 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {C5DCDBB3-6BF5-1014-80A9-AE545AB444B1} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-04 01:52:56,417 1556 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-04 01:52:56,480 1556 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {C5DCDBB3-6BF5-1014-80A9-AE545AB444B1} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-04 01:54:37,371 1556 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {C5DCDBB3-6BF5-1014-80A9-AE545AB444B1} /qn /norestart ] exited with '0'.
2023-06-04 01:54:37,449 1556 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-04 01:54:37,464 1556 [INFO ] - 0
2023-06-04 01:54:37,480 1556 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-04 01:54:37,480 1556 [DEBUG] - ----------------------------------------------------------------------
2023-06-04 01:54:37,512 1556 [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-04 01:54:37,558 1556 [INFO ] - Running auto uninstaller...
2023-06-04 01:54:37,573 1556 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-04 01:54:39,620 1556 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{C5DCDBB3-6BF5-1014-80A9-AE545AB444B1}' for 'GLPI Agent 1.5 (git532d8204)'
2023-06-04 01:54:39,667 1556 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git532d8204)' appears to have been uninstalled already by other means.
2023-06-04 01:54:39,682 1556 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-04 01:54:39,698 1556 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C5DCDBB3-6BF5-1014-80A9-AE545AB444B1}' value 'InstallLocation' - found? False
2023-06-04 01:54:39,729 1556 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-04 01:54:39,855 1556 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-04 01:54:39,886 1556 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-04 01:54:39,982 1556 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-04 01:54:39,998 1556 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-04 01:54:40,011 1556 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-04 01:54:40,027 1556 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-04 01:54:40,043 1556 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-04 01:54:40,058 1556 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-04 01:54:40,125 1556 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git532d8204-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-04 01:54:40,136 1556 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-04 01:54:40,151 1556 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-04 01:54:40,151 1556 [DEBUG] - [NuGet] The directory is not empty.
2023-06-04 01:54:40,168 1556 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230603'.
2023-06-04 01:54:40,214 1556 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-04 01:54:40,230 1556 [DEBUG] - Removing nupkg if it still exists.
2023-06-04 01:54:40,245 1556 [DEBUG] - Ensuring removal of installation files.
2023-06-04 01:54:40,261 1556 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-04 01:54:40,261 1556 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git532d8204-x64.msi.ignore".
2023-06-04 01:54:40,277 1556 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-04 01:54:40,293 1556 [DEBUG] - Ensuring removal of package cache files.
2023-06-04 01:54:40,358 1556 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-04 01:54:40,370 1556 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-04 01:54:40,420 1556 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment