Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 25, 2023 23:13
Show Gist options
  • Save choco-bot/a7783e8f89fe29e9709bcdf668432dd9 to your computer and use it in GitHub Desktop.
Save choco-bot/a7783e8f89fe29e9709bcdf668432dd9 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.6.20230623 - 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-2622543538-3183927653-2032971559-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.6 (gitdd313ee0)" displayVersion="1.6">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{458EA8F8-6BF5-1014-9B89-D718FA587821}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{458EA8F8-6BF5-1014-9B89-D718FA587821}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230625</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\]]></InstallSource>
<Language>1033</Language>
<Version>17170432</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>6</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3dc0c.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.6.20230623 - 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="98654B13F4BFCCC5C6A00D897A33D565" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="39F79A1C3C86647A150EC5955E467172" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="B75C377038B45D7D96B26FD63168D900" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="C9BC1C752627B7BD2089A742278765DB" />
<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="812D8336A285F7EEBE0C629711011CF3" />
<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.6-gitdd313ee0-x64.msi" checksum="2565BCDA1577A22462636479BE7AE825" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-25 23:09:22,173 3552 [DEBUG] - XmlConfiguration is now operational
2023-06-25 23:09:22,330 3552 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:09:22,330 3552 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:09:22,345 3552 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:09:22,345 3552 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:09:22,345 3552 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:09:22,361 3552 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-25 23:09:22,626 3552 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-25 23:09:22,626 3552 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-25 23:09:22,642 3552 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-25 23:09:22,642 3552 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-25 23:09:22,642 3552 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-25 23:09:22,642 3552 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-25 23:09:22,658 3552 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-25 23:09:22,658 3552 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-25 23:09:22,658 3552 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-25 23:09:22,658 3552 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-25 23:09:22,673 3552 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-25 23:09:22,673 3552 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-25 23:09:22,689 3552 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-25 23:09:22,689 3552 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-25 23:09:22,704 3552 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-25 23:09:22,704 3552 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-25 23:09:22,704 3552 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-25 23:09:22,720 3552 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-25 23:09:23,002 3552 [INFO ] - ============================================================
2023-06-25 23:09:23,392 3552 [INFO ] - Chocolatey v1.3.0
2023-06-25 23:09:23,423 3552 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-25 23:09:23,439 3552 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-25 23:09:23,439 3552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-25 23:09:23,470 3552 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.6.20230623 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-25 23:09:23,470 3552 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.6.20230623 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-25 23:09:23,642 3552 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-25 23:09:23,658 3552 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-25 23:09:23,689 3552 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-25 23:09:23,829 3552 [DEBUG] - Performing validation checks.
2023-06-25 23:09:23,845 3552 [DEBUG] - Global Configuration Validation Checks:
2023-06-25 23:09:23,861 3552 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-25 23:09:23,876 3552 [DEBUG] - System State Validation Checks:
2023-06-25 23:09:23,876 3552 [DEBUG] - Reboot Requirement Checks:
2023-06-25 23:09:23,892 3552 [DEBUG] - - Pending Computer Rename = Checked
2023-06-25 23:09:23,908 3552 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-25 23:09:23,923 3552 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-25 23:09:23,923 3552 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-25 23:09:23,939 3552 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-25 23:09:23,939 3552 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-25 23:09:23,955 3552 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-25 23:09:24,017 3552 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-25 23:09:24,017 3552 [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-25 23:09:24,064 3552 [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.6.20230623'|
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-JV9MJ4IE0P8'|
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-25 23:09:24,079 3552 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-25 23:09:24,095 3552 [INFO ] - Installing the following packages:
2023-06-25 23:09:24,111 3552 [INFO ] - glpi-agent-nightly.install
2023-06-25 23:09:24,126 3552 [INFO ] - By installing, you accept licenses for the packages.
2023-06-25 23:09:24,142 3552 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-25 23:09:24,142 3552 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-25 23:09:24,158 3552 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-25 23:09:24,158 3552 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-25 23:09:24,174 3552 [DEBUG] - * 'ChocolateyLastPathUpdate'='133321685053103346' ('User')
2023-06-25 23:09:24,189 3552 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-25 23:09:24,189 3552 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-25 23:09:24,189 3552 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-25 23:09:24,204 3552 [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-25 23:09:24,204 3552 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-25 23:09:24,220 3552 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-25 23:09:24,220 3552 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-25 23:09:24,236 3552 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-25 23:09:24,236 3552 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-25 23:09:24,236 3552 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-25 23:09:24,251 3552 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-25 23:09:24,267 3552 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-25 23:09:24,267 3552 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-25 23:09:24,267 3552 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-25 23:09:24,282 3552 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-25 23:09:24,282 3552 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-25 23:09:27,768 3552 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.6.20230623'.
2023-06-25 23:09:27,798 3552 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-25 23:09:27,814 3552 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-25 23:09:27,829 3552 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-25 23:09:27,861 3552 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-25 23:09:27,861 3552 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-25 23:09:27,907 3552 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.6-gitdd313ee0-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-25 23:09:27,969 3552 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-25 23:09:28,362 3552 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-25 23:09:28,362 3552 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.6.20230623'.
2023-06-25 23:09:28,376 3552 [INFO ] -
glpi-agent-nightly.install v1.6.20230623 (forced)
2023-06-25 23:09:28,408 3552 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-25 23:09:28,487 3552 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-25 23:09:28,501 3552 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-25 23:09:28,501 3552 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-25 23:09:28,516 3552 [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.6-gitdd313ee0-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.6-gitdd313ee0-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = '23EDEEEE3C3B4B0B4C762693492525965F5C798E471AD78280A8E898BDFF9CE4' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = 'BD22D872BADBEE7BFE639DEA2424219301EAC1B3D1728E543CC21B05C2F12D6D' # (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-25 23:09:28,611 3552 [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-25 23:09:28,625 3552 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-25 23:09:29,329 3552 [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-25 23:09:30,002 3552 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-25 23:09:30,002 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-25 23:09:30,016 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-25 23:09:30,032 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-25 23:09:30,032 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-25 23:09:30,047 3552 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-25 23:09:30,047 3552 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-25 23:09:30,065 3552 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-25 23:09:30,079 3552 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-25 23:09:30,079 3552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-25 23:09:30,094 3552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:09:30,094 3552 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-25 23:09:30,110 3552 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-25 23:09:30,110 3552 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-25 23:09:30,126 3552 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-25 23:09:30,126 3552 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-25 23:09:30,142 3552 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-25 23:09:30,142 3552 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-25 23:09:30,157 3552 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-25 23:09:30,157 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:09:30,172 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:09:30,190 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:09:30,204 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:09:30,204 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-25 23:09:30,219 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-25 23:09:30,235 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:09:30,235 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:09:30,251 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-25 23:09:30,251 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:09:30,251 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-25 23:09:30,266 3552 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-25 23:09:30,282 3552 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-25 23:09:30,282 3552 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-25 23:09:30,297 3552 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:09:30,297 3552 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-25 23:09:30,313 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-25 23:09:30,313 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:09:30,329 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:09:30,329 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:09:30,344 3552 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-25 23:09:30,344 3552 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-25 23:09:30,360 3552 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-25 23:09:30,423 3552 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-25 23:09:30,438 3552 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-25 23:09:30,438 3552 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-25 23:09:30,453 3552 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-25 23:09:30,453 3552 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-25 23:09:30,470 3552 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:09:30,470 3552 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-25 23:09:30,470 3552 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-25 23:09:30,500 3552 [DEBUG] - Loading community extensions
2023-06-25 23:09:30,548 3552 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-25 23:09:30,563 3552 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-25 23:09:30,704 3552 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-25 23:09:30,720 3552 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-25 23:09:30,720 3552 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-25 23:09:30,735 3552 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-25 23:09:30,751 3552 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-25 23:09:30,751 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-25 23:09:30,766 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-25 23:09:30,766 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-25 23:09:30,766 3552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-25 23:09:30,782 3552 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-25 23:09:30,797 3552 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-25 23:09:30,797 3552 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-25 23:09:30,813 3552 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-25 23:09:30,813 3552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-25 23:09:30,829 3552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:09:30,829 3552 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-25 23:09:30,844 3552 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-25 23:09:30,844 3552 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-25 23:09:30,860 3552 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-25 23:09:30,860 3552 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-25 23:09:30,876 3552 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-25 23:09:30,876 3552 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-25 23:09:30,891 3552 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-25 23:09:30,891 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:09:30,891 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:09:30,907 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:09:30,922 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:09:30,922 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-25 23:09:30,922 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-25 23:09:30,938 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:09:30,938 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:09:30,954 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-25 23:09:30,954 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:09:30,969 3552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-25 23:09:30,969 3552 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-25 23:09:30,985 3552 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-25 23:09:30,985 3552 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-25 23:09:31,000 3552 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:09:31,000 3552 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-25 23:09:31,017 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-25 23:09:31,031 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:09:31,031 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:09:31,047 3552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:09:31,047 3552 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-25 23:09:31,063 3552 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-25 23:09:31,063 3552 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-25 23:09:31,079 3552 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-25 23:09:31,079 3552 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-25 23:09:31,094 3552 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-25 23:09:31,110 3552 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-25 23:09:31,110 3552 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-25 23:09:31,125 3552 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-25 23:09:31,125 3552 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-25 23:09:31,125 3552 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:09:31,141 3552 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-25 23:09:31,141 3552 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-25 23:09:31,157 3552 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-25 23:09:31,157 3552 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-25 23:09:31,173 3552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-25 23:09:31,173 3552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-25 23:09:31,188 3552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-25 23:09:31,188 3552 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-25 23:09:31,188 3552 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-25 23:09:31,204 3552 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-25 23:09:31,204 3552 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-25 23:09:31,219 3552 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-25 23:09:31,219 3552 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:09:31,235 3552 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-25 23:09:31,235 3552 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-25 23:09:31,250 3552 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-25 23:09:31,250 3552 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-25 23:09:31,266 3552 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-25 23:09:31,266 3552 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-25 23:09:31,266 3552 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-25 23:09:31,282 3552 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-25 23:09:31,282 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:09:31,297 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:09:31,313 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:09:31,313 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:09:31,594 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-25 23:09:31,594 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-25 23:09:31,610 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:09:31,626 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:09:31,626 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-25 23:09:31,641 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:09:31,641 3552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-25 23:09:31,657 3552 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-25 23:09:31,657 3552 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-25 23:09:31,657 3552 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-25 23:09:31,672 3552 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-25 23:09:31,672 3552 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:09:31,688 3552 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-25 23:09:31,688 3552 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-25 23:09:31,704 3552 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-25 23:09:31,704 3552 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:09:31,719 3552 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:09:31,719 3552 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:09:31,735 3552 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-25 23:09:31,735 3552 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-25 23:09:31,750 3552 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-25 23:09:31,782 3552 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-25 23:09:31,797 3552 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-25 23:09:31,797 3552 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-25 23:09:31,813 3552 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-25 23:09:31,813 3552 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:09:31,828 3552 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-25 23:09:31,844 3552 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-25 23:09:31,844 3552 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-25 23:09:31,954 3552 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-25 23:09:31,985 3552 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230623 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-25 23:09:32,048 3552 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-25 23:09:32,157 3552 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-25 23:09:32,298 3552 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-25 23:09:32,313 3552 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-25 23:09:32,344 3552 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-25 23:09:32,548 3552 [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.6-gitdd313ee0-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-25 23:09:32,642 3552 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-25 23:09:32,673 3552 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-25 23:10:19,093 3552 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi" /quiet ] exited with '0'.
2023-06-25 23:10:19,202 3552 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-25 23:10:19,202 3552 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-25 23:10:19,311 3552 [DEBUG] - ----------------------------------------------------------------------
2023-06-25 23:10:19,406 3552 [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-25 23:10:19,436 3552 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-25 23:10:19,874 3552 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-25 23:10:19,922 3552 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-25 23:10:20,109 3552 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-25 23:10:20,188 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '98654B13F4BFCCC5C6A00D897A33D565'
2023-06-25 23:10:20,203 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '39F79A1C3C86647A150EC5955E467172'
2023-06-25 23:10:20,203 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'B75C377038B45D7D96B26FD63168D900'
2023-06-25 23:10:20,218 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum 'C9BC1C752627B7BD2089A742278765DB'
2023-06-25 23:10:20,218 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-25 23:10:20,233 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '812D8336A285F7EEBE0C629711011CF3'
2023-06-25 23:10:20,233 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-25 23:10:20,392 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi'
with checksum '2565BCDA1577A22462636479BE7AE825'
2023-06-25 23:10:20,392 3552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-25 23:10:20,468 3552 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623".
2023-06-25 23:10:20,531 3552 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623\.registry'
2023-06-25 23:10:20,594 3552 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623\.files'
2023-06-25 23:10:20,609 3552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623\.extra".
2023-06-25 23:10:20,624 3552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623\.version".
2023-06-25 23:10:20,624 3552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623\.sxs".
2023-06-25 23:10:20,624 3552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230623\.pin".
2023-06-25 23:10:20,640 3552 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-25 23:10:20,655 3552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-25 23:10:20,671 3552 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-25 23:10:20,671 3552 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-25 23:10:20,687 3552 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.6.20230623.nupkg".
2023-06-25 23:10:20,734 3552 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-25 23:10:20,749 3552 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-25 23:10:20,796 3552 [DEBUG] - Exiting with 0
2023-06-25 23:10:33,186 2564 [DEBUG] - XmlConfiguration is now operational
2023-06-25 23:10:33,344 2564 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:10:33,358 2564 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:10:33,358 2564 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:10:33,358 2564 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:10:33,358 2564 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-25 23:10:33,374 2564 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-25 23:10:33,657 2564 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-25 23:10:33,671 2564 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-25 23:10:33,671 2564 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-25 23:10:33,671 2564 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-25 23:10:33,687 2564 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-25 23:10:33,687 2564 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-25 23:10:33,687 2564 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-25 23:10:33,687 2564 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-25 23:10:33,702 2564 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-25 23:10:33,702 2564 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-25 23:10:33,702 2564 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-25 23:10:33,718 2564 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-25 23:10:33,718 2564 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-25 23:10:33,733 2564 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-25 23:10:33,733 2564 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-25 23:10:33,733 2564 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-25 23:10:33,733 2564 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-25 23:10:33,749 2564 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-25 23:10:34,062 2564 [INFO ] - ============================================================
2023-06-25 23:10:34,468 2564 [INFO ] - Chocolatey v1.3.0
2023-06-25 23:10:34,500 2564 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-25 23:10:34,515 2564 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-25 23:10:34,515 2564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-25 23:10:34,547 2564 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.6.20230623 -dvy --execution-timeout=2700
2023-06-25 23:10:34,547 2564 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.6.20230623 -dvy --execution-timeout=2700
2023-06-25 23:10:34,718 2564 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-25 23:10:34,749 2564 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-25 23:10:34,781 2564 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-25 23:10:34,938 2564 [DEBUG] - Performing validation checks.
2023-06-25 23:10:34,953 2564 [DEBUG] - Global Configuration Validation Checks:
2023-06-25 23:10:34,953 2564 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-25 23:10:34,968 2564 [DEBUG] - System State Validation Checks:
2023-06-25 23:10:34,984 2564 [DEBUG] - Reboot Requirement Checks:
2023-06-25 23:10:34,984 2564 [DEBUG] - - Pending Computer Rename = Checked
2023-06-25 23:10:34,999 2564 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-25 23:10:34,999 2564 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-25 23:10:35,015 2564 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-25 23:10:35,031 2564 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-25 23:10:35,031 2564 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-25 23:10:35,046 2564 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-25 23:10:35,155 2564 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-25 23:10:35,155 2564 [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-25 23:10:35,202 2564 [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.6.20230623'|
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-JV9MJ4IE0P8'|
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-25 23:10:35,233 2564 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-25 23:10:35,266 2564 [INFO ] - Uninstalling the following packages:
2023-06-25 23:10:35,281 2564 [INFO ] - glpi-agent-nightly.install
2023-06-25 23:10:35,296 2564 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-25 23:10:35,311 2564 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-25 23:10:35,311 2564 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-25 23:10:35,327 2564 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-25 23:10:35,327 2564 [DEBUG] - * 'ChocolateyLastPathUpdate'='133321685053103346' ('User')
2023-06-25 23:10:35,343 2564 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-25 23:10:35,343 2564 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-25 23:10:35,358 2564 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-25 23:10:35,358 2564 [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-25 23:10:35,374 2564 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-25 23:10:35,390 2564 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-25 23:10:35,390 2564 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-25 23:10:35,405 2564 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-25 23:10:35,405 2564 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-25 23:10:35,421 2564 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-25 23:10:35,421 2564 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-25 23:10:35,437 2564 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-25 23:10:35,437 2564 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-25 23:10:35,452 2564 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-25 23:10:35,452 2564 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-25 23:10:35,452 2564 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-25 23:10:35,624 2564 [DEBUG] - Running list with the following filter = ''
2023-06-25 23:10:35,640 2564 [DEBUG] - --- Start of List ---
2023-06-25 23:10:36,092 2564 [DEBUG] - glpi-agent-nightly.install 1.6.20230623
2023-06-25 23:10:36,092 2564 [DEBUG] - --- End of List ---
2023-06-25 23:10:36,266 2564 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-25 23:10:36,280 2564 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-25 23:10:36,280 2564 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-25 23:10:36,311 2564 [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-25 23:10:36,359 2564 [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-25 23:10:36,375 2564 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-25 23:10:37,078 2564 [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-25 23:10:37,640 2564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-25 23:10:37,655 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-25 23:10:37,655 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-25 23:10:37,671 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-25 23:10:37,671 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-25 23:10:37,687 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-25 23:10:37,687 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-25 23:10:37,702 2564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-25 23:10:37,702 2564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-25 23:10:37,718 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-25 23:10:37,718 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:10:37,733 2564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-25 23:10:37,733 2564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-25 23:10:37,749 2564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-25 23:10:37,749 2564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-25 23:10:37,765 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-25 23:10:37,765 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-25 23:10:37,780 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-25 23:10:37,780 2564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-25 23:10:37,796 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:10:37,796 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:10:37,812 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:10:37,812 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:10:37,827 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-25 23:10:37,827 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-25 23:10:37,843 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:10:37,843 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:10:37,858 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-25 23:10:37,858 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:10:37,874 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-25 23:10:37,874 2564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-25 23:10:37,889 2564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-25 23:10:37,889 2564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-25 23:10:37,905 2564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:10:37,905 2564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-25 23:10:37,905 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-25 23:10:37,921 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:10:37,936 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:10:37,936 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:10:37,936 2564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-25 23:10:37,952 2564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-25 23:10:37,968 2564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-25 23:10:37,968 2564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-25 23:10:37,983 2564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-25 23:10:37,983 2564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-25 23:10:37,999 2564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-25 23:10:37,999 2564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-25 23:10:38,014 2564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:10:38,014 2564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-25 23:10:38,031 2564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-25 23:10:38,062 2564 [DEBUG] - Loading community extensions
2023-06-25 23:10:38,108 2564 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-25 23:10:38,108 2564 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-25 23:10:38,233 2564 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-25 23:10:38,250 2564 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-25 23:10:38,250 2564 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-25 23:10:38,265 2564 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-25 23:10:38,265 2564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-25 23:10:38,280 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-25 23:10:38,280 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-25 23:10:38,296 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-25 23:10:38,296 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-25 23:10:38,312 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-25 23:10:38,312 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-25 23:10:38,327 2564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-25 23:10:38,327 2564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-25 23:10:38,343 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-25 23:10:38,343 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:10:38,343 2564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-25 23:10:38,359 2564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-25 23:10:38,359 2564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-25 23:10:38,375 2564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-25 23:10:38,375 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-25 23:10:38,390 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-25 23:10:38,390 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-25 23:10:38,405 2564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-25 23:10:38,405 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:10:38,421 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:10:38,437 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:10:38,437 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:10:38,452 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-25 23:10:38,452 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-25 23:10:38,468 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:10:38,468 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:10:38,484 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-25 23:10:38,499 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:10:38,499 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-25 23:10:38,499 2564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-25 23:10:38,515 2564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-25 23:10:38,515 2564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-25 23:10:38,530 2564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:10:38,547 2564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-25 23:10:38,547 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-25 23:10:38,561 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:10:38,561 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:10:38,577 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:10:38,577 2564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-25 23:10:38,593 2564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-25 23:10:38,593 2564 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-25 23:10:38,593 2564 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-25 23:10:38,609 2564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-25 23:10:38,624 2564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-25 23:10:38,624 2564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-25 23:10:38,641 2564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-25 23:10:38,641 2564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-25 23:10:38,655 2564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-25 23:10:38,655 2564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:10:38,655 2564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-25 23:10:38,671 2564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-25 23:10:38,671 2564 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-25 23:10:38,687 2564 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-25 23:10:38,702 2564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-25 23:10:38,702 2564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-25 23:10:38,718 2564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-25 23:10:38,718 2564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-25 23:10:38,733 2564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-25 23:10:38,733 2564 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-25 23:10:38,749 2564 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-25 23:10:38,765 2564 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-25 23:10:38,765 2564 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:10:38,781 2564 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-25 23:10:38,781 2564 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-25 23:10:38,796 2564 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-25 23:10:38,796 2564 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-25 23:10:38,811 2564 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-25 23:10:38,827 2564 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-25 23:10:38,827 2564 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-25 23:10:38,827 2564 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-25 23:10:38,844 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:10:38,844 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:10:38,858 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:10:38,858 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:10:38,874 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-25 23:10:38,874 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-25 23:10:38,890 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:10:38,890 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:10:38,905 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-25 23:10:38,905 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:10:38,921 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-25 23:10:38,921 2564 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-25 23:10:38,921 2564 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-25 23:10:38,937 2564 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-25 23:10:38,937 2564 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-25 23:10:38,952 2564 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:10:38,952 2564 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-25 23:10:38,968 2564 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-25 23:10:38,983 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-25 23:10:38,983 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:10:39,003 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:10:39,003 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:10:39,014 2564 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-25 23:10:39,014 2564 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-25 23:10:39,030 2564 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-25 23:10:39,030 2564 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-25 23:10:39,046 2564 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-25 23:10:39,046 2564 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-25 23:10:39,062 2564 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-25 23:10:39,062 2564 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:10:39,077 2564 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-25 23:10:39,077 2564 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-25 23:10:39,093 2564 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-25 23:10:39,187 2564 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-25 23:10:39,218 2564 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230623 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-25 23:10:39,296 2564 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-25 23:10:39,359 2564 [WARN ] - Confirm
2023-06-25 23:10:39,359 2564 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-25 23:10:39,374 2564 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-25 23:10:39,390 2564 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-25 23:11:11,311 2564 [DEBUG] - ----------------------------------------------------------------------
2023-06-25 23:11:11,327 2564 [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-25 23:11:11,515 2564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-25 23:11:11,515 2564 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-25 23:11:11,530 2564 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-25 23:11:13,561 2564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-25 23:11:13,593 2564 [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-25 23:11:13,642 2564 [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-25 23:11:13,642 2564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-25 23:11:13,655 2564 [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-25 23:11:13,671 2564 [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-25 23:11:13,686 2564 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-25 23:11:13,796 2564 [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-25 23:11:13,812 2564 [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-25 23:11:13,827 2564 [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-25 23:11:13,843 2564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi".
2023-06-25 23:11:13,878 2564 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore".
2023-06-25 23:11:15,531 2564 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-25 23:11:15,593 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '98654B13F4BFCCC5C6A00D897A33D565'
2023-06-25 23:11:15,609 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '39F79A1C3C86647A150EC5955E467172'
2023-06-25 23:11:15,609 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'B75C377038B45D7D96B26FD63168D900'
2023-06-25 23:11:15,624 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum 'C9BC1C752627B7BD2089A742278765DB'
2023-06-25 23:11:15,624 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-25 23:11:15,639 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '812D8336A285F7EEBE0C629711011CF3'
2023-06-25 23:11:15,639 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-25 23:11:15,796 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi'
with checksum '2565BCDA1577A22462636479BE7AE825'
2023-06-25 23:11:15,796 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-25 23:11:16,624 2564 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.6.20230623'.
2023-06-25 23:11:16,640 2564 [INFO ] -
glpi-agent-nightly.install v1.6.20230623
2023-06-25 23:11:17,203 2564 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-25 23:11:18,014 2564 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-25 23:11:18,030 2564 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-25 23:11:18,046 2564 [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-25 23:11:18,062 2564 [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-25 23:11:18,124 2564 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-25 23:11:18,234 2564 [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-25 23:11:18,390 2564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-25 23:11:18,390 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-25 23:11:18,405 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-25 23:11:18,405 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-25 23:11:18,422 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-25 23:11:18,436 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-25 23:11:18,436 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-25 23:11:18,453 2564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-25 23:11:18,468 2564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-25 23:11:18,468 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-25 23:11:18,484 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:11:18,484 2564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-25 23:11:18,499 2564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-25 23:11:18,499 2564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-25 23:11:18,514 2564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-25 23:11:18,514 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-25 23:11:18,530 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-25 23:11:18,530 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-25 23:11:18,546 2564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-25 23:11:18,546 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:11:18,570 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:11:19,141 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:11:19,141 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:11:19,155 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-25 23:11:19,155 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-25 23:11:19,172 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:11:19,187 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:11:19,187 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-25 23:11:19,202 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:11:19,202 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-25 23:11:19,218 2564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-25 23:11:19,218 2564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-25 23:11:19,233 2564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-25 23:11:19,233 2564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:11:19,233 2564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-25 23:11:19,249 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-25 23:11:19,265 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:11:19,265 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:11:19,265 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:11:19,280 2564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-25 23:11:19,280 2564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-25 23:11:19,296 2564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-25 23:11:19,296 2564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-25 23:11:19,311 2564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-25 23:11:19,327 2564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-25 23:11:19,327 2564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-25 23:11:19,342 2564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-25 23:11:19,342 2564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:11:19,358 2564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-25 23:11:19,358 2564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-25 23:11:19,374 2564 [DEBUG] - Loading community extensions
2023-06-25 23:11:19,374 2564 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-25 23:11:19,390 2564 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-25 23:11:20,047 2564 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-25 23:11:20,062 2564 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-25 23:11:20,062 2564 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-25 23:11:20,077 2564 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-25 23:11:20,077 2564 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-25 23:11:20,093 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-25 23:11:20,108 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-25 23:11:20,108 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-25 23:11:20,124 2564 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-25 23:11:20,124 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-25 23:11:20,140 2564 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-25 23:11:20,140 2564 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-25 23:11:20,155 2564 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-25 23:11:20,155 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-25 23:11:20,170 2564 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:11:20,170 2564 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-25 23:11:20,170 2564 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-25 23:11:20,186 2564 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-25 23:11:20,202 2564 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-25 23:11:20,202 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-25 23:11:20,217 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-25 23:11:20,217 2564 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-25 23:11:20,233 2564 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-25 23:11:20,233 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:11:20,249 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:11:20,249 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:11:20,264 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:11:20,264 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-25 23:11:20,280 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-25 23:11:20,280 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:11:20,296 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:11:20,296 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-25 23:11:20,311 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:11:20,311 2564 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-25 23:11:20,327 2564 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-25 23:11:20,327 2564 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-25 23:11:20,342 2564 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-25 23:11:20,342 2564 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:11:20,358 2564 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-25 23:11:20,358 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-25 23:11:20,937 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:11:20,952 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:11:20,952 2564 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:11:20,952 2564 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-25 23:11:20,968 2564 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-25 23:11:20,968 2564 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-25 23:11:20,983 2564 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-25 23:11:20,983 2564 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-25 23:11:20,999 2564 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-25 23:11:21,015 2564 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-25 23:11:21,015 2564 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-25 23:11:21,030 2564 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-25 23:11:21,030 2564 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-25 23:11:21,046 2564 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:11:21,046 2564 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-25 23:11:21,062 2564 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-25 23:11:21,062 2564 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-25 23:11:21,077 2564 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-25 23:11:21,077 2564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-25 23:11:21,093 2564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-25 23:11:21,579 2564 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-25 23:11:21,593 2564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-25 23:11:21,593 2564 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-25 23:11:21,608 2564 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-25 23:11:21,608 2564 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-25 23:11:21,624 2564 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-25 23:11:21,640 2564 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-25 23:11:21,640 2564 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-25 23:11:21,655 2564 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-25 23:11:21,655 2564 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-25 23:11:21,671 2564 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-25 23:11:21,671 2564 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-25 23:11:21,686 2564 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-25 23:11:21,686 2564 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-25 23:11:21,702 2564 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-25 23:11:21,702 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-25 23:11:21,718 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-25 23:11:21,733 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-25 23:11:21,733 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-25 23:11:21,749 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-25 23:11:21,749 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-25 23:11:21,749 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-25 23:11:21,765 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-25 23:11:21,765 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-25 23:11:21,780 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-25 23:11:21,780 2564 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-25 23:11:21,796 2564 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-25 23:11:21,796 2564 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-25 23:11:21,811 2564 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-25 23:11:21,811 2564 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-25 23:11:21,827 2564 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-25 23:11:21,827 2564 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-25 23:11:21,843 2564 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-25 23:11:21,858 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-25 23:11:21,858 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-25 23:11:21,858 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-25 23:11:21,874 2564 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-25 23:11:21,890 2564 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-25 23:11:21,890 2564 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-25 23:11:21,905 2564 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-25 23:11:21,905 2564 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-25 23:11:21,921 2564 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-25 23:11:21,921 2564 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-25 23:11:21,937 2564 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-25 23:11:21,937 2564 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-25 23:11:21,952 2564 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-25 23:11:21,952 2564 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-25 23:11:21,968 2564 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-25 23:11:21,984 2564 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-25 23:11:21,984 2564 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230623 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-25 23:11:22,015 2564 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-25 23:11:22,858 2564 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-25 23:11:23,375 2564 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-25 23:11:24,452 2564 [DEBUG] - Registry uninstall keys on system: 28
2023-06-25 23:11:24,468 2564 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-25 23:11:24,577 2564 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-25 23:11:25,140 2564 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{458EA8F8-6BF5-1014-9B89-D718FA587821} /qn /norestart' -file ''
2023-06-25 23:11:28,937 2564 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-25 23:11:29,546 2564 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {458EA8F8-6BF5-1014-9B89-D718FA587821} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-25 23:11:29,624 2564 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-25 23:11:30,249 2564 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {458EA8F8-6BF5-1014-9B89-D718FA587821} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-25 23:13:34,501 2564 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {458EA8F8-6BF5-1014-9B89-D718FA587821} /qn /norestart ] exited with '0'.
2023-06-25 23:13:34,548 2564 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-25 23:13:34,563 2564 [INFO ] - 0
2023-06-25 23:13:34,579 2564 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-25 23:13:34,579 2564 [DEBUG] - ----------------------------------------------------------------------
2023-06-25 23:13:34,594 2564 [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-25 23:13:34,656 2564 [INFO ] - Running auto uninstaller...
2023-06-25 23:13:34,656 2564 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-25 23:13:36,704 2564 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{458EA8F8-6BF5-1014-9B89-D718FA587821}' for 'GLPI Agent 1.6 (gitdd313ee0)'
2023-06-25 23:13:36,736 2564 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.6 (gitdd313ee0)' appears to have been uninstalled already by other means.
2023-06-25 23:13:36,736 2564 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-25 23:13:36,751 2564 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{458EA8F8-6BF5-1014-9B89-D718FA587821}' value 'InstallLocation' - found? False
2023-06-25 23:13:36,767 2564 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-25 23:13:36,907 2564 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-25 23:13:36,922 2564 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-25 23:13:37,001 2564 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-25 23:13:37,016 2564 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-25 23:13:37,033 2564 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-25 23:13:37,033 2564 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-25 23:13:37,047 2564 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-25 23:13:37,047 2564 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-25 23:13:37,126 2564 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.6-gitdd313ee0-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-25 23:13:37,142 2564 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-25 23:13:37,142 2564 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-25 23:13:37,157 2564 [DEBUG] - [NuGet] The directory is not empty.
2023-06-25 23:13:37,157 2564 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.6.20230623'.
2023-06-25 23:13:37,190 2564 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-25 23:13:37,204 2564 [DEBUG] - Removing nupkg if it still exists.
2023-06-25 23:13:37,204 2564 [DEBUG] - Ensuring removal of installation files.
2023-06-25 23:13:37,220 2564 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-25 23:13:37,235 2564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitdd313ee0-x64.msi.ignore".
2023-06-25 23:13:37,235 2564 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-25 23:13:37,251 2564 [DEBUG] - Ensuring removal of package cache files.
2023-06-25 23:13:37,298 2564 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-25 23:13:37,313 2564 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-25 23:13:37,346 2564 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment