Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 24, 2023 16:38
Show Gist options
  • Save choco-bot/bb8a6efdbcb1fdcb5e926eb8c1a085f4 to your computer and use it in GitHub Desktop.
Save choco-bot/bb8a6efdbcb1fdcb5e926eb8c1a085f4 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230617 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3450013406-1537230440-843299317-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git4f85e3be)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F899CDD9-6BF4-1014-B40F-BC309CCAE202}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{F899CDD9-6BF4-1014-B40F-BC309CCAE202}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230624</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\]]></InstallSource>
<Language>1033</Language>
<Version>17104896</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>5</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3e7d4.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230617 - 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="FFC152989A42E4D3C3B1873ACF522824" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="997A132AE3D1C95D236D982A2C2FB2E6" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="74988D1FC1F6FE53EBB0B2F8293F055A" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="347814514D8D63E0B3B843AE966DAD98" />
<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="A8E7B5B8DA58549E0479A959B1763E53" />
<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-git4f85e3be-x64.msi" checksum="85495479927A723594FC50B68F8E3FA1" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-24 16:34:11,158 892 [DEBUG] - XmlConfiguration is now operational
2023-06-24 16:34:11,315 892 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:34:11,315 892 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:34:11,330 892 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:34:11,330 892 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:34:11,330 892 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:34:11,330 892 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-24 16:34:11,723 892 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-24 16:34:11,723 892 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-24 16:34:11,737 892 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-24 16:34:11,737 892 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-24 16:34:11,737 892 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-24 16:34:11,752 892 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-24 16:34:11,752 892 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-24 16:34:11,752 892 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-24 16:34:11,752 892 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-24 16:34:11,768 892 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-24 16:34:11,768 892 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-24 16:34:11,768 892 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-24 16:34:11,784 892 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-24 16:34:11,784 892 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-24 16:34:11,817 892 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-24 16:34:11,817 892 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-24 16:34:11,817 892 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-24 16:34:11,830 892 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-24 16:34:12,206 892 [INFO ] - ============================================================
2023-06-24 16:34:12,581 892 [INFO ] - Chocolatey v1.3.0
2023-06-24 16:34:12,659 892 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-24 16:34:12,675 892 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-24 16:34:12,675 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-24 16:34:12,690 892 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230617 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-24 16:34:12,706 892 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230617 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-24 16:34:12,878 892 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-24 16:34:12,909 892 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-24 16:34:12,940 892 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-24 16:34:13,080 892 [DEBUG] - Performing validation checks.
2023-06-24 16:34:13,097 892 [DEBUG] - Global Configuration Validation Checks:
2023-06-24 16:34:13,097 892 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-24 16:34:13,128 892 [DEBUG] - System State Validation Checks:
2023-06-24 16:34:13,128 892 [DEBUG] - Reboot Requirement Checks:
2023-06-24 16:34:13,143 892 [DEBUG] - - Pending Computer Rename = Checked
2023-06-24 16:34:13,158 892 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-24 16:34:13,158 892 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-24 16:34:13,174 892 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-24 16:34:13,174 892 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-24 16:34:13,190 892 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-24 16:34:13,206 892 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-24 16:34:13,268 892 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-24 16:34:13,284 892 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-24 16:34:13,330 892 [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.20230617'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IMLJAKTEUT4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-24 16:34:13,362 892 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-24 16:34:13,377 892 [INFO ] - Installing the following packages:
2023-06-24 16:34:13,424 892 [INFO ] - glpi-agent-nightly.install
2023-06-24 16:34:13,424 892 [INFO ] - By installing, you accept licenses for the packages.
2023-06-24 16:34:13,439 892 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-24 16:34:13,456 892 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-24 16:34:13,456 892 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 16:34:13,471 892 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 16:34:13,471 892 [DEBUG] - * 'ChocolateyLastPathUpdate'='133320821056524610' ('User')
2023-06-24 16:34:13,471 892 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-24 16:34:13,487 892 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-24 16:34:13,502 892 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-24 16:34:13,502 892 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-24 16:34:13,502 892 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-24 16:34:13,518 892 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-24 16:34:13,518 892 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-24 16:34:13,534 892 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 16:34:13,534 892 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 16:34:13,549 892 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-24 16:34:13,549 892 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-24 16:34:13,565 892 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-24 16:34:13,565 892 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-24 16:34:13,580 892 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-24 16:34:13,580 892 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-24 16:34:13,580 892 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-24 16:34:17,144 892 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230617'.
2023-06-24 16:34:17,190 892 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-24 16:34:17,221 892 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-24 16:34:17,253 892 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 16:34:17,284 892 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 16:34:17,487 892 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 16:34:17,580 892 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git4f85e3be-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 16:34:17,628 892 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-24 16:34:18,081 892 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-24 16:34:18,096 892 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230617'.
2023-06-24 16:34:18,096 892 [INFO ] -
glpi-agent-nightly.install v1.5.20230617 (forced)
2023-06-24 16:34:18,254 892 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-24 16:34:18,331 892 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 16:34:18,331 892 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 16:34:18,346 892 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-24 16:34:18,362 892 [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-git4f85e3be-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git4f85e3be-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = 'CEBFCFCDC4F7977278D95268366F04F88FDFC472731F658B0EF099F57256EDAD' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = '920C691692E37D06D7B1F6E0D9287902D8ECF584589F2061AA8ED0165E8AD5D4' # (From $Latest)
checksumType64 = 'sha256' # (From $Latest)
# MSI
silentArgs = '/quiet'
validExitCodes= @(0)
}
If ((Get-OSArchitectureWidth 32) -or $env:ChocolateyForceX86 -eq 'true') {
# Download the 32-bit installer on-the-fly
Install-ChocolateyPackage @packageArgs
} Else {
# Use the embedded 64-bit installer
# Access file from $toolsDir
$packageArgs.file64 = Join-Path $toolsDir $packageArgs.file64
Install-ChocolateyInstallPackage @packageArgs
}
2023-06-24 16:34:18,487 892 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-24 16:34:18,502 892 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 16:34:19,409 892 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-24 16:34:19,909 892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 16:34:19,971 892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 16:34:19,986 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 16:34:19,986 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 16:34:20,002 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 16:34:20,002 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 16:34:20,018 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 16:34:20,018 892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 16:34:20,034 892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 16:34:20,034 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 16:34:20,049 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:34:20,049 892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 16:34:20,064 892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 16:34:20,064 892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 16:34:20,080 892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 16:34:20,080 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 16:34:20,096 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 16:34:20,096 892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 16:34:20,096 892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 16:34:20,112 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:34:20,112 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:34:20,128 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:34:20,143 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:34:20,143 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 16:34:20,159 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 16:34:20,159 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:34:20,174 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:34:20,174 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 16:34:20,190 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:34:20,206 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 16:34:20,206 892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 16:34:20,221 892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 16:34:20,221 892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 16:34:20,237 892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:34:20,237 892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 16:34:20,252 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 16:34:20,252 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:34:20,268 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:34:20,284 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:34:20,284 892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 16:34:20,299 892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 16:34:20,299 892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 16:34:20,315 892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 16:34:20,315 892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 16:34:20,330 892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 16:34:20,330 892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 16:34:20,361 892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 16:34:20,361 892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:34:20,377 892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 16:34:20,377 892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 16:34:20,410 892 [DEBUG] - Loading community extensions
2023-06-24 16:34:20,457 892 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 16:34:20,457 892 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 16:34:20,597 892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 16:34:20,597 892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 16:34:20,612 892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 16:34:20,612 892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 16:34:20,627 892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 16:34:20,627 892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 16:34:20,643 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 16:34:20,643 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 16:34:20,658 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 16:34:20,658 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 16:34:20,674 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 16:34:20,674 892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 16:34:20,690 892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 16:34:20,690 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 16:34:20,705 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:34:20,705 892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 16:34:20,721 892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 16:34:20,721 892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 16:34:20,737 892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 16:34:20,737 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 16:34:20,752 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 16:34:20,752 892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 16:34:20,768 892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 16:34:20,768 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:34:20,784 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:34:20,799 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:34:20,799 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:34:20,814 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 16:34:20,814 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 16:34:20,830 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:34:20,846 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:34:20,846 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 16:34:20,862 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:34:20,877 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 16:34:20,877 892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 16:34:20,893 892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 16:34:20,893 892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 16:34:20,909 892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:34:20,909 892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 16:34:20,924 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 16:34:20,924 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:34:20,940 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:34:20,955 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:34:20,971 892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 16:34:20,971 892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 16:34:20,987 892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 16:34:21,002 892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 16:34:21,018 892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 16:34:21,018 892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 16:34:21,018 892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 16:34:21,033 892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 16:34:21,033 892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 16:34:21,049 892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 16:34:21,049 892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:34:21,065 892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 16:34:21,080 892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 16:34:21,080 892 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 16:34:21,096 892 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 16:34:21,096 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 16:34:21,112 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 16:34:21,112 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 16:34:21,127 892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 16:34:21,127 892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 16:34:21,143 892 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 16:34:21,143 892 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 16:34:21,158 892 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 16:34:21,158 892 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:34:21,174 892 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 16:34:21,174 892 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 16:34:21,190 892 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 16:34:21,206 892 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 16:34:21,206 892 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 16:34:21,221 892 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 16:34:21,221 892 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 16:34:21,236 892 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 16:34:21,236 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:34:21,252 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:34:21,252 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:34:21,268 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:34:21,268 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 16:34:21,284 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 16:34:21,299 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:34:21,299 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:34:21,315 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 16:34:21,315 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:34:21,331 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 16:34:21,331 892 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 16:34:21,346 892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 16:34:21,362 892 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 16:34:21,362 892 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 16:34:21,377 892 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:34:21,377 892 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 16:34:21,393 892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 16:34:21,408 892 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 16:34:21,408 892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:34:21,424 892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:34:21,424 892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:34:21,440 892 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 16:34:21,440 892 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 16:34:21,455 892 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 16:34:21,455 892 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 16:34:21,471 892 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 16:34:21,471 892 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 16:34:21,487 892 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 16:34:21,487 892 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:34:21,502 892 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 16:34:21,502 892 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 16:34:21,502 892 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 16:34:21,612 892 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 16:34:21,627 892 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230617 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-24 16:34:21,690 892 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-24 16:34:21,784 892 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-24 16:34:21,941 892 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-24 16:34:21,972 892 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-24 16:34:22,002 892 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-24 16:34:22,222 892 [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-git4f85e3be-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-24 16:34:22,331 892 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-24 16:34:22,377 892 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-24 16:35:05,189 892 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi" /quiet ] exited with '0'.
2023-06-24 16:35:05,268 892 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-24 16:35:05,299 892 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-24 16:35:05,315 892 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 16:35:05,392 892 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-24 16:35:05,409 892 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-24 16:35:05,689 892 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-24 16:35:05,753 892 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-24 16:35:05,924 892 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-24 16:35:06,003 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'FFC152989A42E4D3C3B1873ACF522824'
2023-06-24 16:35:06,003 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '997A132AE3D1C95D236D982A2C2FB2E6'
2023-06-24 16:35:06,018 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '74988D1FC1F6FE53EBB0B2F8293F055A'
2023-06-24 16:35:06,018 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '347814514D8D63E0B3B843AE966DAD98'
2023-06-24 16:35:06,033 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-24 16:35:06,033 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum 'A8E7B5B8DA58549E0479A959B1763E53'
2023-06-24 16:35:06,049 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-24 16:35:06,237 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi'
with checksum '85495479927A723594FC50B68F8E3FA1'
2023-06-24 16:35:06,237 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 16:35:06,471 892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617".
2023-06-24 16:35:06,534 892 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617\.registry'
2023-06-24 16:35:06,629 892 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617\.files'
2023-06-24 16:35:06,642 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617\.extra".
2023-06-24 16:35:06,642 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617\.version".
2023-06-24 16:35:06,659 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617\.sxs".
2023-06-24 16:35:06,659 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230617\.pin".
2023-06-24 16:35:06,689 892 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-24 16:35:06,689 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-24 16:35:06,705 892 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-24 16:35:06,705 892 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-24 16:35:06,720 892 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230617.nupkg".
2023-06-24 16:35:06,783 892 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-24 16:35:06,783 892 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-24 16:35:06,830 892 [DEBUG] - Exiting with 0
2023-06-24 16:35:19,127 5052 [DEBUG] - XmlConfiguration is now operational
2023-06-24 16:35:19,346 5052 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:35:19,346 5052 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:35:19,346 5052 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:35:19,362 5052 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:35:19,362 5052 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 16:35:19,362 5052 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-24 16:35:19,643 5052 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-24 16:35:19,658 5052 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-24 16:35:19,658 5052 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-24 16:35:19,658 5052 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-24 16:35:19,673 5052 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-24 16:35:19,673 5052 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-24 16:35:19,673 5052 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-24 16:35:19,673 5052 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-24 16:35:19,689 5052 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-24 16:35:19,689 5052 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-24 16:35:19,689 5052 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-24 16:35:19,705 5052 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-24 16:35:19,705 5052 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-24 16:35:19,705 5052 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-24 16:35:19,721 5052 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-24 16:35:19,721 5052 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-24 16:35:19,721 5052 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-24 16:35:19,721 5052 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-24 16:35:20,049 5052 [INFO ] - ============================================================
2023-06-24 16:35:20,441 5052 [INFO ] - Chocolatey v1.3.0
2023-06-24 16:35:20,471 5052 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-24 16:35:20,486 5052 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-24 16:35:20,486 5052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-24 16:35:20,518 5052 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230617 -dvy --execution-timeout=2700
2023-06-24 16:35:20,533 5052 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230617 -dvy --execution-timeout=2700
2023-06-24 16:35:20,706 5052 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-24 16:35:20,736 5052 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-24 16:35:20,752 5052 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-24 16:35:20,910 5052 [DEBUG] - Performing validation checks.
2023-06-24 16:35:20,924 5052 [DEBUG] - Global Configuration Validation Checks:
2023-06-24 16:35:20,940 5052 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-24 16:35:20,955 5052 [DEBUG] - System State Validation Checks:
2023-06-24 16:35:20,955 5052 [DEBUG] - Reboot Requirement Checks:
2023-06-24 16:35:20,971 5052 [DEBUG] - - Pending Computer Rename = Checked
2023-06-24 16:35:20,986 5052 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-24 16:35:20,986 5052 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-24 16:35:21,002 5052 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-24 16:35:21,002 5052 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-24 16:35:21,017 5052 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-24 16:35:21,034 5052 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-24 16:35:21,096 5052 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-24 16:35:21,111 5052 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-24 16:35:21,158 5052 [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.20230617'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IMLJAKTEUT4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-24 16:35:21,174 5052 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-24 16:35:21,205 5052 [INFO ] - Uninstalling the following packages:
2023-06-24 16:35:21,205 5052 [INFO ] - glpi-agent-nightly.install
2023-06-24 16:35:21,237 5052 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-24 16:35:21,237 5052 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-24 16:35:21,252 5052 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 16:35:21,252 5052 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 16:35:21,267 5052 [DEBUG] - * 'ChocolateyLastPathUpdate'='133320821056524610' ('User')
2023-06-24 16:35:21,267 5052 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-24 16:35:21,283 5052 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-24 16:35:21,283 5052 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-24 16:35:21,299 5052 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-24 16:35:21,299 5052 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-24 16:35:21,299 5052 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-24 16:35:21,314 5052 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-24 16:35:21,330 5052 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 16:35:21,330 5052 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 16:35:21,330 5052 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-24 16:35:21,346 5052 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-24 16:35:21,346 5052 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-24 16:35:21,361 5052 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-24 16:35:21,361 5052 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-24 16:35:21,377 5052 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-24 16:35:21,377 5052 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-24 16:35:21,550 5052 [DEBUG] - Running list with the following filter = ''
2023-06-24 16:35:21,550 5052 [DEBUG] - --- Start of List ---
2023-06-24 16:35:22,033 5052 [DEBUG] - glpi-agent-nightly.install 1.5.20230617
2023-06-24 16:35:22,049 5052 [DEBUG] - --- End of List ---
2023-06-24 16:35:22,221 5052 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 16:35:22,221 5052 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 16:35:22,236 5052 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-24 16:35:22,252 5052 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
# Remove the service if it exists
$service = Get-Service -Name 'glpi-agent' -ErrorAction SilentlyContinue
If ($service -ne $null) {
Stop-Service $service -Force -Confirm
}
2023-06-24 16:35:22,299 5052 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-24 16:35:22,314 5052 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 16:35:23,128 5052 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-24 16:35:23,675 5052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 16:35:23,690 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 16:35:23,690 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 16:35:23,705 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 16:35:23,705 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 16:35:23,721 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 16:35:23,736 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 16:35:23,736 5052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 16:35:23,752 5052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 16:35:23,752 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 16:35:23,768 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:35:23,768 5052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 16:35:23,783 5052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 16:35:23,783 5052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 16:35:23,799 5052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 16:35:23,799 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 16:35:23,814 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 16:35:23,814 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 16:35:23,830 5052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 16:35:23,830 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:35:23,846 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:35:23,877 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:35:23,877 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:35:23,892 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 16:35:23,892 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 16:35:23,908 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:35:23,908 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:35:23,923 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 16:35:23,939 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:35:23,939 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 16:35:23,955 5052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 16:35:23,955 5052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 16:35:23,971 5052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 16:35:23,971 5052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:35:23,986 5052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 16:35:23,986 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 16:35:24,002 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:35:24,002 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:35:24,017 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:35:24,017 5052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 16:35:24,033 5052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 16:35:24,049 5052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 16:35:24,065 5052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 16:35:24,065 5052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 16:35:24,080 5052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 16:35:24,080 5052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 16:35:24,096 5052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 16:35:24,096 5052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:35:24,111 5052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 16:35:24,111 5052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 16:35:24,158 5052 [DEBUG] - Loading community extensions
2023-06-24 16:35:24,190 5052 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 16:35:24,206 5052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 16:35:24,330 5052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 16:35:24,346 5052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 16:35:24,361 5052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 16:35:24,376 5052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 16:35:24,376 5052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 16:35:24,392 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 16:35:24,408 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 16:35:24,408 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 16:35:24,423 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 16:35:24,423 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 16:35:24,423 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 16:35:24,439 5052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 16:35:24,455 5052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 16:35:24,455 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 16:35:24,470 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:35:24,470 5052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 16:35:24,486 5052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 16:35:24,486 5052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 16:35:24,502 5052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 16:35:24,518 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 16:35:24,518 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 16:35:24,533 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 16:35:24,533 5052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 16:35:24,548 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:35:24,548 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:35:24,564 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:35:24,581 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:35:24,581 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 16:35:24,596 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 16:35:24,596 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:35:24,611 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:35:24,611 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 16:35:24,627 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:35:24,627 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 16:35:24,642 5052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 16:35:24,642 5052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 16:35:24,658 5052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 16:35:24,658 5052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:35:24,673 5052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 16:35:24,673 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 16:35:24,689 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:35:24,689 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:35:24,705 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:35:24,720 5052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 16:35:24,720 5052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 16:35:24,736 5052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 16:35:24,736 5052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 16:35:24,751 5052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 16:35:24,751 5052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 16:35:24,767 5052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 16:35:24,767 5052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 16:35:24,783 5052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 16:35:24,783 5052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 16:35:24,798 5052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:35:24,814 5052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 16:35:24,814 5052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 16:35:24,830 5052 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 16:35:24,830 5052 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 16:35:24,845 5052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 16:35:24,845 5052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 16:35:24,861 5052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 16:35:24,876 5052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 16:35:24,876 5052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 16:35:24,876 5052 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 16:35:24,892 5052 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 16:35:24,909 5052 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 16:35:24,909 5052 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:35:24,924 5052 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 16:35:24,924 5052 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 16:35:24,939 5052 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 16:35:24,939 5052 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 16:35:24,955 5052 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 16:35:24,971 5052 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 16:35:24,971 5052 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 16:35:24,986 5052 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 16:35:24,986 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:35:25,001 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:35:25,001 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:35:25,017 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:35:25,017 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 16:35:25,033 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 16:35:25,033 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:35:25,049 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:35:25,049 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 16:35:25,064 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:35:25,064 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 16:35:25,080 5052 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 16:35:25,080 5052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 16:35:25,096 5052 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 16:35:25,096 5052 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 16:35:25,096 5052 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:35:25,111 5052 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 16:35:25,127 5052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 16:35:25,127 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 16:35:25,142 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:35:25,142 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:35:25,158 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:35:25,158 5052 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 16:35:25,173 5052 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 16:35:25,173 5052 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 16:35:25,189 5052 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 16:35:25,189 5052 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 16:35:25,189 5052 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 16:35:25,205 5052 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 16:35:25,205 5052 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:35:25,221 5052 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 16:35:25,221 5052 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 16:35:25,236 5052 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 16:35:25,346 5052 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 16:35:25,378 5052 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230617 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-24 16:35:25,455 5052 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-24 16:35:25,534 5052 [WARN ] - Confirm
2023-06-24 16:35:25,549 5052 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-24 16:35:25,564 5052 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-24 16:35:25,564 5052 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-24 16:35:56,127 5052 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 16:35:56,142 5052 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-24 16:35:56,315 5052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-24 16:35:56,331 5052 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-24 16:35:56,331 5052 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-24 16:35:58,783 5052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-24 16:35:58,783 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
2023-06-24 16:35:58,892 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
2023-06-24 16:35:58,908 5052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-24 16:35:58,924 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
2023-06-24 16:35:58,939 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
2023-06-24 16:35:58,939 5052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-24 16:35:58,955 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
2023-06-24 16:35:58,955 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
2023-06-24 16:35:58,970 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
2023-06-24 16:35:58,970 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi".
2023-06-24 16:35:59,018 5052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore".
2023-06-24 16:36:00,846 5052 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-24 16:36:00,940 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'FFC152989A42E4D3C3B1873ACF522824'
2023-06-24 16:36:00,940 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '997A132AE3D1C95D236D982A2C2FB2E6'
2023-06-24 16:36:00,955 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '74988D1FC1F6FE53EBB0B2F8293F055A'
2023-06-24 16:36:00,971 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '347814514D8D63E0B3B843AE966DAD98'
2023-06-24 16:36:00,971 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-24 16:36:00,986 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum 'A8E7B5B8DA58549E0479A959B1763E53'
2023-06-24 16:36:00,986 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-24 16:36:02,439 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi'
with checksum '85495479927A723594FC50B68F8E3FA1'
2023-06-24 16:36:02,439 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 16:36:03,706 5052 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230617'.
2023-06-24 16:36:04,925 5052 [INFO ] -
glpi-agent-nightly.install v1.5.20230617
2023-06-24 16:36:05,690 5052 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 16:36:05,690 5052 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 16:36:05,706 5052 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-24 16:36:05,706 5052 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'GLPI Agent *'
fileType = 'MSI'
silentArgs = '/qn /norestart'
# Allows (see https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx):
# * 0: ERROR_SUCCESS
# * 3010: ERROR_SUCCESS_REBOOT_REQUIRED
# * 1605: ERROR_UNKNOWN_PRODUCT
# * 1614: ERROR_PRODUCT_UNINSTALLED
# * 1641: ERROR_SUCCESS_REBOOT_INITIATED
validExitCodes= @(0, 3010, 1605, 1614, 1641)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | % {
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below
if ($packageArgs['fileType'] -eq 'MSI') {
# The Product Code GUID is all that should be passed for MSI, and very
# FIRST, because it comes directly after /x, which is already set in the
# Uninstall-ChocolateyPackage msiargs (facepalm).
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
# Don't pass anything for file, it is ignored for msi (facepalm number 2)
# Alternatively if you need to pass a path to an msi, determine that and
# use it instead of the above in silentArgs, still very first
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $($_.DisplayName)"}
}
2023-06-24 16:36:05,736 5052 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-24 16:36:06,861 5052 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 16:36:09,456 5052 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-24 16:36:10,002 5052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 16:36:10,002 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 16:36:10,018 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 16:36:10,018 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 16:36:10,033 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 16:36:10,033 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 16:36:10,048 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 16:36:10,048 5052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 16:36:10,096 5052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 16:36:10,096 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 16:36:10,111 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:36:10,111 5052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 16:36:10,126 5052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 16:36:10,126 5052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 16:36:10,142 5052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 16:36:10,142 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 16:36:10,158 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 16:36:10,158 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 16:36:10,173 5052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 16:36:10,173 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:36:10,189 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:36:10,300 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:36:10,314 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:36:10,345 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 16:36:10,362 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 16:36:10,362 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:36:10,378 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:36:10,392 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 16:36:10,408 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:36:10,424 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 16:36:10,439 5052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 16:36:10,580 5052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 16:36:10,658 5052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 16:36:10,674 5052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:36:10,689 5052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 16:36:10,705 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 16:36:10,767 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:36:10,830 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:36:10,830 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:36:10,846 5052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 16:36:10,846 5052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 16:36:10,861 5052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 16:36:10,861 5052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 16:36:10,877 5052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 16:36:10,877 5052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 16:36:10,893 5052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 16:36:10,908 5052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 16:36:10,908 5052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:36:10,924 5052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 16:36:10,924 5052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 16:36:10,940 5052 [DEBUG] - Loading community extensions
2023-06-24 16:36:10,956 5052 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 16:36:10,956 5052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 16:36:11,004 5052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 16:36:11,004 5052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 16:36:11,018 5052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 16:36:11,097 5052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 16:36:11,111 5052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 16:36:11,127 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 16:36:11,143 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 16:36:11,158 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 16:36:11,158 5052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 16:36:11,174 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 16:36:11,190 5052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 16:36:11,205 5052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 16:36:11,221 5052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 16:36:11,236 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 16:36:11,252 5052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:36:11,408 5052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 16:36:11,517 5052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 16:36:11,548 5052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 16:36:11,564 5052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 16:36:11,596 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 16:36:11,611 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 16:36:11,627 5052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 16:36:11,642 5052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 16:36:11,642 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:36:11,658 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:36:11,674 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:36:11,674 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:36:11,689 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 16:36:11,689 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 16:36:11,705 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:36:11,705 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:36:11,720 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 16:36:11,720 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:36:11,736 5052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 16:36:11,736 5052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 16:36:11,752 5052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 16:36:11,752 5052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 16:36:11,767 5052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:36:11,767 5052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 16:36:11,783 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 16:36:11,783 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:36:11,798 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:36:11,798 5052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:36:11,815 5052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 16:36:11,815 5052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 16:36:11,830 5052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 16:36:11,830 5052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 16:36:11,846 5052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 16:36:11,846 5052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 16:36:11,861 5052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 16:36:11,971 5052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 16:36:11,986 5052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 16:36:12,002 5052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 16:36:12,018 5052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:36:12,033 5052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 16:36:12,049 5052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 16:36:12,064 5052 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 16:36:12,096 5052 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 16:36:12,111 5052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 16:36:12,127 5052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 16:36:12,142 5052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 16:36:12,158 5052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 16:36:12,173 5052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 16:36:12,189 5052 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 16:36:12,205 5052 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 16:36:12,220 5052 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 16:36:12,236 5052 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 16:36:12,252 5052 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 16:36:12,377 5052 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 16:36:12,439 5052 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 16:36:12,455 5052 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 16:36:12,486 5052 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 16:36:12,502 5052 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 16:36:12,502 5052 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 16:36:12,517 5052 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 16:36:12,534 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 16:36:12,549 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 16:36:12,564 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 16:36:12,596 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 16:36:12,611 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 16:36:12,643 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 16:36:12,643 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 16:36:12,658 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 16:36:12,658 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 16:36:12,673 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 16:36:12,673 5052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 16:36:12,689 5052 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 16:36:12,689 5052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 16:36:12,705 5052 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 16:36:12,721 5052 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 16:36:12,721 5052 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 16:36:12,736 5052 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 16:36:12,736 5052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 16:36:12,752 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 16:36:12,752 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 16:36:12,767 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 16:36:12,783 5052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 16:36:12,783 5052 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 16:36:12,799 5052 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 16:36:12,799 5052 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 16:36:12,877 5052 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 16:36:12,923 5052 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 16:36:12,939 5052 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 16:36:12,955 5052 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 16:36:12,971 5052 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 16:36:12,986 5052 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 16:36:12,986 5052 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 16:36:13,002 5052 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 16:36:13,017 5052 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 16:36:13,033 5052 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230617 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-24 16:36:13,049 5052 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-24 16:36:13,533 5052 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-24 16:36:13,705 5052 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-24 16:36:13,878 5052 [DEBUG] - Registry uninstall keys on system: 28
2023-06-24 16:36:13,893 5052 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-24 16:36:14,018 5052 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-24 16:36:14,081 5052 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{F899CDD9-6BF4-1014-B40F-BC309CCAE202} /qn /norestart' -file ''
2023-06-24 16:36:14,362 5052 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-24 16:36:14,955 5052 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {F899CDD9-6BF4-1014-B40F-BC309CCAE202} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-24 16:36:15,034 5052 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-24 16:36:15,549 5052 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {F899CDD9-6BF4-1014-B40F-BC309CCAE202} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-24 16:38:02,839 5052 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {F899CDD9-6BF4-1014-B40F-BC309CCAE202} /qn /norestart ] exited with '0'.
2023-06-24 16:38:02,902 5052 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-24 16:38:02,917 5052 [INFO ] - 0
2023-06-24 16:38:02,933 5052 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-24 16:38:02,950 5052 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 16:38:02,964 5052 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-24 16:38:03,011 5052 [INFO ] - Running auto uninstaller...
2023-06-24 16:38:03,011 5052 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-24 16:38:05,044 5052 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{F899CDD9-6BF4-1014-B40F-BC309CCAE202}' for 'GLPI Agent 1.5 (git4f85e3be)'
2023-06-24 16:38:05,075 5052 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git4f85e3be)' appears to have been uninstalled already by other means.
2023-06-24 16:38:05,075 5052 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-24 16:38:05,089 5052 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F899CDD9-6BF4-1014-B40F-BC309CCAE202}' value 'InstallLocation' - found? False
2023-06-24 16:38:05,106 5052 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-24 16:38:05,245 5052 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-24 16:38:05,278 5052 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-24 16:38:05,354 5052 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 16:38:05,370 5052 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 16:38:05,387 5052 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 16:38:05,387 5052 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 16:38:05,402 5052 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 16:38:05,402 5052 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 16:38:05,465 5052 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git4f85e3be-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 16:38:05,480 5052 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-24 16:38:05,496 5052 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-24 16:38:05,496 5052 [DEBUG] - [NuGet] The directory is not empty.
2023-06-24 16:38:05,511 5052 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230617'.
2023-06-24 16:38:05,543 5052 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-24 16:38:05,558 5052 [DEBUG] - Removing nupkg if it still exists.
2023-06-24 16:38:05,574 5052 [DEBUG] - Ensuring removal of installation files.
2023-06-24 16:38:05,574 5052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 16:38:05,589 5052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git4f85e3be-x64.msi.ignore".
2023-06-24 16:38:05,589 5052 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-24 16:38:05,605 5052 [DEBUG] - Ensuring removal of package cache files.
2023-06-24 16:38:05,652 5052 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-24 16:38:05,668 5052 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-24 16:38:05,715 5052 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment