Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
choco-nuspec-checker v2020.09.21-pre - Passed - Package Tests Results

choco-nuspec-checker v2020.09.21-pre - Passed - Package Test Results

  • https://chocolatey.org/packages/choco-nuspec-checker/2020.09.21-pre
  • Tested 21 Sep 2020 03:23:03 +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.5.0-1-g57c3bd8
  • 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\choco-nuspec-checker\choco-nuspec-checker.nupkg" checksum="21CCFF5459E73F992E45325749B3E9B6" />
<file path="C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nuspec" checksum="9EB8509259F54C6061B15C0F5585D1A6" />
<file path="C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\.SkipAutoUninstaller" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1" checksum="2A5E3F3A065AC5F209F24F9D45E183D0" />
<file path="C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1" checksum="38E9DC5FE1BA6EB10342C00C145A5CB9" />
</files>
</fileSnapshot>
2020-09-16 19:24:02,823 628 [DEBUG] - XmlConfiguration is now operational
2020-09-16 19:24:03,182 628 [INFO ] - ============================================================
2020-09-16 19:24:03,948 628 [INFO ] - Chocolatey v0.10.16-beta
2020-09-16 19:24:03,996 628 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-09-16 19:24:04,026 628 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-09-16 19:24:04,026 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-09-16 19:24:04,104 628 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install choco-nuspec-checker --version 2020.09.21-pre -fdvy --execution-timeout=5400 --allow-downgrade
2020-09-16 19:24:04,104 628 [DEBUG] - Received arguments: install choco-nuspec-checker --version 2020.09.21-pre -fdvy --execution-timeout=5400 --allow-downgrade
2020-09-16 19:24:04,245 628 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-09-16 19:24:04,464 628 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-09-16 19:24:04,511 628 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-09-16 19:24:04,777 628 [DEBUG] - Performing validation checks.
2020-09-16 19:24:04,792 628 [DEBUG] - Global Configuration Validation Checks:
2020-09-16 19:24:04,808 628 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-09-16 19:24:04,808 628 [DEBUG] - System State Validation Checks:
2020-09-16 19:24:04,823 628 [DEBUG] - Reboot Requirement Checks:
2020-09-16 19:24:04,839 628 [DEBUG] - - Pending Computer Rename = Checked
2020-09-16 19:24:04,885 628 [DEBUG] - - Pending Component Based Servicing = Checked
2020-09-16 19:24:04,885 628 [DEBUG] - - Pending Windows Auto Update = Checked
2020-09-16 19:24:04,901 628 [DEBUG] - - Pending File Rename Operations = Ignored
2020-09-16 19:24:04,901 628 [DEBUG] - - Pending Windows Package Installer = Checked
2020-09-16 19:24:04,917 628 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-09-16 19:24:04,932 628 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-09-16 19:24:04,948 628 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-09-16 19:24:04,948 628 [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-09-16 19:24:05,011 628 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;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='choco-nuspec-checker'|
Version='2020.09.21-pre'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='choco-nuspec-checker'|
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.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.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-09-16 19:24:05,011 628 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-09-16 19:24:05,027 628 [INFO ] - Installing the following packages:
2020-09-16 19:24:05,041 628 [INFO ] - choco-nuspec-checker
2020-09-16 19:24:05,041 628 [INFO ] - By installing you accept licenses for the packages.
2020-09-16 19:24:05,073 628 [DEBUG] - Current environment values (may contain sensitive data):
2020-09-16 19:24:05,073 628 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-09-16 19:24:05,073 628 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-09-16 19:24:05,089 628 [DEBUG] - * 'ChocolateyLastPathUpdate'='132447576759738917' ('User')
2020-09-16 19:24:05,089 628 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-09-16 19:24:05,089 628 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-09-16 19:24:05,105 628 [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-09-16 19:24:05,105 628 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-09-16 19:24:05,120 628 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-09-16 19:24:05,213 628 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-09-16 19:24:05,213 628 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-09-16 19:24:05,229 628 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-09-16 19:24:05,229 628 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-09-16 19:24:05,229 628 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-09-16 19:24:05,229 628 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-09-16 19:24:05,245 628 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-09-16 19:24:05,260 628 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-09-16 19:24:05,260 628 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-09-16 19:24:05,276 628 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-09-16 19:24:05,276 628 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-09-16 19:24:05,276 628 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-09-16 19:24:07,026 628 [INFO ] - [NuGet] Attempting to resolve dependency 'powershell (= 3.0)'.
2020-09-16 19:24:10,214 628 [INFO ] - [NuGet] Installing 'PowerShell 5.1.14409.20180811'.
2020-09-16 19:24:10,230 628 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'PowerShell\tools'.
2020-09-16 19:24:10,230 628 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PowerShell\tools'.
2020-09-16 19:24:10,245 628 [DEBUG] - [NuGet] Added file 'PowerShell.nupkg' to folder 'PowerShell'.
2020-09-16 19:24:10,714 628 [DEBUG] - [NuGet] Added file 'PowerShell.nuspec' to folder 'PowerShell'.
2020-09-16 19:24:10,714 628 [INFO ] - [NuGet] Successfully installed 'PowerShell 5.1.14409.20180811'.
2020-09-16 19:24:10,729 628 [INFO ] -
PowerShell v5.1.14409.20180811 (forced) [Approved]
2020-09-16 19:24:10,776 628 [INFO ] - powershell package files install completed. Performing other installation steps.
2020-09-16 19:24:10,932 628 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2020-09-16 19:24:10,995 628 [DEBUG] - <#
See http://technet.microsoft.com/en-us/library/hh847769.aspx and http://technet.microsoft.com/en-us/library/hh847837.aspx
Windows PowerShell 5.0 runs on the following versions of Windows.
Windows 10, installed by default
Windows Server 2012 R2, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 8.1, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 and THEN WMF 5.0 (as of 5.0.10105)
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 5.0 (as of 5.0.10105)
Previous Windows versions - 5.0 is not supported.
Windows PowerShell 4.0 runs on the following versions of Windows.
Windows 8.1, installed by default
Windows Server 2012 R2, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows PowerShell 3.0 runs on the following versions of Windows.
Windows 8, installed by default
Windows Server 2012, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 with Service Pack 2, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
#>
[string]$packageName="PowerShell"
[string]$installerType="msu"
[string]$installlogfilename = "$env:TEMP\PowerShell-Install-$(Get-date -format 'yyyyMMddhhmm').evtx"
[string]$ThisPackagePSHVersion = '5.1.14409.1005'
[string]$silentArgs="/quiet /norestart /log:`"$installlogfilename`""
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
[string]$urlWin81x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu'
[string]$urlWin81x86checksum = 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817'
[string]$urlWin2k12R2andWin81x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
[string]$urlWin2k12R2andWin81x64checksum = 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0'
[string]$urlWin7x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7-KB3191566-x86.zip'
[string]$urlWin7x86checksum = 'EB7E2C4CE2C6CB24206474A6CB8610D9F4BD3A9301F1CD8963B4FF64E529F563'
[string]$urlWin2k8R2andWin7x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7AndW2K8R2-KB3191566-x64.zip'
[string]$urlWin2k8R2andWin7x64checksum = 'F383C34AA65332662A17D95409A2DDEDADCEDA74427E35D05024CD0A6A2FA647'
[string]$urlWin2012 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/W2K12-KB3191565-x64.msu'
[string]$urlWin2012checksum = '4A1385642C1F08E3BE7BC70F4A9D74954E239317F50D1A7F60AA444D759D4F49'
[string]$ChecksumType = 'sha256'
[string[]] $validExitCodes = @(0, 3010) # 2359302 occurs if the package is already installed
$osversionLookup = @{
"5.1.2600" = "XP";
"5.1.3790" = "2003";
"6.0.6001" = "Vista/2008";
"6.1.7600" = "Win7/2008R2";
"6.1.7601" = "Win7 SP1/2008R2 SP1"; # SP1 or later.
"6.2.9200" = "Win8/2012";
"6.3.9600" = "Win8.1/2012R2";
"10.0.*" = "Windows 10/Server 2016"
}
function Install-PowerShell5([string]$urlx86, [string]$urlx64 = $null, [string]$checksumx86 = $null,[string]$checksumx64 = $null) {
$MinimumNet4Version = 378389
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -ge $MinimumNet4Version) {
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" -url $urlx86 -url64 $urlx64 -checksum $checksumx86 -ChecksumType $ChecksumType -checksum64 $checksumx64 -ChecksumType64 $ChecksumType -validExitCodes $validExitCodes
Write-Warning "$packageName requires a reboot to complete the installation."
}
else {
throw ".NET Framework 4.5.2 or later required. Use package named `"dotnet4.5` to upgrade. Your .NET Release is `"$Net4Version`" but needs to be at least `"$MinimumNet4Version`"."
}
}
$os = Get-WmiObject Win32_OperatingSystem
$osVersion = $os.version
$ProductName = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'ProductName').ProductName
$EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
#This will show us if we are running on Nano Server (Kernel version alone won't show this)
Write-Output "Running on: $ProductName, ($EditionId), Windows Kernel: $osVersion"
If ((get-service wuauserv).starttype -ieq 'Disabled')
{
Throw "Windows Update Service is disabled - PowerShell updates are distributed as windows updates and so require the service. Consider temporarily enabling it before calling this package and disabling again afterward."
}
try
{
if ($PSVersionTable -and ($PSVersionTable.PSVersion -ge [Version]$ThisPackagePSHVersion)) {
Write-Warning "PowerShell version, $($PSVersionTable.PSVersion), is already installed."
}
else {
#The following should not occur as PowerShell 5 is already installed
if( ([version]$osVersion).Major -eq "10" ) {
$osVersion = "$(([version]$osVersion).Major).$(([version]$osVersion).Minor).*"
}
Write-Output "Installing for OS: $($osversionLookup[$osVersion])"
switch ($osversionLookup[$osVersion]) {
"Vista/2008" {
Write-Warning "PowerShell 3 is the highest supported on Windows $($osversionLookup[$osVersion])."
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7/2008R2" {
Write-Warning "PowerShell $ThisPackagePSHVersion Requires SP1 for Windows $($osversionLookup[$osVersion])."
Write-Warning "Update to SP1 and re-run this package to install WMF/PowerShell 5"
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7 SP1/2008R2 SP1" {
#Special Procedures for WMF 5.1
$MinimumNet4Version = 378389
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -lt $MinimumNet4Version)
{
throw ".NET Framework 4.5.2 or later required. Use package named `"dotnet4.5` to upgrade. Your .NET Release is `"$MinimumNet4Version`" but needs to be at least `"$MinimumNet4Version`"."
}
Else
{
If ($PSVersionTable.PSVersion.Major -eq 3)
{
Write-Warning "Found WMF 3 On Win 7 or Server 2008 R2"
If (!(test-path env:ChocolateyForce))
{
Throw "This package will not install WMF 5.1 over 3.0 on Windows 7 or Server 2008 R2 Unless you use the -Force switch on the package command line."
}
Else
{
Write-Host " "
Write-Host " ***********************************************************************************************"
Write-Host " * This machine is running Windows or Server 2008 R2 with WMF 3 installed and *"
Write-Host " * -Force was used, Experimental PSModulePath Backup and Attempted Restore Will Be Performed *"
Write-Host " * What will be done: *"
Write-Host " * 1) The custom parts of the PSModulePath backed up to BackupPSModulePath *"
Write-Host " * 2) A fix up script that appends those values to the PSModulePath is written to: *"
Write-Host " * %WINDIR%\Temp\psmodulepathfixup.ps1 *"
Write-Host " * 3) A scheduled task is setup for the next reboot that runs the fix up script *"
Write-Host " * *"
Write-Host " * If you find that #3 does not work correctly, then you can use #1 or #2 with some of your *"
Write-Host " * own automation to recover from the situation *"
Write-Host " ***********************************************************************************************"
Write-Host " "
$StandardPathsToFilterOut = @('%ProgramFiles%\WindowsPowerShell\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules\')
[string[]]$currentpsmodulepath = (get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue("PsModulePath","Default",[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames).split(';')
$FilteredList = ($CurrentPSModulePath | Where {$StandardPathsToFilterOut -inotcontains $_}) -join ';'
Write-host "PSModulePath contains the following values that are not in the PSH 5 default values: $FilteredList, backing them up to BackupPSModulePath Environment Variable"
If ($FilteredList) {New-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'BackupPsModulePath' -PropertyType 'ExpandString' -value "$FilteredList" | out-null}
$WMF5Over3WasForced = $True
}
}
Install-ChocolateyZipPackage -PackageName "$packagename" -unziplocation "$toolsdir" -url "$urlWin7x86" -checksum "$urlWin7x86checksum" -checksumtype "$ChecksumType" -url64bit "$urlWin2k8R2andWin7x64" -checksum64 "$urlWin2k8R2andWin7x64checksum" -checksumtype64 "$ChecksumType"
$x64MSUName = "$toolsdir\$(($urlWin2k8R2andWin7x64.split('/') | select -last 1).replace('.zip','.msu'))"
$x86MSUName = "$toolsdir\$(($urlwin7x86.split('/') | select -last 1).replace('.zip','.msu'))"
Write-Host "64-bit file: $x64MSUName"
Install-ChocolateyPackage "$packageName" 'MSU' "$SilentArgs" -url $x86MSUName -url64 $x64MSUName -validExitCodes $validExitCodes
If ($WMF5Over3WasForced)
{
If (!$FilteredList)
{
Write-Host "PSModulePath does not contain any customized paths that need to be preserved."
}
Else
{
$scriptlocation = "$env:windir\temp\psmodulepathfixup.ps1"
$code = "set-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'PsModulePath' -value `$((get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue('PsModulePath','Default',[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames)" + "+`';$(invoke-expression -command '(get-variable FilteredList).value')`'" + ')'
$code | out-file $scriptlocation
"start-sleep -s 2" | out-file $scriptlocation -append
"schtasks.exe /delete /f /tn `"PSModulePathFixUp`"" | out-file $scriptlocation -append
schtasks.exe /create /tn "PSModulePathFixUp" /ru SYSTEM /Sc ONSTART /tr "powershell.exe -file $scriptlocation"
Write-Host "`"$scriptlocation`" is scheduled to run on reboot."
Write-Warning "ATTENTION: This Computer Must Be Restarted."
}
}
}
}
"Win8/2012" {
if($os.ProductType -gt 1) {
#Windows 2012
Install-PowerShell5 -urlx86 "$urlWin2012" -checksumx86 $urlWin2012checksum
}
else {
#Windows 8
Write-Verbose "Windows 8 (not 8.1) is not supported"
throw "$packageName not supported on Windows 8. You must upgrade to Windows 8.1 to install WMF/PowerShell 5.0."
}
}
"Win8.1/2012R2" {
Install-PowerShell5 -urlx86 "$urlWin81x86" -checksumx86 $urlWin81x86checksum -urlx64 "$urlWin2k12R2andWin81x64" -checksumx64 $urlWin2k12R2andWin81x64checksum -checksumtype "$ChecksumType" -checksumtype64 "$ChecksumType"
}
"Windows 10/Server 2016" {
#Should never be reached.
Write-Warning "Windows 10 / Server 2016 has WMF/PowerShell 5 pre-installed which is maintained by Windows Updates."
}
default {
# Windows XP, Windows 2003, Windows Vista, or unknown?
throw "$packageName $ThisPackagePSHVersion is not supported on $ProductName, ($EditionId), Windows Kernel: $osVersion"
}
}
}
}
catch {
If (Test-Path "$installlogfilename")
{
Write-Host "Opps we had a error."
$logfileerrors = @(Get-WinEvent -Path "$installlogfilename" -oldest | where {($_.level -ge 2) -AND ($_.level -le 3)})
If ($logfileerrors.count -gt 0)
{
Write-Host "Found the following error(s) and warnings in the MSU log `"$installlogfilename`""
$logfileerrors | Format-List ID, Message | out-string | write-host
}
}
Throw $_.Exception
}
2020-09-16 19:24:11,042 628 [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\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-09-16 19:24:11,058 628 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-09-16 19:24:12,136 628 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-09-16 19:24:12,667 628 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-09-16 19:24:12,745 628 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-09-16 19:24:12,762 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-09-16 19:24:12,762 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-09-16 19:24:12,762 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-09-16 19:24:12,762 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-09-16 19:24:12,776 628 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-09-16 19:24:12,776 628 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-09-16 19:24:12,791 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-09-16 19:24:12,791 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:24:12,791 628 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-09-16 19:24:12,791 628 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-09-16 19:24:12,807 628 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-09-16 19:24:12,807 628 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-09-16 19:24:12,807 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-09-16 19:24:12,807 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-09-16 19:24:12,807 628 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-09-16 19:24:12,823 628 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-09-16 19:24:12,823 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:24:12,838 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:24:12,901 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:24:12,901 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:24:12,916 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:24:12,916 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-09-16 19:24:12,916 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-09-16 19:24:12,916 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:24:12,932 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:24:12,932 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-09-16 19:24:12,932 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:24:12,932 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-09-16 19:24:12,948 628 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-09-16 19:24:12,948 628 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-09-16 19:24:12,948 628 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-09-16 19:24:12,948 628 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:24:12,948 628 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-09-16 19:24:12,964 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-09-16 19:24:12,964 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:24:12,964 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:24:12,964 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:24:12,979 628 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-09-16 19:24:12,979 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-09-16 19:24:12,979 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-09-16 19:24:12,979 628 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-09-16 19:24:12,979 628 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-09-16 19:24:12,995 628 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-09-16 19:24:12,995 628 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-09-16 19:24:12,995 628 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-09-16 19:24:12,995 628 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-09-16 19:24:13,010 628 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-09-16 19:24:13,104 628 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-09-16 19:24:13,104 628 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:24:13,104 628 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-09-16 19:24:13,120 628 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-09-16 19:24:13,152 628 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-09-16 19:24:13,152 628 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-09-16 19:24:13,152 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-09-16 19:24:13,152 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-09-16 19:24:13,166 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-09-16 19:24:13,166 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-09-16 19:24:13,166 628 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-09-16 19:24:13,166 628 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-09-16 19:24:13,166 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-09-16 19:24:13,182 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:24:13,182 628 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-09-16 19:24:13,182 628 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-09-16 19:24:13,182 628 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-09-16 19:24:13,199 628 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-09-16 19:24:13,260 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-09-16 19:24:13,276 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-09-16 19:24:13,276 628 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-09-16 19:24:13,276 628 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-09-16 19:24:13,276 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:24:13,291 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:24:13,291 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:24:13,291 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:24:13,291 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:24:13,307 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-09-16 19:24:13,307 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-09-16 19:24:13,307 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:24:13,307 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:24:13,307 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-09-16 19:24:13,323 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:24:13,323 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-09-16 19:24:13,323 628 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-09-16 19:24:13,323 628 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-09-16 19:24:13,339 628 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-09-16 19:24:13,339 628 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:24:13,339 628 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-09-16 19:24:13,339 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-09-16 19:24:13,354 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:24:13,354 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:24:13,354 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:24:13,354 628 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-09-16 19:24:13,354 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-09-16 19:24:13,370 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-09-16 19:24:13,370 628 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-09-16 19:24:13,448 628 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-09-16 19:24:13,465 628 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-09-16 19:24:13,465 628 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-09-16 19:24:13,465 628 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-09-16 19:24:13,465 628 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-09-16 19:24:13,480 628 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-09-16 19:24:13,480 628 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-09-16 19:24:13,480 628 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:24:13,480 628 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-09-16 19:24:13,495 628 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-09-16 19:24:13,495 628 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-09-16 19:24:13,495 628 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-09-16 19:24:13,495 628 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-09-16 19:24:13,510 628 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-09-16 19:24:13,510 628 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-09-16 19:24:13,510 628 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-09-16 19:24:13,526 628 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-09-16 19:24:13,526 628 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-09-16 19:24:13,526 628 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-09-16 19:24:13,526 628 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:24:13,541 628 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-09-16 19:24:13,541 628 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-09-16 19:24:13,541 628 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-09-16 19:24:13,541 628 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-09-16 19:24:13,557 628 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-09-16 19:24:13,652 628 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-09-16 19:24:13,666 628 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-09-16 19:24:13,666 628 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-09-16 19:24:13,666 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:24:13,682 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:24:13,682 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:24:13,682 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:24:13,699 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:24:13,699 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-09-16 19:24:13,699 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-09-16 19:24:13,713 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:24:13,713 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:24:13,713 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-09-16 19:24:13,729 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:24:13,729 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-09-16 19:24:13,745 628 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-09-16 19:24:13,745 628 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-09-16 19:24:13,761 628 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-09-16 19:24:13,870 628 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:24:13,885 628 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-09-16 19:24:13,885 628 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-09-16 19:24:13,885 628 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:24:13,885 628 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:24:13,901 628 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:24:13,901 628 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-09-16 19:24:13,901 628 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-09-16 19:24:13,917 628 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-09-16 19:24:13,917 628 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-09-16 19:24:13,917 628 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-09-16 19:24:13,932 628 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-09-16 19:24:13,932 628 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-09-16 19:24:13,932 628 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-09-16 19:24:13,932 628 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-09-16 19:24:13,948 628 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-09-16 19:24:13,948 628 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:24:13,948 628 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-09-16 19:24:13,963 628 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-09-16 19:24:13,963 628 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-09-16 19:24:14,213 628 [DEBUG] - ---------------------------Script Execution---------------------------
2020-09-16 19:24:14,230 628 [DEBUG] - Running 'ChocolateyScriptRunner' for PowerShell v5.1.14409.20180811 with packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PowerShell', installArguments: '', packageParameters: '',
2020-09-16 19:24:14,276 628 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2020-09-16 19:24:14,745 628 [INFO ] - Running on: Windows Server 2012 R2 Datacenter, (ServerDatacenter), Windows Kernel: 6.3.9600
2020-09-16 19:24:14,854 628 [INFO ] - Installing for OS: Win8.1/2012R2
2020-09-16 19:24:15,182 628 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -validExitCodes '0 3010' -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202009160724.evtx"'
2020-09-16 19:24:15,450 628 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\PowerShellInstall.msu' -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-09-16 19:24:15,698 628 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-09-16 19:24:15,746 628 [DEBUG] - CPU is 64 bit
2020-09-16 19:24:15,760 628 [DEBUG] - Setting url to 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' and bitPackage to 64
2020-09-16 19:24:15,917 628 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -defaultName 'PowerShellInstall.msu'
2020-09-16 19:24:16,760 628 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-09-16 19:24:16,776 628 [DEBUG] - File name determined from url is 'Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-09-16 19:24:16,902 628 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -ErrorAction 'Stop'
2020-09-16 19:24:16,979 628 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-09-16 19:24:16,979 628 [DEBUG] - Request Headers:
2020-09-16 19:24:16,995 628 [DEBUG] - 'Accept':'*/*'
2020-09-16 19:24:16,995 628 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-09-16 19:24:17,151 628 [DEBUG] - Response Headers:
2020-09-16 19:24:17,167 628 [DEBUG] - 'x-ms-blob-content-md5':'4uhKTV355vk+of3NssGOOQ=='
2020-09-16 19:24:17,182 628 [DEBUG] - 'Connection':'keep-alive'
2020-09-16 19:24:17,182 628 [DEBUG] - 'Accept-Ranges':'bytes'
2020-09-16 19:24:17,182 628 [DEBUG] - 'Content-Length':'19878906'
2020-09-16 19:24:17,182 628 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-09-16 19:24:17,198 628 [DEBUG] - 'Date':'Mon, 21 Sep 2020 03:13:55 GMT'
2020-09-16 19:24:17,198 628 [DEBUG] - 'ETag':'"0x8D632CAFF2AE41B"'
2020-09-16 19:24:17,198 628 [DEBUG] - 'Last-Modified':'Mon, 15 Oct 2018 18:21:16 GMT'
2020-09-16 19:24:17,213 628 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-09-16 19:24:17,229 628 [INFO ] - Downloading PowerShell 64 bit
from 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-09-16 19:24:17,245 628 [INFO ] -
2020-09-16 19:24:17,339 628 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -options 'System.Collections.Hashtable'
2020-09-16 19:24:17,354 628 [DEBUG] - Setting request timeout to 30000
2020-09-16 19:24:17,354 628 [DEBUG] - Setting read/write timeout to 5400000
2020-09-16 19:24:17,354 628 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-09-16 19:24:17,885 628 [DEBUG] - Downloading https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu to C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu
2020-09-16 19:24:20,917 628 [INFO ] -
2020-09-16 19:24:20,917 628 [INFO ] - Download of Win8.1AndW2K12R2-KB3191564-x64.msu (18.96 MB) completed.
2020-09-16 19:24:20,932 628 [INFO ] -
2020-09-16 19:24:25,838 628 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-09-16 19:24:25,855 628 [DEBUG] - Verifying package provided checksum of 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu'.
2020-09-16 19:24:25,886 628 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-09-16 19:24:25,932 628 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-09-16 19:24:25,932 628 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu"]
2020-09-16 19:24:26,963 628 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu"] exited with '0'.
2020-09-16 19:24:27,105 628 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202009160724.evtx"' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -validExitCodes '0 3010' -useOnlyPackageSilentArguments 'False'
2020-09-16 19:24:27,120 628 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-09-16 19:24:27,135 628 [INFO ] - Installing PowerShell...
2020-09-16 19:24:27,135 628 [INFO ] -
2020-09-16 19:24:27,323 628 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2020-09-16 19:24:27,417 628 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811' -statements '"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202009160724.evtx" ' -exeToRun 'C:\Windows\System32\wusa.exe'
2020-09-16 19:24:27,574 628 [DEBUG] - Test-ProcessAdminRights: returning True
2020-09-16 19:24:27,604 628 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\wusa.exe" "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202009160724.evtx" ]. This may take a while, depending on the statements.
2020-09-16 19:32:31,495 628 [DEBUG] - Command ["C:\Windows\System32\wusa.exe" "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202009160724.evtx" ] exited with '3010'.
2020-09-16 19:32:31,542 628 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-09-16 19:32:31,604 628 [INFO ] - PowerShell has been installed.
2020-09-16 19:32:31,620 628 [INFO ] -
2020-09-16 19:32:31,620 628 [WARN ] - WARNING: PowerShell requires a reboot to complete the installation.
2020-09-16 19:32:31,668 628 [DEBUG] - ----------------------------------------------------------------------
2020-09-16 19:32:31,682 628 [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\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '3010'.
2020-09-16 19:32:31,698 628 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-09-16 19:32:31,807 628 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-09-16 19:32:32,136 628 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2020-09-16 19:32:32,136 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2020-09-16 19:32:32,136 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2020-09-16 19:32:32,151 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2020-09-16 19:32:32,151 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2020-09-16 19:32:32,229 628 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811".
2020-09-16 19:32:32,324 628 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.files'
2020-09-16 19:32:32,338 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.extra".
2020-09-16 19:32:32,338 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.version".
2020-09-16 19:32:32,338 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.sxs".
2020-09-16 19:32:32,354 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.pin".
2020-09-16 19:32:32,354 628 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-09-16 19:32:32,371 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2020-09-16 19:32:32,385 628 [INFO ] - The install of powershell was successful.
2020-09-16 19:32:32,385 628 [INFO ] - Software installed as 'msu', install location is likely default.
2020-09-16 19:32:32,385 628 [INFO ] - [NuGet] Installing 'choco-nuspec-checker 2020.09.21-pre'.
2020-09-16 19:32:32,401 628 [DEBUG] - [NuGet] Added file '.SkipAutoUninstaller' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,465 628 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,479 628 [DEBUG] - [NuGet] Added file 'ChocolateyUninstall.ps1' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,479 628 [DEBUG] - [NuGet] Added file 'CNC.config' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,479 628 [DEBUG] - [NuGet] Added file 'CNC.ps1' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,495 628 [DEBUG] - [NuGet] Added file 'CNCFooter.txt' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,495 628 [DEBUG] - [NuGet] Added file 'CNCHeader.txt' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,495 628 [DEBUG] - [NuGet] Added file 'CNCPackageNotes.txt' to folder 'choco-nuspec-checker\tools'.
2020-09-16 19:32:32,495 628 [DEBUG] - [NuGet] Added file 'choco-nuspec-checker.nupkg' to folder 'choco-nuspec-checker'.
2020-09-16 19:32:32,851 628 [DEBUG] - [NuGet] Added file 'choco-nuspec-checker.nuspec' to folder 'choco-nuspec-checker'.
2020-09-16 19:32:32,919 628 [INFO ] - [NuGet] Successfully installed 'choco-nuspec-checker 2020.09.21-pre'.
2020-09-16 19:32:32,919 628 [INFO ] -
choco-nuspec-checker v2020.09.21-pre (forced)
2020-09-16 19:32:32,932 628 [INFO ] - choco-nuspec-checker package files install completed. Performing other installation steps.
2020-09-16 19:32:32,932 628 [DEBUG] - Setting installer args for choco-nuspec-checker
2020-09-16 19:32:32,964 628 [DEBUG] - Setting package parameters for choco-nuspec-checker
2020-09-16 19:32:32,964 628 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1':
2020-09-16 19:32:32,979 628 [DEBUG] - $ErrorActionPreference = 'Stop'
$packageName = 'choco-nuspec-checker'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$scriptDir = "$(Get-ToolsLocation)\BCURRAN3"
$script = 'CNC.ps1'
# Setup
# New storage location moving forward for all my Chocolatey scripts
if (!(Test-Path "$ENV:ChocolateyToolsLocation\BCURRAN3")) { New-Item -Path "$ENV:ChocolateyToolsLocation" -Name "BCURRAN3" -ItemType "directory" | Out-Null }
# Migration
# Move files before v2019.08.26 from old to new storage location
if (Test-Path "$ENV:ChocolateyInstall\bin\$script") { Remove-Item "$ENV:ChocolateyInstall\bin\$script" -Force }
if (Test-Path "$ENV:ChocolateyInstall\bin\CNCHeader.txt") { Move-Item "$ENV:ChocolateyInstall\bin\CNCHeader.txt" "$scriptDir" -Force }
if (Test-Path "$ENV:ChocolateyInstall\bin\CNCFooter.txt") { Move-Item "$ENV:ChocolateyInstall\bin\CNCFooter.txt" "$scriptDir" -Force }
if (Test-Path "$scriptDir\CNC.cmd") { Remove-Item "$scriptDir\CNC.cmd" -Force | Out-Null } # in v2019.08.26 only
# Install
# Move new files and support files (if applicable)
Move-Item "$toolsDir\$script" "$scriptDir" -Force
Install-ChocolateyPowershellCommand -PackageName 'CNC' -PSFileFullPath "$scriptDir\$script"
if (!(Test-Path "$scriptDir\CNCHeader.txt")) { Move-Item "$toolsDir\CNCHeader.txt" "$scriptDir" -Force }
if (!(Test-Path "$scriptDir\CNCFooter.txt")) { Move-Item "$toolsDir\CNCFooter.txt" "$scriptDir" -Force }
if (!(Test-Path "$scriptDir\CNCPackageNotes.txt")) { Move-Item "$toolsDir\CNCPackageNotes.txt" "$scriptDir" -Force }
#if (!(Test-Path "$scriptDir\CNC.config")) { Move-Item "$toolsDir\CNC.config" "$scriptDir" -Force }
if ($ENV:Path -NotMatch '\BCURRAN3'){ Install-ChocolateyPath "$scriptDir" "Machine" ; refreshenv }
# Cleanup
Remove-Item "$toolsDir\*.txt" -Force -ErrorAction SilentlyContinue | Out-Null
Remove-Item "$toolsDir\*.config" -Force -ErrorAction SilentlyContinue | Out-Null
2020-09-16 19:32:32,979 628 [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\choco-nuspec-checker\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-09-16 19:32:32,979 628 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-09-16 19:32:33,026 628 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-09-16 19:32:33,152 628 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-09-16 19:32:33,152 628 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-09-16 19:32:33,168 628 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-09-16 19:32:33,479 628 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-09-16 19:32:33,589 628 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-09-16 19:32:33,667 628 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-09-16 19:32:33,667 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-09-16 19:32:33,667 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-09-16 19:32:33,682 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-09-16 19:32:33,682 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-09-16 19:32:33,682 628 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-09-16 19:32:33,699 628 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-09-16 19:32:33,699 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-09-16 19:32:33,699 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:32:33,713 628 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-09-16 19:32:33,713 628 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-09-16 19:32:33,713 628 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-09-16 19:32:33,713 628 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-09-16 19:32:33,729 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-09-16 19:32:33,729 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-09-16 19:32:33,729 628 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-09-16 19:32:33,745 628 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-09-16 19:32:33,745 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:32:33,745 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:32:33,745 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:32:33,760 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:32:33,760 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:32:33,760 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-09-16 19:32:33,776 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-09-16 19:32:33,917 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:32:33,917 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:32:33,917 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-09-16 19:32:33,932 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:32:33,932 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-09-16 19:32:33,932 628 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-09-16 19:32:33,948 628 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-09-16 19:32:33,948 628 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-09-16 19:32:33,948 628 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:32:33,964 628 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-09-16 19:32:33,964 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-09-16 19:32:33,979 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:32:33,979 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:32:33,979 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:32:33,995 628 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-09-16 19:32:33,995 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-09-16 19:32:34,010 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-09-16 19:32:34,199 628 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-09-16 19:32:34,199 628 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-09-16 19:32:34,213 628 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-09-16 19:32:34,213 628 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-09-16 19:32:34,213 628 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-09-16 19:32:34,213 628 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-09-16 19:32:34,229 628 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-09-16 19:32:34,229 628 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-09-16 19:32:34,245 628 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:32:34,245 628 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-09-16 19:32:34,245 628 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-09-16 19:32:34,261 628 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-09-16 19:32:34,261 628 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-09-16 19:32:34,261 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-09-16 19:32:34,276 628 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-09-16 19:32:34,276 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-09-16 19:32:34,276 628 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-09-16 19:32:34,276 628 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-09-16 19:32:34,292 628 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-09-16 19:32:34,292 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-09-16 19:32:34,324 628 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:32:34,401 628 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-09-16 19:32:34,401 628 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-09-16 19:32:34,401 628 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-09-16 19:32:34,417 628 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-09-16 19:32:34,417 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-09-16 19:32:34,417 628 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-09-16 19:32:34,417 628 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-09-16 19:32:34,434 628 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-09-16 19:32:34,434 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:32:34,448 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:32:34,448 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:32:34,448 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:32:34,448 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:32:34,463 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-09-16 19:32:34,463 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-09-16 19:32:34,463 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:32:34,479 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:32:34,479 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-09-16 19:32:34,479 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:32:34,479 628 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-09-16 19:32:34,589 628 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-09-16 19:32:34,636 628 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-09-16 19:32:34,651 628 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-09-16 19:32:34,651 628 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:32:34,651 628 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-09-16 19:32:34,667 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-09-16 19:32:34,667 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:32:34,682 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:32:34,682 628 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:32:34,682 628 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-09-16 19:32:34,776 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-09-16 19:32:34,776 628 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-09-16 19:32:34,792 628 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-09-16 19:32:34,792 628 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-09-16 19:32:34,792 628 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-09-16 19:32:34,807 628 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-09-16 19:32:34,807 628 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-09-16 19:32:34,807 628 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-09-16 19:32:34,807 628 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-09-16 19:32:34,824 628 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-09-16 19:32:34,824 628 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:32:34,824 628 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-09-16 19:32:34,824 628 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-09-16 19:32:34,838 628 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-09-16 19:32:34,838 628 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-09-16 19:32:34,838 628 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-09-16 19:32:34,838 628 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-09-16 19:32:34,838 628 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-09-16 19:32:34,838 628 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-09-16 19:32:34,854 628 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-09-16 19:32:34,854 628 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-09-16 19:32:34,854 628 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-09-16 19:32:34,854 628 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:32:34,854 628 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-09-16 19:32:34,870 628 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-09-16 19:32:34,870 628 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-09-16 19:32:34,870 628 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-09-16 19:32:34,870 628 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-09-16 19:32:34,870 628 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-09-16 19:32:34,886 628 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-09-16 19:32:34,996 628 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-09-16 19:32:35,010 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:32:35,010 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:32:35,010 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:32:35,010 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:32:35,028 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:32:35,028 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-09-16 19:32:35,028 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-09-16 19:32:35,028 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:32:35,063 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:32:35,073 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-09-16 19:32:35,073 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:32:35,073 628 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-09-16 19:32:35,073 628 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-09-16 19:32:35,088 628 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-09-16 19:32:35,088 628 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-09-16 19:32:35,088 628 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:32:35,088 628 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-09-16 19:32:35,104 628 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-09-16 19:32:35,293 628 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:32:35,293 628 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:32:35,293 628 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:32:35,307 628 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-09-16 19:32:35,307 628 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-09-16 19:32:35,307 628 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-09-16 19:32:35,307 628 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-09-16 19:32:35,307 628 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-09-16 19:32:35,323 628 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-09-16 19:32:35,323 628 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-09-16 19:32:35,323 628 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-09-16 19:32:35,323 628 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-09-16 19:32:35,339 628 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-09-16 19:32:35,339 628 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:32:35,339 628 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-09-16 19:32:35,339 628 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-09-16 19:32:35,354 628 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-09-16 19:32:35,354 628 [DEBUG] - ---------------------------Script Execution---------------------------
2020-09-16 19:32:35,354 628 [DEBUG] - Running 'ChocolateyScriptRunner' for choco-nuspec-checker v2020.09.21-pre with packageScript 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\choco-nuspec-checker', installArguments: '', packageParameters: '',
2020-09-16 19:32:35,370 628 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1'
2020-09-16 19:32:35,385 628 [DEBUG] - Running Get-ToolsLocation
2020-09-16 19:32:35,604 628 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2020-09-16 19:32:35,704 628 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2020-09-16 19:32:35,902 628 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2020-09-16 19:32:37,858 628 [DEBUG] - Running Update-SessionEnvironment
2020-09-16 19:32:37,870 628 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-09-16 19:32:38,823 628 [DEBUG] - Running Install-ChocolateyPowershellCommand -packageName 'CNC' -psFileFullPath 'C:\tools\BCURRAN3\CNC.ps1'
2020-09-16 19:32:38,964 628 [INFO ] - Adding C:\ProgramData\chocolatey\bin\CNC.bat and pointing it to powershell command C:\tools\BCURRAN3\CNC.ps1
2020-09-16 19:32:38,979 628 [INFO ] -
2020-09-16 19:32:39,416 628 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\BCURRAN3' -pathType 'Machine'
2020-09-16 19:32:39,416 628 [DEBUG] - Running Update-SessionEnvironment
2020-09-16 19:32:39,432 628 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-09-16 19:32:39,698 628 [INFO ] - PATH environment variable does not have C:\tools\BCURRAN3 in it. Adding...
2020-09-16 19:32:39,713 628 [INFO ] -
2020-09-16 19:32:39,713 628 [INFO ] - VERBOSE: Choosing not to expand environment names
2020-09-16 19:32:39,745 628 [DEBUG] - Test-ProcessAdminRights: returning True
2020-09-16 19:32:39,761 628 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;C:\tools\BCURRAN3;' -Scope 'Machine'
2020-09-16 19:32:39,854 628 [DEBUG] - Registry type for Path is/will be ExpandString
2020-09-16 19:32:40,042 628 [DEBUG] - Running Update-SessionEnvironment
2020-09-16 19:32:40,057 628 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-09-16 19:32:40,198 628 [DEBUG] - Running refreshenv
2020-09-16 19:32:40,371 628 [INFO ] - Refreshing environment variables from the registry for powershell.exe. Please wait...
2020-09-16 19:32:40,510 628 [INFO ] - Finished
2020-09-16 19:32:41,292 628 [DEBUG] - ----------------------------------------------------------------------
2020-09-16 19:32:41,354 628 [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\choco-nuspec-checker\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-09-16 19:32:41,354 628 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-09-16 19:32:41,385 628 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-09-16 19:32:41,402 628 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-09-16 19:32:41,402 628 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-09-16 19:32:41,402 628 [DEBUG] - * ChocolateyLastPathUpdate='132447583599171946' (User)
2020-09-16 19:32:41,402 628 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2020-09-16 19:32:41,417 628 [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:\tools\BCURRAN3;' (Machine)
2020-09-16 19:32:41,417 628 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker'
2020-09-16 19:32:41,417 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nupkg'
with checksum '21CCFF5459E73F992E45325749B3E9B6'
2020-09-16 19:32:41,417 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nuspec'
with checksum '9EB8509259F54C6061B15C0F5585D1A6'
2020-09-16 19:32:41,432 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\.SkipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2020-09-16 19:32:41,432 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1'
with checksum '2A5E3F3A065AC5F209F24F9D45E183D0'
2020-09-16 19:32:41,432 628 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1'
with checksum '38E9DC5FE1BA6EB10342C00C145A5CB9'
2020-09-16 19:32:41,432 628 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\choco-nuspec-checker.2020.09.21-pre".
2020-09-16 19:32:41,448 628 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\choco-nuspec-checker.2020.09.21-pre\.files'
2020-09-16 19:32:41,574 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\choco-nuspec-checker.2020.09.21-pre\.extra".
2020-09-16 19:32:41,574 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\choco-nuspec-checker.2020.09.21-pre\.version".
2020-09-16 19:32:41,588 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\choco-nuspec-checker.2020.09.21-pre\.sxs".
2020-09-16 19:32:41,588 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\choco-nuspec-checker.2020.09.21-pre\.pin".
2020-09-16 19:32:41,588 628 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-09-16 19:32:41,588 628 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\.chocolateyPending".
2020-09-16 19:32:41,605 628 [INFO ] - The install of choco-nuspec-checker was successful.
2020-09-16 19:32:41,605 628 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-09-16 19:32:41,605 628 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\choco-nuspec-checker.2020.09.21-pre.nupkg".
2020-09-16 19:32:41,651 628 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-09-16 19:32:41,651 628 [INFO ] -
2020-09-16 19:32:41,667 628 [WARN ] - Packages requiring reboot:
2020-09-16 19:32:42,370 628 [WARN ] - - powershell (exit code 3010)
2020-09-16 19:32:42,370 628 [WARN ] -
The recent package changes indicate a reboot is necessary.
Please reboot at your earliest convenience.
2020-09-16 19:32:42,385 628 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-09-16 19:32:42,479 628 [DEBUG] - Exiting with 3010
2020-09-16 19:33:10,432 2356 [DEBUG] - XmlConfiguration is now operational
2020-09-16 19:33:10,636 2356 [INFO ] - ============================================================
2020-09-16 19:33:11,652 2356 [INFO ] - Chocolatey v0.10.16-beta
2020-09-16 19:33:11,683 2356 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-09-16 19:33:11,683 2356 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-09-16 19:33:11,683 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-09-16 19:33:11,714 2356 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall choco-nuspec-checker --version 2020.09.21-pre -dvy --execution-timeout=5400
2020-09-16 19:33:11,714 2356 [DEBUG] - Received arguments: uninstall choco-nuspec-checker --version 2020.09.21-pre -dvy --execution-timeout=5400
2020-09-16 19:33:11,885 2356 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-09-16 19:33:11,902 2356 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-09-16 19:33:11,933 2356 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-09-16 19:33:12,088 2356 [DEBUG] - Performing validation checks.
2020-09-16 19:33:12,120 2356 [DEBUG] - Global Configuration Validation Checks:
2020-09-16 19:33:12,120 2356 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-09-16 19:33:12,135 2356 [DEBUG] - System State Validation Checks:
2020-09-16 19:33:12,151 2356 [DEBUG] - Reboot Requirement Checks:
2020-09-16 19:33:12,167 2356 [DEBUG] - - Pending Computer Rename = Checked
2020-09-16 19:33:12,184 2356 [DEBUG] - - Pending Component Based Servicing = Flagged
2020-09-16 19:33:12,198 2356 [INFO ] - 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
2020-09-16 19:33:12,213 2356 [INFO ] -
2020-09-16 19:33:12,213 2356 [WARN ] - Validation Warnings:
2020-09-16 19:33:12,213 2356 [WARN ] - - A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
2020-09-16 19:33:12,229 2356 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-09-16 19:33:12,246 2356 [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-09-16 19:33:12,292 2356 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;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='choco-nuspec-checker'|
Version='2020.09.21-pre'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='choco-nuspec-checker'|
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.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.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-09-16 19:33:12,307 2356 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-09-16 19:33:12,323 2356 [INFO ] - Uninstalling the following packages:
2020-09-16 19:33:12,323 2356 [INFO ] - choco-nuspec-checker
2020-09-16 19:33:12,354 2356 [DEBUG] - Current environment values (may contain sensitive data):
2020-09-16 19:33:12,354 2356 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-09-16 19:33:12,354 2356 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-09-16 19:33:12,371 2356 [DEBUG] - * 'ChocolateyLastPathUpdate'='132447583599171946' ('User')
2020-09-16 19:33:12,371 2356 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2020-09-16 19:33:12,385 2356 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-09-16 19:33:12,385 2356 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-09-16 19:33:12,385 2356 [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:\tools\BCURRAN3;' ('Machine')
2020-09-16 19:33:12,401 2356 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-09-16 19:33:12,401 2356 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-09-16 19:33:12,401 2356 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-09-16 19:33:12,418 2356 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-09-16 19:33:12,418 2356 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-09-16 19:33:12,418 2356 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-09-16 19:33:12,432 2356 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-09-16 19:33:12,432 2356 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-09-16 19:33:12,432 2356 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-09-16 19:33:12,448 2356 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-09-16 19:33:12,464 2356 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-09-16 19:33:12,464 2356 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-09-16 19:33:12,464 2356 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-09-16 19:33:12,464 2356 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-09-16 19:33:12,979 2356 [DEBUG] - Running list with the following filter = ''
2020-09-16 19:33:12,979 2356 [DEBUG] - --- Start of List ---
2020-09-16 19:33:13,495 2356 [DEBUG] - choco-nuspec-checker 2020.09.21-pre
2020-09-16 19:33:13,511 2356 [DEBUG] - --- End of List ---
2020-09-16 19:33:13,838 2356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-09-16 19:33:13,838 2356 [DEBUG] - Backing up existing choco-nuspec-checker prior to operation.
2020-09-16 19:33:13,855 2356 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker'
to 'C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker'
2020-09-16 19:33:15,871 2356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\choco-nuspec-checker".
2020-09-16 19:33:15,885 2356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker\choco-nuspec-checker.nupkg"
to "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nupkg".
2020-09-16 19:33:15,885 2356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker\choco-nuspec-checker.nuspec"
to "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nuspec".
2020-09-16 19:33:15,885 2356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools".
2020-09-16 19:33:16,543 2356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker\tools\.SkipAutoUninstaller"
to "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\.SkipAutoUninstaller".
2020-09-16 19:33:16,543 2356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker\tools\ChocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1".
2020-09-16 19:33:16,574 2356 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker\tools\ChocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1".
2020-09-16 19:33:18,104 2356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker'
2020-09-16 19:33:18,120 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nupkg'
with checksum '21CCFF5459E73F992E45325749B3E9B6'
2020-09-16 19:33:18,120 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\choco-nuspec-checker.nuspec'
with checksum '9EB8509259F54C6061B15C0F5585D1A6'
2020-09-16 19:33:18,120 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\.SkipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2020-09-16 19:33:18,136 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyInstall.ps1'
with checksum '2A5E3F3A065AC5F209F24F9D45E183D0'
2020-09-16 19:33:18,136 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1'
with checksum '38E9DC5FE1BA6EB10342C00C145A5CB9'
2020-09-16 19:33:18,448 2356 [INFO ] - [NuGet] Uninstalling 'choco-nuspec-checker 2020.09.21-pre'.
2020-09-16 19:33:18,510 2356 [INFO ] -
choco-nuspec-checker v2020.09.21-pre
2020-09-16 19:33:18,638 2356 [DEBUG] - Setting installer args for choco-nuspec-checker
2020-09-16 19:33:18,638 2356 [DEBUG] - Setting package parameters for choco-nuspec-checker
2020-09-16 19:33:18,652 2356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1':
2020-09-16 19:33:18,682 2356 [DEBUG] - $ErrorActionPreference = 'Stop'
$packageName = 'choco-nuspec-checker'
$scriptDir = "$(Get-ToolsLocation)\BCURRAN3"
Remove-Item "$ENV:ChocolateyInstall\bin\CNC.bat" -Force | Out-Null
Remove-Item "$scriptDir\CNC*.*" -Force | Out-Null
if (!(Get-ChildItem -Path "$ENV:ChocolateyToolsLocation\BCURRAN3" | Measure-Object | %{$_.Count})) {
$ENV:Path.Replace("$ChocolateyToolsLocation\BCURRAN3","") | Out-Null
Remove-Item "$ENV:ChocolateyToolsLocation\BCURRAN3" | Out-Null
}
2020-09-16 19:33:18,776 2356 [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\choco-nuspec-checker\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2020-09-16 19:33:18,792 2356 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-09-16 19:33:19,512 2356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-09-16 19:33:20,358 2356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-09-16 19:33:20,370 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-09-16 19:33:20,370 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-09-16 19:33:20,370 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-09-16 19:33:20,370 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-09-16 19:33:20,386 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-09-16 19:33:20,386 2356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-09-16 19:33:20,402 2356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-09-16 19:33:20,402 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-09-16 19:33:20,402 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:33:20,419 2356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-09-16 19:33:20,419 2356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-09-16 19:33:20,419 2356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-09-16 19:33:20,419 2356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-09-16 19:33:20,432 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-09-16 19:33:20,432 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-09-16 19:33:20,432 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-09-16 19:33:20,463 2356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-09-16 19:33:20,463 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:33:20,463 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:33:20,479 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:33:20,479 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:33:20,479 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:33:20,479 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-09-16 19:33:20,479 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-09-16 19:33:20,495 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:33:20,495 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:33:20,495 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-09-16 19:33:20,495 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:33:20,510 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-09-16 19:33:20,510 2356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-09-16 19:33:20,510 2356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-09-16 19:33:20,510 2356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-09-16 19:33:20,527 2356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:33:20,527 2356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-09-16 19:33:20,527 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-09-16 19:33:20,527 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:33:20,542 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:33:20,542 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:33:20,542 2356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-09-16 19:33:20,557 2356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-09-16 19:33:20,557 2356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-09-16 19:33:20,557 2356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-09-16 19:33:20,557 2356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-09-16 19:33:20,573 2356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-09-16 19:33:20,573 2356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-09-16 19:33:20,573 2356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-09-16 19:33:20,573 2356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-09-16 19:33:20,588 2356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-09-16 19:33:20,588 2356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-09-16 19:33:20,588 2356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:33:20,604 2356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-09-16 19:33:20,604 2356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-09-16 19:33:20,636 2356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-09-16 19:33:20,636 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-09-16 19:33:20,636 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-09-16 19:33:20,651 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-09-16 19:33:20,651 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-09-16 19:33:20,651 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-09-16 19:33:20,675 2356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-09-16 19:33:20,682 2356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-09-16 19:33:20,682 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-09-16 19:33:20,682 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:33:20,682 2356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-09-16 19:33:20,698 2356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-09-16 19:33:20,698 2356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-09-16 19:33:20,698 2356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-09-16 19:33:20,730 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-09-16 19:33:20,730 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-09-16 19:33:20,730 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-09-16 19:33:20,745 2356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-09-16 19:33:20,745 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:33:20,745 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:33:20,761 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:33:20,761 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:33:20,761 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:33:20,776 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-09-16 19:33:20,776 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-09-16 19:33:20,776 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:33:20,803 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:33:20,807 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-09-16 19:33:20,807 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:33:20,807 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-09-16 19:33:20,823 2356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-09-16 19:33:20,823 2356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-09-16 19:33:20,823 2356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-09-16 19:33:20,840 2356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:33:20,840 2356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-09-16 19:33:20,840 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-09-16 19:33:20,854 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:33:20,854 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:33:20,854 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:33:20,871 2356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-09-16 19:33:20,871 2356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-09-16 19:33:20,871 2356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-09-16 19:33:20,885 2356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-09-16 19:33:20,885 2356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-09-16 19:33:20,885 2356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-09-16 19:33:20,902 2356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-09-16 19:33:20,902 2356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-09-16 19:33:20,902 2356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-09-16 19:33:20,902 2356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-09-16 19:33:20,916 2356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-09-16 19:33:20,916 2356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:33:20,916 2356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-09-16 19:33:20,916 2356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-09-16 19:33:20,933 2356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-09-16 19:33:20,933 2356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-09-16 19:33:20,933 2356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-09-16 19:33:20,948 2356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-09-16 19:33:20,948 2356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-09-16 19:33:20,948 2356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-09-16 19:33:20,948 2356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-09-16 19:33:20,964 2356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-09-16 19:33:20,964 2356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-09-16 19:33:20,964 2356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-09-16 19:33:20,980 2356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-09-16 19:33:20,980 2356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-09-16 19:33:20,980 2356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-09-16 19:33:20,995 2356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-09-16 19:33:20,995 2356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-09-16 19:33:20,995 2356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-09-16 19:33:20,995 2356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-09-16 19:33:21,010 2356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-09-16 19:33:21,010 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-09-16 19:33:21,010 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-09-16 19:33:21,028 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-09-16 19:33:21,028 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-09-16 19:33:21,028 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-09-16 19:33:21,042 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-09-16 19:33:21,042 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-09-16 19:33:21,042 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-09-16 19:33:21,042 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-09-16 19:33:21,057 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-09-16 19:33:21,057 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-09-16 19:33:21,057 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-09-16 19:33:21,074 2356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-09-16 19:33:21,074 2356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-09-16 19:33:21,074 2356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-09-16 19:33:21,074 2356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-09-16 19:33:21,089 2356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-09-16 19:33:21,089 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-09-16 19:33:21,089 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-09-16 19:33:21,104 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-09-16 19:33:21,104 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-09-16 19:33:21,104 2356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-09-16 19:33:21,104 2356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-09-16 19:33:21,121 2356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-09-16 19:33:21,121 2356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-09-16 19:33:21,121 2356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-09-16 19:33:21,135 2356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-09-16 19:33:21,135 2356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-09-16 19:33:21,135 2356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-09-16 19:33:21,151 2356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-09-16 19:33:21,151 2356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-09-16 19:33:21,151 2356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-09-16 19:33:21,151 2356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-09-16 19:33:21,167 2356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-09-16 19:33:21,167 2356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-09-16 19:33:21,260 2356 [DEBUG] - ---------------------------Script Execution---------------------------
2020-09-16 19:33:21,278 2356 [DEBUG] - Running 'ChocolateyScriptRunner' for choco-nuspec-checker v2020.09.21-pre with packageScript 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\choco-nuspec-checker', installArguments: '', packageParameters: '',
2020-09-16 19:33:21,323 2356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools\ChocolateyUninstall.ps1'
2020-09-16 19:33:21,432 2356 [DEBUG] - Running Get-ToolsLocation
2020-09-16 19:33:21,682 2356 [DEBUG] - ----------------------------------------------------------------------
2020-09-16 19:33:21,699 2356 [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\choco-nuspec-checker\tools\ChocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-09-16 19:33:21,714 2356 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
2020-09-16 19:33:21,729 2356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-09-16 19:33:21,823 2356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-09-16 19:33:21,855 2356 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\choco-nuspec-checker".
2020-09-16 19:33:21,932 2356 [DEBUG] - [NuGet] Removed file '.SkipAutoUninstaller' to folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools'.
2020-09-16 19:33:21,932 2356 [DEBUG] - [NuGet] Removed file 'ChocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools'.
2020-09-16 19:33:21,948 2356 [DEBUG] - [NuGet] Removed file 'ChocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools'.
2020-09-16 19:33:21,948 2356 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker\tools'.
2020-09-16 19:33:21,963 2356 [DEBUG] - [NuGet] Removed file 'choco-nuspec-checker.nuspec' to folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker'.
2020-09-16 19:33:21,963 2356 [DEBUG] - [NuGet] Removed file 'choco-nuspec-checker.nupkg' to folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker'.
2020-09-16 19:33:21,963 2356 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\choco-nuspec-checker'.
2020-09-16 19:33:21,980 2356 [INFO ] - [NuGet] Successfully uninstalled 'choco-nuspec-checker 2020.09.21-pre'.
2020-09-16 19:33:21,995 2356 [INFO ] - choco-nuspec-checker has been successfully uninstalled.
2020-09-16 19:33:21,995 2356 [DEBUG] - Removing nupkg if it still exists.
2020-09-16 19:33:22,011 2356 [DEBUG] - Ensuring removal of installation files.
2020-09-16 19:33:22,011 2356 [DEBUG] - Ensuring removal of package cache files.
2020-09-16 19:33:22,104 2356 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-09-16 19:33:22,120 2356 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-09-16 19:33:22,151 2356 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment