|
2023-07-12 22:43:07,887 824 [DEBUG] - XmlConfiguration is now operational
|
|
2023-07-12 22:43:08,044 824 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-12 22:43:08,044 824 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-12 22:43:08,044 824 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-12 22:43:08,059 824 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-12 22:43:08,059 824 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-07-12 22:43:08,059 824 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-07-12 22:43:08,326 824 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-07-12 22:43:08,326 824 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-07-12 22:43:08,326 824 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-07-12 22:43:08,340 824 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-07-12 22:43:08,341 824 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-07-12 22:43:08,341 824 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-07-12 22:43:08,341 824 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-07-12 22:43:08,341 824 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-07-12 22:43:08,356 824 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-07-12 22:43:08,356 824 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-07-12 22:43:08,356 824 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-07-12 22:43:08,372 824 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-07-12 22:43:08,372 824 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-07-12 22:43:08,372 824 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-07-12 22:43:08,372 824 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-07-12 22:43:08,388 824 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-07-12 22:43:08,388 824 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-07-12 22:43:08,388 824 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-07-12 22:43:08,700 824 [INFO ] - ============================================================
|
|
2023-07-12 22:43:09,075 824 [INFO ] - Chocolatey v1.3.0
|
|
2023-07-12 22:43:09,107 824 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-07-12 22:43:09,122 824 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-07-12 22:43:09,122 824 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-07-12 22:43:09,153 824 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall glpi-agent-nightly.install --version 1.6.20230712 -dvy --execution-timeout=2700
|
|
2023-07-12 22:43:09,153 824 [DEBUG] - Received arguments: uninstall glpi-agent-nightly.install --version 1.6.20230712 -dvy --execution-timeout=2700
|
|
2023-07-12 22:43:09,356 824 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-07-12 22:43:09,372 824 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-07-12 22:43:09,404 824 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-07-12 22:43:09,575 824 [DEBUG] - Performing validation checks.
|
|
2023-07-12 22:43:09,591 824 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-07-12 22:43:09,591 824 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-07-12 22:43:09,607 824 [DEBUG] - System State Validation Checks:
|
|
2023-07-12 22:43:09,622 824 [DEBUG] - Reboot Requirement Checks:
|
|
2023-07-12 22:43:09,638 824 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-07-12 22:43:09,638 824 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-07-12 22:43:09,653 824 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-07-12 22:43:09,653 824 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-07-12 22:43:09,669 824 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-07-12 22:43:09,685 824 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-07-12 22:43:09,700 824 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-07-12 22:43:09,747 824 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-07-12 22:43:09,762 824 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2023-07-12 22:43:09,810 824 [DEBUG] - Configuration: CommandName='uninstall'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
ContainsLegacyPackageInstalls='True'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='False'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='glpi-agent-nightly.install'|Version='1.6.20230712'|
|
|
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-1N7HSTQ8QG1'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
|
|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
|
|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
|
|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
|
|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
|
|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|
|
|
2023-07-12 22:43:09,840 824 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-07-12 22:43:09,873 824 [INFO ] - Uninstalling the following packages:
|
|
2023-07-12 22:43:09,873 824 [INFO ] - glpi-agent-nightly.install
|
|
2023-07-12 22:43:09,887 824 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-07-12 22:43:09,904 824 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-07-12 22:43:09,904 824 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-07-12 22:43:09,919 824 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-07-12 22:43:09,919 824 [DEBUG] - * 'ChocolateyLastPathUpdate'='133336397666663613' ('User')
|
|
2023-07-12 22:43:09,934 824 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-07-12 22:43:09,934 824 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-07-12 22:43:09,950 824 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-07-12 22:43:09,950 824 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2023-07-12 22:43:09,965 824 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-07-12 22:43:09,965 824 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-07-12 22:43:09,965 824 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-07-12 22:43:09,981 824 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-07-12 22:43:09,981 824 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-07-12 22:43:09,997 824 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-07-12 22:43:10,012 824 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-07-12 22:43:10,012 824 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-07-12 22:43:10,012 824 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-07-12 22:43:10,028 824 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-07-12 22:43:10,028 824 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-07-12 22:43:10,043 824 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-07-12 22:43:10,200 824 [DEBUG] - Running list with the following filter = ''
|
|
2023-07-12 22:43:10,215 824 [DEBUG] - --- Start of List ---
|
|
2023-07-12 22:43:10,668 824 [DEBUG] - glpi-agent-nightly.install 1.6.20230712
|
|
2023-07-12 22:43:10,684 824 [DEBUG] - --- End of List ---
|
|
2023-07-12 22:43:10,858 824 [DEBUG] - Setting installer args for glpi-agent-nightly.install
|
|
2023-07-12 22:43:10,872 824 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
|
|
2023-07-12 22:43:10,872 824 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1':
|
|
2023-07-12 22:43:10,906 824 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors |
|
|
|
# Remove the service if it exists |
|
$service = Get-Service -Name 'glpi-agent' -ErrorAction SilentlyContinue |
|
If ($service -ne $null) { |
|
Stop-Service $service -Force -Confirm |
|
} |
|
|
|
2023-07-12 22:43:10,967 824 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-07-12 22:43:10,981 824 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-07-12 22:43:11,716 824 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-07-12 22:43:12,231 824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-12 22:43:12,247 824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-12 22:43:12,247 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-12 22:43:12,262 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-12 22:43:12,262 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-12 22:43:12,262 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-12 22:43:12,278 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-12 22:43:12,294 824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-12 22:43:12,294 824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-12 22:43:12,315 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-12 22:43:12,325 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-12 22:43:12,325 824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-12 22:43:12,341 824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-12 22:43:12,341 824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-12 22:43:12,357 824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-12 22:43:12,357 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-12 22:43:12,372 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-12 22:43:12,372 824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-12 22:43:12,388 824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-12 22:43:12,388 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:12,403 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-12 22:43:12,419 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-12 22:43:12,419 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-12 22:43:12,434 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-12 22:43:12,434 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-12 22:43:12,434 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-12 22:43:12,451 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-12 22:43:12,451 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-12 22:43:12,489 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-12 22:43:12,497 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:12,497 824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-12 22:43:12,513 824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-12 22:43:12,513 824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-12 22:43:12,528 824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-12 22:43:12,528 824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-12 22:43:12,544 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-12 22:43:12,560 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:12,560 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-12 22:43:12,575 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:12,997 824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-12 22:43:13,013 824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-12 22:43:13,013 824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-12 22:43:13,028 824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-12 22:43:13,044 824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-12 22:43:13,044 824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-12 22:43:13,059 824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-12 22:43:13,059 824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-12 22:43:13,075 824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-12 22:43:13,075 824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-12 22:43:13,091 824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-12 22:43:13,138 824 [DEBUG] - Loading community extensions
|
|
2023-07-12 22:43:13,170 824 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-07-12 22:43:13,215 824 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-07-12 22:43:13,357 824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:13,357 824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:13,373 824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:13,388 824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:13,388 824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-12 22:43:13,403 824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-12 22:43:13,403 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-12 22:43:13,418 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-12 22:43:13,418 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-12 22:43:13,418 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-12 22:43:13,434 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-12 22:43:13,434 824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-12 22:43:13,450 824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-12 22:43:13,450 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-12 22:43:13,466 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-12 22:43:13,466 824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-12 22:43:13,481 824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-12 22:43:13,481 824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-12 22:43:13,497 824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-12 22:43:13,497 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-12 22:43:13,513 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-12 22:43:13,528 824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-12 22:43:13,528 824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-12 22:43:13,544 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:13,544 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-12 22:43:13,544 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-12 22:43:13,560 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-12 22:43:13,560 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-12 22:43:13,575 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-12 22:43:13,575 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-12 22:43:13,592 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-12 22:43:13,592 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-12 22:43:13,607 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-12 22:43:13,607 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:13,622 824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-12 22:43:13,622 824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-12 22:43:13,638 824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-12 22:43:13,653 824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-12 22:43:13,653 824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-12 22:43:13,653 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-12 22:43:13,669 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:13,684 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-12 22:43:13,684 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:13,700 824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-12 22:43:13,700 824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-12 22:43:13,700 824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:13,716 824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:13,716 824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-12 22:43:13,732 824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-12 22:43:13,732 824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-12 22:43:13,747 824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-12 22:43:13,747 824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-12 22:43:13,762 824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-12 22:43:13,778 824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-12 22:43:13,778 824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-12 22:43:13,778 824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-12 22:43:13,794 824 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-07-12 22:43:13,794 824 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-07-12 22:43:13,810 824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-07-12 22:43:13,825 824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-07-12 22:43:13,825 824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-07-12 22:43:13,841 824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-07-12 22:43:13,841 824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-07-12 22:43:13,857 824 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-07-12 22:43:13,857 824 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-07-12 22:43:13,857 824 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-07-12 22:43:13,872 824 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-12 22:43:13,872 824 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-07-12 22:43:13,888 824 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-07-12 22:43:13,888 824 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-07-12 22:43:13,903 824 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-07-12 22:43:13,903 824 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-07-12 22:43:13,919 824 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-07-12 22:43:13,919 824 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-07-12 22:43:13,935 824 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-07-12 22:43:13,935 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:13,950 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-12 22:43:13,950 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-12 22:43:13,966 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-12 22:43:13,966 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-07-12 22:43:13,966 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-07-12 22:43:13,982 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-12 22:43:13,982 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-12 22:43:13,997 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-07-12 22:43:14,012 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-12 22:43:14,013 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:14,013 824 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-07-12 22:43:14,028 824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:14,028 824 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-07-12 22:43:14,044 824 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-07-12 22:43:14,059 824 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-12 22:43:14,059 824 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-07-12 22:43:14,059 824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:14,076 824 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-07-12 22:43:14,091 824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:14,091 824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-12 22:43:14,107 824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:14,122 824 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-07-12 22:43:14,122 824 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-07-12 22:43:14,138 824 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-07-12 22:43:14,138 824 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-07-12 22:43:14,153 824 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-07-12 22:43:14,153 824 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-07-12 22:43:14,169 824 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-07-12 22:43:14,169 824 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-12 22:43:14,186 824 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-07-12 22:43:14,186 824 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-07-12 22:43:14,186 824 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-07-12 22:43:14,310 824 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-07-12 22:43:14,326 824 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230712 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-07-12 22:43:14,420 824 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
2023-07-12 22:43:14,482 824 [WARN ] - Confirm
|
|
2023-07-12 22:43:14,482 824 [WARN ] - Are you sure you want to perform this action?
|
|
Performing the operation "Stop-Service" on target "glpi-agent (glpi-agent)".
|
|
2023-07-12 22:43:14,514 824 [WARN ] - [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend (default is "Y")
|
|
2023-07-12 22:43:14,514 824 [WARN ] - Confirmation (`-y`) is set.
|
|
Respond within 30 seconds or the default selection will be chosen.
|
|
2023-07-12 22:43:45,889 824 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-07-12 22:43:45,905 824 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-07-12 22:43:46,077 824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
|
|
2023-07-12 22:43:46,077 824 [DEBUG] - Backing up existing glpi-agent-nightly.install prior to operation.
|
|
2023-07-12 22:43:46,092 824 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install'
|
|
2023-07-12 22:43:48,107 824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
|
|
2023-07-12 22:43:48,107 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg".
|
|
2023-07-12 22:43:48,155 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec".
|
|
2023-07-12 22:43:48,155 824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal".
|
|
2023-07-12 22:43:48,170 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt".
|
|
2023-07-12 22:43:48,170 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\legal\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt".
|
|
2023-07-12 22:43:48,186 824 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools".
|
|
2023-07-12 22:43:48,186 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1".
|
|
2023-07-12 22:43:48,201 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyinstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1".
|
|
2023-07-12 22:43:48,217 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1".
|
|
2023-07-12 22:43:48,233 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi".
|
|
2023-07-12 22:43:48,264 824 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi.ignore"
|
|
to "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi.ignore".
|
|
2023-07-12 22:43:49,812 824 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'
|
|
2023-07-12 22:43:49,905 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nupkg'
|
|
with checksum '984BD54ACC210FF2F7A5DA12F9A623F6'
|
|
2023-07-12 22:43:49,905 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\glpi-agent-nightly.install.nuspec'
|
|
with checksum 'C4A350ACC613710CF08E77525E971E33'
|
|
2023-07-12 22:43:49,921 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\LICENSE.txt'
|
|
with checksum 'F0A98859A01C6F694DFCFC58CB515C33'
|
|
2023-07-12 22:43:49,935 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal\VERIFICATION.txt'
|
|
with checksum 'ECB1BDED3AB9CC565737D5D26A30C741'
|
|
2023-07-12 22:43:49,935 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateybeforemodify.ps1'
|
|
with checksum 'DE828B733952B51030AFFCFAA23BD7A6'
|
|
2023-07-12 22:43:49,951 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyinstall.ps1'
|
|
with checksum 'CCF46E2DDDD7E1C3FA312BEEDCBC0435'
|
|
2023-07-12 22:43:49,951 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
with checksum '6B0400F7F1626CE5D4B3DE26A190423B'
|
|
2023-07-12 22:43:50,092 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi'
|
|
with checksum '46C89EAF4E5783453A57988D86C3C430'
|
|
2023-07-12 22:43:50,092 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-07-12 22:43:50,717 824 [INFO ] - [NuGet] Uninstalling 'glpi-agent-nightly.install 1.6.20230712'.
|
|
2023-07-12 22:43:50,732 824 [INFO ] -
|
|
glpi-agent-nightly.install v1.6.20230712
|
|
2023-07-12 22:43:50,795 824 [DEBUG] - Setting installer args for glpi-agent-nightly.install
|
|
2023-07-12 22:43:50,811 824 [DEBUG] - Setting package parameters for glpi-agent-nightly.install
|
|
2023-07-12 22:43:50,811 824 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1':
|
|
2023-07-12 22:43:50,826 824 [DEBUG] - $ErrorActionPreference = 'Stop' # stop on all errors |
|
|
|
$packageArgs = @{ |
|
packageName = $env:ChocolateyPackageName |
|
softwareName = 'GLPI Agent *' |
|
fileType = 'MSI' |
|
silentArgs = '/qn /norestart' |
|
|
|
# Allows (see https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx): |
|
# * 0: ERROR_SUCCESS |
|
# * 3010: ERROR_SUCCESS_REBOOT_REQUIRED |
|
# * 1605: ERROR_UNKNOWN_PRODUCT |
|
# * 1614: ERROR_PRODUCT_UNINSTALLED |
|
# * 1641: ERROR_SUCCESS_REBOOT_INITIATED |
|
validExitCodes= @(0, 3010, 1605, 1614, 1641) |
|
} |
|
|
|
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName'] |
|
|
|
if ($key.Count -eq 1) { |
|
$key | % { |
|
$packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below |
|
|
|
if ($packageArgs['fileType'] -eq 'MSI') { |
|
# The Product Code GUID is all that should be passed for MSI, and very |
|
# FIRST, because it comes directly after /x, which is already set in the |
|
# Uninstall-ChocolateyPackage msiargs (facepalm). |
|
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])" |
|
|
|
# Don't pass anything for file, it is ignored for msi (facepalm number 2) |
|
# Alternatively if you need to pass a path to an msi, determine that and |
|
# use it instead of the above in silentArgs, still very first |
|
$packageArgs['file'] = '' |
|
} |
|
|
|
Uninstall-ChocolateyPackage @packageArgs |
|
} |
|
} elseif ($key.Count -eq 0) { |
|
Write-Warning "$packageName has already been uninstalled by other means." |
|
} elseif ($key.Count -gt 1) { |
|
Write-Warning "$($key.Count) matches found!" |
|
Write-Warning "To prevent accidental data loss, no programs will be uninstalled." |
|
Write-Warning "Please alert package maintainer the following keys were matched:" |
|
$key | % {Write-Warning "- $($_.DisplayName)"} |
|
} |
|
|
|
2023-07-12 22:43:50,842 824 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-07-12 22:43:50,936 824 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-07-12 22:43:51,046 824 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-07-12 22:43:51,186 824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-12 22:43:51,202 824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-12 22:43:51,202 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-12 22:43:51,217 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-12 22:43:51,234 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-12 22:43:51,248 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-12 22:43:51,248 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-12 22:43:51,248 824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-12 22:43:51,264 824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-12 22:43:51,264 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-12 22:43:51,279 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-12 22:43:51,295 824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-12 22:43:51,295 824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-12 22:43:51,310 824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-12 22:43:51,310 824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-12 22:43:51,468 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-12 22:43:51,482 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-12 22:43:51,498 824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-12 22:43:51,498 824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-12 22:43:51,514 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:51,530 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-12 22:43:51,530 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-12 22:43:51,545 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-12 22:43:51,545 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-12 22:43:51,561 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-12 22:43:51,561 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-12 22:43:51,577 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-12 22:43:51,577 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-12 22:43:51,593 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-12 22:43:51,608 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:51,608 824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-12 22:43:51,624 824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-12 22:43:51,624 824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-12 22:43:51,639 824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-12 22:43:51,639 824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-12 22:43:51,654 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-12 22:43:51,654 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:51,670 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-12 22:43:51,670 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:51,685 824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-12 22:43:51,685 824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-12 22:43:51,685 824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-12 22:43:51,701 824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-12 22:43:51,701 824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-12 22:43:51,717 824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-12 22:43:51,717 824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-12 22:43:51,732 824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-12 22:43:51,732 824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-12 22:43:51,748 824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-12 22:43:51,764 824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-12 22:43:51,764 824 [DEBUG] - Loading community extensions
|
|
2023-07-12 22:43:51,779 824 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-07-12 22:43:51,779 824 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-07-12 22:43:51,827 824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:51,827 824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:51,842 824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:51,842 824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:51,857 824 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-07-12 22:43:51,857 824 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-07-12 22:43:51,873 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-07-12 22:43:51,873 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-07-12 22:43:51,889 824 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-07-12 22:43:51,889 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-07-12 22:43:51,889 824 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-07-12 22:43:51,904 824 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-07-12 22:43:51,904 824 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-07-12 22:43:51,920 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-07-12 22:43:51,920 824 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-12 22:43:51,936 824 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-07-12 22:43:51,936 824 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-07-12 22:43:51,951 824 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-07-12 22:43:51,951 824 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-07-12 22:43:51,967 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-07-12 22:43:51,967 824 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-07-12 22:43:51,982 824 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-07-12 22:43:51,982 824 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-07-12 22:43:51,998 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:51,998 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-12 22:43:52,014 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-12 22:43:52,014 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-12 22:43:52,029 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-07-12 22:43:52,029 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-07-12 22:43:52,045 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-12 22:43:52,045 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-12 22:43:52,061 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-07-12 22:43:52,061 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-12 22:43:52,076 824 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:52,076 824 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-07-12 22:43:52,092 824 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-07-12 22:43:52,092 824 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-07-12 22:43:52,108 824 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-12 22:43:52,123 824 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-07-12 22:43:52,123 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-07-12 22:43:52,138 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:52,138 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-12 22:43:52,154 824 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:52,154 824 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-07-12 22:43:52,170 824 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-07-12 22:43:52,170 824 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:52,186 824 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:52,201 824 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-07-12 22:43:52,201 824 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-07-12 22:43:52,201 824 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-07-12 22:43:52,217 824 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-07-12 22:43:52,217 824 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-07-12 22:43:52,232 824 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-07-12 22:43:52,232 824 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-12 22:43:52,248 824 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-07-12 22:43:52,248 824 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-07-12 22:43:52,264 824 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-07-12 22:43:52,279 824 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-07-12 22:43:52,279 824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-07-12 22:43:52,295 824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-07-12 22:43:52,295 824 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-07-12 22:43:52,311 824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-07-12 22:43:52,326 824 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-07-12 22:43:52,326 824 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-07-12 22:43:52,343 824 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-07-12 22:43:52,343 824 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-07-12 22:43:52,357 824 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-07-12 22:43:52,357 824 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-07-12 22:43:52,373 824 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-07-12 22:43:52,373 824 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-07-12 22:43:52,389 824 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-07-12 22:43:52,389 824 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-07-12 22:43:52,404 824 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-07-12 22:43:52,404 824 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-07-12 22:43:52,420 824 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-07-12 22:43:52,420 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:52,435 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-07-12 22:43:52,435 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-07-12 22:43:52,451 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-07-12 22:43:52,451 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-07-12 22:43:52,467 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-07-12 22:43:52,482 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-07-12 22:43:52,501 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-07-12 22:43:52,515 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-07-12 22:43:52,515 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-07-12 22:43:52,529 824 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:52,529 824 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-07-12 22:43:52,545 824 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-07-12 22:43:52,545 824 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-07-12 22:43:52,560 824 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-07-12 22:43:52,560 824 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-07-12 22:43:52,576 824 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-07-12 22:43:52,576 824 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-07-12 22:43:52,592 824 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-07-12 22:43:52,592 824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-07-12 22:43:52,607 824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-07-12 22:43:52,607 824 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-07-12 22:43:52,623 824 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-07-12 22:43:52,623 824 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-07-12 22:43:52,639 824 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-07-12 22:43:52,639 824 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-07-12 22:43:52,654 824 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-07-12 22:43:52,670 824 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-07-12 22:43:52,670 824 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-07-12 22:43:52,686 824 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-07-12 22:43:52,686 824 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-07-12 22:43:52,701 824 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-07-12 22:43:52,701 824 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-07-12 22:43:52,717 824 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-07-12 22:43:52,733 824 [DEBUG] - Running 'ChocolateyScriptRunner' for glpi-agent-nightly.install v1.6.20230712 with packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-07-12 22:43:52,749 824 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1'
|
|
2023-07-12 22:43:52,904 824 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GLPI Agent *'
|
|
2023-07-12 22:43:52,920 824 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
|
|
2023-07-12 22:43:53,030 824 [DEBUG] - Registry uninstall keys on system: 28
|
|
2023-07-12 22:43:53,030 824 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
|
|
2023-07-12 22:43:53,139 824 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'GLPI Agent *'
|
|
2023-07-12 22:43:53,186 824 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'glpi-agent-nightly.install' -fileType 'MSI' -validExitCodes '0 3010 1605 1614 1641' -silentArgs '{CC5A7664-6BF5-1014-9392-D2E239D01503} /qn /norestart' -file ''
|
|
2023-07-12 22:43:53,217 824 [INFO ] - Uninstalling glpi-agent-nightly.install...
|
|
2023-07-12 22:43:53,374 824 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1605 1614 1641' -statements '/x {CC5A7664-6BF5-1014-9392-D2E239D01503} /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2023-07-12 22:43:53,452 824 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-07-12 22:43:53,498 824 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /x {CC5A7664-6BF5-1014-9392-D2E239D01503} /qn /norestart ]. This may take a while, depending on the statements.
|
|
2023-07-12 22:44:59,249 824 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x {CC5A7664-6BF5-1014-9392-D2E239D01503} /qn /norestart ] exited with '0'.
|
|
2023-07-12 22:44:59,295 824 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-07-12 22:44:59,311 824 [INFO ] - 0
|
|
2023-07-12 22:44:59,311 824 [INFO ] - glpi-agent-nightly.install has been uninstalled.
|
|
2023-07-12 22:44:59,326 824 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-07-12 22:44:59,342 824 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-07-12 22:44:59,389 824 [INFO ] - Running auto uninstaller...
|
|
2023-07-12 22:44:59,405 824 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
|
|
2023-07-12 22:45:01,451 824 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{CC5A7664-6BF5-1014-9392-D2E239D01503}' for 'GLPI Agent 1.6 (gitd7f2df82)'
|
|
2023-07-12 22:45:01,467 824 [INFO ] - Skipping auto uninstaller - 'GLPI Agent 1.6 (gitd7f2df82)' appears to have been uninstalled already by other means.
|
|
2023-07-12 22:45:01,482 824 [DEBUG] - Searched for install path 'C:\Program Files\GLPI-Agent\' - found? True
|
|
2023-07-12 22:45:01,482 824 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC5A7664-6BF5-1014-9392-D2E239D01503}' value 'InstallLocation' - found? False
|
|
2023-07-12 22:45:01,499 824 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-07-12 22:45:02,749 824 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-07-12 22:45:02,780 824 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\glpi-agent-nightly.install".
|
|
2023-07-12 22:45:02,858 824 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
|
|
2023-07-12 22:45:02,858 824 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
|
|
2023-07-12 22:45:02,873 824 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\legal'.
|
|
2023-07-12 22:45:02,889 824 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
|
|
2023-07-12 22:45:02,889 824 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
|
|
2023-07-12 22:45:02,905 824 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
|
|
2023-07-12 22:45:02,967 824 [DEBUG] - [NuGet] Removed file 'GLPI-Agent-1.6-gitd7f2df82-x64.msi' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools'.
|
|
2023-07-12 22:45:02,982 824 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nuspec' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
|
|
2023-07-12 22:45:02,982 824 [DEBUG] - [NuGet] Removed file 'glpi-agent-nightly.install.nupkg' to folder 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install'.
|
|
2023-07-12 22:45:02,998 824 [DEBUG] - [NuGet] The directory is not empty.
|
|
|
|
2023-07-12 22:45:02,998 824 [INFO ] - [NuGet] Successfully uninstalled 'glpi-agent-nightly.install 1.6.20230712'.
|
|
2023-07-12 22:45:03,030 824 [INFO ] - glpi-agent-nightly.install has been successfully uninstalled.
|
|
2023-07-12 22:45:03,045 824 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-07-12 22:45:03,045 824 [DEBUG] - Ensuring removal of installation files.
|
|
2023-07-12 22:45:03,061 824 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi.ignore'
|
|
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
|
|
2023-07-12 22:45:03,061 824 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install\tools\GLPI-Agent-1.6-gitd7f2df82-x64.msi.ignore".
|
|
2023-07-12 22:45:03,076 824 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\glpi-agent-nightly.install".
|
|
2023-07-12 22:45:03,092 824 [DEBUG] - Ensuring removal of package cache files.
|
|
2023-07-12 22:45:03,140 824 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-07-12 22:45:03,154 824 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-07-12 22:45:03,201 824 [DEBUG] - Exiting with 0
|