Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 24, 2023 21:12
Show Gist options
  • Save choco-bot/625f97c8bfe340bf4097e515608052e1 to your computer and use it in GitHub Desktop.
Save choco-bot/625f97c8bfe340bf4097e515608052e1 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230620 - 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-3450013406-1537230440-843299317-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git84055950)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B81663F5-6BF5-1014-8185-80277CCA53C4}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{B81663F5-6BF5-1014-8185-80277CCA53C4}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230624</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\3e4a7.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230620 - 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="1A229E70A3E424DA6F83407308940DFA" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="6E4E9EFF1A382D4E4204C0DE7E8DC325" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="684D25E83556DC433E6FCF6DDA8CEA0F" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="1CD8EDF5BDEE8A293AE11453870D669D" />
<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="72C77A4E13DA1F7AAD3EF5A8B51CD383" />
<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-git84055950-x64.msi" checksum="CC6B0F1D6EF6F7678F8CA017C52385AD" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-24 21:08:05,209 2372 [DEBUG] - XmlConfiguration is now operational
2023-06-24 21:08:05,349 2372 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:08:05,349 2372 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:08:05,366 2372 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:08:05,366 2372 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:08:05,366 2372 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:08:05,366 2372 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-24 21:08:05,615 2372 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-24 21:08:05,630 2372 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-24 21:08:05,630 2372 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-24 21:08:05,630 2372 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-24 21:08:05,630 2372 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-24 21:08:05,646 2372 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-24 21:08:05,646 2372 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-24 21:08:05,646 2372 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-24 21:08:05,646 2372 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-24 21:08:05,662 2372 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-24 21:08:05,662 2372 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-24 21:08:05,662 2372 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-24 21:08:05,677 2372 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-24 21:08:05,677 2372 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-24 21:08:05,677 2372 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-24 21:08:05,677 2372 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-24 21:08:05,693 2372 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-24 21:08:05,693 2372 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-24 21:08:06,131 2372 [INFO ] - ============================================================
2023-06-24 21:08:06,584 2372 [INFO ] - Chocolatey v1.3.0
2023-06-24 21:08:06,615 2372 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-24 21:08:06,615 2372 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-24 21:08:06,631 2372 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-24 21:08:06,647 2372 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230620 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-24 21:08:06,678 2372 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230620 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-24 21:08:06,897 2372 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-24 21:08:06,913 2372 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-24 21:08:06,943 2372 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-24 21:08:07,100 2372 [DEBUG] - Performing validation checks.
2023-06-24 21:08:07,116 2372 [DEBUG] - Global Configuration Validation Checks:
2023-06-24 21:08:07,116 2372 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-24 21:08:07,131 2372 [DEBUG] - System State Validation Checks:
2023-06-24 21:08:07,146 2372 [DEBUG] - Reboot Requirement Checks:
2023-06-24 21:08:07,162 2372 [DEBUG] - - Pending Computer Rename = Checked
2023-06-24 21:08:07,162 2372 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-24 21:08:07,178 2372 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-24 21:08:07,178 2372 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-24 21:08:07,193 2372 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-24 21:08:07,209 2372 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-24 21:08:07,209 2372 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-24 21:08:07,271 2372 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-24 21:08:07,287 2372 [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-24 21:08:07,318 2372 [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.20230620'|
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-IMLJAKTEUT4'|
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-24 21:08:07,349 2372 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-24 21:08:07,365 2372 [INFO ] - Installing the following packages:
2023-06-24 21:08:07,381 2372 [INFO ] - glpi-agent-nightly.install
2023-06-24 21:08:07,381 2372 [INFO ] - By installing, you accept licenses for the packages.
2023-06-24 21:08:07,412 2372 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-24 21:08:07,412 2372 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-24 21:08:07,428 2372 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 21:08:07,428 2372 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 21:08:07,443 2372 [DEBUG] - * 'ChocolateyLastPathUpdate'='133320821056524610' ('User')
2023-06-24 21:08:07,443 2372 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-24 21:08:07,459 2372 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-24 21:08:07,459 2372 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-24 21:08:07,474 2372 [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-24 21:08:07,474 2372 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-24 21:08:07,490 2372 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-24 21:08:07,490 2372 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-24 21:08:07,490 2372 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 21:08:07,506 2372 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 21:08:07,521 2372 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-24 21:08:07,521 2372 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-24 21:08:07,537 2372 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-24 21:08:07,552 2372 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-24 21:08:07,552 2372 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-24 21:08:07,584 2372 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-24 21:08:07,584 2372 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-24 21:08:10,959 2372 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230620'.
2023-06-24 21:08:10,975 2372 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-24 21:08:11,241 2372 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-24 21:08:11,241 2372 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 21:08:11,256 2372 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 21:08:11,256 2372 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 21:08:11,302 2372 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git84055950-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 21:08:11,396 2372 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-24 21:08:11,959 2372 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-24 21:08:11,974 2372 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230620'.
2023-06-24 21:08:11,990 2372 [INFO ] -
glpi-agent-nightly.install v1.5.20230620 (forced)
2023-06-24 21:08:12,037 2372 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-24 21:08:12,115 2372 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 21:08:12,115 2372 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 21:08:12,115 2372 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-24 21:08:12,146 2372 [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-git84055950-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git84055950-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = '2990E1FB6344AB390B41348BE5E8DD52DE85B84976492A921A55E26ABB960CAE' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = '7EF7892F5753E41C14EE242A76078E74855D34D1AA95B318DD8F8A59CAE03101' # (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-24 21:08:12,257 2372 [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-24 21:08:12,272 2372 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 21:08:13,163 2372 [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-24 21:08:13,662 2372 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 21:08:13,694 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 21:08:13,694 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 21:08:13,709 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 21:08:13,724 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 21:08:13,724 2372 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 21:08:13,740 2372 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 21:08:13,740 2372 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 21:08:13,755 2372 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 21:08:13,755 2372 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 21:08:13,771 2372 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:08:13,771 2372 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 21:08:13,771 2372 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 21:08:13,787 2372 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 21:08:13,803 2372 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 21:08:13,803 2372 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 21:08:13,803 2372 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 21:08:13,819 2372 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 21:08:13,834 2372 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 21:08:13,834 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:08:13,850 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:08:13,850 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:08:13,850 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:08:13,865 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 21:08:13,865 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 21:08:13,881 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:08:13,881 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:08:13,897 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 21:08:13,897 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:08:13,912 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 21:08:13,912 2372 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 21:08:13,928 2372 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 21:08:13,944 2372 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 21:08:13,944 2372 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:08:13,960 2372 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 21:08:13,960 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 21:08:13,975 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:08:13,975 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:08:13,990 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:08:13,990 2372 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 21:08:13,990 2372 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 21:08:14,006 2372 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 21:08:14,021 2372 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 21:08:14,021 2372 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 21:08:14,037 2372 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 21:08:14,037 2372 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 21:08:14,053 2372 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 21:08:14,053 2372 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:08:14,069 2372 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 21:08:14,069 2372 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 21:08:14,100 2372 [DEBUG] - Loading community extensions
2023-06-24 21:08:14,147 2372 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 21:08:14,193 2372 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 21:08:14,335 2372 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 21:08:14,350 2372 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 21:08:14,365 2372 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 21:08:14,365 2372 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 21:08:14,381 2372 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 21:08:14,381 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 21:08:14,397 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 21:08:14,397 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 21:08:14,413 2372 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 21:08:14,413 2372 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 21:08:14,428 2372 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 21:08:14,443 2372 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 21:08:14,443 2372 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 21:08:14,443 2372 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 21:08:14,459 2372 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:08:14,459 2372 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 21:08:14,475 2372 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 21:08:14,475 2372 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 21:08:14,491 2372 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 21:08:14,491 2372 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 21:08:14,506 2372 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 21:08:14,522 2372 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 21:08:14,537 2372 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 21:08:14,537 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:08:14,553 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:08:14,553 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:08:14,568 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:08:14,568 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 21:08:14,584 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 21:08:14,584 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:08:14,600 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:08:14,600 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 21:08:14,615 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:08:14,615 2372 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 21:08:14,630 2372 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 21:08:14,630 2372 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 21:08:14,646 2372 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 21:08:14,646 2372 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:08:14,662 2372 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 21:08:14,662 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 21:08:14,677 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:08:14,677 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:08:14,693 2372 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:08:14,693 2372 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 21:08:14,709 2372 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 21:08:14,709 2372 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 21:08:14,724 2372 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 21:08:14,724 2372 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 21:08:14,740 2372 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 21:08:14,740 2372 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 21:08:14,756 2372 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 21:08:14,772 2372 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 21:08:14,787 2372 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 21:08:14,787 2372 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:08:14,803 2372 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 21:08:14,803 2372 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 21:08:14,818 2372 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 21:08:14,834 2372 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 21:08:14,834 2372 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 21:08:14,849 2372 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 21:08:14,849 2372 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 21:08:14,849 2372 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 21:08:14,865 2372 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 21:08:14,865 2372 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 21:08:14,881 2372 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 21:08:14,881 2372 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 21:08:14,896 2372 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:08:14,896 2372 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 21:08:14,912 2372 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 21:08:14,912 2372 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 21:08:14,928 2372 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 21:08:14,928 2372 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 21:08:14,943 2372 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 21:08:14,959 2372 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 21:08:14,959 2372 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 21:08:14,974 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:08:14,974 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:08:14,990 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:08:14,990 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:08:15,006 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 21:08:15,006 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 21:08:15,006 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:08:15,021 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:08:15,037 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 21:08:15,037 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:08:15,052 2372 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 21:08:15,052 2372 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 21:08:15,068 2372 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 21:08:15,068 2372 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 21:08:15,084 2372 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 21:08:15,084 2372 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:08:15,099 2372 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 21:08:15,099 2372 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 21:08:15,099 2372 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 21:08:15,115 2372 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:08:15,115 2372 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:08:15,131 2372 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:08:15,131 2372 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 21:08:15,147 2372 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 21:08:15,147 2372 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 21:08:15,162 2372 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 21:08:15,162 2372 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 21:08:15,162 2372 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 21:08:15,178 2372 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 21:08:15,194 2372 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:08:15,194 2372 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 21:08:15,209 2372 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 21:08:15,209 2372 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 21:08:15,304 2372 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 21:08:15,334 2372 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230620 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-24 21:08:15,412 2372 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-24 21:08:15,506 2372 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-24 21:08:15,647 2372 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-24 21:08:15,662 2372 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-24 21:08:15,693 2372 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-24 21:08:15,882 2372 [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-git84055950-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-24 21:08:15,976 2372 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-24 21:08:16,021 2372 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-24 21:08:58,928 2372 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi" /quiet ] exited with '0'.
2023-06-24 21:08:58,991 2372 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-24 21:08:59,006 2372 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-24 21:08:59,023 2372 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 21:08:59,069 2372 [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-24 21:08:59,084 2372 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-24 21:08:59,287 2372 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-24 21:08:59,350 2372 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-24 21:08:59,523 2372 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-24 21:08:59,711 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '1A229E70A3E424DA6F83407308940DFA'
2023-06-24 21:08:59,725 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '6E4E9EFF1A382D4E4204C0DE7E8DC325'
2023-06-24 21:08:59,725 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '684D25E83556DC433E6FCF6DDA8CEA0F'
2023-06-24 21:08:59,740 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '1CD8EDF5BDEE8A293AE11453870D669D'
2023-06-24 21:08:59,740 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-24 21:08:59,756 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '72C77A4E13DA1F7AAD3EF5A8B51CD383'
2023-06-24 21:08:59,756 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-24 21:08:59,928 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi'
with checksum 'CC6B0F1D6EF6F7678F8CA017C52385AD'
2023-06-24 21:08:59,943 2372 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 21:09:00,022 2372 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620".
2023-06-24 21:09:00,100 2372 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620\.registry'
2023-06-24 21:09:00,163 2372 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620\.files'
2023-06-24 21:09:00,178 2372 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620\.extra".
2023-06-24 21:09:00,178 2372 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620\.version".
2023-06-24 21:09:00,193 2372 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620\.sxs".
2023-06-24 21:09:00,193 2372 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230620\.pin".
2023-06-24 21:09:00,209 2372 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-24 21:09:00,225 2372 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-24 21:09:00,240 2372 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-24 21:09:00,240 2372 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-24 21:09:00,256 2372 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230620.nupkg".
2023-06-24 21:09:00,334 2372 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-24 21:09:00,350 2372 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-24 21:09:00,459 2372 [DEBUG] - Exiting with 0
2023-06-24 21:09:12,928 3116 [DEBUG] - XmlConfiguration is now operational
2023-06-24 21:09:13,084 3116 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:09:13,084 3116 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:09:13,099 3116 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:09:13,099 3116 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:09:13,099 3116 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 21:09:13,099 3116 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-24 21:09:13,397 3116 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-24 21:09:13,412 3116 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-24 21:09:13,412 3116 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-24 21:09:13,412 3116 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-24 21:09:13,427 3116 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-24 21:09:13,427 3116 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-24 21:09:13,427 3116 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-24 21:09:13,427 3116 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-24 21:09:13,443 3116 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-24 21:09:13,443 3116 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-24 21:09:13,443 3116 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-24 21:09:13,459 3116 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-24 21:09:13,459 3116 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-24 21:09:13,459 3116 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-24 21:09:13,474 3116 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-24 21:09:13,474 3116 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-24 21:09:13,474 3116 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-24 21:09:13,474 3116 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-24 21:09:13,803 3116 [INFO ] - ============================================================
2023-06-24 21:09:14,194 3116 [INFO ] - Chocolatey v1.3.0
2023-06-24 21:09:14,225 3116 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-24 21:09:14,225 3116 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-24 21:09:14,240 3116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-24 21:09:14,272 3116 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230620 -dvy --execution-timeout=2700
2023-06-24 21:09:14,272 3116 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230620 -dvy --execution-timeout=2700
2023-06-24 21:09:14,443 3116 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-24 21:09:14,476 3116 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-24 21:09:14,507 3116 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-24 21:09:14,663 3116 [DEBUG] - Performing validation checks.
2023-06-24 21:09:14,678 3116 [DEBUG] - Global Configuration Validation Checks:
2023-06-24 21:09:14,694 3116 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-24 21:09:14,709 3116 [DEBUG] - System State Validation Checks:
2023-06-24 21:09:14,725 3116 [DEBUG] - Reboot Requirement Checks:
2023-06-24 21:09:14,725 3116 [DEBUG] - - Pending Computer Rename = Checked
2023-06-24 21:09:14,740 3116 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-24 21:09:14,756 3116 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-24 21:09:14,756 3116 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-24 21:09:14,756 3116 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-24 21:09:14,771 3116 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-24 21:09:14,788 3116 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-24 21:09:14,850 3116 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-24 21:09:14,865 3116 [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-24 21:09:14,897 3116 [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.20230620'|
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-IMLJAKTEUT4'|
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-24 21:09:14,943 3116 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-24 21:09:14,959 3116 [INFO ] - Uninstalling the following packages:
2023-06-24 21:09:14,975 3116 [INFO ] - glpi-agent-nightly.install
2023-06-24 21:09:14,991 3116 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-24 21:09:14,991 3116 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-24 21:09:15,006 3116 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 21:09:15,006 3116 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 21:09:15,021 3116 [DEBUG] - * 'ChocolateyLastPathUpdate'='133320821056524610' ('User')
2023-06-24 21:09:15,021 3116 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-24 21:09:15,037 3116 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-24 21:09:15,037 3116 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-24 21:09:15,037 3116 [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-24 21:09:15,053 3116 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-24 21:09:15,053 3116 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-24 21:09:15,068 3116 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-24 21:09:15,068 3116 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 21:09:15,084 3116 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 21:09:15,084 3116 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-24 21:09:15,100 3116 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-24 21:09:15,100 3116 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-24 21:09:15,115 3116 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-24 21:09:15,115 3116 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-24 21:09:15,115 3116 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-24 21:09:15,131 3116 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-24 21:09:15,271 3116 [DEBUG] - Running list with the following filter = ''
2023-06-24 21:09:15,288 3116 [DEBUG] - --- Start of List ---
2023-06-24 21:09:15,725 3116 [DEBUG] - glpi-agent-nightly.install 1.5.20230620
2023-06-24 21:09:15,740 3116 [DEBUG] - --- End of List ---
2023-06-24 21:09:15,913 3116 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 21:09:15,927 3116 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 21:09:15,927 3116 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-24 21:09:15,960 3116 [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-24 21:09:16,022 3116 [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-24 21:09:16,037 3116 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 21:09:16,756 3116 [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-24 21:09:17,304 3116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 21:09:17,319 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 21:09:17,319 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 21:09:17,333 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 21:09:17,333 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 21:09:17,349 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 21:09:17,349 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 21:09:17,365 3116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 21:09:17,381 3116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 21:09:17,381 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 21:09:17,396 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:09:17,396 3116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 21:09:17,412 3116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 21:09:17,412 3116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 21:09:17,412 3116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 21:09:17,428 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 21:09:17,428 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 21:09:17,443 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 21:09:17,459 3116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 21:09:17,459 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:17,459 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:09:17,475 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:09:17,475 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:09:17,490 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 21:09:17,490 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 21:09:17,506 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:09:17,506 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:09:17,506 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 21:09:17,521 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:09:17,537 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 21:09:17,537 3116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 21:09:17,553 3116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 21:09:17,553 3116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 21:09:17,553 3116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:09:17,568 3116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 21:09:17,584 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 21:09:17,584 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:17,600 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:09:17,600 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:09:17,615 3116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 21:09:17,631 3116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 21:09:17,631 3116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 21:09:17,662 3116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 21:09:17,678 3116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 21:09:17,678 3116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 21:09:17,693 3116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 21:09:17,693 3116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 21:09:17,709 3116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:09:17,709 3116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 21:09:17,724 3116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 21:09:17,756 3116 [DEBUG] - Loading community extensions
2023-06-24 21:09:17,803 3116 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 21:09:17,819 3116 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 21:09:17,944 3116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 21:09:17,960 3116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 21:09:17,960 3116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 21:09:17,975 3116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 21:09:17,990 3116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 21:09:17,990 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 21:09:18,006 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 21:09:18,006 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 21:09:18,022 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 21:09:18,022 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 21:09:18,022 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 21:09:18,037 3116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 21:09:18,053 3116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 21:09:18,053 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 21:09:18,068 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:09:18,068 3116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 21:09:18,084 3116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 21:09:18,084 3116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 21:09:18,099 3116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 21:09:18,099 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 21:09:18,115 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 21:09:18,115 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 21:09:18,131 3116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 21:09:18,131 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:18,147 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:09:18,147 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:09:18,147 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:09:18,162 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 21:09:18,178 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 21:09:18,178 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:09:18,193 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:09:18,193 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 21:09:18,209 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:09:18,209 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 21:09:18,225 3116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 21:09:18,225 3116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 21:09:18,225 3116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 21:09:18,240 3116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:09:18,240 3116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 21:09:18,255 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 21:09:18,271 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:18,271 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:09:18,288 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:09:18,288 3116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 21:09:18,303 3116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 21:09:18,303 3116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 21:09:18,318 3116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 21:09:18,334 3116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 21:09:18,334 3116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 21:09:18,349 3116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 21:09:18,365 3116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 21:09:18,365 3116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 21:09:18,380 3116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 21:09:18,380 3116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:09:18,396 3116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 21:09:18,396 3116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 21:09:18,412 3116 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 21:09:18,412 3116 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 21:09:18,428 3116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 21:09:18,428 3116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 21:09:18,443 3116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 21:09:18,443 3116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 21:09:18,459 3116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 21:09:18,459 3116 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 21:09:18,474 3116 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 21:09:18,474 3116 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 21:09:18,490 3116 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:09:18,490 3116 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 21:09:18,506 3116 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 21:09:18,521 3116 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 21:09:18,521 3116 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 21:09:18,537 3116 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 21:09:18,537 3116 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 21:09:18,553 3116 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 21:09:18,553 3116 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 21:09:18,569 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:18,569 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:09:18,584 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:09:18,584 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:09:18,600 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 21:09:18,615 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 21:09:18,615 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:09:18,631 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:09:18,646 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 21:09:18,646 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:09:18,662 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 21:09:18,677 3116 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 21:09:18,677 3116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 21:09:18,677 3116 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 21:09:18,693 3116 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 21:09:18,693 3116 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:09:18,709 3116 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 21:09:18,724 3116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 21:09:18,724 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 21:09:18,740 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:18,740 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:09:18,756 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:09:18,756 3116 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 21:09:18,756 3116 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 21:09:18,772 3116 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 21:09:18,772 3116 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 21:09:18,787 3116 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 21:09:18,787 3116 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 21:09:18,802 3116 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 21:09:18,818 3116 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:09:18,818 3116 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 21:09:18,834 3116 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 21:09:18,834 3116 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 21:09:18,943 3116 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 21:09:18,958 3116 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230620 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-24 21:09:19,037 3116 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-24 21:09:19,115 3116 [WARN ] - Confirm
2023-06-24 21:09:19,115 3116 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-24 21:09:19,130 3116 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-24 21:09:19,130 3116 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-24 21:09:49,771 3116 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 21:09:49,787 3116 [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-24 21:09:49,959 3116 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-24 21:09:49,974 3116 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-24 21:09:49,974 3116 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-24 21:09:52,006 3116 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-24 21:09:52,006 3116 [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-24 21:09:52,038 3116 [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-24 21:09:52,053 3116 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-24 21:09:52,068 3116 [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-24 21:09:52,068 3116 [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-24 21:09:52,084 3116 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-24 21:09:52,084 3116 [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-24 21:09:52,100 3116 [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-24 21:09:52,100 3116 [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-24 21:09:52,115 3116 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi".
2023-06-24 21:09:52,147 3116 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore".
2023-06-24 21:09:53,663 3116 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-24 21:09:53,741 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '1A229E70A3E424DA6F83407308940DFA'
2023-06-24 21:09:53,741 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '6E4E9EFF1A382D4E4204C0DE7E8DC325'
2023-06-24 21:09:53,756 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '684D25E83556DC433E6FCF6DDA8CEA0F'
2023-06-24 21:09:53,771 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '1CD8EDF5BDEE8A293AE11453870D669D'
2023-06-24 21:09:53,771 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-24 21:09:53,788 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '72C77A4E13DA1F7AAD3EF5A8B51CD383'
2023-06-24 21:09:53,788 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-24 21:09:53,912 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi'
with checksum 'CC6B0F1D6EF6F7678F8CA017C52385AD'
2023-06-24 21:09:53,912 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 21:09:54,647 3116 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230620'.
2023-06-24 21:09:54,662 3116 [INFO ] -
glpi-agent-nightly.install v1.5.20230620
2023-06-24 21:09:54,726 3116 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 21:09:54,726 3116 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 21:09:54,726 3116 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-24 21:09:54,740 3116 [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-24 21:09:54,755 3116 [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-24 21:09:54,819 3116 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 21:09:55,898 3116 [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-24 21:09:56,414 3116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 21:09:56,414 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 21:09:56,429 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 21:09:56,443 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 21:09:56,443 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 21:09:56,443 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 21:09:56,459 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 21:09:56,459 3116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 21:09:56,474 3116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 21:09:56,474 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 21:09:56,490 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:09:56,506 3116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 21:09:56,506 3116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 21:09:56,521 3116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 21:09:56,521 3116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 21:09:56,537 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 21:09:56,537 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 21:09:56,553 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 21:09:56,553 3116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 21:09:56,568 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:56,568 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:09:56,960 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:09:57,429 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:09:57,443 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 21:09:57,443 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 21:09:57,443 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:09:57,459 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:09:57,459 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 21:09:57,474 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:09:57,474 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 21:09:57,490 3116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 21:09:57,490 3116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 21:09:57,506 3116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 21:09:57,506 3116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:09:57,522 3116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 21:09:57,537 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 21:09:57,537 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:57,552 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:09:57,552 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:09:57,568 3116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 21:09:57,568 3116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 21:09:57,568 3116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 21:09:57,974 3116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 21:09:58,007 3116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 21:09:58,211 3116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 21:09:58,211 3116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 21:09:58,224 3116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 21:09:58,240 3116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:09:58,240 3116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 21:09:58,256 3116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 21:09:58,256 3116 [DEBUG] - Loading community extensions
2023-06-24 21:09:58,271 3116 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 21:09:58,287 3116 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 21:09:58,319 3116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 21:09:58,319 3116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 21:09:58,335 3116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 21:09:58,335 3116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 21:09:58,350 3116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 21:09:58,350 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 21:09:58,365 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 21:09:58,868 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 21:09:58,881 3116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 21:09:58,881 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 21:09:58,896 3116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 21:09:58,896 3116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 21:09:58,896 3116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 21:09:58,912 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 21:09:58,927 3116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:09:58,927 3116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 21:09:58,943 3116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 21:09:58,943 3116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 21:09:58,959 3116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 21:09:58,959 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 21:09:58,974 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 21:09:58,974 3116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 21:09:58,990 3116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 21:09:58,990 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:58,990 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:09:59,006 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:09:59,006 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:09:59,022 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 21:09:59,568 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 21:09:59,584 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:09:59,584 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:09:59,600 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 21:09:59,600 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:09:59,615 3116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 21:09:59,615 3116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 21:09:59,631 3116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 21:09:59,631 3116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 21:09:59,646 3116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:09:59,646 3116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 21:09:59,662 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 21:09:59,662 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:09:59,678 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:09:59,678 3116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:09:59,693 3116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 21:09:59,693 3116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 21:09:59,709 3116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 21:09:59,709 3116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 21:09:59,724 3116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 21:09:59,724 3116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 21:10:00,225 3116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 21:10:00,225 3116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 21:10:00,240 3116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 21:10:00,257 3116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 21:10:00,257 3116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:10:00,272 3116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 21:10:00,272 3116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 21:10:00,287 3116 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 21:10:00,302 3116 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 21:10:00,302 3116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 21:10:00,302 3116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 21:10:00,318 3116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 21:10:00,318 3116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 21:10:00,335 3116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 21:10:00,349 3116 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 21:10:00,349 3116 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 21:10:00,349 3116 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 21:10:00,366 3116 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 21:10:00,366 3116 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 21:10:00,381 3116 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 21:10:00,381 3116 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 21:10:00,959 3116 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 21:10:00,959 3116 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 21:10:00,974 3116 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 21:10:00,975 3116 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 21:10:00,990 3116 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 21:10:01,006 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 21:10:01,006 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 21:10:01,021 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 21:10:01,021 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 21:10:01,021 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 21:10:01,037 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 21:10:01,037 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 21:10:01,052 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 21:10:01,068 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 21:10:01,068 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 21:10:01,084 3116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 21:10:01,084 3116 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 21:10:01,100 3116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 21:10:01,100 3116 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 21:10:01,100 3116 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 21:10:01,116 3116 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 21:10:01,162 3116 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 21:10:01,162 3116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 21:10:01,178 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 21:10:01,193 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 21:10:01,193 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 21:10:01,193 3116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 21:10:01,209 3116 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 21:10:01,209 3116 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 21:10:01,225 3116 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 21:10:01,225 3116 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 21:10:01,240 3116 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 21:10:01,240 3116 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 21:10:01,256 3116 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 21:10:01,256 3116 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 21:10:01,256 3116 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 21:10:01,272 3116 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 21:10:01,288 3116 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 21:10:01,303 3116 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 21:10:01,303 3116 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230620 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-24 21:10:01,335 3116 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-24 21:10:02,038 3116 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-24 21:10:02,617 3116 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-24 21:10:04,037 3116 [DEBUG] - Registry uninstall keys on system: 28
2023-06-24 21:10:04,053 3116 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-24 21:10:04,694 3116 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-24 21:10:04,742 3116 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{B81663F5-6BF5-1014-8185-80277CCA53C4} /qn /norestart' -file ''
2023-06-24 21:10:07,678 3116 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-24 21:10:07,819 3116 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {B81663F5-6BF5-1014-8185-80277CCA53C4} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-24 21:10:07,912 3116 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-24 21:10:07,959 3116 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {B81663F5-6BF5-1014-8185-80277CCA53C4} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-24 21:11:57,632 3116 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {B81663F5-6BF5-1014-8185-80277CCA53C4} /qn /norestart ] exited with '0'.
2023-06-24 21:11:57,693 3116 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-24 21:11:57,709 3116 [INFO ] - 0
2023-06-24 21:11:57,725 3116 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-24 21:11:57,725 3116 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 21:11:57,741 3116 [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-24 21:11:57,803 3116 [INFO ] - Running auto uninstaller...
2023-06-24 21:11:57,803 3116 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-24 21:11:59,834 3116 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{B81663F5-6BF5-1014-8185-80277CCA53C4}' for 'GLPI Agent 1.5 (git84055950)'
2023-06-24 21:11:59,850 3116 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git84055950)' appears to have been uninstalled already by other means.
2023-06-24 21:11:59,865 3116 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-24 21:11:59,865 3116 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B81663F5-6BF5-1014-8185-80277CCA53C4}' value 'InstallLocation' - found? False
2023-06-24 21:11:59,898 3116 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-24 21:12:00,023 3116 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-24 21:12:00,037 3116 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-24 21:12:00,131 3116 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 21:12:00,131 3116 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 21:12:00,147 3116 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 21:12:00,162 3116 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 21:12:00,162 3116 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 21:12:00,178 3116 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 21:12:00,241 3116 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git84055950-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 21:12:00,258 3116 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-24 21:12:00,271 3116 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-24 21:12:00,287 3116 [DEBUG] - [NuGet] The directory is not empty.
2023-06-24 21:12:00,287 3116 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230620'.
2023-06-24 21:12:00,302 3116 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-24 21:12:00,318 3116 [DEBUG] - Removing nupkg if it still exists.
2023-06-24 21:12:00,334 3116 [DEBUG] - Ensuring removal of installation files.
2023-06-24 21:12:00,350 3116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 21:12:00,350 3116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git84055950-x64.msi.ignore".
2023-06-24 21:12:00,365 3116 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-24 21:12:00,380 3116 [DEBUG] - Ensuring removal of package cache files.
2023-06-24 21:12:00,428 3116 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-24 21:12:00,444 3116 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-24 21:12:00,475 3116 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment