Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 2, 2024 13:29
Show Gist options
  • Save choco-bot/ce29c0f1d4ea70529e0756a8cf8448b4 to your computer and use it in GitHub Desktop.
Save choco-bot/ce29c0f1d4ea70529e0756a8cf8448b4 to your computer and use it in GitHub Desktop.
viber v22.6.0 - Failed - Package Tests Results

viber v22.6.0 - Failed - Package Test Results

  • https://community.chocolatey.org/packages/viber/22.6.0
  • Tested 02 May 2024 13:29:51 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.1.0
  • Install failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
<?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\viber\viber.nupkg" checksum="6F6EC077BC4FF39423479C51B2181AC4" />
<file path="C:\ProgramData\chocolatey\lib\viber\viber.nuspec" checksum="8EF42819D349ADFB8B336B1D405D1004" />
<file path="C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1" checksum="E370EEECA957717B7E1F7161E9C22D9B" />
</files>
</fileSnapshot>
2024-05-02 13:29:01,015 3936 [DEBUG] - XmlConfiguration is now operational
2024-05-02 13:29:01,217 3936 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,217 3936 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,217 3936 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,233 3936 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,233 3936 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,248 3936 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,248 3936 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,248 3936 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,264 3936 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-02 13:29:01,264 3936 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-02 13:29:01,280 3936 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-02 13:29:02,375 3936 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,375 3936 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,391 3936 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,391 3936 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,404 3936 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,404 3936 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,404 3936 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,419 3936 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,419 3936 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,419 3936 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-02 13:29:02,467 3936 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-02 13:29:02,467 3936 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-02 13:29:02,502 3936 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-02 13:29:02,502 3936 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-02 13:29:02,515 3936 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-02 13:29:02,515 3936 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-02 13:29:02,530 3936 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-02 13:29:02,530 3936 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-02 13:29:02,546 3936 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-02 13:29:02,546 3936 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-02 13:29:02,560 3936 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-02 13:29:02,560 3936 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-02 13:29:02,560 3936 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-02 13:29:02,577 3936 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-02 13:29:02,577 3936 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-02 13:29:02,577 3936 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-02 13:29:02,593 3936 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-02 13:29:02,593 3936 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-02 13:29:02,609 3936 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-02 13:29:02,609 3936 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-02 13:29:03,029 3936 [INFO ] - ============================================================
2024-05-02 13:29:03,560 3936 [INFO ] - Chocolatey v2.2.2
2024-05-02 13:29:03,625 3936 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-02 13:29:03,640 3936 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-02 13:29:03,640 3936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-02 13:29:03,685 3936 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install viber --version 22.6.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-02 13:29:03,685 3936 [DEBUG] - Received arguments: install viber --version 22.6.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-02 13:29:03,919 3936 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-02 13:29:03,967 3936 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-02 13:29:04,001 3936 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-02 13:29:04,310 3936 [DEBUG] - Performing validation checks.
2024-05-02 13:29:04,341 3936 [DEBUG] - Global Configuration Validation Checks:
2024-05-02 13:29:04,341 3936 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-02 13:29:04,358 3936 [DEBUG] - System State Validation Checks:
2024-05-02 13:29:04,373 3936 [DEBUG] - Reboot Requirement Checks:
2024-05-02 13:29:04,404 3936 [DEBUG] - - Pending Computer Rename = Checked
2024-05-02 13:29:04,404 3936 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-02 13:29:04,421 3936 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-02 13:29:04,436 3936 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-02 13:29:04,436 3936 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-02 13:29:04,451 3936 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-02 13:29:04,468 3936 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-02 13:29:04,483 3936 [DEBUG] - - Elevated State = Checked
2024-05-02 13:29:04,483 3936 [DEBUG] - - Folder Exists = Checked
2024-05-02 13:29:04,498 3936 [DEBUG] - - Folder lockdown = Checked
2024-05-02 13:29:04,514 3936 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-02 13:29:04,591 3936 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-02 13:29:04,607 3936 [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.
2024-05-02 13:29:04,702 3936 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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='viber'|
Version='22.6.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='viber'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-BGMJ2U7UR1U'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-05-02 13:29:04,702 3936 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-05-02 13:29:04,734 3936 [INFO ] - Installing the following packages:
2024-05-02 13:29:04,748 3936 [INFO ] - viber
2024-05-02 13:29:04,748 3936 [INFO ] - By installing, you accept licenses for the packages.
2024-05-02 13:29:04,779 3936 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-02 13:29:04,779 3936 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-02 13:29:04,795 3936 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-02 13:29:04,795 3936 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-02 13:29:04,811 3936 [DEBUG] - * 'ChocolateyLastPathUpdate'='133591255841606056' ('User')
2024-05-02 13:29:04,811 3936 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-02 13:29:04,826 3936 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-02 13:29:04,826 3936 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-02 13:29:04,826 3936 [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')
2024-05-02 13:29:04,843 3936 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-02 13:29:04,843 3936 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-02 13:29:04,858 3936 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-02 13:29:04,858 3936 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-02 13:29:04,873 3936 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-02 13:29:04,873 3936 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-02 13:29:04,873 3936 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-02 13:29:04,888 3936 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-02 13:29:04,888 3936 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-02 13:29:04,904 3936 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-02 13:29:04,904 3936 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-02 13:29:04,952 3936 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-02 13:29:05,716 3936 [DEBUG] - Running list with the following filter = ''
2024-05-02 13:29:05,732 3936 [DEBUG] - --- Start of List ---
2024-05-02 13:29:05,795 3936 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-02 13:29:06,466 3936 [DEBUG] - chocolatey 2.2.2
2024-05-02 13:29:06,499 3936 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-02 13:29:06,515 3936 [DEBUG] - KB2919355 1.0.20160915
2024-05-02 13:29:06,529 3936 [DEBUG] - KB2919442 1.0.20160915
2024-05-02 13:29:06,529 3936 [DEBUG] - KB2999226 1.0.20181019
2024-05-02 13:29:06,546 3936 [DEBUG] - KB3035131 1.0.3
2024-05-02 13:29:06,592 3936 [DEBUG] - KB3118401 1.0.5
2024-05-02 13:29:06,608 3936 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.16
2024-05-02 13:29:06,608 3936 [DEBUG] - --- End of List ---
2024-05-02 13:29:06,622 3936 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-05-02 13:29:07,624 3936 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-05-02 13:29:08,436 3936 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='viber',Version='22.6.0')
2024-05-02 13:29:08,763 3936 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='viber',Version='22.6.0') 326ms
2024-05-02 13:29:08,982 3936 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-05-02 13:29:09,827 3936 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-05-02 13:29:09,841 3936 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='viber',Version='22.6.0')
2024-05-02 13:29:10,138 3936 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-05-02 13:29:10,154 3936 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-05-02 13:29:10,232 3936 [DEBUG] - Attempting to delete file "".
2024-05-02 13:29:10,311 3936 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/viber/22.6.0
2024-05-02 13:29:10,858 3936 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/viber/22.6.0 524ms
2024-05-02 13:29:10,919 3936 [INFO ] - [NuGet] Acquiring lock for the installation of viber 22.6.0
2024-05-02 13:29:11,013 3936 [INFO ] - [NuGet] Acquired lock for the installation of viber 22.6.0
2024-05-02 13:29:11,529 3936 [INFO ] - [NuGet] Installed viber 22.6.0 from https://community.chocolatey.org/api/v2/ with content hash 7SZB1Lq93B7KgAdz76jV9ncmZtSaJm19KNOzYa6T+iD0YKng+bIx8BEnsFBEJE4Dt68t7vIrlVYD3tn0R/6Fww==.
2024-05-02 13:29:11,608 3936 [INFO ] - [NuGet] Adding package 'viber.22.6.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-02 13:29:11,717 3936 [INFO ] - [NuGet] Added package 'viber.22.6.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-02 13:29:11,733 3936 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\viber/22.6.0\viber.22.6.0.nupkg".
2024-05-02 13:29:11,749 3936 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\viber/22.6.0\.nupkg.metadata".
2024-05-02 13:29:11,763 3936 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\viber/22.6.0\viber.22.6.0.nupkg.sha512".
2024-05-02 13:29:11,763 3936 [INFO ] -
viber v22.6.0 (forced)
2024-05-02 13:29:11,904 3936 [INFO ] - viber package files install completed. Performing other installation steps.
2024-05-02 13:29:11,999 3936 [DEBUG] - Setting installer args for viber
2024-05-02 13:29:12,015 3936 [DEBUG] - Setting package parameters for viber
2024-05-02 13:29:12,015 3936 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1':
2024-05-02 13:29:12,045 3936 [DEBUG] - $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe'
$checksum = 'AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312'
$checksumType = 'sha256'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = $url
checksum = $checksum
checksumType = $checksumType
softwareName = "Viber*"
silentArgs = '/install /quiet /norestart'
validExitCodes = @(0)
destination = $toolsDir
}
Install-ChocolateyPackage @packageArgs
2024-05-02 13:29:12,076 3936 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-05-02 13:29:12,107 3936 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-02 13:29:13,263 3936 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-02 13:29:14,233 3936 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-02 13:29:14,249 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-02 13:29:14,263 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-02 13:29:14,263 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-02 13:29:14,280 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-02 13:29:14,280 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-02 13:29:14,294 3936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-02 13:29:14,294 3936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-02 13:29:14,310 3936 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-02 13:29:14,310 3936 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-02 13:29:14,327 3936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-02 13:29:14,341 3936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-02 13:29:14,341 3936 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-02 13:29:14,357 3936 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-02 13:29:14,357 3936 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-02 13:29:14,373 3936 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-02 13:29:14,388 3936 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-02 13:29:14,388 3936 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-02 13:29:14,403 3936 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-02 13:29:14,420 3936 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-02 13:29:14,420 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-02 13:29:14,436 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-02 13:29:14,436 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-02 13:29:14,452 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-02 13:29:14,452 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-02 13:29:14,467 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-02 13:29:14,484 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-02 13:29:14,484 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-02 13:29:14,501 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-02 13:29:14,501 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-02 13:29:14,513 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-02 13:29:14,513 3936 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-02 13:29:14,529 3936 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-02 13:29:14,529 3936 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-02 13:29:14,547 3936 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-02 13:29:14,561 3936 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-02 13:29:14,561 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-02 13:29:14,576 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-02 13:29:14,576 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-02 13:29:14,592 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-02 13:29:14,607 3936 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-02 13:29:14,607 3936 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-02 13:29:14,623 3936 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-02 13:29:14,638 3936 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-02 13:29:14,654 3936 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-02 13:29:14,654 3936 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-02 13:29:14,669 3936 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-02 13:29:14,669 3936 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-02 13:29:14,685 3936 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-02 13:29:14,685 3936 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-02 13:29:14,702 3936 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-02 13:29:14,763 3936 [DEBUG] - Loading community extensions
2024-05-02 13:29:14,810 3936 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-02 13:29:14,810 3936 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-02 13:29:14,982 3936 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-02 13:29:14,999 3936 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-02 13:29:15,013 3936 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-02 13:29:15,029 3936 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-02 13:29:15,029 3936 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-02 13:29:15,045 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-02 13:29:15,124 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-02 13:29:15,139 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-02 13:29:15,153 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-02 13:29:15,153 3936 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-02 13:29:15,169 3936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-02 13:29:15,169 3936 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-02 13:29:15,185 3936 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-02 13:29:15,185 3936 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-02 13:29:15,201 3936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-02 13:29:15,201 3936 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-02 13:29:15,219 3936 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-02 13:29:15,236 3936 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-02 13:29:15,249 3936 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-02 13:29:15,249 3936 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-02 13:29:15,264 3936 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-02 13:29:15,280 3936 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-02 13:29:15,280 3936 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-02 13:29:15,294 3936 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-02 13:29:15,310 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-02 13:29:15,310 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-02 13:29:15,326 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-02 13:29:15,326 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-02 13:29:15,346 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-02 13:29:15,358 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-02 13:29:15,378 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-02 13:29:15,391 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-02 13:29:15,406 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-02 13:29:15,420 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-02 13:29:15,420 3936 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-02 13:29:15,436 3936 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-02 13:29:15,436 3936 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-02 13:29:15,453 3936 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-02 13:29:15,453 3936 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-02 13:29:15,467 3936 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-02 13:29:15,481 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-02 13:29:15,481 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-02 13:29:15,498 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-02 13:29:15,513 3936 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-02 13:29:15,513 3936 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-02 13:29:15,513 3936 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-02 13:29:15,531 3936 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-02 13:29:15,546 3936 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-02 13:29:15,546 3936 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-02 13:29:15,563 3936 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-02 13:29:15,563 3936 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-02 13:29:15,577 3936 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-02 13:29:15,577 3936 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-02 13:29:15,593 3936 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-02 13:29:15,610 3936 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-02 13:29:15,610 3936 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-02 13:29:15,623 3936 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-02 13:29:15,623 3936 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-02 13:29:15,641 3936 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-02 13:29:15,641 3936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-02 13:29:15,655 3936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-02 13:29:15,669 3936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-02 13:29:15,669 3936 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-02 13:29:15,685 3936 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-02 13:29:15,701 3936 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-02 13:29:15,701 3936 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-02 13:29:15,716 3936 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-02 13:29:15,716 3936 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-02 13:29:15,732 3936 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-02 13:29:15,750 3936 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-02 13:29:15,750 3936 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-02 13:29:15,764 3936 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-02 13:29:15,778 3936 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-02 13:29:15,778 3936 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-02 13:29:15,795 3936 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-02 13:29:15,795 3936 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-02 13:29:15,811 3936 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-02 13:29:15,811 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-02 13:29:15,826 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-02 13:29:15,826 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-02 13:29:15,877 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-02 13:29:15,888 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-02 13:29:15,888 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-02 13:29:15,904 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-02 13:29:15,904 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-02 13:29:15,923 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-02 13:29:15,934 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-02 13:29:15,934 3936 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-02 13:29:15,950 3936 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-02 13:29:15,950 3936 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-02 13:29:15,966 3936 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-02 13:29:15,966 3936 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-02 13:29:15,982 3936 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-02 13:29:16,000 3936 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-02 13:29:16,013 3936 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-02 13:29:16,013 3936 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-02 13:29:16,013 3936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-02 13:29:16,033 3936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-02 13:29:16,044 3936 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-02 13:29:16,044 3936 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-02 13:29:16,067 3936 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-02 13:29:16,067 3936 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-02 13:29:16,079 3936 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-02 13:29:16,095 3936 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-02 13:29:16,095 3936 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-02 13:29:16,107 3936 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-02 13:29:16,124 3936 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-02 13:29:16,124 3936 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-02 13:29:16,138 3936 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-02 13:29:16,138 3936 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-02 13:29:16,326 3936 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-02 13:29:16,375 3936 [DEBUG] - Running 'ChocolateyScriptRunner' for viber v22.6.0 with packageScript 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\viber', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-05-02 13:29:16,466 3936 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1'
2024-05-02 13:29:16,872 3936 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe' -checksum 'AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312' -packageName 'viber' -checksumType 'sha256' -fileType 'exe' -validExitCodes '0' -silentArgs '/install /quiet /norestart'
2024-05-02 13:29:17,123 3936 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'viber' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\viberInstall.exe' -url 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe' -url64bit '' -checksum 'AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2024-05-02 13:29:17,217 3936 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-05-02 13:29:17,279 3936 [DEBUG] - CPU is 64 bit
2024-05-02 13:29:17,453 3936 [DEBUG] - Running Get-WebFileName -url 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe' -defaultName 'viberInstall.exe'
2024-05-02 13:29:18,325 3936 [DEBUG] - Using response url to determine file name. 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe'
2024-05-02 13:29:18,375 3936 [DEBUG] - File name determined from url is 'ViberSetup.exe'
2024-05-02 13:29:18,467 3936 [DEBUG] - Running Get-WebHeaders -url 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe' -ErrorAction 'Stop'
2024-05-02 13:29:18,497 3936 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-02 13:29:18,497 3936 [DEBUG] - Request Headers:
2024-05-02 13:29:18,560 3936 [DEBUG] - 'Accept':'*/*'
2024-05-02 13:29:18,575 3936 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-05-02 13:29:18,671 3936 [DEBUG] - Response Headers:
2024-05-02 13:29:18,701 3936 [DEBUG] - 'Connection':'keep-alive'
2024-05-02 13:29:18,718 3936 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2024-05-02 13:29:18,718 3936 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2024-05-02 13:29:18,737 3936 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
2024-05-02 13:29:18,751 3936 [DEBUG] - 'X-Amz-Cf-Id':'D9n5UJBXgHaWbm4SctjmqU7HTnklT8GZOH1MfeHxSYStLy84le6CjA=='
2024-05-02 13:29:18,763 3936 [DEBUG] - 'Age':'9018'
2024-05-02 13:29:18,779 3936 [DEBUG] - 'Accept-Ranges':'bytes'
2024-05-02 13:29:18,779 3936 [DEBUG] - 'Content-Length':'149106920'
2024-05-02 13:29:18,795 3936 [DEBUG] - 'Content-Type':'text/plain'
2024-05-02 13:29:18,795 3936 [DEBUG] - 'Date':'Thu, 02 May 2024 10:59:01 GMT'
2024-05-02 13:29:18,810 3936 [DEBUG] - 'ETag':'"b172848a5d555d6a0d5145ee793a3290"'
2024-05-02 13:29:18,825 3936 [DEBUG] - 'Last-Modified':'Thu, 02 May 2024 10:48:19 GMT'
2024-05-02 13:29:18,825 3936 [DEBUG] - 'Server':'AmazonS3'
2024-05-02 13:29:18,842 3936 [DEBUG] - 'Via':'1.1 d9bc1f330c3221bbb9a5d1d86ca6f1da.cloudfront.net (CloudFront)'
2024-05-02 13:29:18,919 3936 [INFO ] - Downloading viber
from 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe'
2024-05-02 13:29:19,013 3936 [DEBUG] - Running Get-WebFile -url 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe' -options 'System.Collections.Hashtable'
2024-05-02 13:29:19,054 3936 [DEBUG] - Setting request timeout to 30000
2024-05-02 13:29:19,122 3936 [DEBUG] - Setting read/write timeout to 2700000
2024-05-02 13:29:19,122 3936 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-02 13:29:19,435 3936 [WARN ] - WARNING: C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe is of content type text/plain
2024-05-02 13:29:20,013 3936 [DEBUG] - Downloading https://download.cdn.viber.com/desktop/windows/ViberSetup.exe to C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe
2024-05-02 13:29:41,185 3936 [INFO ] -
2024-05-02 13:29:41,200 3936 [INFO ] - Download of ViberSetup.exe (142.2 MB) completed.
2024-05-02 13:29:44,342 3936 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-05-02 13:29:44,372 3936 [DEBUG] - Verifying package provided checksum of 'AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe'.
2024-05-02 13:29:44,434 3936 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe' -checksum 'AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312' -checksumType 'sha256' -originalUrl 'https://download.cdn.viber.com/desktop/windows/ViberSetup.exe'
2024-05-02 13:29:44,484 3936 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-05-02 13:29:44,498 3936 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe"]
2024-05-02 13:29:47,169 3936 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="AD957DD267EC71B9996BEC7F2F8053D11C30478F23CAFB212FCD9527398E5312" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe"] exited with '0'.
2024-05-02 13:29:47,326 3936 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'viber' -fileType 'exe' -silentArgs '/install /quiet /norestart' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2024-05-02 13:29:47,341 3936 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-05-02 13:29:47,356 3936 [INFO ] - Installing viber...
2024-05-02 13:29:47,591 3936 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0' -statements '/install /quiet /norestart ' -exeToRun 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe'
2024-05-02 13:29:47,766 3936 [DEBUG] - Test-ProcessAdminRights: returning True
2024-05-02 13:29:47,825 3936 [DEBUG] - Elevating permissions and running ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe" /install /quiet /norestart ]. This may take a while, depending on the statements.
2024-05-02 13:29:48,013 3936 [ERROR] - ERROR: The file was a text file but is attempting to be run as an executable - 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\viber\22.6.0\ViberSetup.exe'
at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 198
at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 367
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 423
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1: line 19
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2024-05-02 13:29:48,029 3936 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '4'.
2024-05-02 13:29:48,045 3936 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-02 13:29:48,231 3936 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-02 13:29:48,466 3936 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\viber'
2024-05-02 13:29:48,481 3936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\viber\viber.nupkg'
with checksum '6F6EC077BC4FF39423479C51B2181AC4'
2024-05-02 13:29:48,481 3936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\viber\viber.nuspec'
with checksum '8EF42819D349ADFB8B336B1D405D1004'
2024-05-02 13:29:48,498 3936 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1'
with checksum 'E370EEECA957717B7E1F7161E9C22D9B'
2024-05-02 13:29:48,545 3936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0".
2024-05-02 13:29:48,590 3936 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0\.files'
2024-05-02 13:29:48,606 3936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0\.arguments".
2024-05-02 13:29:48,622 3936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0\.extra".
2024-05-02 13:29:48,639 3936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0\.version".
2024-05-02 13:29:48,639 3936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0\.sxs".
2024-05-02 13:29:48,655 3936 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\viber.22.6.0\.pin".
2024-05-02 13:29:48,669 3936 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-02 13:29:48,669 3936 [ERROR] - The install of viber was NOT successful.
2024-05-02 13:29:48,684 3936 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1'.
See log for details.
2024-05-02 13:29:48,701 3936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-05-02 13:29:48,717 3936 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\viber".
2024-05-02 13:29:48,717 3936 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\viber to C:\ProgramData\chocolatey\lib-bad\viber\22.6.0
2024-05-02 13:29:48,748 3936 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\viber'
to 'C:\ProgramData\chocolatey\lib-bad\viber\22.6.0'
2024-05-02 13:29:50,825 3936 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-02 13:29:50,825 3936 [INFO ] -
2024-05-02 13:29:50,841 3936 [ERROR] - Failures
2024-05-02 13:29:50,841 3936 [ERROR] - - viber (exited 4) - Error while running 'C:\ProgramData\chocolatey\lib\viber\tools\chocolateyInstall.ps1'.
See log for details.
2024-05-02 13:29:50,857 3936 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2024-05-02 13:29:50,873 3936 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-02 13:29:50,888 3936 [DEBUG] - Exiting with 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment