Skip to content

Instantly share code, notes, and snippets.

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

glpi-agent-nightly.install v1.5.20230621 - 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="EBEE7A162EAC50FDB1B76BAA42B1AB40" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="B86AB4EA01117FD7ADDDB89BC28D5CC5" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="B671859C5F610EF16F95FE888BAFDDA9" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="5660BCF48B7240259534F99DA5D6CD51" />
<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="013EF8484285A6089D97755894C91C74" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1" checksum="6B0400F7F1626CE5D4B3DE26A190423B" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi" checksum="D43C1EF55EC963B9D2199EDF162F46C1" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-24 23:44:27,130 3364 [DEBUG] - XmlConfiguration is now operational
2023-06-24 23:44:27,427 3364 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:44:27,427 3364 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:44:27,427 3364 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:44:27,427 3364 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:44:27,443 3364 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:44:27,443 3364 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-24 23:44:27,771 3364 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-24 23:44:27,771 3364 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-24 23:44:27,771 3364 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-24 23:44:27,771 3364 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-24 23:44:27,787 3364 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-24 23:44:27,787 3364 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-24 23:44:27,787 3364 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-24 23:44:27,787 3364 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-24 23:44:27,802 3364 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-24 23:44:27,802 3364 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-24 23:44:27,802 3364 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-24 23:44:27,818 3364 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-24 23:44:27,818 3364 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-24 23:44:27,818 3364 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-24 23:44:27,818 3364 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-24 23:44:27,833 3364 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-24 23:44:27,833 3364 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-24 23:44:27,833 3364 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-24 23:44:28,146 3364 [INFO ] - ============================================================
2023-06-24 23:44:28,568 3364 [INFO ] - Chocolatey v1.3.0
2023-06-24 23:44:28,631 3364 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-24 23:44:28,647 3364 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-24 23:44:28,647 3364 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-24 23:44:28,662 3364 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230621 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-24 23:44:28,677 3364 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230621 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-24 23:44:28,865 3364 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-24 23:44:28,896 3364 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-24 23:44:28,912 3364 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-24 23:44:29,068 3364 [DEBUG] - Performing validation checks.
2023-06-24 23:44:29,084 3364 [DEBUG] - Global Configuration Validation Checks:
2023-06-24 23:44:29,100 3364 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-24 23:44:29,115 3364 [DEBUG] - System State Validation Checks:
2023-06-24 23:44:29,115 3364 [DEBUG] - Reboot Requirement Checks:
2023-06-24 23:44:29,131 3364 [DEBUG] - - Pending Computer Rename = Checked
2023-06-24 23:44:29,146 3364 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-24 23:44:29,162 3364 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-24 23:44:29,162 3364 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-24 23:44:29,177 3364 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-24 23:44:29,177 3364 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-24 23:44:29,193 3364 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-24 23:44:29,271 3364 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-24 23:44:29,271 3364 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-24 23:44:29,318 3364 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230621'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IMLJAKTEUT4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-24 23:44:29,333 3364 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-24 23:44:29,365 3364 [INFO ] - Installing the following packages:
2023-06-24 23:44:29,427 3364 [INFO ] - glpi-agent-nightly.install
2023-06-24 23:44:29,443 3364 [INFO ] - By installing, you accept licenses for the packages.
2023-06-24 23:44:29,459 3364 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-24 23:44:29,459 3364 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-24 23:44:29,475 3364 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 23:44:29,475 3364 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 23:44:29,490 3364 [DEBUG] - * 'ChocolateyLastPathUpdate'='133320821056524610' ('User')
2023-06-24 23:44:29,490 3364 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-24 23:44:29,490 3364 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-24 23:44:29,505 3364 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-24 23:44:29,505 3364 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-24 23:44:29,521 3364 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-24 23:44:29,521 3364 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-24 23:44:29,521 3364 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-24 23:44:29,537 3364 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 23:44:29,553 3364 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 23:44:29,553 3364 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-24 23:44:29,553 3364 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-24 23:44:29,568 3364 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-24 23:44:29,568 3364 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-24 23:44:29,584 3364 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-24 23:44:29,584 3364 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-24 23:44:29,600 3364 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-24 23:44:33,147 3364 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230621'.
2023-06-24 23:44:33,193 3364 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-24 23:44:33,193 3364 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-24 23:44:33,209 3364 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 23:44:33,209 3364 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 23:44:33,225 3364 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 23:44:33,474 3364 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git7d827463-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-24 23:44:33,537 3364 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-24 23:44:34,038 3364 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-24 23:44:34,038 3364 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230621'.
2023-06-24 23:44:34,053 3364 [INFO ] -
glpi-agent-nightly.install v1.5.20230621 (forced)
2023-06-24 23:44:34,115 3364 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-24 23:44:34,287 3364 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 23:44:34,287 3364 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 23:44:34,302 3364 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-24 23:44:34,318 3364 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'MSI'
url = 'https://nightly.glpi-project.org/glpi-agent/GLPI-Agent-1.5-git7d827463-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git7d827463-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = '7E8AEDF30CFFD5A2ED70E9F2E7C967808A50218520AE7A3D876407104E2880E4' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = 'B58BFF6AA753A37068FF74EF5338EA3D48C1B6A2D207C88C5D0D8D14AA65C87C' # (From $Latest)
checksumType64 = 'sha256' # (From $Latest)
# MSI
silentArgs = '/quiet'
validExitCodes= @(0)
}
If ((Get-OSArchitectureWidth 32) -or $env:ChocolateyForceX86 -eq 'true') {
# Download the 32-bit installer on-the-fly
Install-ChocolateyPackage @packageArgs
} Else {
# Use the embedded 64-bit installer
# Access file from $toolsDir
$packageArgs.file64 = Join-Path $toolsDir $packageArgs.file64
Install-ChocolateyInstallPackage @packageArgs
}
2023-06-24 23:44:34,381 3364 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-24 23:44:34,396 3364 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 23:44:35,068 3364 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-24 23:44:35,599 3364 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 23:44:35,615 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 23:44:35,646 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 23:44:35,661 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 23:44:35,677 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 23:44:35,693 3364 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 23:44:35,693 3364 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 23:44:35,724 3364 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 23:44:35,740 3364 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 23:44:35,740 3364 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 23:44:35,740 3364 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:44:35,756 3364 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 23:44:35,771 3364 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 23:44:35,771 3364 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 23:44:35,771 3364 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 23:44:35,787 3364 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 23:44:35,802 3364 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 23:44:35,802 3364 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 23:44:35,818 3364 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 23:44:35,818 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:44:35,818 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:44:35,834 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:44:35,849 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:44:35,849 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 23:44:35,849 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 23:44:35,865 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:44:35,880 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:44:35,880 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 23:44:35,880 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:44:35,896 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 23:44:35,913 3364 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 23:44:35,913 3364 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 23:44:35,928 3364 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 23:44:35,928 3364 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:44:35,943 3364 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 23:44:35,943 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 23:44:35,959 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:44:35,959 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:44:35,974 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:44:35,974 3364 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 23:44:35,990 3364 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 23:44:35,990 3364 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 23:44:36,006 3364 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 23:44:36,006 3364 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 23:44:36,021 3364 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 23:44:36,021 3364 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 23:44:36,037 3364 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 23:44:36,037 3364 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:44:36,037 3364 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 23:44:36,053 3364 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 23:44:36,101 3364 [DEBUG] - Loading community extensions
2023-06-24 23:44:36,147 3364 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 23:44:36,162 3364 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 23:44:36,272 3364 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 23:44:36,272 3364 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 23:44:36,287 3364 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 23:44:36,287 3364 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 23:44:36,302 3364 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 23:44:36,302 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 23:44:36,318 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 23:44:36,318 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 23:44:36,334 3364 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 23:44:36,334 3364 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 23:44:36,350 3364 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 23:44:36,350 3364 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 23:44:36,365 3364 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 23:44:36,365 3364 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 23:44:36,365 3364 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:44:36,380 3364 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 23:44:36,380 3364 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 23:44:36,396 3364 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 23:44:36,396 3364 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 23:44:36,412 3364 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 23:44:36,412 3364 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 23:44:36,427 3364 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 23:44:36,458 3364 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 23:44:36,521 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:44:36,537 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:44:36,537 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:44:36,552 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:44:36,552 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 23:44:36,568 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 23:44:36,568 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:44:36,584 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:44:36,600 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 23:44:36,600 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:44:36,615 3364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 23:44:36,615 3364 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 23:44:36,631 3364 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 23:44:36,631 3364 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 23:44:36,646 3364 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:44:36,646 3364 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 23:44:36,662 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 23:44:36,662 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:44:36,678 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:44:36,678 3364 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:44:36,693 3364 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 23:44:36,693 3364 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 23:44:36,709 3364 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 23:44:36,709 3364 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 23:44:36,724 3364 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 23:44:36,724 3364 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 23:44:36,740 3364 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 23:44:36,740 3364 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 23:44:36,755 3364 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 23:44:36,755 3364 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 23:44:36,771 3364 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:44:36,787 3364 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 23:44:36,787 3364 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 23:44:36,787 3364 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 23:44:36,803 3364 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 23:44:36,803 3364 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 23:44:36,818 3364 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 23:44:36,818 3364 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 23:44:36,833 3364 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 23:44:36,850 3364 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 23:44:36,850 3364 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 23:44:36,850 3364 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 23:44:36,865 3364 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 23:44:36,865 3364 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:44:36,881 3364 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 23:44:36,896 3364 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 23:44:36,896 3364 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 23:44:36,912 3364 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 23:44:36,912 3364 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 23:44:36,928 3364 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 23:44:36,928 3364 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 23:44:36,928 3364 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 23:44:36,943 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:44:36,959 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:44:36,959 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:44:36,974 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:44:36,974 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 23:44:36,990 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 23:44:36,990 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:44:37,006 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:44:37,006 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 23:44:37,021 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:44:37,021 3364 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 23:44:37,037 3364 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 23:44:37,037 3364 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 23:44:37,052 3364 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 23:44:37,052 3364 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 23:44:37,052 3364 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:44:37,068 3364 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 23:44:37,084 3364 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 23:44:37,084 3364 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 23:44:37,084 3364 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:44:37,099 3364 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:44:37,099 3364 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:44:37,115 3364 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 23:44:37,115 3364 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 23:44:37,131 3364 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 23:44:37,131 3364 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 23:44:37,146 3364 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 23:44:37,146 3364 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 23:44:37,162 3364 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 23:44:37,162 3364 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:44:37,178 3364 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 23:44:37,178 3364 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 23:44:37,178 3364 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 23:44:37,271 3364 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 23:44:37,303 3364 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230621 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-24 23:44:37,366 3364 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-24 23:44:37,459 3364 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-24 23:44:37,617 3364 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-24 23:44:37,617 3364 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-24 23:44:37,647 3364 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-24 23:44:37,850 3364 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools' -statements '/i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-24 23:44:37,959 3364 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-24 23:44:37,990 3364 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-24 23:45:23,647 3364 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi" /quiet ] exited with '0'.
2023-06-24 23:45:23,709 3364 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-24 23:45:23,724 3364 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-24 23:45:23,740 3364 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 23:45:23,851 3364 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-24 23:45:23,881 3364 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-24 23:45:24,241 3364 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-24 23:45:24,288 3364 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-24 23:45:24,430 3364 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-24 23:45:24,506 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'EBEE7A162EAC50FDB1B76BAA42B1AB40'
2023-06-24 23:45:24,521 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum 'B86AB4EA01117FD7ADDDB89BC28D5CC5'
2023-06-24 23:45:24,521 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'B671859C5F610EF16F95FE888BAFDDA9'
2023-06-24 23:45:24,537 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '5660BCF48B7240259534F99DA5D6CD51'
2023-06-24 23:45:24,537 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-24 23:45:24,552 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '013EF8484285A6089D97755894C91C74'
2023-06-24 23:45:24,552 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-24 23:45:24,756 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi'
with checksum 'D43C1EF55EC963B9D2199EDF162F46C1'
2023-06-24 23:45:24,771 3364 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 23:45:24,849 3364 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621".
2023-06-24 23:45:24,928 3364 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621\.registry'
2023-06-24 23:45:24,974 3364 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621\.files'
2023-06-24 23:45:25,005 3364 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621\.extra".
2023-06-24 23:45:25,005 3364 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621\.version".
2023-06-24 23:45:25,027 3364 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621\.sxs".
2023-06-24 23:45:25,037 3364 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230621\.pin".
2023-06-24 23:45:25,053 3364 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-24 23:45:25,084 3364 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-24 23:45:25,084 3364 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-24 23:45:25,099 3364 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-24 23:45:25,115 3364 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230621.nupkg".
2023-06-24 23:45:25,146 3364 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-24 23:45:25,162 3364 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-24 23:45:25,224 3364 [DEBUG] - Exiting with 0
2023-06-24 23:45:37,584 960 [DEBUG] - XmlConfiguration is now operational
2023-06-24 23:45:37,725 960 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:45:37,725 960 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:45:37,740 960 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:45:37,740 960 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:45:37,740 960 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-24 23:45:37,740 960 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-24 23:45:37,990 960 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-24 23:45:38,006 960 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-24 23:45:38,006 960 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-24 23:45:38,006 960 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-24 23:45:38,021 960 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-24 23:45:38,021 960 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-24 23:45:38,021 960 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-24 23:45:38,021 960 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-24 23:45:38,037 960 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-24 23:45:38,037 960 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-24 23:45:38,037 960 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-24 23:45:38,052 960 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-24 23:45:38,052 960 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-24 23:45:38,052 960 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-24 23:45:38,052 960 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-24 23:45:38,068 960 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-24 23:45:38,084 960 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-24 23:45:38,084 960 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-24 23:45:38,411 960 [INFO ] - ============================================================
2023-06-24 23:45:38,787 960 [INFO ] - Chocolatey v1.3.0
2023-06-24 23:45:38,819 960 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-24 23:45:38,834 960 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-24 23:45:38,834 960 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-24 23:45:38,866 960 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230621 -dvy --execution-timeout=2700
2023-06-24 23:45:38,880 960 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230621 -dvy --execution-timeout=2700
2023-06-24 23:45:39,052 960 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-24 23:45:39,084 960 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-24 23:45:39,099 960 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-24 23:45:39,286 960 [DEBUG] - Performing validation checks.
2023-06-24 23:45:39,286 960 [DEBUG] - Global Configuration Validation Checks:
2023-06-24 23:45:39,302 960 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-24 23:45:39,318 960 [DEBUG] - System State Validation Checks:
2023-06-24 23:45:39,334 960 [DEBUG] - Reboot Requirement Checks:
2023-06-24 23:45:39,334 960 [DEBUG] - - Pending Computer Rename = Checked
2023-06-24 23:45:39,350 960 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-24 23:45:39,365 960 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-24 23:45:39,365 960 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-24 23:45:39,380 960 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-24 23:45:39,396 960 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-24 23:45:39,396 960 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-24 23:45:39,474 960 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-24 23:45:39,474 960 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-24 23:45:39,521 960 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='glpi-agent-nightly.install'|Version='1.5.20230621'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='glpi-agent-nightly.install'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IMLJAKTEUT4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-24 23:45:39,536 960 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-24 23:45:39,552 960 [INFO ] - Uninstalling the following packages:
2023-06-24 23:45:39,568 960 [INFO ] - glpi-agent-nightly.install
2023-06-24 23:45:39,600 960 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-24 23:45:39,600 960 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-24 23:45:39,615 960 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 23:45:39,630 960 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-24 23:45:39,630 960 [DEBUG] - * 'ChocolateyLastPathUpdate'='133320821056524610' ('User')
2023-06-24 23:45:39,630 960 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-24 23:45:39,646 960 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-24 23:45:39,646 960 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-24 23:45:39,662 960 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-24 23:45:39,662 960 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-24 23:45:39,678 960 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-24 23:45:39,694 960 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-24 23:45:39,694 960 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 23:45:39,709 960 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-24 23:45:39,709 960 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-24 23:45:39,724 960 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-24 23:45:39,724 960 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-24 23:45:39,740 960 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-24 23:45:39,740 960 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-24 23:45:39,756 960 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-24 23:45:39,756 960 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-24 23:45:39,912 960 [DEBUG] - Running list with the following filter = ''
2023-06-24 23:45:39,912 960 [DEBUG] - --- Start of List ---
2023-06-24 23:45:40,366 960 [DEBUG] - glpi-agent-nightly.install 1.5.20230621
2023-06-24 23:45:40,382 960 [DEBUG] - --- End of List ---
2023-06-24 23:45:40,554 960 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 23:45:40,554 960 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 23:45:40,568 960 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-24 23:45:40,584 960 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
# Remove the service if it exists
$service = Get-Service -Name 'glpi-agent' -ErrorAction SilentlyContinue
If ($service -ne $null) {
Stop-Service $service -Force -Confirm
}
2023-06-24 23:45:40,647 960 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-24 23:45:40,661 960 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 23:45:41,412 960 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-24 23:45:41,943 960 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 23:45:41,958 960 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 23:45:41,958 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 23:45:41,974 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 23:45:41,974 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 23:45:41,990 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 23:45:41,990 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 23:45:42,005 960 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 23:45:42,021 960 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 23:45:42,021 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 23:45:42,037 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:45:42,037 960 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 23:45:42,052 960 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 23:45:42,052 960 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 23:45:42,068 960 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 23:45:42,068 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 23:45:42,084 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 23:45:42,084 960 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 23:45:42,099 960 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 23:45:42,099 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:45:42,115 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:45:42,131 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:45:42,131 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:45:42,131 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 23:45:42,146 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 23:45:42,146 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:45:42,161 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:45:42,161 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 23:45:42,177 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:45:42,177 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 23:45:42,193 960 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 23:45:42,193 960 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 23:45:42,209 960 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 23:45:42,209 960 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:45:42,224 960 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 23:45:42,224 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 23:45:42,240 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:45:42,240 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:45:42,255 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:45:42,255 960 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 23:45:42,271 960 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 23:45:42,287 960 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 23:45:42,287 960 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 23:45:42,303 960 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 23:45:42,303 960 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 23:45:42,303 960 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 23:45:42,318 960 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 23:45:42,333 960 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:45:42,333 960 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 23:45:42,349 960 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 23:45:42,381 960 [DEBUG] - Loading community extensions
2023-06-24 23:45:42,429 960 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 23:45:42,429 960 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 23:45:42,553 960 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 23:45:42,568 960 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 23:45:42,584 960 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 23:45:42,584 960 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 23:45:42,600 960 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 23:45:42,600 960 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 23:45:42,615 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 23:45:42,615 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 23:45:42,631 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 23:45:42,646 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 23:45:42,646 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 23:45:42,662 960 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 23:45:42,677 960 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 23:45:42,693 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 23:45:42,693 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:45:42,708 960 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 23:45:42,708 960 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 23:45:42,724 960 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 23:45:42,724 960 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 23:45:42,740 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 23:45:42,740 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 23:45:42,755 960 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 23:45:42,755 960 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 23:45:42,771 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:45:42,771 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:45:42,771 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:45:42,787 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:45:42,787 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 23:45:42,803 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 23:45:42,818 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:45:42,818 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:45:42,834 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 23:45:42,834 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:45:42,849 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 23:45:42,849 960 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 23:45:42,849 960 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 23:45:42,865 960 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 23:45:42,865 960 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:45:42,880 960 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 23:45:42,880 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 23:45:42,896 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:45:42,912 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:45:42,912 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:45:42,912 960 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 23:45:42,927 960 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 23:45:42,943 960 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 23:45:42,943 960 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 23:45:42,959 960 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 23:45:42,959 960 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 23:45:42,959 960 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 23:45:42,975 960 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 23:45:42,990 960 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 23:45:42,990 960 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 23:45:43,005 960 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:45:43,005 960 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 23:45:43,021 960 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 23:45:43,021 960 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 23:45:43,037 960 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 23:45:43,037 960 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 23:45:43,052 960 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 23:45:43,052 960 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 23:45:43,052 960 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 23:45:43,068 960 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 23:45:43,084 960 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 23:45:43,084 960 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 23:45:43,099 960 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 23:45:43,099 960 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:45:43,115 960 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 23:45:43,115 960 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 23:45:43,130 960 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 23:45:43,146 960 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 23:45:43,146 960 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 23:45:43,162 960 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 23:45:43,162 960 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 23:45:43,179 960 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 23:45:43,179 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:45:43,193 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:45:43,193 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:45:43,209 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:45:43,209 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 23:45:43,225 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 23:45:43,225 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:45:43,240 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:45:43,255 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 23:45:43,255 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:45:43,271 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 23:45:43,271 960 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 23:45:43,271 960 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 23:45:43,287 960 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 23:45:43,287 960 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 23:45:43,302 960 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:45:43,302 960 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 23:45:43,318 960 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 23:45:43,334 960 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 23:45:43,334 960 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:45:43,350 960 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:45:43,350 960 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:45:43,365 960 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 23:45:43,365 960 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 23:45:43,380 960 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 23:45:43,380 960 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 23:45:43,396 960 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 23:45:43,396 960 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 23:45:43,411 960 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 23:45:43,411 960 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:45:43,411 960 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 23:45:43,427 960 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 23:45:43,427 960 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 23:45:43,538 960 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 23:45:43,568 960 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230621 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-24 23:45:43,631 960 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-24 23:45:43,708 960 [WARN ] - Confirm
2023-06-24 23:45:43,725 960 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-24 23:45:43,740 960 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-24 23:45:43,740 960 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-24 23:46:14,428 960 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 23:46:14,443 960 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-24 23:46:14,615 960 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-24 23:46:14,631 960 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-24 23:46:14,646 960 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-24 23:46:16,865 960 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-24 23:46:16,880 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
2023-06-24 23:46:16,914 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
2023-06-24 23:46:16,914 960 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-24 23:46:16,928 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
2023-06-24 23:46:16,943 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
2023-06-24 23:46:16,943 960 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-24 23:46:16,959 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
2023-06-24 23:46:16,959 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
2023-06-24 23:46:16,974 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
2023-06-24 23:46:16,974 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi".
2023-06-24 23:46:17,490 960 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore".
2023-06-24 23:46:19,584 960 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-24 23:46:19,661 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum 'EBEE7A162EAC50FDB1B76BAA42B1AB40'
2023-06-24 23:46:19,677 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum 'B86AB4EA01117FD7ADDDB89BC28D5CC5'
2023-06-24 23:46:19,693 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum 'B671859C5F610EF16F95FE888BAFDDA9'
2023-06-24 23:46:19,693 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '5660BCF48B7240259534F99DA5D6CD51'
2023-06-24 23:46:19,709 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-24 23:46:19,709 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '013EF8484285A6089D97755894C91C74'
2023-06-24 23:46:19,724 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-24 23:46:21,506 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi'
with checksum 'D43C1EF55EC963B9D2199EDF162F46C1'
2023-06-24 23:46:21,521 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 23:46:22,709 960 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230621'.
2023-06-24 23:46:22,724 960 [INFO ] -
glpi-agent-nightly.install v1.5.20230621
2023-06-24 23:46:23,302 960 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-24 23:46:23,302 960 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-24 23:46:23,318 960 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-24 23:46:23,318 960 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'GLPI Agent *'
fileType = 'MSI'
silentArgs = '/qn /norestart'
# Allows (see https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx):
# * 0: ERROR_SUCCESS
# * 3010: ERROR_SUCCESS_REBOOT_REQUIRED
# * 1605: ERROR_UNKNOWN_PRODUCT
# * 1614: ERROR_PRODUCT_UNINSTALLED
# * 1641: ERROR_SUCCESS_REBOOT_INITIATED
validExitCodes= @(0, 3010, 1605, 1614, 1641)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | % {
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below
if ($packageArgs['fileType'] -eq 'MSI') {
# The Product Code GUID is all that should be passed for MSI, and very
# FIRST, because it comes directly after /x, which is already set in the
# Uninstall-ChocolateyPackage msiargs (facepalm).
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
# Don't pass anything for file, it is ignored for msi (facepalm number 2)
# Alternatively if you need to pass a path to an msi, determine that and
# use it instead of the above in silentArgs, still very first
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $($_.DisplayName)"}
}
2023-06-24 23:46:23,820 960 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-24 23:46:23,864 960 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-24 23:46:26,698 960 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-24 23:46:26,990 960 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 23:46:27,927 960 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 23:46:27,943 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 23:46:27,943 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 23:46:27,959 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 23:46:27,975 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 23:46:27,990 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 23:46:27,990 960 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 23:46:28,006 960 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 23:46:28,006 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 23:46:28,021 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:46:28,037 960 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 23:46:28,037 960 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 23:46:28,052 960 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 23:46:28,052 960 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 23:46:28,068 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 23:46:28,084 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 23:46:28,084 960 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 23:46:28,099 960 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 23:46:28,099 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:46:28,115 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:46:28,522 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:46:28,537 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:46:28,537 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 23:46:28,552 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 23:46:28,552 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:46:28,552 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:46:28,568 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 23:46:28,584 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:46:28,584 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 23:46:28,599 960 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 23:46:28,599 960 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 23:46:28,615 960 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 23:46:28,615 960 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:46:28,631 960 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 23:46:28,631 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 23:46:28,646 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:46:28,646 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:46:28,662 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:46:28,678 960 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 23:46:28,698 960 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 23:46:28,698 960 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 23:46:28,709 960 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 23:46:28,724 960 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 23:46:28,724 960 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 23:46:28,740 960 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 23:46:28,740 960 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 23:46:28,755 960 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:46:28,771 960 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 23:46:28,771 960 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 23:46:28,787 960 [DEBUG] - Loading community extensions
2023-06-24 23:46:28,803 960 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-24 23:46:28,818 960 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-24 23:46:28,865 960 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 23:46:28,881 960 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 23:46:28,881 960 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 23:46:28,896 960 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 23:46:28,896 960 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-24 23:46:29,084 960 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-24 23:46:29,099 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-24 23:46:29,099 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-24 23:46:29,099 960 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-24 23:46:29,115 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-24 23:46:29,131 960 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-24 23:46:29,131 960 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-24 23:46:29,146 960 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-24 23:46:29,146 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-24 23:46:29,162 960 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:46:29,162 960 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-24 23:46:29,177 960 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-24 23:46:29,194 960 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-24 23:46:29,194 960 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-24 23:46:29,209 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-24 23:46:29,224 960 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-24 23:46:29,224 960 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-24 23:46:29,224 960 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-24 23:46:29,240 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:46:29,255 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:46:29,349 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:46:29,349 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:46:29,365 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-24 23:46:29,365 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-24 23:46:29,380 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:46:29,380 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:46:29,396 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-24 23:46:29,396 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:46:29,412 960 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-24 23:46:29,412 960 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-24 23:46:29,427 960 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-24 23:46:29,427 960 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-24 23:46:29,443 960 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:46:29,443 960 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-24 23:46:29,458 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-24 23:46:29,458 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:46:29,474 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:46:29,474 960 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:46:29,490 960 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-24 23:46:29,490 960 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-24 23:46:29,506 960 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-24 23:46:29,662 960 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-24 23:46:29,802 960 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-24 23:46:29,819 960 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-24 23:46:29,834 960 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-24 23:46:29,850 960 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-24 23:46:29,882 960 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-24 23:46:29,896 960 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-24 23:46:29,912 960 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:46:29,928 960 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-24 23:46:29,943 960 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-24 23:46:29,959 960 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-24 23:46:29,974 960 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-24 23:46:30,068 960 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-24 23:46:30,083 960 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-24 23:46:30,130 960 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-24 23:46:30,162 960 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-24 23:46:30,177 960 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-24 23:46:30,193 960 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-24 23:46:30,209 960 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-24 23:46:30,224 960 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-24 23:46:30,240 960 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-24 23:46:30,271 960 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-24 23:46:30,271 960 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-24 23:46:30,287 960 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-24 23:46:30,302 960 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-24 23:46:30,396 960 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-24 23:46:30,428 960 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-24 23:46:30,443 960 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-24 23:46:30,458 960 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-24 23:46:30,474 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-24 23:46:30,490 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-24 23:46:30,506 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-24 23:46:30,506 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-24 23:46:30,521 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-24 23:46:30,552 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-24 23:46:30,552 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-24 23:46:30,568 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-24 23:46:30,586 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-24 23:46:30,615 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-24 23:46:30,646 960 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-24 23:46:30,662 960 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-24 23:46:30,677 960 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-24 23:46:30,693 960 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-24 23:46:30,709 960 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-24 23:46:30,724 960 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-24 23:46:30,740 960 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-24 23:46:30,755 960 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-24 23:46:30,771 960 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-24 23:46:30,787 960 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-24 23:46:30,803 960 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-24 23:46:30,897 960 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-24 23:46:30,912 960 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-24 23:46:30,928 960 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-24 23:46:30,928 960 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-24 23:46:30,943 960 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-24 23:46:30,943 960 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-24 23:46:30,959 960 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-24 23:46:30,959 960 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-24 23:46:30,975 960 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-24 23:46:30,990 960 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-24 23:46:30,990 960 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-24 23:46:31,005 960 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-24 23:46:31,022 960 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-24 23:46:31,022 960 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230621 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-24 23:46:31,037 960 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-24 23:46:31,648 960 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-24 23:46:31,678 960 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-24 23:46:32,241 960 [DEBUG] - Registry uninstall keys on system: 28
2023-06-24 23:46:32,380 960 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-24 23:46:32,802 960 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-24 23:46:32,849 960 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{589417D9-6BF5-1014-8909-C1A564E40A6C} /qn /norestart' -file ''
2023-06-24 23:46:33,037 960 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-24 23:46:33,459 960 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {589417D9-6BF5-1014-8909-C1A564E40A6C} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-24 23:46:33,537 960 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-24 23:46:34,005 960 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {589417D9-6BF5-1014-8909-C1A564E40A6C} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-24 23:48:24,068 960 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {589417D9-6BF5-1014-8909-C1A564E40A6C} /qn /norestart ] exited with '0'.
2023-06-24 23:48:24,132 960 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-24 23:48:24,146 960 [INFO ] - 0
2023-06-24 23:48:24,162 960 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-24 23:48:24,162 960 [DEBUG] - ----------------------------------------------------------------------
2023-06-24 23:48:24,178 960 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-24 23:48:24,240 960 [INFO ] - Running auto uninstaller...
2023-06-24 23:48:24,240 960 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-24 23:48:26,287 960 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{589417D9-6BF5-1014-8909-C1A564E40A6C}' for 'GLPI Agent 1.5 (git7d827463)'
2023-06-24 23:48:26,302 960 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git7d827463)' appears to have been uninstalled already by other means.
2023-06-24 23:48:26,320 960 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-24 23:48:26,333 960 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{589417D9-6BF5-1014-8909-C1A564E40A6C}' value 'InstallLocation' - found? False
2023-06-24 23:48:26,351 960 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-24 23:48:26,459 960 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-24 23:48:26,492 960 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-24 23:48:26,568 960 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 23:48:26,568 960 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 23:48:26,583 960 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-24 23:48:26,599 960 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 23:48:26,599 960 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 23:48:26,615 960 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 23:48:26,679 960 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git7d827463-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-24 23:48:26,695 960 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-24 23:48:26,709 960 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-24 23:48:26,724 960 [DEBUG] - [NuGet] The directory is not empty.
2023-06-24 23:48:26,724 960 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230621'.
2023-06-24 23:48:26,756 960 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-24 23:48:26,771 960 [DEBUG] - Removing nupkg if it still exists.
2023-06-24 23:48:26,787 960 [DEBUG] - Ensuring removal of installation files.
2023-06-24 23:48:26,787 960 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-24 23:48:26,803 960 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git7d827463-x64.msi.ignore".
2023-06-24 23:48:26,803 960 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-24 23:48:26,818 960 [DEBUG] - Ensuring removal of package cache files.
2023-06-24 23:48:26,865 960 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-24 23:48:26,865 960 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2023-06-24 23:48:26,880 960 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-24 23:48:26,912 960 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment