Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 17, 2023 22:12
Show Gist options
  • Save choco-bot/19d13b9a522fe1757c7daa34612e353d to your computer and use it in GitHub Desktop.
Save choco-bot/19d13b9a522fe1757c7daa34612e353d to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230614 - 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-2806287847-3994094490-1724072447-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git97a170b6)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{826AD405-6BF5-1014-917C-81878EC86075}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{826AD405-6BF5-1014-917C-81878EC86075}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230617</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\3c558.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230614 - 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="6E6F43A147171D597D6B6503270D8CA8" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="6FBA19839A97F09DA4DCCCB7E57F8E0B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="E9F1B459A7389D7F3F7C07C8CA3ABE7F" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="4679B480CC198BAFC28231E9C496A269" />
<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="2F9225A89C2A74BED832F799877D7768" />
<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-git97a170b6-x64.msi" checksum="19E4BB4422C2D5F6800B988BEDDD491B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-17 22:08:37,279 4272 [DEBUG] - XmlConfiguration is now operational
2023-06-17 22:08:37,406 4272 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:08:37,406 4272 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:08:37,406 4272 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:08:37,420 4272 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:08:37,420 4272 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:08:37,420 4272 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-17 22:08:37,660 4272 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-17 22:08:37,673 4272 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-17 22:08:37,673 4272 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-17 22:08:37,673 4272 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-17 22:08:37,687 4272 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-17 22:08:37,687 4272 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-17 22:08:37,687 4272 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-17 22:08:37,701 4272 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-17 22:08:37,701 4272 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-17 22:08:37,701 4272 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-17 22:08:37,701 4272 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-17 22:08:37,715 4272 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-17 22:08:37,730 4272 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-17 22:08:37,730 4272 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-17 22:08:37,730 4272 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-17 22:08:37,730 4272 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-17 22:08:37,744 4272 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-17 22:08:37,744 4272 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-17 22:08:38,010 4272 [INFO ] - ============================================================
2023-06-17 22:08:38,335 4272 [INFO ] - Chocolatey v1.3.0
2023-06-17 22:08:38,376 4272 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-17 22:08:38,376 4272 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-17 22:08:38,391 4272 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-17 22:08:38,405 4272 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230614 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-17 22:08:38,419 4272 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230614 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-17 22:08:38,560 4272 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-17 22:08:38,574 4272 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-17 22:08:38,601 4272 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-17 22:08:38,714 4272 [DEBUG] - Performing validation checks.
2023-06-17 22:08:38,728 4272 [DEBUG] - Global Configuration Validation Checks:
2023-06-17 22:08:38,743 4272 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-17 22:08:38,756 4272 [DEBUG] - System State Validation Checks:
2023-06-17 22:08:38,770 4272 [DEBUG] - Reboot Requirement Checks:
2023-06-17 22:08:38,770 4272 [DEBUG] - - Pending Computer Rename = Checked
2023-06-17 22:08:38,784 4272 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-17 22:08:38,784 4272 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-17 22:08:38,798 4272 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-17 22:08:38,798 4272 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-17 22:08:38,812 4272 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-17 22:08:38,827 4272 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-17 22:08:38,869 4272 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-17 22:08:38,882 4272 [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-17 22:08:38,910 4272 [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.20230614'|
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-N6C8A78ENGH'|
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-17 22:08:38,938 4272 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-17 22:08:38,953 4272 [INFO ] - Installing the following packages:
2023-06-17 22:08:38,995 4272 [INFO ] - glpi-agent-nightly.install
2023-06-17 22:08:38,995 4272 [INFO ] - By installing, you accept licenses for the packages.
2023-06-17 22:08:39,009 4272 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-17 22:08:39,023 4272 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-17 22:08:39,037 4272 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 22:08:39,037 4272 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 22:08:39,051 4272 [DEBUG] - * 'ChocolateyLastPathUpdate'='133314802898949136' ('User')
2023-06-17 22:08:39,065 4272 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-17 22:08:39,065 4272 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-17 22:08:39,079 4272 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-17 22:08:39,079 4272 [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-17 22:08:39,093 4272 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-17 22:08:39,093 4272 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-17 22:08:39,093 4272 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-17 22:08:39,107 4272 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 22:08:39,107 4272 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 22:08:39,122 4272 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-17 22:08:39,122 4272 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-17 22:08:39,122 4272 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-17 22:08:39,136 4272 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-17 22:08:39,150 4272 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-17 22:08:39,150 4272 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-17 22:08:39,150 4272 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-17 22:08:41,878 4272 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230614'.
2023-06-17 22:08:41,920 4272 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-17 22:08:41,920 4272 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-17 22:08:41,934 4272 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 22:08:41,934 4272 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 22:08:42,159 4272 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 22:08:42,201 4272 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git97a170b6-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-17 22:08:42,258 4272 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-17 22:08:42,582 4272 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-17 22:08:42,582 4272 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230614'.
2023-06-17 22:08:42,595 4272 [INFO ] -
glpi-agent-nightly.install v1.5.20230614 (forced)
2023-06-17 22:08:42,624 4272 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-17 22:08:42,680 4272 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-17 22:08:42,693 4272 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-17 22:08:42,693 4272 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-17 22:08:42,722 4272 [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-git97a170b6-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git97a170b6-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = 'BB9CF906AA82F594A21455459785C4ADAE81F23E4BAB33BD7D28FEC738413C85' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = '78BD859AA628FC4B6E4552ADB3B7391A8DDD81F89AE57A7F70BD26CFBEC91FCD' # (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-17 22:08:42,764 4272 [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-17 22:08:42,778 4272 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-17 22:08:43,327 4272 [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-17 22:08:43,973 4272 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 22:08:43,987 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 22:08:43,987 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 22:08:44,001 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 22:08:44,001 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 22:08:44,015 4272 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 22:08:44,015 4272 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 22:08:44,029 4272 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 22:08:44,029 4272 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 22:08:44,043 4272 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 22:08:44,043 4272 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:08:44,043 4272 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 22:08:44,057 4272 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 22:08:44,057 4272 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 22:08:44,071 4272 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 22:08:44,071 4272 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 22:08:44,085 4272 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 22:08:44,085 4272 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 22:08:44,099 4272 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 22:08:44,099 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:08:44,113 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:08:44,113 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:08:44,113 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:08:44,127 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 22:08:44,127 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 22:08:44,142 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:08:44,155 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:08:44,155 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 22:08:44,169 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:08:44,169 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 22:08:44,184 4272 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 22:08:44,184 4272 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 22:08:44,198 4272 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 22:08:44,198 4272 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:08:44,212 4272 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 22:08:44,212 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 22:08:44,226 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:08:44,226 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:08:44,240 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:08:44,240 4272 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 22:08:44,254 4272 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 22:08:44,254 4272 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 22:08:44,268 4272 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 22:08:44,268 4272 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 22:08:44,282 4272 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 22:08:44,282 4272 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 22:08:44,296 4272 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 22:08:44,311 4272 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:08:44,311 4272 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 22:08:44,324 4272 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 22:08:44,353 4272 [DEBUG] - Loading community extensions
2023-06-17 22:08:44,367 4272 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-17 22:08:44,382 4272 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-17 22:08:44,493 4272 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 22:08:44,493 4272 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 22:08:44,507 4272 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 22:08:44,521 4272 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 22:08:44,521 4272 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 22:08:44,535 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 22:08:44,535 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 22:08:44,535 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 22:08:44,550 4272 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 22:08:44,550 4272 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 22:08:44,564 4272 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 22:08:44,564 4272 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 22:08:44,578 4272 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 22:08:44,592 4272 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 22:08:44,592 4272 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:08:44,606 4272 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 22:08:44,606 4272 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 22:08:44,620 4272 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 22:08:44,620 4272 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 22:08:44,634 4272 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 22:08:44,634 4272 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 22:08:44,648 4272 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 22:08:44,648 4272 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 22:08:44,648 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:08:44,663 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:08:44,676 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:08:44,676 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:08:44,690 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 22:08:44,690 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 22:08:44,690 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:08:44,704 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:08:44,704 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 22:08:44,718 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:08:44,718 4272 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 22:08:44,733 4272 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 22:08:44,746 4272 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 22:08:44,746 4272 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 22:08:44,760 4272 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:08:44,760 4272 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 22:08:44,760 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 22:08:44,775 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:08:44,775 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:08:44,789 4272 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:08:44,803 4272 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 22:08:44,803 4272 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 22:08:44,817 4272 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 22:08:44,817 4272 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 22:08:44,817 4272 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 22:08:44,831 4272 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 22:08:44,831 4272 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 22:08:44,845 4272 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 22:08:44,845 4272 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 22:08:44,845 4272 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 22:08:44,859 4272 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:08:44,873 4272 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 22:08:44,873 4272 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 22:08:44,887 4272 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-17 22:08:44,887 4272 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-17 22:08:44,901 4272 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-17 22:08:44,901 4272 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-17 22:08:44,915 4272 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-17 22:08:44,915 4272 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-17 22:08:44,929 4272 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-17 22:08:44,929 4272 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-17 22:08:44,929 4272 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-17 22:08:44,944 4272 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-17 22:08:44,944 4272 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:08:44,957 4272 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-17 22:08:44,957 4272 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-17 22:08:44,971 4272 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-17 22:08:44,971 4272 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-17 22:08:44,971 4272 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-17 22:08:44,985 4272 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-17 22:08:44,985 4272 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-17 22:08:44,999 4272 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-17 22:08:44,999 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:08:45,014 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:08:45,014 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:08:45,028 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:08:45,028 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-17 22:08:45,041 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-17 22:08:45,041 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:08:45,056 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:08:45,056 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-17 22:08:45,070 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:08:45,070 4272 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-17 22:08:45,084 4272 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-17 22:08:45,084 4272 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 22:08:45,098 4272 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-17 22:08:45,098 4272 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-17 22:08:45,098 4272 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:08:45,112 4272 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-17 22:08:45,112 4272 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 22:08:45,126 4272 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-17 22:08:45,126 4272 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:08:45,140 4272 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:08:45,140 4272 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:08:45,155 4272 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-17 22:08:45,155 4272 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-17 22:08:45,169 4272 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-17 22:08:45,169 4272 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-17 22:08:45,183 4272 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-17 22:08:45,183 4272 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-17 22:08:45,197 4272 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-17 22:08:45,197 4272 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:08:45,210 4272 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-17 22:08:45,210 4272 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-17 22:08:45,224 4272 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-17 22:08:45,309 4272 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-17 22:08:45,323 4272 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230614 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-17 22:08:45,379 4272 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-17 22:08:45,450 4272 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-17 22:08:45,577 4272 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-17 22:08:45,590 4272 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-17 22:08:45,604 4272 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-17 22:08:45,773 4272 [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-git97a170b6-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-17 22:08:45,870 4272 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-17 22:08:45,904 4272 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-17 22:09:32,781 4272 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi" /quiet ] exited with '0'.
2023-06-17 22:09:32,828 4272 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-17 22:09:32,844 4272 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-17 22:09:32,893 4272 [DEBUG] - ----------------------------------------------------------------------
2023-06-17 22:09:32,907 4272 [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-17 22:09:32,923 4272 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-17 22:09:33,140 4272 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-17 22:09:33,188 4272 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-17 22:09:33,375 4272 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-17 22:09:33,469 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '6E6F43A147171D597D6B6503270D8CA8'
2023-06-17 22:09:33,469 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '6FBA19839A97F09DA4DCCCB7E57F8E0B'
2023-06-17 22:09:33,469 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'E9F1B459A7389D7F3F7C07C8CA3ABE7F'
2023-06-17 22:09:33,484 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '4679B480CC198BAFC28231E9C496A269'
2023-06-17 22:09:33,500 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-17 22:09:33,500 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '2F9225A89C2A74BED832F799877D7768'
2023-06-17 22:09:33,500 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-17 22:09:33,688 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi'
with checksum '19E4BB4422C2D5F6800B988BEDDD491B'
2023-06-17 22:09:33,688 4272 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-17 22:09:33,812 4272 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614".
2023-06-17 22:09:33,890 4272 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614\.registry'
2023-06-17 22:09:33,937 4272 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614\.files'
2023-06-17 22:09:33,952 4272 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614\.extra".
2023-06-17 22:09:33,968 4272 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614\.version".
2023-06-17 22:09:33,968 4272 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614\.sxs".
2023-06-17 22:09:33,983 4272 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230614\.pin".
2023-06-17 22:09:34,000 4272 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-17 22:09:34,000 4272 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-17 22:09:34,015 4272 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-17 22:09:34,031 4272 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-17 22:09:34,031 4272 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230614.nupkg".
2023-06-17 22:09:34,108 4272 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-17 22:09:34,124 4272 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-17 22:09:34,172 4272 [DEBUG] - Exiting with 0
2023-06-17 22:09:46,786 4308 [DEBUG] - XmlConfiguration is now operational
2023-06-17 22:09:46,942 4308 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:09:46,942 4308 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:09:46,957 4308 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:09:46,957 4308 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:09:46,957 4308 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-17 22:09:46,957 4308 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-17 22:09:47,192 4308 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-17 22:09:47,207 4308 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-17 22:09:47,207 4308 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-17 22:09:47,207 4308 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-17 22:09:47,223 4308 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-17 22:09:47,223 4308 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-17 22:09:47,223 4308 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-17 22:09:47,223 4308 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-17 22:09:47,239 4308 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-17 22:09:47,239 4308 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-17 22:09:47,239 4308 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-17 22:09:47,253 4308 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-17 22:09:47,254 4308 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-17 22:09:47,254 4308 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-17 22:09:47,254 4308 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-17 22:09:47,269 4308 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-17 22:09:47,269 4308 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-17 22:09:47,269 4308 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-17 22:09:47,582 4308 [INFO ] - ============================================================
2023-06-17 22:09:47,957 4308 [INFO ] - Chocolatey v1.3.0
2023-06-17 22:09:47,989 4308 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-17 22:09:48,004 4308 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-17 22:09:48,004 4308 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-17 22:09:48,035 4308 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230614 -dvy --execution-timeout=2700
2023-06-17 22:09:48,051 4308 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230614 -dvy --execution-timeout=2700
2023-06-17 22:09:48,238 4308 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-17 22:09:48,270 4308 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-17 22:09:48,285 4308 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-17 22:09:48,458 4308 [DEBUG] - Performing validation checks.
2023-06-17 22:09:48,474 4308 [DEBUG] - Global Configuration Validation Checks:
2023-06-17 22:09:48,474 4308 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-17 22:09:48,504 4308 [DEBUG] - System State Validation Checks:
2023-06-17 22:09:48,504 4308 [DEBUG] - Reboot Requirement Checks:
2023-06-17 22:09:48,520 4308 [DEBUG] - - Pending Computer Rename = Checked
2023-06-17 22:09:48,536 4308 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-17 22:09:48,536 4308 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-17 22:09:48,551 4308 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-17 22:09:48,551 4308 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-17 22:09:48,566 4308 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-17 22:09:48,582 4308 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-17 22:09:48,644 4308 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-17 22:09:48,644 4308 [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-17 22:09:48,691 4308 [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.20230614'|
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-N6C8A78ENGH'|
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-17 22:09:48,707 4308 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-17 22:09:48,738 4308 [INFO ] - Uninstalling the following packages:
2023-06-17 22:09:48,738 4308 [INFO ] - glpi-agent-nightly.install
2023-06-17 22:09:48,769 4308 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-17 22:09:48,769 4308 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-17 22:09:48,786 4308 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 22:09:48,786 4308 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-17 22:09:48,801 4308 [DEBUG] - * 'ChocolateyLastPathUpdate'='133314802898949136' ('User')
2023-06-17 22:09:48,801 4308 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-17 22:09:48,801 4308 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-17 22:09:48,816 4308 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-17 22:09:48,832 4308 [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-17 22:09:48,832 4308 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-17 22:09:48,847 4308 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-17 22:09:48,847 4308 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-17 22:09:48,863 4308 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 22:09:48,879 4308 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-17 22:09:48,879 4308 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-17 22:09:48,894 4308 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-17 22:09:48,894 4308 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-17 22:09:48,894 4308 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-17 22:09:48,910 4308 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-17 22:09:48,925 4308 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-17 22:09:48,925 4308 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-17 22:09:49,098 4308 [DEBUG] - Running list with the following filter = ''
2023-06-17 22:09:49,098 4308 [DEBUG] - --- Start of List ---
2023-06-17 22:09:49,551 4308 [DEBUG] - glpi-agent-nightly.install 1.5.20230614
2023-06-17 22:09:49,581 4308 [DEBUG] - --- End of List ---
2023-06-17 22:09:49,755 4308 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-17 22:09:49,755 4308 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-17 22:09:49,755 4308 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-17 22:09:49,785 4308 [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-17 22:09:49,848 4308 [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-17 22:09:49,862 4308 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-17 22:09:50,611 4308 [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-17 22:09:51,103 4308 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 22:09:51,118 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 22:09:51,118 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 22:09:51,151 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 22:09:51,151 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 22:09:51,167 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 22:09:51,167 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 22:09:51,183 4308 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 22:09:51,183 4308 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 22:09:51,200 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 22:09:51,200 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:09:51,216 4308 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 22:09:51,216 4308 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 22:09:51,232 4308 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 22:09:51,232 4308 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 22:09:51,249 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 22:09:51,249 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 22:09:51,265 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 22:09:51,265 4308 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 22:09:51,281 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:09:51,281 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:09:51,298 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:09:51,298 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:09:51,315 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 22:09:51,315 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 22:09:51,331 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:09:51,348 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:09:51,348 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 22:09:51,363 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:09:51,363 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 22:09:51,380 4308 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 22:09:51,380 4308 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 22:09:51,380 4308 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 22:09:51,397 4308 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:09:51,397 4308 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 22:09:51,413 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 22:09:51,413 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:09:51,429 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:09:51,429 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:09:51,445 4308 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 22:09:51,461 4308 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 22:09:51,461 4308 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 22:09:51,478 4308 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 22:09:51,494 4308 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 22:09:51,494 4308 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 22:09:51,511 4308 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 22:09:51,511 4308 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 22:09:51,527 4308 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:09:51,543 4308 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 22:09:51,559 4308 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 22:09:51,592 4308 [DEBUG] - Loading community extensions
2023-06-17 22:09:51,642 4308 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-17 22:09:51,706 4308 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-17 22:09:51,838 4308 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 22:09:51,854 4308 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 22:09:51,854 4308 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 22:09:51,870 4308 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 22:09:51,870 4308 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 22:09:51,887 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 22:09:51,903 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 22:09:51,903 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 22:09:51,919 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 22:09:51,919 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 22:09:51,936 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 22:09:51,936 4308 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 22:09:51,952 4308 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 22:09:51,968 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 22:09:51,968 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:09:51,968 4308 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 22:09:51,985 4308 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 22:09:52,001 4308 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 22:09:52,001 4308 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 22:09:52,017 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 22:09:52,017 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 22:09:52,033 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 22:09:52,033 4308 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 22:09:52,033 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:09:52,050 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:09:52,067 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:09:52,108 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:09:52,115 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 22:09:52,115 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 22:09:52,131 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:09:52,148 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:09:52,148 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 22:09:52,164 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:09:52,164 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 22:09:52,181 4308 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 22:09:52,181 4308 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 22:09:52,197 4308 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 22:09:52,197 4308 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:09:52,213 4308 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 22:09:52,213 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 22:09:52,230 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:09:52,230 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:09:52,245 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:09:52,245 4308 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 22:09:52,262 4308 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 22:09:52,262 4308 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 22:09:52,278 4308 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 22:09:52,278 4308 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 22:09:52,294 4308 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 22:09:52,294 4308 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 22:09:52,294 4308 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 22:09:52,311 4308 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 22:09:52,327 4308 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 22:09:52,327 4308 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:09:52,343 4308 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 22:09:52,343 4308 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 22:09:52,360 4308 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-17 22:09:52,360 4308 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-17 22:09:52,376 4308 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-17 22:09:52,376 4308 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-17 22:09:52,393 4308 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-17 22:09:52,393 4308 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-17 22:09:52,408 4308 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-17 22:09:52,408 4308 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-17 22:09:52,425 4308 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-17 22:09:52,425 4308 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-17 22:09:52,441 4308 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:09:52,441 4308 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-17 22:09:52,457 4308 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-17 22:09:52,457 4308 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-17 22:09:52,474 4308 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-17 22:09:52,474 4308 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-17 22:09:52,490 4308 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-17 22:09:52,490 4308 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-17 22:09:52,506 4308 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-17 22:09:52,506 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:09:52,523 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:09:52,523 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:09:52,539 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:09:52,539 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-17 22:09:52,555 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-17 22:09:52,572 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:09:52,588 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:09:52,588 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-17 22:09:52,588 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:09:52,604 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-17 22:09:52,604 4308 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-17 22:09:52,621 4308 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 22:09:52,637 4308 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-17 22:09:52,637 4308 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-17 22:09:52,653 4308 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:09:52,653 4308 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-17 22:09:52,669 4308 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 22:09:52,669 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-17 22:09:52,686 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:09:52,686 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:09:52,702 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:09:52,718 4308 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-17 22:09:52,718 4308 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-17 22:09:52,734 4308 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-17 22:09:52,734 4308 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-17 22:09:52,751 4308 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-17 22:09:52,751 4308 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-17 22:09:52,767 4308 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-17 22:09:52,767 4308 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:09:52,784 4308 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-17 22:09:52,784 4308 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-17 22:09:52,800 4308 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-17 22:09:52,915 4308 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-17 22:09:52,947 4308 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230614 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-17 22:09:53,028 4308 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-17 22:09:53,093 4308 [WARN ] - Confirm
2023-06-17 22:09:53,110 4308 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-17 22:09:53,110 4308 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-17 22:09:53,126 4308 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-17 22:10:24,378 4308 [DEBUG] - ----------------------------------------------------------------------
2023-06-17 22:10:24,395 4308 [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-17 22:10:24,567 4308 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-17 22:10:24,583 4308 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-17 22:10:24,598 4308 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-17 22:10:27,190 4308 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-17 22:10:27,206 4308 [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-17 22:10:27,644 4308 [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-17 22:10:27,659 4308 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-17 22:10:27,675 4308 [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-17 22:10:27,675 4308 [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-17 22:10:27,690 4308 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-17 22:10:27,690 4308 [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-17 22:10:27,706 4308 [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-17 22:10:27,706 4308 [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-17 22:10:27,722 4308 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi".
2023-06-17 22:10:27,753 4308 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore".
2023-06-17 22:10:29,447 4308 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-17 22:10:29,541 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '6E6F43A147171D597D6B6503270D8CA8'
2023-06-17 22:10:29,541 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '6FBA19839A97F09DA4DCCCB7E57F8E0B'
2023-06-17 22:10:29,541 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'E9F1B459A7389D7F3F7C07C8CA3ABE7F'
2023-06-17 22:10:29,557 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '4679B480CC198BAFC28231E9C496A269'
2023-06-17 22:10:29,557 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-17 22:10:29,572 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '2F9225A89C2A74BED832F799877D7768'
2023-06-17 22:10:29,588 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-17 22:10:31,408 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi'
with checksum '19E4BB4422C2D5F6800B988BEDDD491B'
2023-06-17 22:10:31,408 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-17 22:10:33,320 4308 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230614'.
2023-06-17 22:10:33,337 4308 [INFO ] -
glpi-agent-nightly.install v1.5.20230614
2023-06-17 22:10:33,383 4308 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-17 22:10:33,399 4308 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-17 22:10:33,399 4308 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-17 22:10:33,414 4308 [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-17 22:10:34,028 4308 [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-17 22:10:34,073 4308 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-17 22:10:36,346 4308 [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-17 22:10:36,910 4308 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 22:10:36,941 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 22:10:36,972 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 22:10:36,972 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 22:10:37,004 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 22:10:37,004 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 22:10:37,051 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 22:10:37,051 4308 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 22:10:37,066 4308 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 22:10:37,066 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 22:10:37,082 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:10:37,098 4308 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 22:10:37,098 4308 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 22:10:37,113 4308 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 22:10:37,113 4308 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 22:10:37,129 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 22:10:37,129 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 22:10:37,145 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 22:10:37,145 4308 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 22:10:37,160 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:10:37,160 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:10:37,176 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:10:37,176 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:10:37,191 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 22:10:37,191 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 22:10:37,207 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:10:37,207 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:10:37,223 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 22:10:37,223 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:10:37,239 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 22:10:37,239 4308 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 22:10:37,254 4308 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 22:10:37,254 4308 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 22:10:37,270 4308 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:10:37,270 4308 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 22:10:37,285 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 22:10:37,285 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:10:37,302 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:10:37,302 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:10:37,317 4308 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 22:10:37,317 4308 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 22:10:37,333 4308 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 22:10:37,333 4308 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 22:10:37,348 4308 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 22:10:37,348 4308 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 22:10:37,364 4308 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 22:10:37,364 4308 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 22:10:37,379 4308 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:10:37,379 4308 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 22:10:37,395 4308 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 22:10:37,412 4308 [DEBUG] - Loading community extensions
2023-06-17 22:10:37,412 4308 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-17 22:10:37,428 4308 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-17 22:10:37,849 4308 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 22:10:37,865 4308 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 22:10:37,865 4308 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 22:10:37,881 4308 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 22:10:37,881 4308 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-17 22:10:37,896 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-17 22:10:37,912 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-17 22:10:37,912 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-17 22:10:37,927 4308 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-17 22:10:37,927 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-17 22:10:37,942 4308 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-17 22:10:37,942 4308 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-17 22:10:37,942 4308 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-17 22:10:37,958 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-17 22:10:37,958 4308 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:10:37,974 4308 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-17 22:10:37,974 4308 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-17 22:10:37,990 4308 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-17 22:10:37,990 4308 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-17 22:10:38,005 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-17 22:10:38,005 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-17 22:10:38,054 4308 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-17 22:10:38,054 4308 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-17 22:10:38,067 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:10:38,067 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:10:38,083 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:10:38,083 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:10:38,099 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-17 22:10:38,099 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-17 22:10:38,115 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:10:38,115 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:10:38,130 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-17 22:10:38,146 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:10:38,146 4308 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-17 22:10:38,161 4308 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-17 22:10:38,161 4308 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-17 22:10:38,177 4308 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-17 22:10:38,177 4308 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:10:38,193 4308 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-17 22:10:38,193 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-17 22:10:38,208 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:10:38,208 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:10:38,224 4308 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:10:38,224 4308 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-17 22:10:38,239 4308 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-17 22:10:38,239 4308 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-17 22:10:38,255 4308 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-17 22:10:38,255 4308 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-17 22:10:38,271 4308 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-17 22:10:38,271 4308 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-17 22:10:38,287 4308 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-17 22:10:38,303 4308 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-17 22:10:38,303 4308 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-17 22:10:38,318 4308 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:10:38,318 4308 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-17 22:10:38,333 4308 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-17 22:10:38,333 4308 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-17 22:10:38,349 4308 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-17 22:10:38,365 4308 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-17 22:10:38,365 4308 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-17 22:10:38,381 4308 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-17 22:10:38,443 4308 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-17 22:10:38,694 4308 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-17 22:10:38,805 4308 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-17 22:10:38,819 4308 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-17 22:10:38,819 4308 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-17 22:10:38,835 4308 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-17 22:10:38,851 4308 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-17 22:10:38,866 4308 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-17 22:10:38,882 4308 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-17 22:10:38,882 4308 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-17 22:10:38,897 4308 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-17 22:10:38,913 4308 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-17 22:10:39,102 4308 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-17 22:10:39,117 4308 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-17 22:10:39,132 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-17 22:10:39,148 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-17 22:10:39,164 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-17 22:10:39,179 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-17 22:10:39,195 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-17 22:10:39,211 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-17 22:10:39,227 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-17 22:10:39,227 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-17 22:10:39,258 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-17 22:10:39,367 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-17 22:10:39,383 4308 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-17 22:10:39,399 4308 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-17 22:10:39,414 4308 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-17 22:10:39,430 4308 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-17 22:10:39,430 4308 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-17 22:10:39,446 4308 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-17 22:10:39,461 4308 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-17 22:10:39,461 4308 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-17 22:10:39,477 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-17 22:10:39,477 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-17 22:10:39,493 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-17 22:10:39,493 4308 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-17 22:10:39,508 4308 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-17 22:10:39,508 4308 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-17 22:10:39,555 4308 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-17 22:10:39,571 4308 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-17 22:10:39,587 4308 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-17 22:10:39,602 4308 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-17 22:10:39,602 4308 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-17 22:10:39,618 4308 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-17 22:10:39,650 4308 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-17 22:10:39,681 4308 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-17 22:10:39,743 4308 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-17 22:10:39,759 4308 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-17 22:10:39,774 4308 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230614 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-17 22:10:39,790 4308 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-17 22:10:39,994 4308 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-17 22:10:40,135 4308 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-17 22:10:40,338 4308 [DEBUG] - Registry uninstall keys on system: 28
2023-06-17 22:10:40,354 4308 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-17 22:10:40,463 4308 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-17 22:10:40,543 4308 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{826AD405-6BF5-1014-917C-81878EC86075} /qn /norestart' -file ''
2023-06-17 22:10:40,683 4308 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-17 22:10:40,840 4308 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {826AD405-6BF5-1014-917C-81878EC86075} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-17 22:10:40,933 4308 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-17 22:10:40,980 4308 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {826AD405-6BF5-1014-917C-81878EC86075} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-17 22:12:37,354 4308 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {826AD405-6BF5-1014-917C-81878EC86075} /qn /norestart ] exited with '0'.
2023-06-17 22:12:37,415 4308 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-17 22:12:37,431 4308 [INFO ] - 0
2023-06-17 22:12:37,447 4308 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-17 22:12:37,447 4308 [DEBUG] - ----------------------------------------------------------------------
2023-06-17 22:12:37,479 4308 [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-17 22:12:37,525 4308 [INFO ] - Running auto uninstaller...
2023-06-17 22:12:37,541 4308 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-17 22:12:39,574 4308 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{826AD405-6BF5-1014-917C-81878EC86075}' for 'GLPI Agent 1.5 (git97a170b6)'
2023-06-17 22:12:39,589 4308 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git97a170b6)' appears to have been uninstalled already by other means.
2023-06-17 22:12:39,604 4308 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-17 22:12:39,619 4308 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{826AD405-6BF5-1014-917C-81878EC86075}' value 'InstallLocation' - found? False
2023-06-17 22:12:39,636 4308 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-17 22:12:39,760 4308 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-17 22:12:39,775 4308 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-17 22:12:39,853 4308 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-17 22:12:39,853 4308 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-17 22:12:39,869 4308 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-17 22:12:39,885 4308 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 22:12:39,900 4308 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 22:12:39,900 4308 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 22:12:39,964 4308 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git97a170b6-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-17 22:12:39,964 4308 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-17 22:12:39,979 4308 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-17 22:12:39,994 4308 [DEBUG] - [NuGet] The directory is not empty.
2023-06-17 22:12:39,994 4308 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230614'.
2023-06-17 22:12:40,025 4308 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-17 22:12:40,041 4308 [DEBUG] - Removing nupkg if it still exists.
2023-06-17 22:12:40,041 4308 [DEBUG] - Ensuring removal of installation files.
2023-06-17 22:12:40,057 4308 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-17 22:12:40,057 4308 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git97a170b6-x64.msi.ignore".
2023-06-17 22:12:40,072 4308 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-17 22:12:40,088 4308 [DEBUG] - Ensuring removal of package cache files.
2023-06-17 22:12:40,136 4308 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-17 22:12:40,150 4308 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-17 22:12:40,198 4308 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment