Package installation fails when exitOnRebootDetected feature is enabled
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
### What You Are Seeing?
When the feature for `exitOnRebootDetected` is enabled, any attempt to install the vagrant package results in an error being thrown, the pending package installation is removed, and vagrant is left installed on the system, but not within Chocolatey itself.
When the exitOnRebootDetected feature is disabled, attempting to install vagrant results in the following:

When the exitOnRebootDetected feature is enabled, attempting to install vagrant results in the following:

NOTE: Issuing a `choco list -lo` after the command has exited results in the pending package installation being removed, and the vagrant package not being listed.
When you attempt a reboot of the machine, and attempt the installation again, results in the following:

Even though vagrant is installed, and available at the command line:

### What is Expected?
The vagrant package, and underlying application, should install correctly, and then report that a pending reboot was detected after the successful installation of the package. The messages shown from Chocolatey should accurately reflect "what" happened.
### How Did You Get This To Happen? (Steps to Reproduce)
1. Open the local Chocolatey Test Environment (either reverting to a clean snapshot, or from a fresh vagrant up)
1. Enable the ExitOnRebootDetected feature (`choco feature enable --name=exitOnRebootDetected`)
1. Install vagrant (`choco install vagrant -y`)
### Output Log
Full Log Output
The output shown here is from running the command `choco install vagrant -y --debug --verbose` after enabling the exitOnRebootDetected feature
~~~sh
2019-10-02 12:05:08,699 1808 [DEBUG] - XmlConfiguration is now operational
2019-10-02 12:05:08,761 1808 [INFO ] - ============================================================
2019-10-02 12:05:08,933 1808 [INFO ] - Chocolatey v0.10.15
2019-10-02 12:05:08,933 1808 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-10-02 12:05:08,949 1808 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-10-02 12:05:08,949 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-10-02 12:05:08,949 1808 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install vagrant -y --debug --verbose
2019-10-02 12:05:08,949 1808 [DEBUG] - Received arguments: install vagrant -y --debug --verbose
2019-10-02 12:05:08,996 1808 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-10-02 12:05:08,996 1808 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-10-02 12:05:09,011 1808 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-10-02 12:05:09,058 1808 [DEBUG] - Performing validation checks.
2019-10-02 12:05:09,058 1808 [DEBUG] - Global Configuration Validation Checks:
2019-10-02 12:05:09,058 1808 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-10-02 12:05:09,058 1808 [DEBUG] - System State Validation Checks:
2019-10-02 12:05:09,074 1808 [DEBUG] - Reboot Requirement Checks:
2019-10-02 12:05:09,074 1808 [DEBUG] - - Pending Computer Rename = Checked
2019-10-02 12:05:09,074 1808 [DEBUG] - - Pending Component Based Servicing = Checked
2019-10-02 12:05:09,074 1808 [DEBUG] - - Pending Windows Auto Update = Checked
2019-10-02 12:05:09,074 1808 [DEBUG] - - Pending File Rename Operations = Ignored
2019-10-02 12:05:09,074 1808 [DEBUG] - - Pending Windows Package Installer = Checked
2019-10-02 12:05:09,074 1808 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-10-02 12:05:09,074 1808 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-10-02 12:05:09,074 1808 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-10-02 12:05:09,089 1808 [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.
2019-10-02 12:05:09,089 1808 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\1\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://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'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='vagrant'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='vagrant'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='False'|Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\Administrator'|
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='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='True'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
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'|Proxy.BypassOnLocal='True'|
2019-10-02 12:05:09,105 1808 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-10-02 12:05:09,105 1808 [INFO ] - Installing the following packages:
2019-10-02 12:05:09,121 1808 [INFO ] - vagrant
2019-10-02 12:05:09,121 1808 [INFO ] - By installing you accept licenses for the packages.
2019-10-02 12:05:09,121 1808 [DEBUG] - Current environment values (may contain sensitive data):
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'ChocolateyLastPathUpdate'='132138788169699583' ('User')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'trigger'='1' ('User')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-10-02 12:05:09,121 1808 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 10, GenuineIntel' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'PROCESSOR_REVISION'='9e0a' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-10-02 12:05:09,136 1808 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-10-02 12:05:09,214 1808 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2019-10-02 12:05:09,621 1808 [DEBUG] - - Supports prereleases? 'True'.
2019-10-02 12:05:09,621 1808 [DEBUG] - - Is ServiceBased? 'True'.
2019-10-02 12:05:09,808 1808 [DEBUG] - Package 'vagrant' found on source 'https://chocolatey.org/api/v2/'
2019-10-02 12:05:10,621 1808 [INFO ] - [NuGet] Installing 'vagrant 2.2.5'.
2019-10-02 12:05:10,636 1808 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'vagrant\tools'.
2019-10-02 12:05:10,636 1808 [DEBUG] - [NuGet] Added file 'vagrant.nupkg' to folder 'vagrant'.
2019-10-02 12:05:10,886 1808 [DEBUG] - [NuGet] Added file 'vagrant.nuspec' to folder 'vagrant'.
2019-10-02 12:05:10,902 1808 [INFO ] - [NuGet] Successfully installed 'vagrant 2.2.5'.
2019-10-02 12:05:10,902 1808 [INFO ] -
vagrant v2.2.5 [Approved]
2019-10-02 12:05:10,918 1808 [INFO ] - vagrant package files install completed. Performing other installation steps.
2019-10-02 12:05:10,980 1808 [DEBUG] - Setting installer args for vagrant
2019-10-02 12:05:10,980 1808 [DEBUG] - Setting package parameters for vagrant
2019-10-02 12:05:10,980 1808 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\vagrant\tools\chocolateyinstall.ps1':
2019-10-02 12:05:10,996 1808 [DEBUG] - $ErrorActionPreference = 'Stop'
$packageArgs = @{
packageName = 'vagrant'
fileType = 'msi'
url = 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_i686.msi'
url64bit = 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi'
checksum = '7cb6b2c1bf4c74b1b95d662e4c6c7dd2b7fbbefa0661b12f94b61eca3d80ec7d'
checksum64 = '8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = "/qn /norestart"
validExitCodes = @(0, 3010, 1641)
softwareName = 'vagrant'
}
Install-ChocolateyPackage @packageArgs
Update-SessionEnvironment
$ErrorActionPreference = 'Continue' #https://github.com/chocolatey/chocolatey-coreteampackages/issues/1099
vagrant plugin repair #https://github.com/chocolatey/chocolatey-coreteampackages/issues/1024
if ($LastExitCode -ne 0) { #https://github.com/chocolatey/chocolatey-coreteampackages/issues/1099
Write-Host "WARNING: Plugin repair failed, run 'vagrant plugin expunge --reinstall' after rebooting."
}
$LastExitCode = 0
2019-10-02 12:05:11,043 1808 [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\vagrant\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-10-02 12:05:11,043 1808 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-10-02 12:05:11,277 1808 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-02 12:05:11,387 1808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-02 12:05:11,402 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-02 12:05:11,418 1808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-02 12:05:11,433 1808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-02 12:05:11,449 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-02 12:05:11,465 1808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-02 12:05:11,480 1808 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-02 12:05:11,496 1808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-02 12:05:11,512 1808 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-02 12:05:11,527 1808 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-02 12:05:11,558 1808 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-02 12:05:11,574 1808 [DEBUG] - Running 'ChocolateyScriptRunner' for vagrant v2.2.5 with packageScript 'C:\ProgramData\chocolatey\lib\vagrant\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\vagrant', installArguments: '', packageParameters: '',
2019-10-02 12:05:11,574 1808 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\vagrant\tools\chocolateyinstall.ps1'
2019-10-02 12:05:11,652 1808 [DEBUG] - Running Install-ChocolateyPackage -url 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_i686.msi' -url64bit 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi' -checksum '7cb6b2c1bf4c74b1b95d662e4c6c7dd2b7fbbefa0661b12f94b61eca3d80ec7d' -checksum64 '8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659' -silentArgs '/qn /norestart' -packageName 'vagrant' -checksumType 'sha256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'sha256'
2019-10-02 12:05:11,730 1808 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'vagrant' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrantInstall.msi' -url 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_i686.msi' -url64bit 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi' -checksum '7cb6b2c1bf4c74b1b95d662e4c6c7dd2b7fbbefa0661b12f94b61eca3d80ec7d' -checksumType 'sha256' -checksum64 '8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-10-02 12:05:11,730 1808 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-02 12:05:11,746 1808 [DEBUG] - CPU is 64 bit
2019-10-02 12:05:11,762 1808 [DEBUG] - Setting url to 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi' and bitPackage to 64
2019-10-02 12:05:11,777 1808 [DEBUG] - Running Get-WebFileName -url 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi' -defaultName 'vagrantInstall.msi'
2019-10-02 12:05:12,277 1808 [DEBUG] - Using response url to determine file name. 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi'
2019-10-02 12:05:12,293 1808 [DEBUG] - File name determined from url is 'vagrant_2.2.5_x86_64.msi'
2019-10-02 12:05:12,308 1808 [DEBUG] - Running Get-WebHeaders -url 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi' -ErrorAction 'Stop'
2019-10-02 12:05:12,308 1808 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-02 12:05:12,308 1808 [DEBUG] - Request Headers:
2019-10-02 12:05:12,308 1808 [DEBUG] - 'Accept':'*/*'
2019-10-02 12:05:12,324 1808 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-02 12:05:12,418 1808 [DEBUG] - Response Headers:
2019-10-02 12:05:12,418 1808 [DEBUG] - 'Content-Disposition':'attachment'
2019-10-02 12:05:12,418 1808 [DEBUG] - 'Strict-Transport-Security':'max-age=31536000; includeSubDomains; preload'
2019-10-02 12:05:12,418 1808 [DEBUG] - 'X-XSS-Protection':'1; mode=block'
2019-10-02 12:05:12,418 1808 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2019-10-02 12:05:12,418 1808 [DEBUG] - 'X-Frame-Options':'sameorigin'
2019-10-02 12:05:12,418 1808 [DEBUG] - 'Age':'3640166'
2019-10-02 12:05:12,418 1808 [DEBUG] - 'Accept-Ranges':'bytes,bytes'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'Content-Length':'218853376'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'Cache-Control':'max-age=31536000, stale-white-revalidate=86400, stale-if-error=604800, public'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'Content-Type':'application/x-msi'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'ETag':'"ee79b64de5f492d43c4f2c3d26083f56"'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'Last-Modified':'Thu, 27 Jun 2019 16:00:02 GMT'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'Date':'Wed, 02 Oct 2019 12:05:12 GMT'
2019-10-02 12:05:12,433 1808 [DEBUG] - 'Connection':'keep-alive'
2019-10-02 12:05:12,449 1808 [INFO ] - Downloading vagrant 64 bit
from 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi'
2019-10-02 12:05:12,449 1808 [INFO ] -
2019-10-02 12:05:12,480 1808 [DEBUG] - Running Get-WebFile -url 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi' -options 'System.Collections.Hashtable'
2019-10-02 12:05:12,480 1808 [DEBUG] - Setting request timeout to 30000
2019-10-02 12:05:12,480 1808 [DEBUG] - Setting read/write timeout to 2700000
2019-10-02 12:05:12,480 1808 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-02 12:05:12,683 1808 [DEBUG] - Downloading https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi to C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi
2019-10-02 12:07:20,270 1808 [INFO ] -
2019-10-02 12:07:20,285 1808 [INFO ] - Download of vagrant_2.2.5_x86_64.msi (208.71 MB) completed.
2019-10-02 12:07:20,285 1808 [INFO ] -
2019-10-02 12:07:23,302 1808 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-02 12:07:23,302 1808 [DEBUG] - Verifying package provided checksum of '8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659' for 'C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi'.
2019-10-02 12:07:23,302 1808 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi' -checksum '8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659' -checksumType 'sha256' -originalUrl 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi'
2019-10-02 12:07:23,317 1808 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-02 12:07:23,317 1808 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi"]
2019-10-02 12:07:24,426 1808 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="8716bec78764f122354d0274448bab9124629c57e226f021e65bf7041cd8c659" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi"] exited with '0'.
2019-10-02 12:07:24,458 1808 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'vagrant' -fileType 'msi' -silentArgs '/qn /norestart' -file 'C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2019-10-02 12:07:24,473 1808 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-02 12:07:24,473 1808 [INFO ] - Installing vagrant...
2019-10-02 12:07:24,473 1808 [INFO ] -
2019-10-02 12:07:24,504 1808 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi" /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-10-02 12:07:24,520 1808 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-02 12:07:24,536 1808 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-02 12:07:24,536 1808 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi" /qn /norestart ]. This may take a while, depending on the statements.
2019-10-02 12:08:14,335 1808 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\1\chocolatey\vagrant\2.2.5\vagrant_2.2.5_x86_64.msi" /qn /norestart ] exited with '3010'.
2019-10-02 12:08:14,350 1808 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-10-02 12:08:14,350 1808 [INFO ] - vagrant has been installed.
2019-10-02 12:08:14,350 1808 [INFO ] -
2019-10-02 12:08:14,350 1808 [DEBUG] - Running Update-SessionEnvironment
2019-10-02 12:08:14,350 1808 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2019-10-02 12:08:16,112 1808 [INFO ] - Repairing currently installed global plugins. This may take a few minutes...
2019-10-02 12:08:16,112 1808 [INFO ] - Installed plugins successfully repaired!
2019-10-02 12:08:16,151 1808 [DEBUG] - ----------------------------------------------------------------------
2019-10-02 12:08:16,167 1808 [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\vagrant\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '3010'.
2019-10-02 12:08:16,182 1808 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-02 12:08:16,198 1808 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-02 12:08:16,213 1808 [INFO ] - vagrant may be able to be automatically uninstalled.
2019-10-02 12:08:16,213 1808 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2019-10-02 12:08:16,213 1808 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2019-10-02 12:08:16,213 1808 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;C:\HashiCorp\Vagrant\bin' (Machine)
2019-10-02 12:08:16,276 1808 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\vagrant'
2019-10-02 12:08:16,276 1808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vagrant\vagrant.nupkg'
with checksum 'CEFD5E1D8D88985B9E1F68F96CFA4712'
2019-10-02 12:08:16,276 1808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vagrant\vagrant.nuspec'
with checksum '724F88105A1B67BE01043C2BDC5D4A99'
2019-10-02 12:08:16,276 1808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\vagrant\tools\chocolateyinstall.ps1'
with checksum '73E691DEBF05A84E2830927BDEFEA434'
2019-10-02 12:08:16,307 1808 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey".
2019-10-02 12:08:16,307 1808 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-10-02 12:08:16,323 1808 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5".
2019-10-02 12:08:16,338 1808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.registry'
2019-10-02 12:08:16,338 1808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.files'
2019-10-02 12:08:16,338 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.extra".
2019-10-02 12:08:16,338 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.version".
2019-10-02 12:08:16,338 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.sxs".
2019-10-02 12:08:16,354 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.pin".
2019-10-02 12:08:16,354 1808 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-02 12:08:16,354 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\vagrant\.chocolateyPending".
2019-10-02 12:08:16,354 1808 [WARN ] - Chocolatey has detected a pending reboot after installing/upgrading
package 'vagrant' - stopping further execution
2019-10-02 12:08:16,354 1808 [ERROR] - vagrant not installed. An error occurred during installation:
Reboot required before continuing. Reboot and run same command again.
2019-10-02 12:08:16,354 1808 [INFO ] - vagrant package files install completed. Performing other installation steps.
2019-10-02 12:08:16,385 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.arguments".
2019-10-02 12:08:16,385 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.extra".
2019-10-02 12:08:16,385 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.version".
2019-10-02 12:08:16,385 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.sxs".
2019-10-02 12:08:16,385 1808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\vagrant.2.2.5\.pin".
2019-10-02 12:08:16,385 1808 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-02 12:08:16,385 1808 [WARN ] - Chocolatey has detected a pending reboot after installing/upgrading
package 'vagrant' - stopping further execution
2019-10-02 12:08:16,401 1808 [WARN ] -
Chocolatey installed 0/0 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-10-02 12:08:16,401 1808 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-10-02 12:08:16,417 1808 [ERROR] - Chocolatey had an error occur:
System.ApplicationException: Reboot required before continuing. Reboot and run same command again.
at chocolatey.infrastructure.app.services.ChocolateyPackageService.handle_package_result(PackageResult packageResult, ChocolateyConfiguration config, CommandNameType commandName)
at chocolatey.infrastructure.app.services.NugetService.install_run(ChocolateyConfiguration config, Action`1 continueAction)
at chocolatey.infrastructure.app.services.ChocolateyPackageService.perform_source_runner_function[T](ChocolateyConfiguration config, Func`2 function)
at chocolatey.infrastructure.app.services.ChocolateyPackageService.install_run(ChocolateyConfiguration config)
at chocolatey.infrastructure.app.runners.GenericRunner.run(ChocolateyConfiguration config, Container container, Boolean isConsole, Action`1 parseArgs)
at chocolatey.infrastructure.app.runners.ConsoleApplication.run(String[] args, ChocolateyConfiguration config, Container container)
at chocolatey.console.Program.Main(String[] args)
2019-10-02 12:08:16,432 1808 [DEBUG] - Exiting with 1604
~~~
Contributor guide
Assessment
This issue has not been assessed yet.