Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 21, 2023 23:28
Show Gist options
  • Save choco-bot/955aa9d0b539b29d6bdcabdcba683c45 to your computer and use it in GitHub Desktop.
Save choco-bot/955aa9d0b539b29d6bdcabdcba683c45 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230616 - 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-2304617942-3407614630-2636382615-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git095d0ba4)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0A05D72B-6BF5-1014-80D9-BEB5884A97D4}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{0A05D72B-6BF5-1014-80D9-BEB5884A97D4}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230621</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\]]></InstallSource>
<Language>1033</Language>
<Version>17104896</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>5</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3c817.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230616 - 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="C964BBE965C4E34DC88FA385DA2A16E0" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="57DD89A7875AB6B91C75A3BD1B77D5D9" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="C971C755B9230DC835A5E4BB351F2D49" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="56BA17EA5ADD95D9EC2D560ED62AC85D" />
<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="82ADD5D004F187A67B52064959D23F2A" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1" checksum="6B0400F7F1626CE5D4B3DE26A190423B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi" checksum="F63997FE16AD96B47FCF28C009F78170" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-21 23:25:24,333 3360 [DEBUG] - XmlConfiguration is now operational
2023-06-21 23:25:24,489 3360 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:25:24,489 3360 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:25:24,504 3360 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:25:24,504 3360 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:25:24,504 3360 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:25:24,504 3360 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-21 23:25:24,802 3360 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-21 23:25:24,802 3360 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-21 23:25:24,802 3360 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-21 23:25:24,817 3360 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-21 23:25:24,817 3360 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-21 23:25:24,817 3360 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-21 23:25:24,833 3360 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-21 23:25:24,833 3360 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-21 23:25:24,833 3360 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-21 23:25:24,833 3360 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-21 23:25:24,848 3360 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-21 23:25:24,848 3360 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-21 23:25:24,848 3360 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-21 23:25:24,864 3360 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-21 23:25:24,864 3360 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-21 23:25:24,864 3360 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-21 23:25:24,864 3360 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-21 23:25:24,879 3360 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-21 23:25:25,161 3360 [INFO ] - ============================================================
2023-06-21 23:25:25,537 3360 [INFO ] - Chocolatey v1.3.0
2023-06-21 23:25:25,567 3360 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-21 23:25:25,583 3360 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-21 23:25:25,583 3360 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-21 23:25:25,615 3360 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230616 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-21 23:25:25,615 3360 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230616 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-21 23:25:25,786 3360 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-21 23:25:25,818 3360 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-21 23:25:25,833 3360 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-21 23:25:25,990 3360 [DEBUG] - Performing validation checks.
2023-06-21 23:25:26,005 3360 [DEBUG] - Global Configuration Validation Checks:
2023-06-21 23:25:26,005 3360 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-21 23:25:26,037 3360 [DEBUG] - System State Validation Checks:
2023-06-21 23:25:26,037 3360 [DEBUG] - Reboot Requirement Checks:
2023-06-21 23:25:26,051 3360 [DEBUG] - - Pending Computer Rename = Checked
2023-06-21 23:25:26,068 3360 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-21 23:25:26,068 3360 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-21 23:25:26,083 3360 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-21 23:25:26,083 3360 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-21 23:25:26,098 3360 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-21 23:25:26,113 3360 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-21 23:25:26,193 3360 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-21 23:25:26,193 3360 [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-21 23:25:26,239 3360 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230616'|
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-PM25BUB1750'|
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-21 23:25:26,255 3360 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-21 23:25:26,271 3360 [INFO ] - Installing the following packages:
2023-06-21 23:25:26,286 3360 [INFO ] - glpi-agent-nightly.install
2023-06-21 23:25:26,302 3360 [INFO ] - By installing, you accept licenses for the packages.
2023-06-21 23:25:26,334 3360 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-21 23:25:26,334 3360 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-21 23:25:26,348 3360 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-21 23:25:26,348 3360 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-21 23:25:26,348 3360 [DEBUG] - * 'ChocolateyLastPathUpdate'='133318228912855547' ('User')
2023-06-21 23:25:26,364 3360 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-21 23:25:26,364 3360 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-21 23:25:26,380 3360 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-21 23:25:26,380 3360 [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-21 23:25:26,380 3360 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-21 23:25:26,395 3360 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-21 23:25:26,395 3360 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-21 23:25:26,395 3360 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-21 23:25:26,411 3360 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-21 23:25:26,411 3360 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-21 23:25:26,427 3360 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-21 23:25:26,427 3360 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-21 23:25:26,427 3360 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-21 23:25:26,442 3360 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-21 23:25:26,442 3360 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-21 23:25:26,458 3360 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-21 23:25:29,958 3360 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230616'.
2023-06-21 23:25:29,989 3360 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-21 23:25:29,989 3360 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-21 23:25:30,005 3360 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-21 23:25:30,005 3360 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-21 23:25:30,021 3360 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-21 23:25:30,176 3360 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git095d0ba4-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-21 23:25:30,223 3360 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-21 23:25:30,630 3360 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-21 23:25:30,630 3360 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230616'.
2023-06-21 23:25:30,646 3360 [INFO ] -
glpi-agent-nightly.install v1.5.20230616 (forced)
2023-06-21 23:25:30,678 3360 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-21 23:25:30,756 3360 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-21 23:25:30,770 3360 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-21 23:25:30,770 3360 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-21 23:25:30,803 3360 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'MSI'
url = 'https://nightly.glpi-project.org/glpi-agent/GLPI-Agent-1.5-git095d0ba4-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git095d0ba4-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = '7ACD7E97E6DA98933D1E035D5DC17F10E1C579A677C32EC4C05EFE9B1B7EFFF8' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = 'DA482868319016AC830E1D2AD68111696A3CEF7765AEAE12E5946D397498F4D0' # (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-21 23:25:30,864 3360 [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-21 23:25:30,880 3360 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-21 23:25:31,537 3360 [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-21 23:25:32,177 3360 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-21 23:25:32,192 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-21 23:25:32,192 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-21 23:25:32,207 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-21 23:25:32,207 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-21 23:25:32,224 3360 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-21 23:25:32,224 3360 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-21 23:25:32,239 3360 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-21 23:25:32,239 3360 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-21 23:25:32,239 3360 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-21 23:25:32,255 3360 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:25:32,255 3360 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-21 23:25:32,271 3360 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-21 23:25:32,271 3360 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-21 23:25:32,286 3360 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-21 23:25:32,286 3360 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-21 23:25:32,301 3360 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-21 23:25:32,301 3360 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-21 23:25:32,301 3360 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-21 23:25:32,317 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:25:32,333 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:25:32,333 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:25:32,348 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:25:32,348 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-21 23:25:32,348 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-21 23:25:32,364 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:25:32,364 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:25:32,379 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-21 23:25:32,379 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:25:32,395 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-21 23:25:32,395 3360 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-21 23:25:32,411 3360 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-21 23:25:32,411 3360 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-21 23:25:32,427 3360 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:25:32,427 3360 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-21 23:25:32,442 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-21 23:25:32,442 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:25:32,505 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:25:32,505 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:25:32,520 3360 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-21 23:25:32,520 3360 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-21 23:25:32,535 3360 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-21 23:25:32,535 3360 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-21 23:25:32,552 3360 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-21 23:25:32,567 3360 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-21 23:25:32,567 3360 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-21 23:25:32,583 3360 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-21 23:25:32,599 3360 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:25:32,599 3360 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-21 23:25:32,614 3360 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-21 23:25:32,645 3360 [DEBUG] - Loading community extensions
2023-06-21 23:25:32,677 3360 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-21 23:25:32,677 3360 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-21 23:25:32,802 3360 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-21 23:25:32,817 3360 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-21 23:25:32,834 3360 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-21 23:25:32,834 3360 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-21 23:25:32,848 3360 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-21 23:25:32,848 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-21 23:25:32,864 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-21 23:25:32,864 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-21 23:25:32,864 3360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-21 23:25:32,880 3360 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-21 23:25:32,880 3360 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-21 23:25:32,895 3360 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-21 23:25:32,910 3360 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-21 23:25:32,910 3360 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-21 23:25:32,910 3360 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:25:32,927 3360 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-21 23:25:32,942 3360 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-21 23:25:32,942 3360 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-21 23:25:32,958 3360 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-21 23:25:32,958 3360 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-21 23:25:32,974 3360 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-21 23:25:32,974 3360 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-21 23:25:32,989 3360 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-21 23:25:32,989 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:25:33,005 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:25:33,005 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:25:33,020 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:25:33,020 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-21 23:25:33,036 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-21 23:25:33,036 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:25:33,052 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:25:33,254 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-21 23:25:33,286 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:25:33,286 3360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-21 23:25:33,302 3360 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-21 23:25:33,302 3360 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-21 23:25:33,317 3360 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-21 23:25:33,333 3360 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:25:33,333 3360 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-21 23:25:33,333 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-21 23:25:33,349 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:25:33,349 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:25:33,365 3360 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:25:33,365 3360 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-21 23:25:33,380 3360 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-21 23:25:33,380 3360 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-21 23:25:33,396 3360 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-21 23:25:33,410 3360 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-21 23:25:33,410 3360 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-21 23:25:33,426 3360 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-21 23:25:33,442 3360 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-21 23:25:33,442 3360 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-21 23:25:33,442 3360 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-21 23:25:33,458 3360 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:25:33,458 3360 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-21 23:25:33,474 3360 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-21 23:25:33,474 3360 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-21 23:25:33,489 3360 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-21 23:25:33,489 3360 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-21 23:25:33,505 3360 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-21 23:25:33,505 3360 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-21 23:25:33,520 3360 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-21 23:25:33,520 3360 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-21 23:25:33,535 3360 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-21 23:25:33,535 3360 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-21 23:25:33,551 3360 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-21 23:25:33,551 3360 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:25:33,567 3360 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-21 23:25:33,567 3360 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-21 23:25:33,583 3360 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-21 23:25:33,583 3360 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-21 23:25:33,598 3360 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-21 23:25:33,598 3360 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-21 23:25:33,614 3360 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-21 23:25:33,614 3360 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-21 23:25:33,629 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:25:33,629 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:25:33,645 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:25:33,645 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:25:33,645 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-21 23:25:33,661 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-21 23:25:33,661 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:25:33,676 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:25:33,676 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-21 23:25:33,693 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:25:33,693 3360 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-21 23:25:33,708 3360 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-21 23:25:33,708 3360 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-21 23:25:33,723 3360 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-21 23:25:33,723 3360 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-21 23:25:33,739 3360 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:25:33,754 3360 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-21 23:25:33,754 3360 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-21 23:25:33,770 3360 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-21 23:25:33,770 3360 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:25:33,786 3360 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:25:33,786 3360 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:25:33,801 3360 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-21 23:25:33,801 3360 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-21 23:25:33,817 3360 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-21 23:25:33,817 3360 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-21 23:25:33,817 3360 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-21 23:25:33,833 3360 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-21 23:25:33,848 3360 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-21 23:25:33,848 3360 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:25:33,863 3360 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-21 23:25:33,863 3360 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-21 23:25:33,879 3360 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-21 23:25:33,958 3360 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-21 23:25:33,990 3360 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230616 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-21 23:25:34,053 3360 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-21 23:25:34,160 3360 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-21 23:25:34,317 3360 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-21 23:25:34,317 3360 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-21 23:25:34,348 3360 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-21 23:25:34,552 3360 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools' -statements '/i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-21 23:25:34,631 3360 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-21 23:25:34,676 3360 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-21 23:26:17,583 3360 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi" /quiet ] exited with '0'.
2023-06-21 23:26:17,646 3360 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-21 23:26:17,661 3360 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-21 23:26:17,677 3360 [DEBUG] - ----------------------------------------------------------------------
2023-06-21 23:26:17,725 3360 [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-21 23:26:17,771 3360 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-21 23:26:18,037 3360 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-21 23:26:18,084 3360 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-21 23:26:18,256 3360 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-21 23:26:18,349 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'C964BBE965C4E34DC88FA385DA2A16E0'
2023-06-21 23:26:18,349 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '57DD89A7875AB6B91C75A3BD1B77D5D9'
2023-06-21 23:26:18,364 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'C971C755B9230DC835A5E4BB351F2D49'
2023-06-21 23:26:18,364 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '56BA17EA5ADD95D9EC2D560ED62AC85D'
2023-06-21 23:26:18,381 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-21 23:26:18,381 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '82ADD5D004F187A67B52064959D23F2A'
2023-06-21 23:26:18,396 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-21 23:26:18,583 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi'
with checksum 'F63997FE16AD96B47FCF28C009F78170'
2023-06-21 23:26:18,583 3360 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-21 23:26:18,662 3360 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616".
2023-06-21 23:26:18,740 3360 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616\.registry'
2023-06-21 23:26:18,787 3360 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616\.files'
2023-06-21 23:26:18,802 3360 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616\.extra".
2023-06-21 23:26:18,802 3360 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616\.version".
2023-06-21 23:26:18,818 3360 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616\.sxs".
2023-06-21 23:26:18,833 3360 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230616\.pin".
2023-06-21 23:26:18,833 3360 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-21 23:26:18,849 3360 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-21 23:26:18,864 3360 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-21 23:26:18,864 3360 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-21 23:26:18,880 3360 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230616.nupkg".
2023-06-21 23:26:18,943 3360 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-21 23:26:18,943 3360 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-21 23:26:18,990 3360 [DEBUG] - Exiting with 0
2023-06-21 23:26:31,208 4356 [DEBUG] - XmlConfiguration is now operational
2023-06-21 23:26:31,349 4356 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:26:31,365 4356 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:26:31,365 4356 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:26:31,365 4356 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:26:31,380 4356 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-21 23:26:31,380 4356 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-21 23:26:31,663 4356 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-21 23:26:31,677 4356 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-21 23:26:31,677 4356 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-21 23:26:31,677 4356 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-21 23:26:31,693 4356 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-21 23:26:31,693 4356 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-21 23:26:31,693 4356 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-21 23:26:31,693 4356 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-21 23:26:31,708 4356 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-21 23:26:31,708 4356 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-21 23:26:31,708 4356 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-21 23:26:31,708 4356 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-21 23:26:31,724 4356 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-21 23:26:31,724 4356 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-21 23:26:31,724 4356 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-21 23:26:31,724 4356 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-21 23:26:31,739 4356 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-21 23:26:31,739 4356 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-21 23:26:32,037 4356 [INFO ] - ============================================================
2023-06-21 23:26:32,412 4356 [INFO ] - Chocolatey v1.3.0
2023-06-21 23:26:32,427 4356 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-21 23:26:32,443 4356 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-21 23:26:32,458 4356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-21 23:26:32,474 4356 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230616 -dvy --execution-timeout=2700
2023-06-21 23:26:32,490 4356 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230616 -dvy --execution-timeout=2700
2023-06-21 23:26:32,661 4356 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-21 23:26:32,693 4356 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-21 23:26:32,708 4356 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-21 23:26:32,865 4356 [DEBUG] - Performing validation checks.
2023-06-21 23:26:32,880 4356 [DEBUG] - Global Configuration Validation Checks:
2023-06-21 23:26:32,896 4356 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-21 23:26:32,896 4356 [DEBUG] - System State Validation Checks:
2023-06-21 23:26:32,912 4356 [DEBUG] - Reboot Requirement Checks:
2023-06-21 23:26:32,928 4356 [DEBUG] - - Pending Computer Rename = Checked
2023-06-21 23:26:32,928 4356 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-21 23:26:32,942 4356 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-21 23:26:32,958 4356 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-21 23:26:32,958 4356 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-21 23:26:32,974 4356 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-21 23:26:32,990 4356 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-21 23:26:33,052 4356 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-21 23:26:33,052 4356 [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-21 23:26:33,099 4356 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230616'|
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-PM25BUB1750'|
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-21 23:26:33,131 4356 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-21 23:26:33,146 4356 [INFO ] - Uninstalling the following packages:
2023-06-21 23:26:33,146 4356 [INFO ] - glpi-agent-nightly.install
2023-06-21 23:26:33,177 4356 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-21 23:26:33,177 4356 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-21 23:26:33,193 4356 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-21 23:26:33,193 4356 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-21 23:26:33,193 4356 [DEBUG] - * 'ChocolateyLastPathUpdate'='133318228912855547' ('User')
2023-06-21 23:26:33,209 4356 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-21 23:26:33,224 4356 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-21 23:26:33,224 4356 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-21 23:26:33,240 4356 [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-21 23:26:33,240 4356 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-21 23:26:33,255 4356 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-21 23:26:33,271 4356 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-21 23:26:33,271 4356 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-21 23:26:33,271 4356 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-21 23:26:33,287 4356 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-21 23:26:33,287 4356 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-21 23:26:33,302 4356 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-21 23:26:33,302 4356 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-21 23:26:33,318 4356 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-21 23:26:33,318 4356 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-21 23:26:33,333 4356 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-21 23:26:33,491 4356 [DEBUG] - Running list with the following filter = ''
2023-06-21 23:26:33,491 4356 [DEBUG] - --- Start of List ---
2023-06-21 23:26:33,958 4356 [DEBUG] - glpi-agent-nightly.install 1.5.20230616
2023-06-21 23:26:33,974 4356 [DEBUG] - --- End of List ---
2023-06-21 23:26:34,146 4356 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-21 23:26:34,162 4356 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-21 23:26:34,162 4356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-21 23:26:34,176 4356 [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-21 23:26:34,240 4356 [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-21 23:26:34,256 4356 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-21 23:26:35,053 4356 [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-21 23:26:35,615 4356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-21 23:26:35,615 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-21 23:26:35,630 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-21 23:26:35,630 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-21 23:26:35,646 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-21 23:26:35,661 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-21 23:26:35,661 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-21 23:26:35,677 4356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-21 23:26:35,677 4356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-21 23:26:35,693 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-21 23:26:35,693 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:26:35,708 4356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-21 23:26:35,708 4356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-21 23:26:35,724 4356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-21 23:26:35,739 4356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-21 23:26:35,739 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-21 23:26:35,755 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-21 23:26:35,755 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-21 23:26:35,771 4356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-21 23:26:35,771 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:26:35,786 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:26:35,786 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:26:35,802 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:26:35,802 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-21 23:26:35,818 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-21 23:26:35,818 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:26:35,833 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:26:35,833 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-21 23:26:35,849 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:26:35,849 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-21 23:26:35,864 4356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-21 23:26:35,865 4356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-21 23:26:35,880 4356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-21 23:26:35,880 4356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:26:35,880 4356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-21 23:26:35,896 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-21 23:26:35,911 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:26:35,911 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:26:35,927 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:26:35,927 4356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-21 23:26:35,943 4356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-21 23:26:35,943 4356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-21 23:26:35,959 4356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-21 23:26:35,959 4356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-21 23:26:35,974 4356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-21 23:26:35,974 4356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-21 23:26:35,989 4356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-21 23:26:35,989 4356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:26:36,005 4356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-21 23:26:36,005 4356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-21 23:26:36,052 4356 [DEBUG] - Loading community extensions
2023-06-21 23:26:36,100 4356 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-21 23:26:36,100 4356 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-21 23:26:36,225 4356 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-21 23:26:36,240 4356 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-21 23:26:36,240 4356 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-21 23:26:36,255 4356 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-21 23:26:36,255 4356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-21 23:26:36,271 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-21 23:26:36,271 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-21 23:26:36,286 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-21 23:26:36,302 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-21 23:26:36,302 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-21 23:26:36,318 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-21 23:26:36,318 4356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-21 23:26:36,333 4356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-21 23:26:36,333 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-21 23:26:36,349 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:26:36,349 4356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-21 23:26:36,365 4356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-21 23:26:36,380 4356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-21 23:26:36,380 4356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-21 23:26:36,396 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-21 23:26:36,396 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-21 23:26:36,396 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-21 23:26:36,411 4356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-21 23:26:36,411 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:26:36,427 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:26:36,442 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:26:36,442 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:26:36,442 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-21 23:26:36,458 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-21 23:26:36,458 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:26:36,474 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:26:36,474 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-21 23:26:36,490 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:26:36,505 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-21 23:26:36,505 4356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-21 23:26:36,505 4356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-21 23:26:36,521 4356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-21 23:26:36,536 4356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:26:36,536 4356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-21 23:26:36,552 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-21 23:26:36,552 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:26:36,568 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:26:36,568 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:26:36,584 4356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-21 23:26:36,584 4356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-21 23:26:36,599 4356 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-21 23:26:36,615 4356 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-21 23:26:36,615 4356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-21 23:26:36,632 4356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-21 23:26:36,646 4356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-21 23:26:36,646 4356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-21 23:26:36,661 4356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-21 23:26:36,661 4356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-21 23:26:36,677 4356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:26:36,692 4356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-21 23:26:36,692 4356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-21 23:26:36,692 4356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-21 23:26:36,708 4356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-21 23:26:36,724 4356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-21 23:26:36,724 4356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-21 23:26:36,739 4356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-21 23:26:36,739 4356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-21 23:26:36,755 4356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-21 23:26:36,755 4356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-21 23:26:36,771 4356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-21 23:26:36,786 4356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-21 23:26:36,786 4356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:26:36,802 4356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-21 23:26:36,802 4356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-21 23:26:36,817 4356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-21 23:26:36,817 4356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-21 23:26:36,833 4356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-21 23:26:36,833 4356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-21 23:26:36,849 4356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-21 23:26:36,864 4356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-21 23:26:36,864 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:26:36,880 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:26:36,880 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:26:36,880 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:26:36,896 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-21 23:26:36,896 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-21 23:26:36,911 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:26:36,911 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:26:36,927 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-21 23:26:36,927 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:26:36,942 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-21 23:26:36,942 4356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-21 23:26:36,958 4356 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-21 23:26:36,958 4356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-21 23:26:36,974 4356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-21 23:26:36,974 4356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:26:36,990 4356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-21 23:26:36,990 4356 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-21 23:26:37,005 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-21 23:26:37,005 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:26:37,021 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:26:37,021 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:26:37,036 4356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-21 23:26:37,036 4356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-21 23:26:37,052 4356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-21 23:26:37,052 4356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-21 23:26:37,052 4356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-21 23:26:37,068 4356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-21 23:26:37,068 4356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-21 23:26:37,084 4356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:26:37,099 4356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-21 23:26:37,099 4356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-21 23:26:37,114 4356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-21 23:26:37,224 4356 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-21 23:26:37,255 4356 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230616 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-21 23:26:37,537 4356 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-21 23:26:37,708 4356 [WARN ] - Confirm
2023-06-21 23:26:37,942 4356 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-21 23:26:37,958 4356 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-21 23:26:37,958 4356 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-21 23:27:09,290 4356 [DEBUG] - ----------------------------------------------------------------------
2023-06-21 23:27:09,306 4356 [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-21 23:27:09,494 4356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-21 23:27:09,494 4356 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-21 23:27:09,508 4356 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-21 23:27:11,838 4356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-21 23:27:11,838 4356 [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-21 23:27:13,276 4356 [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-21 23:27:13,290 4356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-21 23:27:13,290 4356 [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-21 23:27:13,306 4356 [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-21 23:27:13,321 4356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-21 23:27:13,321 4356 [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-21 23:27:13,336 4356 [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-21 23:27:13,336 4356 [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-21 23:27:13,352 4356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi".
2023-06-21 23:27:13,386 4356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore".
2023-06-21 23:27:14,962 4356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-21 23:27:15,041 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'C964BBE965C4E34DC88FA385DA2A16E0'
2023-06-21 23:27:15,056 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '57DD89A7875AB6B91C75A3BD1B77D5D9'
2023-06-21 23:27:15,056 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'C971C755B9230DC835A5E4BB351F2D49'
2023-06-21 23:27:15,071 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '56BA17EA5ADD95D9EC2D560ED62AC85D'
2023-06-21 23:27:15,071 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-21 23:27:15,071 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '82ADD5D004F187A67B52064959D23F2A'
2023-06-21 23:27:15,087 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-21 23:27:15,214 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi'
with checksum 'F63997FE16AD96B47FCF28C009F78170'
2023-06-21 23:27:15,228 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-21 23:27:15,822 4356 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230616'.
2023-06-21 23:27:15,837 4356 [INFO ] -
glpi-agent-nightly.install v1.5.20230616
2023-06-21 23:27:15,899 4356 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-21 23:27:15,916 4356 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-21 23:27:15,916 4356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-21 23:27:15,931 4356 [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-21 23:27:15,946 4356 [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-21 23:27:15,994 4356 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-21 23:27:16,088 4356 [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-21 23:27:16,244 4356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-21 23:27:16,259 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-21 23:27:16,259 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-21 23:27:16,274 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-21 23:27:16,274 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-21 23:27:16,415 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-21 23:27:16,430 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-21 23:27:16,430 4356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-21 23:27:16,446 4356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-21 23:27:16,446 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-21 23:27:16,462 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:27:16,462 4356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-21 23:27:16,477 4356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-21 23:27:16,477 4356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-21 23:27:16,493 4356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-21 23:27:16,493 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-21 23:27:16,509 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-21 23:27:16,509 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-21 23:27:16,524 4356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-21 23:27:16,524 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:27:16,540 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:27:16,540 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:27:16,556 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:27:16,556 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-21 23:27:16,571 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-21 23:27:16,587 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:27:16,587 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:27:16,603 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-21 23:27:16,603 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:27:16,618 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-21 23:27:16,618 4356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-21 23:27:16,634 4356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-21 23:27:16,634 4356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-21 23:27:16,649 4356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:27:16,665 4356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-21 23:27:16,665 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-21 23:27:16,665 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:27:16,680 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:27:16,680 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:27:16,696 4356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-21 23:27:16,696 4356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-21 23:27:16,712 4356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-21 23:27:16,712 4356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-21 23:27:16,728 4356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-21 23:27:16,743 4356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-21 23:27:16,743 4356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-21 23:27:16,759 4356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-21 23:27:16,759 4356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:27:16,774 4356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-21 23:27:16,774 4356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-21 23:27:16,790 4356 [DEBUG] - Loading community extensions
2023-06-21 23:27:16,805 4356 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-21 23:27:16,805 4356 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-21 23:27:16,853 4356 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-21 23:27:16,853 4356 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-21 23:27:16,868 4356 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-21 23:27:16,868 4356 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-21 23:27:16,883 4356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-21 23:27:16,883 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-21 23:27:16,900 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-21 23:27:16,900 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-21 23:27:16,915 4356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-21 23:27:16,915 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-21 23:27:16,931 4356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-21 23:27:16,931 4356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-21 23:27:16,946 4356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-21 23:27:16,946 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-21 23:27:16,962 4356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:27:16,962 4356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-21 23:27:16,977 4356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-21 23:27:16,993 4356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-21 23:27:16,993 4356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-21 23:27:16,993 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-21 23:27:17,009 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-21 23:27:17,009 4356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-21 23:27:17,024 4356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-21 23:27:17,040 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:27:17,040 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:27:17,056 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:27:17,056 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:27:17,072 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-21 23:27:17,087 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-21 23:27:17,087 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:27:17,102 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:27:17,102 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-21 23:27:17,118 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:27:17,118 4356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-21 23:27:17,134 4356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-21 23:27:17,134 4356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-21 23:27:17,149 4356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-21 23:27:17,149 4356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:27:17,165 4356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-21 23:27:17,165 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-21 23:27:17,180 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:27:17,196 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:27:17,196 4356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:27:17,213 4356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-21 23:27:17,213 4356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-21 23:27:17,227 4356 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-21 23:27:17,227 4356 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-21 23:27:17,243 4356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-21 23:27:17,243 4356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-21 23:27:17,259 4356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-21 23:27:17,274 4356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-21 23:27:17,274 4356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-21 23:27:17,290 4356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-21 23:27:17,290 4356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:27:17,305 4356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-21 23:27:17,305 4356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-21 23:27:17,321 4356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-21 23:27:17,321 4356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-21 23:27:17,337 4356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-21 23:27:17,337 4356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-21 23:27:17,352 4356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-21 23:27:17,352 4356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-21 23:27:17,368 4356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-21 23:27:17,368 4356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-21 23:27:17,384 4356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-21 23:27:17,384 4356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-21 23:27:17,399 4356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-21 23:27:17,399 4356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-21 23:27:17,415 4356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-21 23:27:17,415 4356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-21 23:27:17,431 4356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-21 23:27:17,431 4356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-21 23:27:17,446 4356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-21 23:27:17,462 4356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-21 23:27:17,462 4356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-21 23:27:17,477 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-21 23:27:17,477 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-21 23:27:17,493 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-21 23:27:17,509 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-21 23:27:17,509 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-21 23:27:17,524 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-21 23:27:17,524 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-21 23:27:17,540 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-21 23:27:17,540 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-21 23:27:17,556 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-21 23:27:17,556 4356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-21 23:27:17,571 4356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-21 23:27:17,571 4356 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-21 23:27:17,587 4356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-21 23:27:17,603 4356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-21 23:27:17,603 4356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-21 23:27:17,618 4356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-21 23:27:17,618 4356 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-21 23:27:17,634 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-21 23:27:17,634 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-21 23:27:17,649 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-21 23:27:17,649 4356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-21 23:27:17,665 4356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-21 23:27:17,665 4356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-21 23:27:17,681 4356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-21 23:27:17,696 4356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-21 23:27:17,696 4356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-21 23:27:17,712 4356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-21 23:27:17,712 4356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-21 23:27:17,727 4356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-21 23:27:17,727 4356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-21 23:27:17,743 4356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-21 23:27:17,743 4356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-21 23:27:17,758 4356 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-21 23:27:17,775 4356 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230616 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-21 23:27:17,790 4356 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-21 23:27:17,946 4356 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-21 23:27:17,994 4356 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-21 23:27:18,102 4356 [DEBUG] - Registry uninstall keys on system: 28
2023-06-21 23:27:18,119 4356 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-21 23:27:18,212 4356 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-21 23:27:18,292 4356 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{0A05D72B-6BF5-1014-80D9-BEB5884A97D4} /qn /norestart' -file ''
2023-06-21 23:27:18,321 4356 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-21 23:27:18,479 4356 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {0A05D72B-6BF5-1014-80D9-BEB5884A97D4} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-21 23:27:18,541 4356 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-21 23:27:18,587 4356 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {0A05D72B-6BF5-1014-80D9-BEB5884A97D4} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-21 23:28:18,103 4356 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {0A05D72B-6BF5-1014-80D9-BEB5884A97D4} /qn /norestart ] exited with '0'.
2023-06-21 23:28:18,198 4356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-21 23:28:18,213 4356 [INFO ] - 0
2023-06-21 23:28:18,228 4356 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-21 23:28:18,228 4356 [DEBUG] - ----------------------------------------------------------------------
2023-06-21 23:28:18,243 4356 [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-21 23:28:18,306 4356 [INFO ] - Running auto uninstaller...
2023-06-21 23:28:18,306 4356 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-21 23:28:20,340 4356 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{0A05D72B-6BF5-1014-80D9-BEB5884A97D4}' for 'GLPI Agent 1.5 (git095d0ba4)'
2023-06-21 23:28:20,370 4356 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git095d0ba4)' appears to have been uninstalled already by other means.
2023-06-21 23:28:20,385 4356 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-21 23:28:20,385 4356 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0A05D72B-6BF5-1014-80D9-BEB5884A97D4}' value 'InstallLocation' - found? False
2023-06-21 23:28:20,400 4356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-21 23:28:20,525 4356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-21 23:28:20,541 4356 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-21 23:28:20,618 4356 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-21 23:28:20,634 4356 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-21 23:28:20,650 4356 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-21 23:28:20,650 4356 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-21 23:28:20,665 4356 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-21 23:28:20,681 4356 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-21 23:28:20,730 4356 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git095d0ba4-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-21 23:28:20,745 4356 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-21 23:28:20,759 4356 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-21 23:28:20,759 4356 [DEBUG] - [NuGet] The directory is not empty.
2023-06-21 23:28:20,775 4356 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230616'.
2023-06-21 23:28:20,791 4356 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-21 23:28:20,807 4356 [DEBUG] - Removing nupkg if it still exists.
2023-06-21 23:28:20,822 4356 [DEBUG] - Ensuring removal of installation files.
2023-06-21 23:28:20,839 4356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-21 23:28:20,839 4356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git095d0ba4-x64.msi.ignore".
2023-06-21 23:28:20,853 4356 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-21 23:28:20,869 4356 [DEBUG] - Ensuring removal of package cache files.
2023-06-21 23:28:20,916 4356 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-21 23:28:20,916 4356 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2023-06-21 23:28:20,931 4356 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-21 23:28:20,979 4356 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment