Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 9, 2023 20:13
Show Gist options
  • Save choco-bot/eb94d1501166343b2440a430373e9584 to your computer and use it in GitHub Desktop.
Save choco-bot/eb94d1501166343b2440a430373e9584 to your computer and use it in GitHub Desktop.
glpi-agent-nightly.install v1.5.20230607 - 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-773372665-1269516661-4130717884-1000</user>
<keys>
<key installerType="Msi" displayName="GLPI Agent 1.5 (git777e0b75)" displayVersion="1.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A7B0F6BB-6BF5-1014-A54C-833F1574A704}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\GLPI-Agent\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{A7B0F6BB-6BF5-1014-A54C-833F1574A704}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Teclib']]></Publisher>
<InstallDate>20230609</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\3d0c1.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

glpi-agent-nightly.install v1.5.20230607 - 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="41389F99F75E6C37261BB7FD7AD483D3" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec" checksum="1F1DF6573A1F02809C6BB147E1940E6D" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt" checksum="99CCEA8EE2730414478C92AABB4CE163" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt" checksum="1C46E29BABC37DDC71476B164430BA39" />
<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="4097B038158E0BA5EC809F146490E549" />
<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-git777e0b75-x64.msi" checksum="C79EBF793B18174ACD72E762E7211A8A" />
<file path="C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
</files>
</fileSnapshot>
2023-06-09 20:09:47,271 3772 [DEBUG] - XmlConfiguration is now operational
2023-06-09 20:09:47,397 3772 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:09:47,412 3772 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:09:47,412 3772 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:09:47,427 3772 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:09:47,427 3772 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:09:47,427 3772 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-09 20:09:47,678 3772 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-09 20:09:47,693 3772 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-09 20:09:47,693 3772 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-09 20:09:47,693 3772 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-09 20:09:47,709 3772 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-09 20:09:47,709 3772 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-09 20:09:47,709 3772 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-09 20:09:47,709 3772 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-09 20:09:47,724 3772 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-09 20:09:47,724 3772 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-09 20:09:47,724 3772 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-09 20:09:47,740 3772 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-09 20:09:47,740 3772 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-09 20:09:47,740 3772 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-09 20:09:47,740 3772 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-09 20:09:47,755 3772 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-09 20:09:47,755 3772 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-09 20:09:47,755 3772 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-09 20:09:48,021 3772 [INFO ] - ============================================================
2023-06-09 20:09:48,365 3772 [INFO ] - Chocolatey v1.3.0
2023-06-09 20:09:48,539 3772 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-09 20:09:48,554 3772 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-09 20:09:48,554 3772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-09 20:09:48,585 3772 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install glpi-agent-nightly.install --version 1.5.20230607 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-09 20:09:48,585 3772 [DEBUG] - Received arguments: install glpi-agent-nightly.install --version 1.5.20230607 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-09 20:09:48,740 3772 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-09 20:09:48,755 3772 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-09 20:09:48,865 3772 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-09 20:09:49,006 3772 [DEBUG] - Performing validation checks.
2023-06-09 20:09:49,021 3772 [DEBUG] - Global Configuration Validation Checks:
2023-06-09 20:09:49,037 3772 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-09 20:09:49,053 3772 [DEBUG] - System State Validation Checks:
2023-06-09 20:09:49,053 3772 [DEBUG] - Reboot Requirement Checks:
2023-06-09 20:09:49,068 3772 [DEBUG] - - Pending Computer Rename = Checked
2023-06-09 20:09:49,068 3772 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-09 20:09:49,084 3772 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-09 20:09:49,084 3772 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-09 20:09:49,099 3772 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-09 20:09:49,099 3772 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-09 20:09:49,115 3772 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-09 20:09:49,162 3772 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-09 20:09:49,177 3772 [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-09 20:09:49,224 3772 [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.20230607'|
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-L1MEJU7G50M'|
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-09 20:09:49,256 3772 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-09 20:09:49,271 3772 [INFO ] - Installing the following packages:
2023-06-09 20:09:49,288 3772 [INFO ] - glpi-agent-nightly.install
2023-06-09 20:09:49,303 3772 [INFO ] - By installing, you accept licenses for the packages.
2023-06-09 20:09:49,318 3772 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-09 20:09:49,318 3772 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-09 20:09:49,334 3772 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 20:09:49,334 3772 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 20:09:49,349 3772 [DEBUG] - * 'ChocolateyLastPathUpdate'='133307860840504879' ('User')
2023-06-09 20:09:49,349 3772 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-09 20:09:49,349 3772 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-09 20:09:49,365 3772 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-09 20:09:49,365 3772 [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-09 20:09:49,380 3772 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-09 20:09:49,380 3772 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-09 20:09:49,380 3772 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-09 20:09:49,396 3772 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 20:09:49,412 3772 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 20:09:49,412 3772 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-09 20:09:49,412 3772 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-09 20:09:49,427 3772 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-09 20:09:49,427 3772 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-09 20:09:49,491 3772 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-09 20:09:49,491 3772 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-09 20:09:49,506 3772 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-09 20:09:52,960 3772 [INFO ] - [NuGet] Installing 'glpi-agent-nightly.install 1.5.20230607'.
2023-06-09 20:09:52,990 3772 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-09 20:09:53,005 3772 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'glpi-agent-nightly.install\legal'.
2023-06-09 20:09:53,005 3772 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-09 20:09:53,021 3772 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-09 20:09:53,021 3772 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'glpi-agent-nightly.install\tools'.
2023-06-09 20:09:53,115 3772 [DEBUG] - [NuGet] Added file 'GLPI-Agent-1.5-git777e0b75-x64.msi' to folder 'glpi-agent-nightly.install\tools'.
2023-06-09 20:09:53,162 3772 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nupkg' to folder 'glpi-agent-nightly.install'.
2023-06-09 20:09:53,804 3772 [DEBUG] - [NuGet] Added file 'glpi-agent-nightly.install.nuspec' to folder 'glpi-agent-nightly.install'.
2023-06-09 20:09:53,818 3772 [INFO ] - [NuGet] Successfully installed 'glpi-agent-nightly.install 1.5.20230607'.
2023-06-09 20:09:53,818 3772 [INFO ] -
glpi-agent-nightly.install v1.5.20230607 (forced)
2023-06-09 20:09:53,851 3772 [INFO ] - glpi-agent-nightly.install package files install completed. Performing other installation steps.
2023-06-09 20:09:53,913 3772 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-09 20:09:53,928 3772 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-09 20:09:53,928 3772 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1':
2023-06-09 20:09:53,943 3772 [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-git777e0b75-x86.msi' # (From $Latest)
file64 = 'GLPI-Agent-1.5-git777e0b75-x64.msi' # (From $Latest)
softwareName = 'GLPI Agent *'
checksum = 'D7CC845F519C67DFD85209CB87351F9E02F57AA7124F5599EAA37D231DF59721' # (From $Latest)
checksumType = 'sha256' # (From $Latest)
checksum64 = 'D3FCEE32561450B2A187E4C561F9BC476CABD3E7C32113EE0065900221E34AF3' # (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-09 20:09:54,007 3772 [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-09 20:09:54,021 3772 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-09 20:09:54,819 3772 [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-09 20:09:55,304 3772 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 20:09:55,304 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 20:09:55,318 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 20:09:55,318 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 20:09:55,334 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 20:09:55,334 3772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 20:09:55,349 3772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 20:09:55,365 3772 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 20:09:55,365 3772 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 20:09:55,365 3772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 20:09:55,381 3772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:09:55,381 3772 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 20:09:55,396 3772 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 20:09:55,396 3772 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 20:09:55,412 3772 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 20:09:55,412 3772 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 20:09:55,427 3772 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 20:09:55,427 3772 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 20:09:55,427 3772 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 20:09:55,443 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:09:55,443 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:09:55,459 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:09:55,631 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:09:55,646 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 20:09:55,646 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 20:09:55,662 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:09:55,662 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:09:55,662 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 20:09:55,678 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:09:55,678 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 20:09:55,693 3772 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 20:09:55,693 3772 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 20:09:55,709 3772 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 20:09:55,709 3772 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:09:55,724 3772 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 20:09:55,724 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 20:09:55,740 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:09:55,756 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:09:55,756 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:09:55,771 3772 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 20:09:55,771 3772 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 20:09:55,787 3772 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 20:09:55,787 3772 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 20:09:55,802 3772 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 20:09:55,802 3772 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 20:09:55,818 3772 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 20:09:55,818 3772 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 20:09:55,833 3772 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:09:55,850 3772 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 20:09:55,850 3772 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 20:09:55,881 3772 [DEBUG] - Loading community extensions
2023-06-09 20:09:55,927 3772 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-09 20:09:55,927 3772 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-09 20:09:56,069 3772 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 20:09:56,069 3772 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 20:09:56,084 3772 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 20:09:56,084 3772 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 20:09:56,100 3772 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 20:09:56,100 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 20:09:56,115 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 20:09:56,131 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 20:09:56,131 3772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 20:09:56,146 3772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 20:09:56,146 3772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 20:09:56,162 3772 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 20:09:56,162 3772 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 20:09:56,177 3772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 20:09:56,177 3772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:09:56,193 3772 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 20:09:56,208 3772 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 20:09:56,208 3772 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 20:09:56,224 3772 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 20:09:56,224 3772 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 20:09:56,240 3772 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 20:09:56,240 3772 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 20:09:56,256 3772 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 20:09:56,256 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:09:56,256 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:09:56,271 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:09:56,271 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:09:56,286 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 20:09:56,302 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 20:09:56,302 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:09:56,318 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:09:56,318 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 20:09:56,333 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:09:56,333 3772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 20:09:56,349 3772 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 20:09:56,349 3772 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 20:09:56,365 3772 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 20:09:56,365 3772 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:09:56,381 3772 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 20:09:56,381 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 20:09:56,381 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:09:56,396 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:09:56,396 3772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:09:56,411 3772 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 20:09:56,411 3772 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 20:09:56,428 3772 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 20:09:56,428 3772 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 20:09:56,443 3772 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 20:09:56,443 3772 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 20:09:56,458 3772 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 20:09:56,475 3772 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 20:09:56,475 3772 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 20:09:56,475 3772 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 20:09:56,490 3772 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:09:56,490 3772 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 20:09:56,505 3772 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 20:09:56,522 3772 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-09 20:09:56,522 3772 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-09 20:09:56,537 3772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-09 20:09:56,537 3772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-09 20:09:56,537 3772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-09 20:09:56,553 3772 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-09 20:09:56,568 3772 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-09 20:09:56,568 3772 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-09 20:09:56,568 3772 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-09 20:09:56,584 3772 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-09 20:09:56,584 3772 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:09:56,599 3772 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-09 20:09:56,599 3772 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-09 20:09:56,615 3772 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-09 20:09:56,615 3772 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-09 20:09:56,615 3772 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-09 20:09:56,631 3772 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-09 20:09:56,631 3772 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-09 20:09:56,646 3772 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-09 20:09:56,662 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:09:56,678 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:09:56,678 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:09:56,693 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:09:56,693 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-09 20:09:56,708 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-09 20:09:56,708 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:09:56,725 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:09:56,725 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-09 20:09:56,725 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:09:56,740 3772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-09 20:09:56,740 3772 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-09 20:09:56,756 3772 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 20:09:56,771 3772 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-09 20:09:56,771 3772 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-09 20:09:56,787 3772 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:09:56,787 3772 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-09 20:09:56,787 3772 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 20:09:56,802 3772 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-09 20:09:56,802 3772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:09:56,818 3772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:09:56,818 3772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:09:56,833 3772 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-09 20:09:56,833 3772 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-09 20:09:56,849 3772 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-09 20:09:56,849 3772 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-09 20:09:56,865 3772 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-09 20:09:56,865 3772 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-09 20:09:56,865 3772 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-09 20:09:56,880 3772 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:09:56,880 3772 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-09 20:09:56,896 3772 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-09 20:09:56,896 3772 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-09 20:09:56,991 3772 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-09 20:09:57,006 3772 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230607 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-09 20:09:57,069 3772 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
2023-06-09 20:09:57,162 3772 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-09 20:09:57,305 3772 [DEBUG] - Running Install-ChocolateyInstallPackage -file64 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi' -fileType 'MSI' -validExitCodes '0' -silentArgs '/quiet' -packageName 'glpi-agent-nightly.install'
2023-06-09 20:09:57,318 3772 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-09 20:09:57,334 3772 [INFO ] - Installing 64-bit glpi-agent-nightly.install...
2023-06-09 20:09:57,523 3772 [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-git777e0b75-x64.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-09 20:09:57,615 3772 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-09 20:09:57,647 3772 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi" /quiet ]. This may take a while, depending on the statements.
2023-06-09 20:10:38,912 3772 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi" /quiet ] exited with '0'.
2023-06-09 20:10:38,958 3772 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-09 20:10:38,974 3772 [INFO ] - glpi-agent-nightly.install has been installed.
2023-06-09 20:10:38,990 3772 [DEBUG] - ----------------------------------------------------------------------
2023-06-09 20:10:39,038 3772 [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-09 20:10:39,052 3772 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-09 20:10:39,256 3772 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-09 20:10:39,334 3772 [INFO ] - glpi-agent-nightly.install may be able to be automatically uninstalled.
2023-06-09 20:10:39,521 3772 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-09 20:10:39,600 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '41389F99F75E6C37261BB7FD7AD483D3'
2023-06-09 20:10:39,600 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '1F1DF6573A1F02809C6BB147E1940E6D'
2023-06-09 20:10:39,614 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '99CCEA8EE2730414478C92AABB4CE163'
2023-06-09 20:10:39,614 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '1C46E29BABC37DDC71476B164430BA39'
2023-06-09 20:10:39,630 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-09 20:10:39,630 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '4097B038158E0BA5EC809F146490E549'
2023-06-09 20:10:39,630 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-09 20:10:39,803 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi'
with checksum 'C79EBF793B18174ACD72E762E7211A8A'
2023-06-09 20:10:39,803 3772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-09 20:10:39,943 3772 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607".
2023-06-09 20:10:39,990 3772 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607\.registry'
2023-06-09 20:10:40,037 3772 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607\.files'
2023-06-09 20:10:40,052 3772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607\.extra".
2023-06-09 20:10:40,068 3772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607\.version".
2023-06-09 20:10:40,068 3772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607\.sxs".
2023-06-09 20:10:40,083 3772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\glpi-agent-nightly.install.1.5.20230607\.pin".
2023-06-09 20:10:40,099 3772 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-09 20:10:40,099 3772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\.chocolateyPending".
2023-06-09 20:10:40,115 3772 [INFO ] - The install of glpi-agent-nightly.install was successful.
2023-06-09 20:10:40,115 3772 [INFO ] - Software installed to 'C:\Program Files\GLPI-Agent\'
2023-06-09 20:10:40,130 3772 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\glpi-agent-nightly.install.1.5.20230607.nupkg".
2023-06-09 20:10:40,178 3772 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-09 20:10:40,193 3772 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-09 20:10:40,240 3772 [DEBUG] - Exiting with 0
2023-06-09 20:10:52,396 4936 [DEBUG] - XmlConfiguration is now operational
2023-06-09 20:10:52,553 4936 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:10:52,553 4936 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:10:52,567 4936 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:10:52,568 4936 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:10:52,568 4936 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 20:10:52,568 4936 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-09 20:10:52,865 4936 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-09 20:10:52,865 4936 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-09 20:10:52,865 4936 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-09 20:10:52,865 4936 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-09 20:10:52,880 4936 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-09 20:10:52,880 4936 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-09 20:10:52,880 4936 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-09 20:10:52,880 4936 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-09 20:10:52,896 4936 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-09 20:10:52,896 4936 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-09 20:10:52,896 4936 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-09 20:10:52,911 4936 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-09 20:10:52,911 4936 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-09 20:10:52,911 4936 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-09 20:10:52,911 4936 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-09 20:10:52,927 4936 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-09 20:10:52,927 4936 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-09 20:10:52,927 4936 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-09 20:10:53,256 4936 [INFO ] - ============================================================
2023-06-09 20:10:53,646 4936 [INFO ] - Chocolatey v1.3.0
2023-06-09 20:10:53,678 4936 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-09 20:10:53,693 4936 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-09 20:10:53,693 4936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-09 20:10:53,708 4936 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.5.20230607 -dvy --execution-timeout=2700
2023-06-09 20:10:53,724 4936 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.5.20230607 -dvy --execution-timeout=2700
2023-06-09 20:10:53,881 4936 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-09 20:10:53,897 4936 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-09 20:10:53,928 4936 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-09 20:10:54,084 4936 [DEBUG] - Performing validation checks.
2023-06-09 20:10:54,099 4936 [DEBUG] - Global Configuration Validation Checks:
2023-06-09 20:10:54,114 4936 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-09 20:10:54,114 4936 [DEBUG] - System State Validation Checks:
2023-06-09 20:10:54,131 4936 [DEBUG] - Reboot Requirement Checks:
2023-06-09 20:10:54,146 4936 [DEBUG] - - Pending Computer Rename = Checked
2023-06-09 20:10:54,146 4936 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-09 20:10:54,162 4936 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-09 20:10:54,177 4936 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-09 20:10:54,177 4936 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-09 20:10:54,193 4936 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-09 20:10:54,209 4936 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-09 20:10:54,256 4936 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-09 20:10:54,271 4936 [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-09 20:10:54,302 4936 [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.20230607'|
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-L1MEJU7G50M'|
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-09 20:10:54,334 4936 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-09 20:10:54,350 4936 [INFO ] - Uninstalling the following packages:
2023-06-09 20:10:54,350 4936 [INFO ] - glpi-agent-nightly.install
2023-06-09 20:10:54,381 4936 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-09 20:10:54,397 4936 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-09 20:10:54,397 4936 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 20:10:54,397 4936 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 20:10:54,412 4936 [DEBUG] - * 'ChocolateyLastPathUpdate'='133307860840504879' ('User')
2023-06-09 20:10:54,412 4936 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-09 20:10:54,427 4936 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-09 20:10:54,427 4936 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-09 20:10:54,443 4936 [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-09 20:10:54,443 4936 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-09 20:10:54,443 4936 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-09 20:10:54,459 4936 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-09 20:10:54,459 4936 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 20:10:54,459 4936 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 20:10:54,474 4936 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-09 20:10:54,490 4936 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-09 20:10:54,506 4936 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-09 20:10:54,506 4936 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-09 20:10:54,521 4936 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-09 20:10:54,521 4936 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-09 20:10:54,537 4936 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-09 20:10:54,678 4936 [DEBUG] - Running list with the following filter = ''
2023-06-09 20:10:54,693 4936 [DEBUG] - --- Start of List ---
2023-06-09 20:10:55,147 4936 [DEBUG] - glpi-agent-nightly.install 1.5.20230607
2023-06-09 20:10:55,178 4936 [DEBUG] - --- End of List ---
2023-06-09 20:10:55,334 4936 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-09 20:10:55,334 4936 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-09 20:10:55,334 4936 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
2023-06-09 20:10:55,366 4936 [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-09 20:10:55,412 4936 [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-09 20:10:55,427 4936 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-09 20:10:56,100 4936 [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-09 20:10:56,631 4936 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 20:10:56,631 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 20:10:56,646 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 20:10:56,646 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 20:10:56,646 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 20:10:56,661 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 20:10:56,661 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 20:10:56,677 4936 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 20:10:56,677 4936 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 20:10:56,693 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 20:10:56,693 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:10:56,693 4936 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 20:10:56,708 4936 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 20:10:56,708 4936 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 20:10:56,724 4936 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 20:10:56,724 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 20:10:56,740 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 20:10:56,740 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 20:10:56,755 4936 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 20:10:56,755 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:10:56,771 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:10:56,771 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:10:56,786 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:10:56,786 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 20:10:56,802 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 20:10:56,802 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:10:56,817 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:10:56,817 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 20:10:56,833 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:10:56,833 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 20:10:56,848 4936 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 20:10:56,849 4936 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 20:10:56,849 4936 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 20:10:56,864 4936 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:10:56,880 4936 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 20:10:56,880 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 20:10:56,897 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:10:56,897 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:10:56,912 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:10:56,912 4936 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 20:10:56,927 4936 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 20:10:56,927 4936 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 20:10:56,958 4936 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 20:10:56,958 4936 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 20:10:56,974 4936 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 20:10:56,974 4936 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 20:10:56,990 4936 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 20:10:57,005 4936 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:10:57,005 4936 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 20:10:57,021 4936 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 20:10:57,053 4936 [DEBUG] - Loading community extensions
2023-06-09 20:10:57,083 4936 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-09 20:10:57,100 4936 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-09 20:10:57,224 4936 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 20:10:57,224 4936 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 20:10:57,240 4936 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 20:10:57,256 4936 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 20:10:57,256 4936 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 20:10:57,271 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 20:10:57,271 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 20:10:57,286 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 20:10:57,286 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 20:10:57,303 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 20:10:57,303 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 20:10:57,318 4936 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 20:10:57,318 4936 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 20:10:57,333 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 20:10:57,333 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:10:57,349 4936 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 20:10:57,349 4936 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 20:10:57,349 4936 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 20:10:57,380 4936 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 20:10:57,380 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 20:10:57,396 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 20:10:57,396 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 20:10:57,412 4936 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 20:10:57,427 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:10:57,443 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:10:57,443 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:10:57,458 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:10:57,458 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 20:10:57,474 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 20:10:57,474 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:10:57,490 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:10:57,490 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 20:10:57,505 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:10:57,505 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 20:10:57,521 4936 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 20:10:57,521 4936 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 20:10:57,536 4936 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 20:10:57,536 4936 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:10:57,552 4936 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 20:10:57,552 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 20:10:57,568 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:10:57,568 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:10:57,584 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:10:57,584 4936 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 20:10:57,599 4936 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 20:10:57,599 4936 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 20:10:57,599 4936 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 20:10:57,615 4936 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 20:10:57,615 4936 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 20:10:57,631 4936 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 20:10:57,646 4936 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 20:10:57,662 4936 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 20:10:57,677 4936 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 20:10:57,677 4936 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:10:57,693 4936 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 20:10:57,693 4936 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 20:10:57,709 4936 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-09 20:10:57,725 4936 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-09 20:10:57,725 4936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-09 20:10:57,740 4936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-09 20:10:57,740 4936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-09 20:10:57,755 4936 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-09 20:10:57,755 4936 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-09 20:10:57,755 4936 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-09 20:10:57,771 4936 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-09 20:10:57,771 4936 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-09 20:10:57,787 4936 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:10:57,787 4936 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-09 20:10:57,802 4936 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-09 20:10:57,802 4936 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-09 20:10:57,818 4936 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-09 20:10:57,818 4936 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-09 20:10:57,818 4936 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-09 20:10:57,834 4936 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-09 20:10:57,834 4936 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-09 20:10:57,849 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:10:57,849 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:10:57,865 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:10:57,865 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:10:57,880 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-09 20:10:57,896 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-09 20:10:57,896 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:10:57,911 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:10:57,911 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-09 20:10:57,927 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:10:57,927 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-09 20:10:57,927 4936 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-09 20:10:57,943 4936 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 20:10:57,943 4936 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-09 20:10:57,958 4936 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-09 20:10:57,958 4936 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:10:57,974 4936 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-09 20:10:57,974 4936 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 20:10:57,974 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-09 20:10:57,990 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:10:57,990 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:10:58,005 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:10:58,005 4936 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-09 20:10:58,021 4936 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-09 20:10:58,021 4936 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-09 20:10:58,036 4936 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-09 20:10:58,036 4936 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-09 20:10:58,052 4936 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-09 20:10:58,052 4936 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-09 20:10:58,068 4936 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:10:58,084 4936 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-09 20:10:58,084 4936 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-09 20:10:58,099 4936 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-09 20:10:58,193 4936 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-09 20:10:58,209 4936 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230607 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-09 20:10:58,271 4936 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
2023-06-09 20:10:58,677 4936 [WARN ] - Confirm
2023-06-09 20:10:58,693 4936 [WARN ] - Are you sure you want to perform this action?
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
2023-06-09 20:10:58,708 4936 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
2023-06-09 20:10:58,708 4936 [WARN ] - Confirmation (`-y`) is set.
Respond within 30 seconds or the default selection will be chosen.
2023-06-09 20:11:31,350 4936 [DEBUG] - ----------------------------------------------------------------------
2023-06-09 20:11:31,365 4936 [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-09 20:11:31,537 4936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-09 20:11:31,552 4936 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
2023-06-09 20:11:31,552 4936 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
2023-06-09 20:11:33,741 4936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-09 20:11:33,741 4936 [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-09 20:11:34,261 4936 [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-09 20:11:34,271 4936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
2023-06-09 20:11:34,271 4936 [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-09 20:11:34,286 4936 [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-09 20:11:34,302 4936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
2023-06-09 20:11:34,302 4936 [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-09 20:11:34,318 4936 [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-09 20:11:34,333 4936 [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-09 20:11:34,333 4936 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi".
2023-06-09 20:11:35,131 4936 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore"
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore".
2023-06-09 20:11:36,726 4936 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
2023-06-09 20:11:36,819 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
with checksum '41389F99F75E6C37261BB7FD7AD483D3'
2023-06-09 20:11:36,819 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
with checksum '1F1DF6573A1F02809C6BB147E1940E6D'
2023-06-09 20:11:36,819 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
with checksum '99CCEA8EE2730414478C92AABB4CE163'
2023-06-09 20:11:36,833 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
with checksum '1C46E29BABC37DDC71476B164430BA39'
2023-06-09 20:11:36,833 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
2023-06-09 20:11:36,849 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
with checksum '4097B038158E0BA5EC809F146490E549'
2023-06-09 20:11:36,849 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
2023-06-09 20:11:38,475 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi'
with checksum 'C79EBF793B18174ACD72E762E7211A8A'
2023-06-09 20:11:38,475 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-09 20:11:39,430 4936 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.5.20230607'.
2023-06-09 20:11:39,460 4936 [INFO ] -
glpi-agent-nightly.install v1.5.20230607
2023-06-09 20:11:39,553 4936 [DEBUG] - Setting installer args for glpi-agent-nightly.install
2023-06-09 20:11:39,553 4936 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
2023-06-09 20:11:39,568 4936 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
2023-06-09 20:11:39,585 4936 [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-09 20:11:39,600 4936 [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-09 20:11:39,646 4936 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-09 20:11:40,616 4936 [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-09 20:11:40,912 4936 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 20:11:40,928 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 20:11:40,943 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 20:11:40,943 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 20:11:40,959 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 20:11:40,959 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 20:11:40,974 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 20:11:40,974 4936 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 20:11:40,974 4936 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 20:11:40,989 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 20:11:40,989 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:11:41,005 4936 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 20:11:41,005 4936 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 20:11:41,021 4936 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 20:11:41,021 4936 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 20:11:41,036 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 20:11:41,036 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 20:11:41,052 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 20:11:41,052 4936 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 20:11:41,068 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:11:41,068 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:11:41,084 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:11:41,099 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:11:41,099 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 20:11:41,114 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 20:11:41,114 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:11:41,130 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:11:41,130 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 20:11:41,130 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:11:41,146 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 20:11:41,146 4936 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 20:11:41,161 4936 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 20:11:41,177 4936 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 20:11:41,177 4936 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:11:41,193 4936 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 20:11:41,193 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 20:11:41,208 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:11:41,224 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:11:41,224 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:11:41,224 4936 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 20:11:41,271 4936 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 20:11:41,286 4936 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 20:11:41,302 4936 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 20:11:41,318 4936 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 20:11:41,333 4936 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 20:11:41,349 4936 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 20:11:41,349 4936 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 20:11:41,380 4936 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:11:41,380 4936 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 20:11:41,396 4936 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 20:11:41,411 4936 [DEBUG] - Loading community extensions
2023-06-09 20:11:41,567 4936 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-09 20:11:41,599 4936 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-09 20:11:41,849 4936 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 20:11:41,865 4936 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 20:11:41,865 4936 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 20:11:41,881 4936 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 20:11:41,896 4936 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 20:11:41,896 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 20:11:41,912 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 20:11:41,912 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 20:11:41,927 4936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 20:11:41,927 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 20:11:41,943 4936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 20:11:41,943 4936 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 20:11:41,959 4936 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 20:11:41,959 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 20:11:41,974 4936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:11:41,974 4936 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 20:11:41,989 4936 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 20:11:41,989 4936 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 20:11:42,006 4936 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 20:11:42,006 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 20:11:42,021 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 20:11:42,021 4936 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 20:11:42,021 4936 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 20:11:42,037 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:11:42,052 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:11:42,052 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:11:42,068 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:11:42,068 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 20:11:42,068 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 20:11:42,084 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:11:42,084 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:11:42,099 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 20:11:42,119 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:11:42,119 4936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 20:11:42,131 4936 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 20:11:42,131 4936 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 20:11:42,146 4936 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 20:11:42,146 4936 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:11:42,162 4936 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 20:11:42,162 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 20:11:42,208 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:11:42,224 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:11:42,286 4936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:11:42,317 4936 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 20:11:42,349 4936 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 20:11:42,380 4936 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 20:11:42,396 4936 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 20:11:42,412 4936 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 20:11:42,427 4936 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 20:11:42,442 4936 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 20:11:42,458 4936 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 20:11:42,474 4936 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 20:11:42,489 4936 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 20:11:42,489 4936 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:11:42,505 4936 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 20:11:42,553 4936 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 20:11:42,568 4936 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-09 20:11:42,568 4936 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-09 20:11:42,583 4936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-09 20:11:42,599 4936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-09 20:11:42,615 4936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-09 20:11:42,630 4936 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-09 20:11:42,646 4936 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-09 20:11:42,646 4936 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-09 20:11:42,662 4936 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-09 20:11:42,677 4936 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-09 20:11:42,692 4936 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-09 20:11:42,739 4936 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-09 20:11:42,739 4936 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-09 20:11:42,756 4936 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-09 20:11:42,786 4936 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-09 20:11:42,786 4936 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-09 20:11:42,802 4936 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-09 20:11:42,817 4936 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-09 20:11:42,833 4936 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-09 20:11:42,896 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 20:11:42,927 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 20:11:42,958 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-09 20:11:42,958 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-09 20:11:42,974 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-09 20:11:42,974 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-09 20:11:42,990 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 20:11:42,990 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-09 20:11:43,005 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-09 20:11:43,005 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-09 20:11:43,005 4936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-09 20:11:43,021 4936 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-09 20:11:43,021 4936 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 20:11:43,036 4936 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-09 20:11:43,036 4936 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-09 20:11:43,052 4936 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 20:11:43,052 4936 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-09 20:11:43,099 4936 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 20:11:43,114 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-09 20:11:43,114 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 20:11:43,130 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-09 20:11:43,177 4936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 20:11:43,255 4936 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-09 20:11:43,255 4936 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-09 20:11:43,271 4936 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-09 20:11:43,302 4936 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-09 20:11:43,412 4936 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-09 20:11:43,412 4936 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-09 20:11:43,428 4936 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-09 20:11:43,442 4936 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-09 20:11:43,458 4936 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-09 20:11:43,474 4936 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-09 20:11:43,505 4936 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-09 20:11:43,567 4936 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-09 20:11:43,614 4936 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.5.20230607 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-09 20:11:43,677 4936 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
2023-06-09 20:11:43,849 4936 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
2023-06-09 20:11:43,865 4936 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2023-06-09 20:11:44,414 4936 [DEBUG] - Registry uninstall keys on system: 28
2023-06-09 20:11:44,474 4936 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2023-06-09 20:11:44,583 4936 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
2023-06-09 20:11:44,648 4936 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{A7B0F6BB-6BF5-1014-A54C-833F1574A704} /qn /norestart' -file ''
2023-06-09 20:11:44,739 4936 [INFO ] - Uninstalling glpi-agent-nightly.install...
2023-06-09 20:11:44,882 4936 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {A7B0F6BB-6BF5-1014-A54C-833F1574A704} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-09 20:11:44,960 4936 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-09 20:11:45,302 4936 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {A7B0F6BB-6BF5-1014-A54C-833F1574A704} /qn /norestart ]. This may take a while, depending on the statements.
2023-06-09 20:13:32,726 4936 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {A7B0F6BB-6BF5-1014-A54C-833F1574A704} /qn /norestart ] exited with '0'.
2023-06-09 20:13:32,790 4936 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-09 20:13:32,806 4936 [INFO ] - 0
2023-06-09 20:13:32,820 4936 [INFO ] - glpi-agent-nightly.install has been uninstalled.
2023-06-09 20:13:32,820 4936 [DEBUG] - ----------------------------------------------------------------------
2023-06-09 20:13:32,851 4936 [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-09 20:13:32,898 4936 [INFO ] - Running auto uninstaller...
2023-06-09 20:13:32,914 4936 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-06-09 20:13:34,947 4936 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{A7B0F6BB-6BF5-1014-A54C-833F1574A704}' for 'GLPI Agent 1.5 (git777e0b75)'
2023-06-09 20:13:34,962 4936 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.5 (git777e0b75)' appears to have been uninstalled already by other means.
2023-06-09 20:13:34,977 4936 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
2023-06-09 20:13:34,992 4936 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A7B0F6BB-6BF5-1014-A54C-833F1574A704}' value 'InstallLocation' - found? False
2023-06-09 20:13:35,008 4936 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-09 20:13:35,132 4936 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-09 20:13:35,165 4936 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
2023-06-09 20:13:35,227 4936 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-09 20:13:35,227 4936 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-09 20:13:35,258 4936 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
2023-06-09 20:13:35,258 4936 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-09 20:13:35,273 4936 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-09 20:13:35,289 4936 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-09 20:13:35,338 4936 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.5-git777e0b75-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
2023-06-09 20:13:35,352 4936 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-09 20:13:35,352 4936 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
2023-06-09 20:13:35,367 4936 [DEBUG] - [NuGet] The directory is not empty.
2023-06-09 20:13:35,367 4936 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.5.20230607'.
2023-06-09 20:13:35,400 4936 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
2023-06-09 20:13:35,414 4936 [DEBUG] - Removing nupkg if it still exists.
2023-06-09 20:13:35,429 4936 [DEBUG] - Ensuring removal of installation files.
2023-06-09 20:13:35,429 4936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2023-06-09 20:13:35,446 4936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.5-git777e0b75-x64.msi.ignore".
2023-06-09 20:13:35,446 4936 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
2023-06-09 20:13:35,461 4936 [DEBUG] - Ensuring removal of package cache files.
2023-06-09 20:13:35,509 4936 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-09 20:13:35,523 4936 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-09 20:13:35,555 4936 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment