Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 5, 2023 22:04
Show Gist options
  • Save choco-bot/8da7659f2c8cd318ac22f66e0f790480 to your computer and use it in GitHub Desktop.
Save choco-bot/8da7659f2c8cd318ac22f66e0f790480 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.6.20230705 - 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-490394152-2733037024-830534783-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.6 (gitf8c3877f)" displayVersion="1.6">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{122D494D-6BF5-1014-A8FC-AB51D18D7EC7}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{122D494D-6BF5-1014-A8FC-AB51D18D7EC7}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230705</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\]]></InstallSource>
<Language>1033</Language>
<Version>17170432</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>6</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3ecb6.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.6.20230705 - 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="8BA8EF0B239B3C526052FE0C62A5D32B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="067B15B64B5725B114503656C242A8A6" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="4D7C108684F0B949FFA88494EBFA7D32" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="D496F7A581CE9E2D404B959FD3EBE1C0" />
<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="7D44E4F9AFFF8F97DD1DA61E5E0D8331" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1" checksum="6B0400F7F1626CE5D4B3DE26A190423B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi" checksum="FA352BE290EA1578728253518DE58894" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-07-05 22:01:25,508 3000 [DEBUG] - XmlConfiguration is now operational
2023-07-05 22:01:25,837 3000 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:01:25,853 3000 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:01:25,853 3000 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:01:25,853 3000 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:01:25,868 3000 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:01:25,868 3000 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-05 22:01:26,260 3000 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-05 22:01:26,260 3000 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-05 22:01:26,274 3000 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-05 22:01:26,274 3000 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-05 22:01:26,274 3000 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-05 22:01:26,274 3000 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-05 22:01:26,290 3000 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-05 22:01:26,290 3000 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-05 22:01:26,290 3000 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-05 22:01:26,306 3000 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-05 22:01:26,306 3000 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-05 22:01:26,338 3000 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-05 22:01:26,338 3000 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-05 22:01:26,338 3000 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-05 22:01:26,352 3000 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-05 22:01:26,352 3000 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-05 22:01:26,369 3000 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-05 22:01:26,369 3000 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-05 22:01:26,727 3000 [INFO ] - ============================================================
2023-07-05 22:01:27,102 3000 [INFO ] - Chocolatey v1.3.0
2023-07-05 22:01:27,150 3000 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-05 22:01:27,165 3000 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-05 22:01:27,165 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-05 22:01:27,180 3000 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.6.20230705 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-05 22:01:27,196 3000 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.6.20230705 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-05 22:01:27,320 3000 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-05 22:01:27,353 3000 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-05 22:01:27,370 3000 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-05 22:01:27,508 3000 [DEBUG] - Performing validation checks.
2023-07-05 22:01:27,524 3000 [DEBUG] - Global Configuration Validation Checks:
2023-07-05 22:01:27,540 3000 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-05 22:01:27,555 3000 [DEBUG] - System State Validation Checks:
2023-07-05 22:01:27,571 3000 [DEBUG] - Reboot Requirement Checks:
2023-07-05 22:01:27,587 3000 [DEBUG] - - Pending Computer Rename = Checked
2023-07-05 22:01:27,587 3000 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-05 22:01:27,602 3000 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-05 22:01:27,618 3000 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-05 22:01:27,633 3000 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-05 22:01:27,633 3000 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-05 22:01:27,666 3000 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-05 22:01:27,712 3000 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-05 22:01:27,727 3000 [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-07-05 22:01:27,759 3000 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.6.20230705'|
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-SK5956E4H3C'|
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-07-05 22:01:27,790 3000 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-05 22:01:27,805 3000 [INFO ] - Installing the following packages:
2023-07-05 22:01:27,820 3000 [INFO ] - glpi-agent-nightly.install
2023-07-05 22:01:27,821 3000 [INFO ] - By installing, you accept licenses for the packages.
2023-07-05 22:01:27,837 3000 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-05 22:01:27,853 3000 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-05 22:01:27,868 3000 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-05 22:01:27,868 3000 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-05 22:01:27,884 3000 [DEBUG] - * 'ChocolateyLastPathUpdate'='133330349097125001' ('User')
2023-07-05 22:01:27,884 3000 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-05 22:01:27,899 3000 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-05 22:01:27,899 3000 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-05 22:01:27,915 3000 [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-07-05 22:01:27,915 3000 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-05 22:01:27,930 3000 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-05 22:01:27,930 3000 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-05 22:01:27,946 3000 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-05 22:01:27,946 3000 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-05 22:01:27,961 3000 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-05 22:01:27,961 3000 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-05 22:01:27,977 3000 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-05 22:01:27,977 3000 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-05 22:01:27,993 3000 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-05 22:01:27,993 3000 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-05 22:01:28,009 3000 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-05 22:01:31,275 3000 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.6.20230705'.
2023-07-05 22:01:31,290 3000 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-07-05 22:01:31,305 3000 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-07-05 22:01:31,305 3000 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-07-05 22:01:31,337 3000 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-07-05 22:01:31,353 3000 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-07-05 22:01:31,383 3000 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.6-gitf8c3877f-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-07-05 22:01:31,492 3000 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-07-05 22:01:32,056 3000 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-07-05 22:01:32,056 3000 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.6.20230705'.
2023-07-05 22:01:32,071 3000 [INFO ] -
glpi-agent-nightly.install v1.6.20230705 (forced)
2023-07-05 22:01:32,228 3000 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-07-05 22:01:32,291 3000 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-07-05 22:01:32,306 3000 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-07-05 22:01:32,306 3000 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-07-05 22:01:32,337 3000 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'MSI'
url = 'https://nightly.glpi-project.org/glpi-agent/GLPI-Agent-1.6-gitf8c3877f-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.6-gitf8c3877f-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = 'D0A4D50109EFCDDD81E52EDDA6CDD0DF941C35E3A8F5EFB638A20C7427025BFF' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = '3429AB2D23C8D0BE9225E8B30F35AD951FABB33540EB53C2BB24F6F18A9DF37B' # (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-07-05 22:01:32,446 3000 [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-07-05 22:01:32,462 3000 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-05 22:01:33,103 3000 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-05 22:01:33,556 3000 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-05 22:01:33,571 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-05 22:01:33,571 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-05 22:01:33,586 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-05 22:01:33,586 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-05 22:01:33,602 3000 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-05 22:01:33,602 3000 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-05 22:01:33,602 3000 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-05 22:01:33,618 3000 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-05 22:01:33,618 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-05 22:01:33,633 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:01:33,633 3000 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-05 22:01:33,649 3000 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-05 22:01:33,649 3000 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-05 22:01:33,665 3000 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-05 22:01:33,665 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-05 22:01:33,680 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-05 22:01:33,680 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-05 22:01:33,696 3000 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-05 22:01:33,712 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:01:33,712 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:01:33,727 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:01:33,727 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:01:33,743 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-05 22:01:33,743 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-05 22:01:33,758 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:01:33,758 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:01:33,774 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-05 22:01:33,774 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:01:33,789 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-05 22:01:33,789 3000 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-05 22:01:33,805 3000 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-05 22:01:33,805 3000 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-05 22:01:33,821 3000 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:01:33,821 3000 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-05 22:01:33,837 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-05 22:01:33,837 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:01:33,837 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:01:33,852 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:01:33,852 3000 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-05 22:01:33,868 3000 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-05 22:01:33,883 3000 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-05 22:01:33,883 3000 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-05 22:01:33,899 3000 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-05 22:01:33,899 3000 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-05 22:01:33,915 3000 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-05 22:01:33,915 3000 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-05 22:01:33,930 3000 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:01:33,930 3000 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-05 22:01:33,946 3000 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-05 22:01:34,134 3000 [DEBUG] - Loading community extensions
2023-07-05 22:01:34,165 3000 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-05 22:01:34,181 3000 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-05 22:01:34,290 3000 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-05 22:01:34,305 3000 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-05 22:01:34,321 3000 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-05 22:01:34,321 3000 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-05 22:01:34,337 3000 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-05 22:01:34,337 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-05 22:01:34,353 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-05 22:01:34,353 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-05 22:01:34,368 3000 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-05 22:01:34,368 3000 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-05 22:01:34,384 3000 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-05 22:01:34,384 3000 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-05 22:01:34,399 3000 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-05 22:01:34,415 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-05 22:01:34,415 3000 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:01:34,432 3000 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-05 22:01:34,447 3000 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-05 22:01:34,462 3000 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-05 22:01:34,462 3000 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-05 22:01:34,478 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-05 22:01:34,478 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-05 22:01:34,478 3000 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-05 22:01:34,493 3000 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-05 22:01:34,512 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:01:34,512 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:01:34,524 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:01:34,540 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:01:34,540 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-05 22:01:34,556 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-05 22:01:34,556 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:01:34,571 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:01:34,571 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-05 22:01:34,586 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:01:34,586 3000 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-05 22:01:34,602 3000 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-05 22:01:34,602 3000 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-05 22:01:34,617 3000 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-05 22:01:34,617 3000 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:01:34,617 3000 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-05 22:01:34,633 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-05 22:01:34,633 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:01:34,649 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:01:34,649 3000 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:01:34,665 3000 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-05 22:01:34,790 3000 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-05 22:01:34,806 3000 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-05 22:01:34,806 3000 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-05 22:01:34,820 3000 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-05 22:01:34,820 3000 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-05 22:01:34,836 3000 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-05 22:01:34,836 3000 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-05 22:01:34,852 3000 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-05 22:01:34,852 3000 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-05 22:01:34,867 3000 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:01:34,867 3000 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-05 22:01:34,883 3000 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-05 22:01:34,883 3000 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-05 22:01:34,899 3000 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-05 22:01:34,899 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-05 22:01:34,914 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-05 22:01:34,914 3000 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-05 22:01:34,914 3000 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-05 22:01:34,930 3000 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-05 22:01:34,930 3000 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-05 22:01:34,947 3000 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-05 22:01:34,947 3000 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-05 22:01:34,961 3000 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:01:34,961 3000 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-05 22:01:34,977 3000 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-05 22:01:34,977 3000 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-05 22:01:34,993 3000 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-05 22:01:34,993 3000 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-05 22:01:35,008 3000 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-05 22:01:35,008 3000 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-05 22:01:35,024 3000 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-05 22:01:35,024 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:01:35,039 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:01:35,057 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:01:35,057 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:01:35,071 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-05 22:01:35,086 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-05 22:01:35,086 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:01:35,102 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:01:35,118 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-05 22:01:35,164 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:01:35,180 3000 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-05 22:01:35,180 3000 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-05 22:01:35,196 3000 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-05 22:01:35,196 3000 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-05 22:01:35,196 3000 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-05 22:01:35,212 3000 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:01:35,212 3000 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-05 22:01:35,227 3000 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-05 22:01:35,227 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-05 22:01:35,242 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:01:35,242 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:01:35,259 3000 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:01:35,259 3000 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-05 22:01:35,259 3000 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-05 22:01:35,274 3000 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-05 22:01:35,274 3000 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-05 22:01:35,289 3000 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-05 22:01:35,289 3000 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-05 22:01:35,383 3000 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-05 22:01:35,461 3000 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:01:35,461 3000 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-05 22:01:35,477 3000 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-05 22:01:35,477 3000 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-05 22:01:35,571 3000 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-05 22:01:35,586 3000 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230705 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-07-05 22:01:35,649 3000 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-07-05 22:01:35,742 3000 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-05 22:01:35,883 3000 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-07-05 22:01:35,898 3000 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-05 22:01:35,931 3000 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-07-05 22:01:36,151 3000 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools' -statements '/i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-05 22:01:36,244 3000 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-05 22:01:36,304 3000 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-07-05 22:02:16,453 3000 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi" /quiet ] exited with '0'.
2023-07-05 22:02:16,591 3000 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-05 22:02:16,607 3000 [INFO ] - glpi-agent-nightly.install has been installed.
2023-07-05 22:02:16,638 3000 [DEBUG] - ----------------------------------------------------------------------
2023-07-05 22:02:16,653 3000 [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-07-05 22:02:16,669 3000 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-05 22:02:17,075 3000 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-05 22:02:17,122 3000 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-07-05 22:02:17,311 3000 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-07-05 22:02:17,390 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '8BA8EF0B239B3C526052FE0C62A5D32B'
2023-07-05 22:02:17,390 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '067B15B64B5725B114503656C242A8A6'
2023-07-05 22:02:17,403 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '4D7C108684F0B949FFA88494EBFA7D32'
2023-07-05 22:02:17,419 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum 'D496F7A581CE9E2D404B959FD3EBE1C0'
2023-07-05 22:02:17,419 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-07-05 22:02:17,419 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '7D44E4F9AFFF8F97DD1DA61E5E0D8331'
2023-07-05 22:02:17,435 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-07-05 22:02:17,592 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi'
with checksum 'FA352BE290EA1578728253518DE58894'
2023-07-05 22:02:17,608 3000 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-07-05 22:02:17,670 3000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705".
2023-07-05 22:02:17,763 3000 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705\.registry'
2023-07-05 22:02:17,795 3000 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705\.files'
2023-07-05 22:02:17,810 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705\.extra".
2023-07-05 22:02:17,841 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705\.version".
2023-07-05 22:02:17,841 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705\.sxs".
2023-07-05 22:02:17,856 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.6.20230705\.pin".
2023-07-05 22:02:17,872 3000 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-05 22:02:17,888 3000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-07-05 22:02:17,888 3000 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-07-05 22:02:17,904 3000 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-07-05 22:02:17,904 3000 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.6.20230705.nupkg".
2023-07-05 22:02:17,966 3000 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-05 22:02:17,966 3000 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-05 22:02:18,013 3000 [DEBUG] - Exiting with 0
2023-07-05 22:02:30,356 2824 [DEBUG] - XmlConfiguration is now operational
2023-07-05 22:02:30,497 2824 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:02:30,512 2824 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:02:30,512 2824 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:02:30,512 2824 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:02:30,528 2824 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-05 22:02:30,528 2824 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-05 22:02:30,825 2824 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-05 22:02:30,825 2824 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-05 22:02:30,825 2824 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-05 22:02:30,841 2824 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-05 22:02:30,841 2824 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-05 22:02:30,841 2824 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-05 22:02:30,841 2824 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-05 22:02:30,857 2824 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-05 22:02:30,857 2824 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-05 22:02:30,879 2824 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-05 22:02:30,879 2824 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-05 22:02:30,888 2824 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-05 22:02:30,888 2824 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-05 22:02:30,888 2824 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-05 22:02:30,903 2824 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-05 22:02:30,903 2824 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-05 22:02:30,903 2824 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-05 22:02:30,903 2824 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-05 22:02:31,216 2824 [INFO ] - ============================================================
2023-07-05 22:02:31,591 2824 [INFO ] - Chocolatey v1.3.0
2023-07-05 22:02:31,622 2824 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-05 22:02:31,638 2824 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-05 22:02:31,653 2824 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-05 22:02:31,685 2824 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.6.20230705 -dvy --execution-timeout=2700
2023-07-05 22:02:31,685 2824 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.6.20230705 -dvy --execution-timeout=2700
2023-07-05 22:02:31,857 2824 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-05 22:02:31,887 2824 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-05 22:02:31,904 2824 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-05 22:02:32,060 2824 [DEBUG] - Performing validation checks.
2023-07-05 22:02:32,076 2824 [DEBUG] - Global Configuration Validation Checks:
2023-07-05 22:02:32,076 2824 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-05 22:02:32,107 2824 [DEBUG] - System State Validation Checks:
2023-07-05 22:02:32,107 2824 [DEBUG] - Reboot Requirement Checks:
2023-07-05 22:02:32,121 2824 [DEBUG] - - Pending Computer Rename = Checked
2023-07-05 22:02:32,138 2824 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-05 22:02:32,153 2824 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-05 22:02:32,153 2824 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-05 22:02:32,169 2824 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-05 22:02:32,169 2824 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-05 22:02:32,201 2824 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-05 22:02:32,247 2824 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-05 22:02:32,247 2824 [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-07-05 22:02:32,278 2824 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.6.20230705'|
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-SK5956E4H3C'|
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-07-05 22:02:32,296 2824 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-05 22:02:32,342 2824 [INFO ] - Uninstalling the following packages:
2023-07-05 22:02:32,356 2824 [INFO ] - glpi-agent-nightly.install
2023-07-05 22:02:32,373 2824 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-05 22:02:32,387 2824 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-05 22:02:32,387 2824 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-05 22:02:32,403 2824 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-05 22:02:32,403 2824 [DEBUG] - * 'ChocolateyLastPathUpdate'='133330349097125001' ('User')
2023-07-05 22:02:32,419 2824 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-05 22:02:32,419 2824 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-05 22:02:32,435 2824 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-05 22:02:32,435 2824 [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-07-05 22:02:32,450 2824 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-05 22:02:32,450 2824 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-05 22:02:32,466 2824 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-05 22:02:32,466 2824 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-05 22:02:32,481 2824 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-05 22:02:32,497 2824 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-05 22:02:32,497 2824 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-05 22:02:32,497 2824 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-05 22:02:32,512 2824 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-05 22:02:32,512 2824 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-05 22:02:32,528 2824 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-05 22:02:32,528 2824 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-05 22:02:32,700 2824 [DEBUG] - Running list with the following filter = ''
2023-07-05 22:02:32,700 2824 [DEBUG] - --- Start of List ---
2023-07-05 22:02:33,153 2824 [DEBUG] - glpi-agent-nightly.install 1.6.20230705
2023-07-05 22:02:33,169 2824 [DEBUG] - --- End of List ---
2023-07-05 22:02:33,326 2824 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-07-05 22:02:33,341 2824 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-07-05 22:02:33,341 2824 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-07-05 22:02:33,372 2824 [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-07-05 22:02:33,419 2824 [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-07-05 22:02:33,434 2824 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-05 22:02:34,217 2824 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-05 22:02:34,810 2824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-05 22:02:34,810 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-05 22:02:34,825 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-05 22:02:34,825 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-05 22:02:34,841 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-05 22:02:34,841 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-05 22:02:34,856 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-05 22:02:34,856 2824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-05 22:02:34,872 2824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-05 22:02:34,872 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-05 22:02:34,887 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:02:34,903 2824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-05 22:02:34,903 2824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-05 22:02:34,903 2824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-05 22:02:34,919 2824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-05 22:02:34,919 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-05 22:02:34,935 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-05 22:02:34,935 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-05 22:02:34,950 2824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-05 22:02:34,950 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:02:34,966 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:02:34,966 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:02:34,981 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:02:34,997 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-05 22:02:35,031 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-05 22:02:35,031 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:02:35,044 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:02:35,059 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-05 22:02:35,075 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:02:35,075 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-05 22:02:35,090 2824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-05 22:02:35,090 2824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-05 22:02:35,106 2824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-05 22:02:35,106 2824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:02:35,122 2824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-05 22:02:35,122 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-05 22:02:35,137 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:02:35,137 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:02:35,153 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:02:35,168 2824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-05 22:02:35,168 2824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-05 22:02:35,185 2824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-05 22:02:35,185 2824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-05 22:02:35,200 2824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-05 22:02:35,200 2824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-05 22:02:35,216 2824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-05 22:02:35,216 2824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-05 22:02:35,231 2824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:02:35,246 2824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-05 22:02:35,247 2824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-05 22:02:35,279 2824 [DEBUG] - Loading community extensions
2023-07-05 22:02:35,326 2824 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-05 22:02:35,341 2824 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-05 22:02:35,465 2824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-05 22:02:35,481 2824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-05 22:02:35,481 2824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-05 22:02:35,497 2824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-05 22:02:35,512 2824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-05 22:02:35,512 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-05 22:02:35,528 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-05 22:02:35,528 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-05 22:02:35,544 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-05 22:02:35,559 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-05 22:02:35,559 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-05 22:02:35,574 2824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-05 22:02:35,574 2824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-05 22:02:35,590 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-05 22:02:35,590 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:02:35,590 2824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-05 22:02:35,607 2824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-05 22:02:35,622 2824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-05 22:02:35,622 2824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-05 22:02:35,622 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-05 22:02:35,637 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-05 22:02:35,637 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-05 22:02:35,653 2824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-05 22:02:35,668 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:02:35,668 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:02:35,668 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:02:35,684 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:02:35,684 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-05 22:02:35,700 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-05 22:02:35,716 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:02:35,716 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:02:35,716 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-05 22:02:35,731 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:02:35,731 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-05 22:02:35,747 2824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-05 22:02:35,747 2824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-05 22:02:35,763 2824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-05 22:02:35,763 2824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:02:35,778 2824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-05 22:02:35,778 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-05 22:02:35,778 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:02:35,795 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:02:35,809 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:02:35,809 2824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-05 22:02:35,825 2824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-05 22:02:35,825 2824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-05 22:02:35,840 2824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-05 22:02:35,840 2824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-05 22:02:35,856 2824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-05 22:02:35,856 2824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-05 22:02:35,871 2824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-05 22:02:35,871 2824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-05 22:02:35,887 2824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-05 22:02:35,887 2824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:02:35,903 2824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-05 22:02:35,903 2824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-05 22:02:35,918 2824 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-05 22:02:35,934 2824 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-05 22:02:35,934 2824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-05 22:02:35,950 2824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-05 22:02:35,950 2824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-05 22:02:35,965 2824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-05 22:02:35,965 2824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-05 22:02:35,965 2824 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-05 22:02:35,982 2824 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-05 22:02:35,997 2824 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-05 22:02:35,997 2824 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:02:36,013 2824 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-05 22:02:36,028 2824 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-05 22:02:36,028 2824 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-05 22:02:36,028 2824 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-05 22:02:36,044 2824 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-05 22:02:36,062 2824 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-05 22:02:36,062 2824 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-05 22:02:36,076 2824 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-05 22:02:36,090 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:02:36,090 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:02:36,106 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:02:36,122 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:02:36,122 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-05 22:02:36,137 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-05 22:02:36,137 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:02:36,153 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:02:36,153 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-05 22:02:36,168 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:02:36,168 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-05 22:02:36,184 2824 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-05 22:02:36,184 2824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-05 22:02:36,200 2824 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-05 22:02:36,200 2824 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-05 22:02:36,200 2824 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:02:36,216 2824 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-05 22:02:36,231 2824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-05 22:02:36,231 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-05 22:02:36,248 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:02:36,248 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:02:36,262 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:02:36,262 2824 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-05 22:02:36,278 2824 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-05 22:02:36,278 2824 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-05 22:02:36,293 2824 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-05 22:02:36,293 2824 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-05 22:02:36,309 2824 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-05 22:02:36,309 2824 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-05 22:02:36,324 2824 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:02:36,324 2824 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-05 22:02:36,324 2824 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-05 22:02:36,340 2824 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-05 22:02:36,858 2824 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-05 22:02:36,887 2824 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230705 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-07-05 22:02:36,997 2824 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-07-05 22:02:37,061 2824 [WARN ] - Confirm
2023-07-05 22:02:37,061 2824 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-07-05 22:02:37,076 2824 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-07-05 22:02:37,090 2824 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-07-05 22:03:08,325 2824 [DEBUG] - ----------------------------------------------------------------------
2023-07-05 22:03:08,356 2824 [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-07-05 22:03:08,528 2824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-05 22:03:08,528 2824 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-07-05 22:03:08,544 2824 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-07-05 22:03:10,982 2824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-07-05 22:03:10,997 2824 [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-07-05 22:03:11,966 2824 [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-07-05 22:03:11,982 2824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-07-05 22:03:11,982 2824 [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-07-05 22:03:11,997 2824 [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-07-05 22:03:12,012 2824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-07-05 22:03:12,012 2824 [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-07-05 22:03:12,028 2824 [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-07-05 22:03:12,028 2824 [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-07-05 22:03:12,044 2824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi".
2023-07-05 22:03:12,095 2824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore".
2023-07-05 22:03:13,700 2824 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-07-05 22:03:13,779 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '8BA8EF0B239B3C526052FE0C62A5D32B'
2023-07-05 22:03:13,794 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '067B15B64B5725B114503656C242A8A6'
2023-07-05 22:03:13,794 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '4D7C108684F0B949FFA88494EBFA7D32'
2023-07-05 22:03:13,809 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum 'D496F7A581CE9E2D404B959FD3EBE1C0'
2023-07-05 22:03:13,809 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-07-05 22:03:13,809 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '7D44E4F9AFFF8F97DD1DA61E5E0D8331'
2023-07-05 22:03:13,825 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-07-05 22:03:13,951 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi'
with checksum 'FA352BE290EA1578728253518DE58894'
2023-07-05 22:03:13,966 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-07-05 22:03:14,575 2824 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.6.20230705'.
2023-07-05 22:03:14,591 2824 [INFO ] -
glpi-agent-nightly.install v1.6.20230705
2023-07-05 22:03:14,638 2824 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-07-05 22:03:14,638 2824 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-07-05 22:03:14,653 2824 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-07-05 22:03:14,653 2824 [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-07-05 22:03:14,668 2824 [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-07-05 22:03:14,731 2824 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-05 22:03:14,810 2824 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-05 22:03:14,966 2824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-05 22:03:14,966 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-05 22:03:14,981 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-05 22:03:14,981 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-05 22:03:14,997 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-05 22:03:14,997 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-05 22:03:15,012 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-05 22:03:15,012 2824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-05 22:03:15,027 2824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-05 22:03:15,027 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-05 22:03:15,043 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:03:15,043 2824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-05 22:03:15,060 2824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-05 22:03:15,060 2824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-05 22:03:15,075 2824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-05 22:03:15,075 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-05 22:03:15,091 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-05 22:03:15,091 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-05 22:03:15,106 2824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-05 22:03:15,106 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:03:15,121 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:03:15,121 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:03:15,293 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:03:15,293 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-05 22:03:15,309 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-05 22:03:15,309 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:03:15,309 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:03:15,324 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-05 22:03:15,324 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:03:15,340 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-05 22:03:15,340 2824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-05 22:03:15,356 2824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-05 22:03:15,356 2824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-05 22:03:15,372 2824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:03:15,372 2824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-05 22:03:15,387 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-05 22:03:15,387 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:03:15,403 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:03:15,403 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:03:15,419 2824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-05 22:03:15,419 2824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-05 22:03:15,434 2824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-05 22:03:15,434 2824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-05 22:03:15,450 2824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-05 22:03:15,450 2824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-05 22:03:15,466 2824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-05 22:03:15,481 2824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-05 22:03:15,481 2824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:03:15,497 2824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-05 22:03:15,497 2824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-05 22:03:15,512 2824 [DEBUG] - Loading community extensions
2023-07-05 22:03:15,528 2824 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-05 22:03:15,528 2824 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-05 22:03:15,575 2824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-05 22:03:15,575 2824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-05 22:03:15,591 2824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-05 22:03:15,591 2824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-05 22:03:15,606 2824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-05 22:03:15,621 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-05 22:03:15,621 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-05 22:03:15,621 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-05 22:03:15,638 2824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-05 22:03:15,638 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-05 22:03:15,653 2824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-05 22:03:15,653 2824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-05 22:03:15,668 2824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-05 22:03:15,668 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-05 22:03:15,684 2824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:03:15,684 2824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-05 22:03:15,700 2824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-05 22:03:15,700 2824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-05 22:03:15,715 2824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-05 22:03:15,731 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-05 22:03:15,731 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-05 22:03:15,731 2824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-05 22:03:15,746 2824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-05 22:03:15,746 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:03:15,762 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:03:15,777 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:03:15,777 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:03:15,793 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-05 22:03:15,809 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-05 22:03:15,809 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:03:15,809 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:03:15,824 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-05 22:03:15,824 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:03:15,840 2824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-05 22:03:15,840 2824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-05 22:03:15,856 2824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-05 22:03:15,856 2824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-05 22:03:15,871 2824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:03:15,871 2824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-05 22:03:15,887 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-05 22:03:15,887 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:03:15,887 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:03:15,903 2824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:03:15,919 2824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-05 22:03:15,919 2824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-05 22:03:15,934 2824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-05 22:03:15,934 2824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-05 22:03:15,949 2824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-05 22:03:15,965 2824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-05 22:03:15,965 2824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-05 22:03:15,965 2824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-05 22:03:15,980 2824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-05 22:03:15,980 2824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-05 22:03:15,996 2824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:03:15,996 2824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-05 22:03:16,012 2824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-05 22:03:16,012 2824 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-05 22:03:16,029 2824 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-05 22:03:16,029 2824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-05 22:03:16,044 2824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-05 22:03:16,044 2824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-05 22:03:16,059 2824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-05 22:03:16,059 2824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-05 22:03:16,075 2824 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-05 22:03:16,075 2824 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-05 22:03:16,090 2824 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-05 22:03:16,105 2824 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-05 22:03:16,105 2824 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-05 22:03:16,122 2824 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-05 22:03:16,122 2824 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-05 22:03:16,138 2824 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-05 22:03:16,138 2824 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-05 22:03:16,153 2824 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-05 22:03:16,153 2824 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-05 22:03:16,168 2824 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-05 22:03:16,168 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-05 22:03:16,168 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-05 22:03:16,184 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-05 22:03:16,199 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-05 22:03:16,199 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-05 22:03:16,215 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-05 22:03:16,215 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-05 22:03:16,215 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-05 22:03:16,230 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-05 22:03:16,247 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-05 22:03:16,247 2824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-05 22:03:16,262 2824 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-05 22:03:16,262 2824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-05 22:03:16,278 2824 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-05 22:03:16,278 2824 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-05 22:03:16,294 2824 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-05 22:03:16,309 2824 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-05 22:03:16,309 2824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-05 22:03:16,325 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-05 22:03:16,325 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-05 22:03:16,341 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-05 22:03:16,341 2824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-05 22:03:16,356 2824 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-05 22:03:16,372 2824 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-05 22:03:16,372 2824 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-05 22:03:16,372 2824 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-05 22:03:16,387 2824 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-05 22:03:16,387 2824 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-05 22:03:16,402 2824 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-05 22:03:16,418 2824 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-05 22:03:16,418 2824 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-05 22:03:16,418 2824 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-05 22:03:16,436 2824 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-05 22:03:16,449 2824 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-05 22:03:16,449 2824 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230705 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-07-05 22:03:16,481 2824 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-07-05 22:03:16,746 2824 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-07-05 22:03:16,793 2824 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-07-05 22:03:16,918 2824 [DEBUG] - Registry uninstall keys on system: 28
2023-07-05 22:03:16,918 2824 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-07-05 22:03:17,043 2824 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-07-05 22:03:17,106 2824 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{122D494D-6BF5-1014-A8FC-AB51D18D7EC7} /qn /norestart' -file ''
2023-07-05 22:03:17,153 2824 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-07-05 22:03:17,309 2824 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {122D494D-6BF5-1014-A8FC-AB51D18D7EC7} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-05 22:03:17,406 2824 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-05 22:03:17,481 2824 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {122D494D-6BF5-1014-A8FC-AB51D18D7EC7} /qn /norestart ]. This may take a while, depending on the statements.
2023-07-05 22:04:21,282 2824 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {122D494D-6BF5-1014-A8FC-AB51D18D7EC7} /qn /norestart ] exited with '0'.
2023-07-05 22:04:21,330 2824 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-05 22:04:21,345 2824 [INFO ] - 0
2023-07-05 22:04:21,361 2824 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-07-05 22:04:21,361 2824 [DEBUG] - ----------------------------------------------------------------------
2023-07-05 22:04:21,392 2824 [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-07-05 22:04:21,439 2824 [INFO ] - Running auto uninstaller...
2023-07-05 22:04:21,455 2824 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-07-05 22:04:23,504 2824 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{122D494D-6BF5-1014-A8FC-AB51D18D7EC7}' for 'GLPI Agent 1.6 (gitf8c3877f)'
2023-07-05 22:04:23,519 2824 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.6 (gitf8c3877f)' appears to have been uninstalled already by other means.
2023-07-05 22:04:23,534 2824 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-07-05 22:04:23,548 2824 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{122D494D-6BF5-1014-A8FC-AB51D18D7EC7}' value 'InstallLocation' - found? False
2023-07-05 22:04:23,548 2824 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-05 22:04:23,674 2824 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-05 22:04:23,689 2824 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-07-05 22:04:23,752 2824 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-07-05 22:04:23,767 2824 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-07-05 22:04:23,783 2824 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-07-05 22:04:23,783 2824 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-07-05 22:04:23,798 2824 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-07-05 22:04:23,814 2824 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-07-05 22:04:23,876 2824 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.6-gitf8c3877f-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-07-05 22:04:23,876 2824 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-07-05 22:04:23,892 2824 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-07-05 22:04:23,892 2824 [DEBUG] - [NuGet] The directory is not empty.
2023-07-05 22:04:23,908 2824 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.6.20230705'.
2023-07-05 22:04:23,923 2824 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-07-05 22:04:23,940 2824 [DEBUG] - Removing nupkg if it still exists.
2023-07-05 22:04:23,954 2824 [DEBUG] - Ensuring removal of installation files.
2023-07-05 22:04:23,954 2824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-07-05 22:04:23,971 2824 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitf8c3877f-x64.msi.ignore".
2023-07-05 22:04:23,986 2824 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-07-05 22:04:23,986 2824 [DEBUG] - Ensuring removal of package cache files.
2023-07-05 22:04:24,048 2824 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-05 22:04:24,064 2824 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-05 22:04:24,096 2824 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment