Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
yarn v1.22.4 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="Yarn" displayVersion="1.22.4">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{90B8B1E5-1A8B-4429-8CE8-0E24A0E7810B}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{90B8B1E5-1A8B-4429-8CE8-0E24A0E7810B}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Yarn Contributors]]></Publisher>
<InstallDate>20200412</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\]]></InstallSource>
<Language>1033</Language>
<Version>18219012</Version>
<VersionMajor>1</VersionMajor>
<VersionMinor>22</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\43383.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

yarn v1.22.4 - Passed - Package Test Results

  • https://chocolatey.org/packages/yarn/1.22.4
  • Tested 12 Apr 2020 22:46:50 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-38-g3187e94
  • Install was successful.
  • Uninstall was successful.
<?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\yarn\yarn.nupkg" checksum="B928E95C0D35EF2B6F0BA2C9546801C9" />
<file path="C:\ProgramData\chocolatey\lib\yarn\yarn.nuspec" checksum="E88104DADE6EDCDA44D1C4E0149C0E12" />
<file path="C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1" checksum="F581DB4EE4171FA3918F3F6DAFCC77E5" />
</files>
</fileSnapshot>
2020-04-12 22:44:49,394 1196 [DEBUG] - XmlConfiguration is now operational
2020-04-12 22:44:49,628 1196 [INFO ] - ============================================================
2020-04-12 22:44:50,472 1196 [INFO ] - Chocolatey v0.10.15
2020-04-12 22:44:50,519 1196 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-04-12 22:44:50,519 1196 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-04-12 22:44:50,534 1196 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-04-12 22:44:50,565 1196 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install yarn --version 1.22.4 -fdvy --execution-timeout=2700 --allow-downgrade
2020-04-12 22:44:50,565 1196 [DEBUG] - Received arguments: install yarn --version 1.22.4 -fdvy --execution-timeout=2700 --allow-downgrade
2020-04-12 22:44:50,737 1196 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-04-12 22:44:50,754 1196 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-04-12 22:44:50,784 1196 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-04-12 22:44:50,941 1196 [DEBUG] - Performing validation checks.
2020-04-12 22:44:50,972 1196 [DEBUG] - Global Configuration Validation Checks:
2020-04-12 22:44:50,972 1196 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-04-12 22:44:50,972 1196 [DEBUG] - System State Validation Checks:
2020-04-12 22:44:50,987 1196 [DEBUG] - Reboot Requirement Checks:
2020-04-12 22:44:51,003 1196 [DEBUG] - - Pending Computer Rename = Checked
2020-04-12 22:44:51,003 1196 [DEBUG] - - Pending Component Based Servicing = Checked
2020-04-12 22:44:51,019 1196 [DEBUG] - - Pending Windows Auto Update = Checked
2020-04-12 22:44:51,019 1196 [DEBUG] - - Pending File Rename Operations = Checked
2020-04-12 22:44:51,019 1196 [DEBUG] - - Pending Windows Package Installer = Checked
2020-04-12 22:44:51,034 1196 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-04-12 22:44:51,050 1196 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-04-12 22:44:51,065 1196 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-04-12 22:44:51,081 1196 [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.
2020-04-12 22:44:51,143 1196 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='yarn'|Version='1.22.4'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='yarn'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
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='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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'|
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'|
2020-04-12 22:44:51,143 1196 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-04-12 22:44:51,159 1196 [INFO ] - Installing the following packages:
2020-04-12 22:44:51,175 1196 [INFO ] - yarn
2020-04-12 22:44:51,175 1196 [INFO ] - By installing you accept licenses for the packages.
2020-04-12 22:44:51,191 1196 [DEBUG] - Current environment values (may contain sensitive data):
2020-04-12 22:44:51,206 1196 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-12 22:44:51,206 1196 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-12 22:44:51,206 1196 [DEBUG] - * 'ChocolateyLastPathUpdate'='132311538033113119' ('User')
2020-04-12 22:44:51,206 1196 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-04-12 22:44:51,222 1196 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-04-12 22:44:51,222 1196 [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')
2020-04-12 22:44:51,222 1196 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-04-12 22:44:51,222 1196 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-04-12 22:44:51,237 1196 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-04-12 22:44:51,237 1196 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-04-12 22:44:51,237 1196 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-04-12 22:44:51,237 1196 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-04-12 22:44:51,237 1196 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-04-12 22:44:51,253 1196 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-04-12 22:44:51,253 1196 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-04-12 22:44:51,253 1196 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-04-12 22:44:51,253 1196 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-04-12 22:44:51,269 1196 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-04-12 22:44:51,269 1196 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-04-12 22:44:51,269 1196 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-04-12 22:44:55,862 1196 [INFO ] - [NuGet] Installing 'yarn 1.22.4'.
2020-04-12 22:44:55,894 1196 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'yarn\tools'.
2020-04-12 22:44:55,925 1196 [DEBUG] - [NuGet] Added file 'yarn.nupkg' to folder 'yarn'.
2020-04-12 22:44:56,315 1196 [DEBUG] - [NuGet] Added file 'yarn.nuspec' to folder 'yarn'.
2020-04-12 22:44:56,315 1196 [INFO ] - [NuGet] Successfully installed 'yarn 1.22.4'.
2020-04-12 22:44:56,331 1196 [INFO ] -
yarn v1.22.4 (forced)
2020-04-12 22:44:56,378 1196 [INFO ] - yarn package files install completed. Performing other installation steps.
2020-04-12 22:44:56,581 1196 [DEBUG] - Setting installer args for yarn
2020-04-12 22:44:56,581 1196 [DEBUG] - Setting package parameters for yarn
2020-04-12 22:44:56,597 1196 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1':
2020-04-12 22:44:56,628 1196 [DEBUG] - $ErrorActionPreference = 'Stop'; # stop on all errors
$packageName = 'yarn'
$packageArgs = @{
packageName = $packageName
softwareName = 'Yarn*'
fileType = 'msi'
silentArgs = "/qn /norestart"
validExitCodes = @(0, 3010, 1641)
checksumType = 'sha256'
url = 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi'
checksum = '6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB'
}
Install-ChocolateyPackage @packageArgs
# Update Yarn's package.json file so it can tell that it was installed via Chocolatey.
if (Test-Path "${env:ProgramFiles(x86)}\Yarn\package.json") {
$path = "${env:ProgramFiles(x86)}\Yarn\package.json"
} else {
$path = "$env:ProgramFiles\Yarn\package.json"
}
$script = @"
(Get-Content -Path '$path') ``
-replace 'installationMethod":.+', 'installationMethod": "choco",' ``
| Set-Content '$path'
"@
Start-ChocolateyProcessAsAdmin -Statements $script
if (-Not (Get-Command "node" -errorAction SilentlyContinue)) {
Write-Host "Yarn requires NodeJS to be installed. To install, use either of the commands below:"
Write-Host "choco install nodejs"
Write-Host "choco install nodejs-lts"
}
2020-04-12 22:44:56,784 1196 [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\yarn\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2020-04-12 22:44:56,800 1196 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-04-12 22:44:57,847 1196 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-04-12 22:44:58,237 1196 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-12 22:44:58,237 1196 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-12 22:44:58,253 1196 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-12 22:44:58,253 1196 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-12 22:44:58,253 1196 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-12 22:44:58,253 1196 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-12 22:44:58,268 1196 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-12 22:44:58,268 1196 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-12 22:44:58,268 1196 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-12 22:44:58,284 1196 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-12 22:44:58,284 1196 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-12 22:44:58,284 1196 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-12 22:44:58,284 1196 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-12 22:44:58,300 1196 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-12 22:44:58,300 1196 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-12 22:44:58,300 1196 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-12 22:44:58,300 1196 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-12 22:44:58,315 1196 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-12 22:44:58,315 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-12 22:44:58,315 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-12 22:44:58,315 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-12 22:44:58,331 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-12 22:44:58,331 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-12 22:44:58,331 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-12 22:44:58,331 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-12 22:44:58,347 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-12 22:44:58,347 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-12 22:44:58,347 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-12 22:44:58,347 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-12 22:44:58,362 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-12 22:44:58,362 1196 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-12 22:44:58,362 1196 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-12 22:44:58,362 1196 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-12 22:44:58,378 1196 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-12 22:44:58,378 1196 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-12 22:44:58,378 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-12 22:44:58,394 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-12 22:44:58,394 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-12 22:44:58,394 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-12 22:44:58,394 1196 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-12 22:44:58,409 1196 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-12 22:44:58,409 1196 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-12 22:44:58,409 1196 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-12 22:44:58,425 1196 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-12 22:44:58,425 1196 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-12 22:44:58,425 1196 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-12 22:44:58,425 1196 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-12 22:44:58,440 1196 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-12 22:44:58,440 1196 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-12 22:44:58,440 1196 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-12 22:44:58,456 1196 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-12 22:44:58,456 1196 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-12 22:44:58,456 1196 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-12 22:44:58,503 1196 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-12 22:44:58,503 1196 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-12 22:44:58,503 1196 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-12 22:44:58,503 1196 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-12 22:44:58,519 1196 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-12 22:44:58,519 1196 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-12 22:44:58,519 1196 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-12 22:44:58,519 1196 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-12 22:44:58,534 1196 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-12 22:44:58,534 1196 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-12 22:44:58,534 1196 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-12 22:44:58,550 1196 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-12 22:44:58,550 1196 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-12 22:44:58,550 1196 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-12 22:44:58,550 1196 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-12 22:44:58,565 1196 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-12 22:44:58,565 1196 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-12 22:44:58,565 1196 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-12 22:44:58,581 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-12 22:44:58,581 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-12 22:44:58,581 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-12 22:44:58,581 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-12 22:44:58,597 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-12 22:44:58,597 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-12 22:44:58,597 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-12 22:44:58,612 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-12 22:44:58,612 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-12 22:44:58,612 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-12 22:44:58,628 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-12 22:44:58,628 1196 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-12 22:44:58,628 1196 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-12 22:44:58,628 1196 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-12 22:44:58,644 1196 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-12 22:44:58,644 1196 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-12 22:44:58,644 1196 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-12 22:44:58,644 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-12 22:44:58,659 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-12 22:44:58,659 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-12 22:44:58,659 1196 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-12 22:44:58,675 1196 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-12 22:44:58,675 1196 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-12 22:44:58,675 1196 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-12 22:44:58,675 1196 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-12 22:44:58,690 1196 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-12 22:44:58,690 1196 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-12 22:44:58,690 1196 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-12 22:44:58,690 1196 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-12 22:44:58,706 1196 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-12 22:44:58,706 1196 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-12 22:44:58,706 1196 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-12 22:44:58,722 1196 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-12 22:44:58,722 1196 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-12 22:44:58,722 1196 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-12 22:44:58,722 1196 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-04-12 22:44:58,737 1196 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-04-12 22:44:58,737 1196 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-04-12 22:44:58,737 1196 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-04-12 22:44:58,753 1196 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-04-12 22:44:58,753 1196 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-04-12 22:44:58,753 1196 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-04-12 22:44:58,753 1196 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-04-12 22:44:58,769 1196 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-04-12 22:44:58,769 1196 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-04-12 22:44:58,769 1196 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-04-12 22:44:58,769 1196 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-04-12 22:44:58,784 1196 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-04-12 22:44:58,784 1196 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-04-12 22:44:58,784 1196 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-04-12 22:44:58,800 1196 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-04-12 22:44:58,800 1196 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-04-12 22:44:58,800 1196 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-04-12 22:44:58,800 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-04-12 22:44:58,815 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-04-12 22:44:58,815 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-04-12 22:44:58,815 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-04-12 22:44:58,831 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-04-12 22:44:58,831 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-04-12 22:44:58,831 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-04-12 22:44:58,831 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-12 22:44:58,847 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-04-12 22:44:58,847 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-04-12 22:44:58,847 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-04-12 22:44:58,847 1196 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-04-12 22:44:58,862 1196 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-04-12 22:44:58,862 1196 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-04-12 22:44:58,862 1196 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-04-12 22:44:58,878 1196 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-04-12 22:44:58,878 1196 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-04-12 22:44:58,878 1196 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-04-12 22:44:58,878 1196 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-12 22:44:58,893 1196 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-04-12 22:44:58,893 1196 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-04-12 22:44:58,893 1196 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-04-12 22:44:58,893 1196 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-04-12 22:44:58,909 1196 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-04-12 22:44:58,909 1196 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-04-12 22:44:58,909 1196 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-04-12 22:44:58,909 1196 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-04-12 22:44:58,925 1196 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-04-12 22:44:58,925 1196 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-04-12 22:44:58,925 1196 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-04-12 22:44:58,925 1196 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-04-12 22:44:58,940 1196 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-04-12 22:44:58,940 1196 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-04-12 22:44:58,940 1196 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-04-12 22:44:58,940 1196 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-04-12 22:44:59,081 1196 [DEBUG] - ---------------------------Script Execution---------------------------
2020-04-12 22:44:59,112 1196 [DEBUG] - Running 'ChocolateyScriptRunner' for yarn v1.22.4 with packageScript 'C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\yarn', installArguments: '', packageParameters: '',
2020-04-12 22:44:59,159 1196 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1'
2020-04-12 22:44:59,378 1196 [DEBUG] - Running Install-ChocolateyPackage -silentArgs '/qn /norestart' -checksumType 'sha256' -url 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi' -checksum '6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB' -packageName 'yarn' -validExitCodes '0 3010 1641' -fileType 'msi'
2020-04-12 22:44:59,566 1196 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'yarn' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarnInstall.msi' -url 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi' -url64bit '' -checksum '6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-04-12 22:44:59,612 1196 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-04-12 22:44:59,675 1196 [DEBUG] - CPU is 64 bit
2020-04-12 22:44:59,801 1196 [DEBUG] - Running Get-WebFileName -url 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi' -defaultName 'yarnInstall.msi'
2020-04-12 22:45:01,206 1196 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2020-04-12 22:45:01,237 1196 [DEBUG] - File name determined from url is 'yarn-1.22.4.msi'
2020-04-12 22:45:01,300 1196 [DEBUG] - Running Get-WebHeaders -url 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi' -ErrorAction 'Stop'
2020-04-12 22:45:01,300 1196 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-12 22:45:01,315 1196 [DEBUG] - Request Headers:
2020-04-12 22:45:01,331 1196 [DEBUG] - 'Accept':'*/*'
2020-04-12 22:45:01,331 1196 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-04-12 22:45:01,737 1196 [DEBUG] - Response Headers:
2020-04-12 22:45:01,753 1196 [DEBUG] - 'x-amz-id-2':'CsyoKPJtM+ilpGZhI40g0XIgfs13owpOs+gyrdZDpDd9FqS/+CiMMFiK2FVGYVSGDiVhzx2BjH4='
2020-04-12 22:45:01,753 1196 [DEBUG] - 'x-amz-request-id':'25E4D7AA0FC83734'
2020-04-12 22:45:01,753 1196 [DEBUG] - 'Content-Disposition':'attachment; filename=yarn-1.22.4.msi'
2020-04-12 22:45:01,769 1196 [DEBUG] - 'Accept-Ranges':'bytes'
2020-04-12 22:45:01,769 1196 [DEBUG] - 'Content-Length':'1646080'
2020-04-12 22:45:01,784 1196 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-04-12 22:45:01,784 1196 [DEBUG] - 'Date':'Sun, 12 Apr 2020 22:45:38 GMT'
2020-04-12 22:45:01,784 1196 [DEBUG] - 'ETag':'"62784380c11ccd6b90335058c886baad"'
2020-04-12 22:45:01,800 1196 [DEBUG] - 'Last-Modified':'Mon, 09 Mar 2020 16:10:39 GMT'
2020-04-12 22:45:01,800 1196 [DEBUG] - 'Server':'AmazonS3'
2020-04-12 22:45:01,832 1196 [INFO ] - Downloading yarn
from 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi'
2020-04-12 22:45:01,847 1196 [INFO ] -
2020-04-12 22:45:01,878 1196 [DEBUG] - Running Get-WebFile -url 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi' -options 'System.Collections.Hashtable'
2020-04-12 22:45:01,894 1196 [DEBUG] - Setting request timeout to 30000
2020-04-12 22:45:01,894 1196 [DEBUG] - Setting read/write timeout to 2700000
2020-04-12 22:45:01,909 1196 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-12 22:45:02,815 1196 [DEBUG] - Downloading https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi
2020-04-12 22:45:03,253 1196 [INFO ] -
2020-04-12 22:45:03,269 1196 [INFO ] - Download of yarn-1.22.4.msi (1.57 MB) completed.
2020-04-12 22:45:03,269 1196 [INFO ] -
2020-04-12 22:45:06,300 1196 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-04-12 22:45:06,300 1196 [DEBUG] - Verifying package provided checksum of '6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi'.
2020-04-12 22:45:06,331 1196 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi' -checksum '6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB' -checksumType 'sha256' -originalUrl 'https://yarnpkg.com/downloads/1.22.4/yarn-1.22.4.msi'
2020-04-12 22:45:06,362 1196 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-04-12 22:45:06,378 1196 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi"]
2020-04-12 22:45:07,597 1196 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6243F09FEF4AA4E873F74133F94DC7DC715463DC14F9F8FE99E2627D99357BFB" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi"] exited with '0'.
2020-04-12 22:45:07,660 1196 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'yarn' -fileType 'msi' -silentArgs '/qn /norestart' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2020-04-12 22:45:07,675 1196 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-04-12 22:45:07,690 1196 [INFO ] - Installing yarn...
2020-04-12 22:45:07,690 1196 [INFO ] -
2020-04-12 22:45:07,878 1196 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi" /qn /norestart ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-04-12 22:45:07,894 1196 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-04-12 22:45:07,972 1196 [DEBUG] - Test-ProcessAdminRights: returning True
2020-04-12 22:45:08,003 1196 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi" /qn /norestart ]. This may take a while, depending on the statements.
2020-04-12 22:45:17,097 1196 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4\yarn-1.22.4.msi" /qn /norestart ] exited with '0'.
2020-04-12 22:45:17,144 1196 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-04-12 22:45:17,159 1196 [INFO ] - yarn has been installed.
2020-04-12 22:45:17,175 1196 [INFO ] -
2020-04-12 22:45:17,222 1196 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements ' (Get-Content -Path 'C:\Program Files (x86)\Yarn\package.json') `
-replace 'installationMethod":.+', 'installationMethod": "choco",' `
| Set-Content 'C:\Program Files (x86)\Yarn\package.json''
2020-04-12 22:45:17,237 1196 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-04-12 22:45:17,237 1196 [DEBUG] - Test-ProcessAdminRights: returning True
2020-04-12 22:45:17,300 1196 [DEBUG] - Elevating permissions and running powershell block:
$noSleep = $False
#$env:ChocolateyEnvironmentDebug='false'
#$env:ChocolateyEnvironmentVerbose='false'
& import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1' -Verbose:$false | Out-Null;
try{
$progressPreference="SilentlyContinue"
(Get-Content -Path 'C:\Program Files (x86)\Yarn\package.json') `
-replace 'installationMethod":.+', 'installationMethod": "choco",' `
| Set-Content 'C:\Program Files (x86)\Yarn\package.json'
if(!$noSleep){start-sleep 6}
}
catch{
if(!$noSleep){start-sleep 8}
throw
}
This may take a while, depending on the statements.
2020-04-12 22:45:25,019 1196 [ERROR] - #< CLIXML
2020-04-12 22:45:25,034 1196 [ERROR] - <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-PackageParametersBuiltIn'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-PackageParametersBuiltIn'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S></Objs>
2020-04-12 22:45:25,034 1196 [DEBUG] - Command ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat Text -OutputFormat Text -EncodedCommand IAAgACAAIAAgACAAJABuAG8AUwBsAGUAZQBwACAAPQAgACQARgBhAGwAcwBlAA0ACgAgACAAIAAgACAAIAAjACQAZQBuAHYAOgBDAGgAbwBjAG8AbABhAHQAZQB5AEUAbgB2AGkAcgBvAG4AbQBlAG4AdABEAGUAYgB1AGcAPQAnAGYAYQBsAHMAZQAnAA0ACgAgACAAIAAgACAAIAAjACQAZQBuAHYAOgBDAGgAbwBjAG8AbABhAHQAZQB5AEUAbgB2AGkAcgBvAG4AbQBlAG4AdABWAGUAcgBiAG8AcwBlAD0AJwBmAGEAbABzAGUAJwANAAoAIAAgACAAIAAgACAAJgAgAGkAbQBwAG8AcgB0AC0AbQBvAGQAdQBsAGUAIAAtAG4AYQBtAGUAIAAnAEMAOgBcAFAAcgBvAGcAcgBhAG0ARABhAHQAYQBcAGMAaABvAGMAbwBsAGEAdABlAHkAXABoAGUAbABwAGUAcgBzAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBJAG4AcwB0AGEAbABsAGUAcgAuAHAAcwBtADEAJwAgAC0AVgBlAHIAYgBvAHMAZQA6ACQAZgBhAGwAcwBlACAAfAAgAE8AdQB0AC0ATgB1AGwAbAA7AA0ACgAgACAAIAAgACAAIAB0AHIAeQB7AA0ACgAgACAAIAAgACAAIAAgACAAJABwAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACIAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAiAA0ACgAgACAAIAAgACAAIAAgACAAIAAgACgARwBlAHQALQBDAG8AbgB0AGUAbgB0ACAALQBQAGEAdABoACAAJwBDADoAXABQAHIAbwBnAHIAYQBtACAARgBpAGwAZQBzACAAKAB4ADgANgApAFwAWQBhAHIAbgBcAHAAYQBjAGsAYQBnAGUALgBqAHMAbwBuACcAKQAgAGAADQAKACAAIAAgACAALQByAGUAcABsAGEAYwBlACAAJwBpAG4AcwB0AGEAbABsAGEAdABpAG8AbgBNAGUAdABoAG8AZAAiADoALgArACcALAAgACcAaQBuAHMAdABhAGwAbABhAHQAaQBvAG4ATQBlAHQAaABvAGQAIgA6ACAAIgBjAGgAbwBjAG8AIgAsACcAIABgAA0ACgAgACAAIAAgAHwAIABTAGUAdAAtAEMAbwBuAHQAZQBuAHQAIAAnAEMAOgBcAFAAcgBvAGcAcgBhAG0AIABGAGkAbABlAHMAIAAoAHgAOAA2ACkAXABZAGEAcgBuAFwAcABhAGMAawBhAGcAZQAuAGoAcwBvAG4AJwANAAoAIAAgACAAIAAgACAAIAAgAGkAZgAoACEAJABuAG8AUwBsAGUAZQBwACkAewBzAHQAYQByAHQALQBzAGwAZQBlAHAAIAA2AH0ADQAKACAAIAAgACAAIAAgAH0ADQAKACAAIAAgACAAIAAgAGMAYQB0AGMAaAB7AA0ACgAgACAAIAAgACAAIAAgACAAaQBmACgAIQAkAG4AbwBTAGwAZQBlAHAAKQB7AHMAdABhAHIAdAAtAHMAbABlAGUAcAAgADgAfQANAAoAIAAgACAAIAAgACAAIAAgAHQAaAByAG8AdwANAAoAIAAgACAAIAAgACAAfQA=] exited with '0'.
2020-04-12 22:45:25,051 1196 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-04-12 22:45:25,051 1196 [INFO ] - 0
2020-04-12 22:45:53,691 1196 [INFO ] - Yarn requires NodeJS to be installed. To install, use either of the commands below:
2020-04-12 22:45:53,691 1196 [INFO ] -
2020-04-12 22:45:53,706 1196 [INFO ] - choco install nodejs
2020-04-12 22:45:53,706 1196 [INFO ] -
2020-04-12 22:45:53,706 1196 [INFO ] - choco install nodejs-lts
2020-04-12 22:45:53,722 1196 [INFO ] -
2020-04-12 22:45:53,738 1196 [DEBUG] - ----------------------------------------------------------------------
2020-04-12 22:45:53,753 1196 [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\yarn\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-04-12 22:45:53,769 1196 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2020-04-12 22:45:53,784 1196 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-04-12 22:45:53,831 1196 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-04-12 22:45:53,894 1196 [INFO ] - yarn may be able to be automatically uninstalled.
2020-04-12 22:45:53,925 1196 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-04-12 22:45:53,925 1196 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-04-12 22:45:53,925 1196 [DEBUG] - * PATH='C:\Users\Administrator\AppData\Local\Yarn\bin' (User)
2020-04-12 22:45:53,940 1196 [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:\Program Files (x86)\Yarn\bin\' (Machine)
2020-04-12 22:45:54,175 1196 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\yarn'
2020-04-12 22:45:54,190 1196 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\yarn\yarn.nupkg'
with checksum 'B928E95C0D35EF2B6F0BA2C9546801C9'
2020-04-12 22:45:54,190 1196 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\yarn\yarn.nuspec'
with checksum 'E88104DADE6EDCDA44D1C4E0149C0E12'
2020-04-12 22:45:54,206 1196 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1'
with checksum 'F581DB4EE4171FA3918F3F6DAFCC77E5'
2020-04-12 22:45:54,331 1196 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2020-04-12 22:45:54,347 1196 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4".
2020-04-12 22:45:54,425 1196 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4\.registry'
2020-04-12 22:45:54,472 1196 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4\.files'
2020-04-12 22:45:54,487 1196 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4\.extra".
2020-04-12 22:45:54,487 1196 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4\.version".
2020-04-12 22:45:54,487 1196 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4\.sxs".
2020-04-12 22:45:54,487 1196 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\yarn.1.22.4\.pin".
2020-04-12 22:45:54,503 1196 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-04-12 22:45:54,519 1196 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\yarn\.chocolateyPending".
2020-04-12 22:45:54,534 1196 [INFO ] - The install of yarn was successful.
2020-04-12 22:45:54,534 1196 [INFO ] - Software installed as 'msi', install location is likely default.
2020-04-12 22:45:54,534 1196 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\yarn.1.22.4.nupkg".
2020-04-12 22:45:54,597 1196 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-04-12 22:45:54,612 1196 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-04-12 22:45:54,675 1196 [DEBUG] - Exiting with 0
2020-04-12 22:46:39,112 2156 [DEBUG] - XmlConfiguration is now operational
2020-04-12 22:46:39,347 2156 [INFO ] - ============================================================
2020-04-12 22:46:40,128 2156 [INFO ] - Chocolatey v0.10.15
2020-04-12 22:46:40,175 2156 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-04-12 22:46:40,191 2156 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-04-12 22:46:40,191 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-04-12 22:46:40,222 2156 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall yarn --version 1.22.4 -dvy --execution-timeout=2700
2020-04-12 22:46:40,222 2156 [DEBUG] - Received arguments: uninstall yarn --version 1.22.4 -dvy --execution-timeout=2700
2020-04-12 22:46:40,410 2156 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-04-12 22:46:40,425 2156 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-04-12 22:46:40,457 2156 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-04-12 22:46:40,644 2156 [DEBUG] - Performing validation checks.
2020-04-12 22:46:40,660 2156 [DEBUG] - Global Configuration Validation Checks:
2020-04-12 22:46:40,675 2156 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-04-12 22:46:40,675 2156 [DEBUG] - System State Validation Checks:
2020-04-12 22:46:40,690 2156 [DEBUG] - Reboot Requirement Checks:
2020-04-12 22:46:40,706 2156 [DEBUG] - - Pending Computer Rename = Checked
2020-04-12 22:46:40,723 2156 [DEBUG] - - Pending Component Based Servicing = Checked
2020-04-12 22:46:40,723 2156 [DEBUG] - - Pending Windows Auto Update = Checked
2020-04-12 22:46:40,723 2156 [DEBUG] - - Pending File Rename Operations = Checked
2020-04-12 22:46:40,737 2156 [DEBUG] - - Pending Windows Package Installer = Checked
2020-04-12 22:46:40,737 2156 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-04-12 22:46:40,753 2156 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-04-12 22:46:40,769 2156 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-04-12 22:46:40,784 2156 [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.
2020-04-12 22:46:40,848 2156 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\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='yarn'|Version='1.22.4'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='yarn'|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='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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'|
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'|
2020-04-12 22:46:40,848 2156 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-04-12 22:46:40,878 2156 [INFO ] - Uninstalling the following packages:
2020-04-12 22:46:40,878 2156 [INFO ] - yarn
2020-04-12 22:46:40,894 2156 [DEBUG] - Current environment values (may contain sensitive data):
2020-04-12 22:46:40,909 2156 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-12 22:46:40,909 2156 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-12 22:46:40,909 2156 [DEBUG] - * 'ChocolateyLastPathUpdate'='132311538033113119' ('User')
2020-04-12 22:46:40,925 2156 [DEBUG] - * 'PATH'='C:\Users\Administrator\AppData\Local\Yarn\bin' ('User')
2020-04-12 22:46:40,925 2156 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-04-12 22:46:40,925 2156 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-04-12 22:46:40,925 2156 [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:\Program Files (x86)\Yarn\bin\' ('Machine')
2020-04-12 22:46:40,940 2156 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-04-12 22:46:40,940 2156 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-04-12 22:46:40,940 2156 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-04-12 22:46:40,940 2156 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-04-12 22:46:40,956 2156 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-04-12 22:46:40,956 2156 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-04-12 22:46:40,956 2156 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-04-12 22:46:40,956 2156 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-04-12 22:46:40,972 2156 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-04-12 22:46:40,972 2156 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-04-12 22:46:40,972 2156 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-04-12 22:46:40,972 2156 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-04-12 22:46:40,987 2156 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-04-12 22:46:40,987 2156 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-04-12 22:46:41,237 2156 [DEBUG] - Running list with the following filter = ''
2020-04-12 22:46:41,237 2156 [DEBUG] - --- Start of List ---
2020-04-12 22:46:41,784 2156 [DEBUG] - yarn 1.22.4
2020-04-12 22:46:41,800 2156 [DEBUG] - --- End of List ---
2020-04-12 22:46:42,128 2156 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-04-12 22:46:42,128 2156 [DEBUG] - Backing up existing yarn prior to operation.
2020-04-12 22:46:42,144 2156 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\yarn'
to 'C:\ProgramData\chocolatey\lib-bkp\yarn'
2020-04-12 22:46:44,176 2156 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\yarn".
2020-04-12 22:46:44,176 2156 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\yarn\yarn.nupkg"
to "C:\ProgramData\chocolatey\lib\yarn\yarn.nupkg".
2020-04-12 22:46:44,190 2156 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\yarn\yarn.nuspec"
to "C:\ProgramData\chocolatey\lib\yarn\yarn.nuspec".
2020-04-12 22:46:44,190 2156 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\yarn\tools".
2020-04-12 22:46:44,206 2156 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\yarn\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1".
2020-04-12 22:46:45,737 2156 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\yarn'
2020-04-12 22:46:45,753 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\yarn\yarn.nupkg'
with checksum 'B928E95C0D35EF2B6F0BA2C9546801C9'
2020-04-12 22:46:45,753 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\yarn\yarn.nuspec'
with checksum 'E88104DADE6EDCDA44D1C4E0149C0E12'
2020-04-12 22:46:45,753 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\yarn\tools\chocolateyinstall.ps1'
with checksum 'F581DB4EE4171FA3918F3F6DAFCC77E5'
2020-04-12 22:46:46,020 2156 [INFO ] - [NuGet] Uninstalling 'yarn 1.22.4'.
2020-04-12 22:46:46,034 2156 [INFO ] -
yarn v1.22.4
2020-04-12 22:46:46,112 2156 [INFO ] - Running auto uninstaller...
2020-04-12 22:46:46,112 2156 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2020-04-12 22:46:48,206 2156 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{90B8B1E5-1A8B-4429-8CE8-0E24A0E7810B}' for 'Yarn'
2020-04-12 22:46:48,300 2156 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2020-04-12 22:46:48,378 2156 [DEBUG] - Installer type is 'MsiInstaller'
2020-04-12 22:46:48,378 2156 [DEBUG] - Setting up uninstall logging directory at C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4
2020-04-12 22:46:48,394 2156 [DEBUG] - Args are '/X{90B8B1E5-1A8B-4429-8CE8-0E24A0E7810B} /qn /norestart'
2020-04-12 22:46:48,409 2156 [DEBUG] - Calling command ['"MsiExec.exe" /X{90B8B1E5-1A8B-4429-8CE8-0E24A0E7810B} /qn /norestart']
2020-04-12 22:46:49,081 2156 [DEBUG] - Command ['"MsiExec.exe" /X{90B8B1E5-1A8B-4429-8CE8-0E24A0E7810B} /qn /norestart'] exited with '0'
2020-04-12 22:46:49,097 2156 [INFO ] - Auto uninstaller has successfully uninstalled yarn or detected previous uninstall.
2020-04-12 22:46:49,097 2156 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-04-12 22:46:49,128 2156 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-04-12 22:46:49,159 2156 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\yarn".
2020-04-12 22:46:49,237 2156 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\yarn\tools'.
2020-04-12 22:46:49,253 2156 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\yarn\tools'.
2020-04-12 22:46:49,269 2156 [DEBUG] - [NuGet] Removed file 'yarn.nuspec' to folder 'C:\ProgramData\chocolatey\lib\yarn'.
2020-04-12 22:46:49,269 2156 [DEBUG] - [NuGet] Removed file 'yarn.nupkg' to folder 'C:\ProgramData\chocolatey\lib\yarn'.
2020-04-12 22:46:49,284 2156 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\yarn'.
2020-04-12 22:46:49,284 2156 [INFO ] - [NuGet] Successfully uninstalled 'yarn 1.22.4'.
2020-04-12 22:46:49,300 2156 [INFO ] - yarn has been successfully uninstalled.
2020-04-12 22:46:49,315 2156 [DEBUG] - Removing nupkg if it still exists.
2020-04-12 22:46:49,331 2156 [DEBUG] - Ensuring removal of installation files.
2020-04-12 22:46:49,331 2156 [DEBUG] - Ensuring removal of package cache files.
2020-04-12 22:46:49,331 2156 [DEBUG] - Attempting to delete directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\yarn\1.22.4".
2020-04-12 22:46:49,378 2156 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-04-12 22:46:49,378 2156 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-04-12 22:46:49,378 2156 [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)
2020-04-12 22:46:49,394 2156 [DEBUG] - The following values have been removed:
2020-04-12 22:46:49,394 2156 [DEBUG] - * PATH='C:\Users\Administrator\AppData\Local\Yarn\bin' (User)
2020-04-12 22:46:49,440 2156 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-04-12 22:46:49,440 2156 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2020-04-12 22:46:49,456 2156 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-04-12 22:46:49,487 2156 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment