Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SPH v2.1.1 - Failed - Package Tests Results

SPH v2.1.1 - Failed - Package Test Results

  • https://chocolatey.org/packages/SPH/2.1.1
  • Tested 26 Jun 2020 11:26:05 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-38-g3187e94
  • Install failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
2020-06-22 12:55:05,184 252 [DEBUG] - XmlConfiguration is now operational
2020-06-22 12:55:05,355 252 [INFO ] - ============================================================
2020-06-22 12:55:06,137 252 [INFO ] - Chocolatey v0.10.15
2020-06-22 12:55:06,168 252 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-06-22 12:55:06,168 252 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-06-22 12:55:06,183 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-06-22 12:55:06,215 252 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install SPH --version 2.1.1 -fdvy --execution-timeout=5400 --allow-downgrade
2020-06-22 12:55:06,324 252 [DEBUG] - Received arguments: install SPH --version 2.1.1 -fdvy --execution-timeout=5400 --allow-downgrade
2020-06-22 12:55:06,480 252 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-06-22 12:55:06,497 252 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-06-22 12:55:06,527 252 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-06-22 12:55:06,667 252 [DEBUG] - Performing validation checks.
2020-06-22 12:55:06,700 252 [DEBUG] - Global Configuration Validation Checks:
2020-06-22 12:55:06,715 252 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-06-22 12:55:06,715 252 [DEBUG] - System State Validation Checks:
2020-06-22 12:55:06,730 252 [DEBUG] - Reboot Requirement Checks:
2020-06-22 12:55:06,745 252 [DEBUG] - - Pending Computer Rename = Checked
2020-06-22 12:55:06,745 252 [DEBUG] - - Pending Component Based Servicing = Checked
2020-06-22 12:55:06,761 252 [DEBUG] - - Pending Windows Auto Update = Checked
2020-06-22 12:55:06,761 252 [DEBUG] - - Pending File Rename Operations = Ignored
2020-06-22 12:55:06,777 252 [DEBUG] - - Pending Windows Package Installer = Checked
2020-06-22 12:55:06,777 252 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-06-22 12:55:06,792 252 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-06-22 12:55:06,810 252 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-06-22 12:55:06,824 252 [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-06-22 12:55:06,871 252 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='SPH'|Version='2.1.1'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='SPH'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-06-22 12:55:06,871 252 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-06-22 12:55:06,903 252 [INFO ] - Installing the following packages:
2020-06-22 12:55:06,903 252 [INFO ] - SPH
2020-06-22 12:55:06,903 252 [INFO ] - By installing you accept licenses for the packages.
2020-06-22 12:55:06,934 252 [DEBUG] - Current environment values (may contain sensitive data):
2020-06-22 12:55:06,934 252 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-06-22 12:55:06,934 252 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-06-22 12:55:06,949 252 [DEBUG] - * 'ChocolateyLastPathUpdate'='132373039425306581' ('User')
2020-06-22 12:55:06,949 252 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-06-22 12:55:06,949 252 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-06-22 12:55:06,949 252 [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-06-22 12:55:06,965 252 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-06-22 12:55:06,965 252 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-06-22 12:55:06,965 252 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-06-22 12:55:06,965 252 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-06-22 12:55:06,980 252 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-06-22 12:55:06,980 252 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-06-22 12:55:06,980 252 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-06-22 12:55:06,980 252 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-06-22 12:55:06,995 252 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-06-22 12:55:06,995 252 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-06-22 12:55:06,995 252 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-06-22 12:55:07,013 252 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-06-22 12:55:07,013 252 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-06-22 12:55:07,013 252 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-06-22 12:55:08,903 252 [INFO ] - [NuGet] Attempting to resolve dependency 'PowerShell (= 3.0.20121027)'.
2020-06-22 12:55:11,278 252 [INFO ] - [NuGet] Attempting to resolve dependency 'DotNet4.5.1 (= 4.5.1.20131012)'.
2020-06-22 12:55:12,106 252 [INFO ] - [NuGet] Attempting to resolve dependency 'iis75.express (= 7.5.1)'.
2020-06-22 12:55:13,434 252 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2012.SMO (= 10.50.1600.2)'.
2020-06-22 12:55:14,996 252 [INFO ] - [NuGet] Attempting to resolve dependency 'MSXML6.SP1'.
2020-06-22 12:55:16,980 252 [INFO ] - [NuGet] Attempting to resolve dependency 'sql2012.nativeclient'.
2020-06-22 12:55:19,012 252 [INFO ] - [NuGet] Attempting to resolve dependency 'sql2012.clrtypes'.
2020-06-22 12:55:20,434 252 [INFO ] - [NuGet] Attempting to resolve dependency 'PowerShellExtension.SQL2012 (= 11.0.2100.60)'.
2020-06-22 12:55:21,957 252 [INFO ] - [NuGet] Attempting to resolve dependency 'javaruntime (= 7.0.45)'.
2020-06-22 12:55:23,012 252 [INFO ] - [NuGet] Attempting to resolve dependency 'jre8 (= 8.0.231)'.
2020-06-22 12:55:23,528 252 [INFO ] - [NuGet] Attempting to resolve dependency 'elastic (= 0.90.7.4)'.
2020-06-22 12:55:25,590 252 [INFO ] - [NuGet] Attempting to resolve dependency 'java.jdk'.
2020-06-22 12:55:27,418 252 [INFO ] - [NuGet] Attempting to resolve dependency 'jdk7'.
2020-06-22 12:55:28,996 252 [INFO ] - [NuGet] Installing 'PowerShell 5.1.14409.20180811'.
2020-06-22 12:55:29,029 252 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'PowerShell\tools'.
2020-06-22 12:55:29,043 252 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PowerShell\tools'.
2020-06-22 12:55:29,058 252 [DEBUG] - [NuGet] Added file 'PowerShell.nupkg' to folder 'PowerShell'.
2020-06-22 12:55:29,465 252 [DEBUG] - [NuGet] Added file 'PowerShell.nuspec' to folder 'PowerShell'.
2020-06-22 12:55:29,465 252 [INFO ] - [NuGet] Successfully installed 'PowerShell 5.1.14409.20180811'.
2020-06-22 12:55:29,465 252 [INFO ] -
PowerShell v5.1.14409.20180811 (forced) [Approved]
2020-06-22 12:55:29,512 252 [INFO ] - powershell package files install completed. Performing other installation steps.
2020-06-22 12:55:29,684 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2020-06-22 12:55:29,731 252 [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-06-22 12:55:29,762 252 [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-06-22 12:55:29,777 252 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-06-22 12:55:30,542 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 12:55:30,980 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 12:55:30,980 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 12:55:30,998 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 12:55:30,998 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 12:55:30,998 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 12:55:31,011 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 12:55:31,011 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 12:55:31,011 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 12:55:31,011 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 12:55:31,011 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:55:31,027 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 12:55:31,027 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 12:55:31,027 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 12:55:31,027 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 12:55:31,027 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 12:55:31,042 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 12:55:31,042 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 12:55:31,042 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 12:55:31,042 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:55:31,042 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:55:31,058 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:55:31,058 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:55:31,058 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:55:31,058 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 12:55:31,076 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 12:55:31,089 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:55:31,089 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:55:31,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 12:55:31,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:55:31,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 12:55:31,105 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 12:55:31,121 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 12:55:31,121 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 12:55:31,121 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:55:31,137 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 12:55:31,137 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 12:55:31,137 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:55:31,152 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:55:31,152 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:55:31,152 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 12:55:31,152 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 12:55:31,170 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 12:55:31,170 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 12:55:31,170 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 12:55:31,170 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 12:55:31,183 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 12:55:31,183 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 12:55:31,183 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 12:55:31,183 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 12:55:31,199 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 12:55:31,199 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:55:31,199 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 12:55:31,214 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 12:55:31,230 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 12:55:31,247 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 12:55:31,247 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 12:55:31,247 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 12:55:31,261 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 12:55:31,261 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 12:55:31,261 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 12:55:31,261 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 12:55:31,277 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 12:55:31,277 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:55:31,277 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 12:55:31,277 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 12:55:31,293 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 12:55:31,293 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 12:55:31,293 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 12:55:31,308 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 12:55:31,308 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 12:55:31,308 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 12:55:31,308 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:55:31,324 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:55:31,324 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:55:31,324 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:55:31,324 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:55:31,339 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 12:55:31,339 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 12:55:31,339 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:55:31,339 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:55:31,355 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 12:55:31,355 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:55:31,355 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 12:55:31,355 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 12:55:31,370 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 12:55:31,370 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 12:55:31,370 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:55:31,370 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 12:55:31,388 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 12:55:31,388 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:55:31,388 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:55:31,403 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:55:31,403 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 12:55:31,403 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 12:55:31,418 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 12:55:31,418 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 12:55:31,418 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 12:55:31,418 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 12:55:31,434 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 12:55:31,434 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 12:55:31,434 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 12:55:31,449 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 12:55:31,449 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 12:55:31,449 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:55:31,449 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 12:55:31,464 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 12:55:31,464 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 12:55:31,464 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 12:55:31,480 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 12:55:31,480 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 12:55:31,480 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 12:55:31,495 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 12:55:31,495 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 12:55:31,495 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 12:55:31,495 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 12:55:31,512 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:55:31,512 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 12:55:31,512 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 12:55:31,527 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 12:55:31,527 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 12:55:31,527 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 12:55:31,527 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 12:55:31,553 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 12:55:31,558 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 12:55:31,558 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:55:31,558 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:55:31,558 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:55:31,573 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:55:31,573 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:55:31,573 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 12:55:31,589 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 12:55:31,589 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:55:31,589 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:55:31,589 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 12:55:31,606 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:55:31,606 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 12:55:31,606 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 12:55:31,606 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 12:55:31,624 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 12:55:31,624 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:55:31,624 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 12:55:31,636 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 12:55:31,636 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:55:31,636 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:55:31,636 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:55:31,655 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 12:55:31,655 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 12:55:31,655 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 12:55:31,701 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 12:55:31,714 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 12:55:31,714 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 12:55:31,731 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 12:55:31,731 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 12:55:31,731 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 12:55:31,755 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 12:55:31,762 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:55:31,762 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 12:55:31,762 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 12:55:31,762 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 12:55:31,997 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 12:55:32,013 252 [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-06-22 12:55:32,042 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2020-06-22 12:55:33,137 252 [INFO ] - Running on: Windows Server 2012 R2 Datacenter, (ServerDatacenter), Windows Kernel: 6.3.9600
2020-06-22 12:55:33,262 252 [INFO ] - Installing for OS: Win8.1/2012R2
2020-06-22 12:55:33,559 252 [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-202006221255.evtx"'
2020-06-22 12:55:33,730 252 [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-06-22 12:55:33,997 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 12:55:34,074 252 [DEBUG] - CPU is 64 bit
2020-06-22 12:55:34,091 252 [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-06-22 12:55:34,155 252 [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-06-22 12:55:34,839 252 [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-06-22 12:55:34,855 252 [DEBUG] - File name determined from url is 'Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-06-22 12:55:34,902 252 [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-06-22 12:55:34,917 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 12:55:34,917 252 [DEBUG] - Request Headers:
2020-06-22 12:55:34,934 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 12:55:34,934 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 12:55:35,011 252 [DEBUG] - Response Headers:
2020-06-22 12:55:35,011 252 [DEBUG] - 'Content-MD5':'4uhKTV355vk+of3NssGOOQ=='
2020-06-22 12:55:35,011 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 12:55:35,028 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 12:55:35,028 252 [DEBUG] - 'Content-Length':'19878906'
2020-06-22 12:55:35,028 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 12:55:35,042 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 09:55:56 GMT'
2020-06-22 12:55:35,042 252 [DEBUG] - 'ETag':'"0x8D632CAFF2AE41B"'
2020-06-22 12:55:35,042 252 [DEBUG] - 'Last-Modified':'Mon, 15 Oct 2018 18:21:16 GMT'
2020-06-22 12:55:35,058 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 12:55:35,074 252 [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-06-22 12:55:35,089 252 [INFO ] -
2020-06-22 12:55:35,152 252 [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-06-22 12:55:35,152 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 12:55:35,152 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 12:55:35,168 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 12:55:35,652 252 [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-06-22 12:55:39,198 252 [INFO ] -
2020-06-22 12:55:39,387 252 [INFO ] - Download of Win8.1AndW2K12R2-KB3191564-x64.msu (18.96 MB) completed.
2020-06-22 12:55:39,387 252 [INFO ] -
2020-06-22 12:55:45,168 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 12:55:45,168 252 [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-06-22 12:55:45,199 252 [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-06-22 12:55:45,216 252 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-06-22 12:55:45,216 252 [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-06-22 12:55:46,199 252 [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-06-22 12:55:46,278 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202006221255.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-06-22 12:55:46,278 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 12:55:46,292 252 [INFO ] - Installing PowerShell...
2020-06-22 12:55:46,308 252 [INFO ] -
2020-06-22 12:55:46,449 252 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2020-06-22 12:55:46,527 252 [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-202006221255.evtx" ' -exeToRun 'C:\Windows\System32\wusa.exe'
2020-06-22 12:55:46,544 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 12:55:46,606 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 12:55:46,636 252 [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-202006221255.evtx" ]. This may take a while, depending on the statements.
2020-06-22 12:59:36,652 252 [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-202006221255.evtx" ] exited with '3010'.
2020-06-22 12:59:36,684 252 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-06-22 12:59:36,699 252 [INFO ] - PowerShell has been installed.
2020-06-22 12:59:36,699 252 [INFO ] -
2020-06-22 12:59:36,714 252 [WARN ] - WARNING: PowerShell requires a reboot to complete the installation.
2020-06-22 12:59:36,777 252 [DEBUG] - ----------------------------------------------------------------------
2020-06-22 12:59:36,793 252 [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-06-22 12:59:36,808 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 12:59:36,902 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 12:59:37,167 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2020-06-22 12:59:37,167 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2020-06-22 12:59:37,167 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2020-06-22 12:59:37,183 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2020-06-22 12:59:37,183 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2020-06-22 12:59:37,261 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811".
2020-06-22 12:59:37,292 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.files'
2020-06-22 12:59:37,307 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.extra".
2020-06-22 12:59:37,324 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.version".
2020-06-22 12:59:37,324 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.sxs".
2020-06-22 12:59:37,324 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.pin".
2020-06-22 12:59:37,339 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 12:59:37,339 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2020-06-22 12:59:37,357 252 [INFO ] - The install of powershell was successful.
2020-06-22 12:59:37,357 252 [INFO ] - Software installed as 'msu', install location is likely default.
2020-06-22 12:59:37,370 252 [INFO ] - [NuGet] Installing 'DotNet4.5.1 4.5.1.20140606'.
2020-06-22 12:59:37,370 252 [DEBUG] - [NuGet] Added file 'dotnet.png' to folder 'DotNet4.5.1'.
2020-06-22 12:59:37,386 252 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'DotNet4.5.1\Tools'.
2020-06-22 12:59:37,386 252 [DEBUG] - [NuGet] Added file 'DotNet4.5.1.nupkg' to folder 'DotNet4.5.1'.
2020-06-22 12:59:37,683 252 [DEBUG] - [NuGet] Added file 'DotNet4.5.1.nuspec' to folder 'DotNet4.5.1'.
2020-06-22 12:59:37,683 252 [INFO ] - [NuGet] Successfully installed 'DotNet4.5.1 4.5.1.20140606'.
2020-06-22 12:59:37,683 252 [INFO ] -
DotNet4.5.1 v4.5.1.20140606 (forced) [Approved]
2020-06-22 12:59:37,683 252 [INFO ] - dotnet4.5.1 package files install completed. Performing other installation steps.
2020-06-22 12:59:37,699 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1':
2020-06-22 12:59:37,714 252 [DEBUG] - if(-not (test-path "hklm:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs\.NETFramework,Version=v4.5.1")) {
Install-ChocolateyPackage 'dotnet451' 'exe' "/Passive /NoRestart /Log $env:temp\net451.log" 'http://download.microsoft.com/download/7/4/0/74078A56-A3A1-492D-BBA9-865684B83C1B/NDP451-KB2859818-Web.exe' -validExitCodes @(0,3010)
}
else {
Write-Host "Microsoft .Net 4.5.1 Framework is already installed on your machine."
}
2020-06-22 12:59:37,714 252 [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\DotNet4.5.1\Tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 12:59:37,729 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 12:59:37,886 252 [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-06-22 12:59:37,901 252 [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-06-22 12:59:37,901 252 [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-06-22 12:59:37,901 252 [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-06-22 12:59:38,168 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 12:59:38,278 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 12:59:38,278 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 12:59:38,292 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 12:59:38,292 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 12:59:38,292 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 12:59:38,307 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 12:59:38,307 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 12:59:38,307 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 12:59:38,307 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 12:59:38,325 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:59:38,325 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 12:59:38,325 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 12:59:38,325 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 12:59:38,347 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 12:59:38,356 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 12:59:38,356 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 12:59:38,356 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 12:59:38,373 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 12:59:38,373 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:59:38,385 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:38,385 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:59:38,403 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:59:38,403 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:59:38,403 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 12:59:38,417 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 12:59:38,417 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:59:38,417 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:59:38,417 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 12:59:38,417 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:59:38,433 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 12:59:38,433 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 12:59:38,433 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 12:59:38,449 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 12:59:38,449 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:59:38,449 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 12:59:38,449 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 12:59:38,464 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:38,464 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:59:38,464 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:59:38,464 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 12:59:38,479 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 12:59:38,479 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 12:59:38,479 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 12:59:38,497 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 12:59:38,497 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 12:59:38,511 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 12:59:38,511 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 12:59:38,526 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 12:59:38,526 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 12:59:38,526 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 12:59:38,542 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:59:38,542 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 12:59:38,542 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 12:59:38,558 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 12:59:38,558 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 12:59:38,558 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 12:59:38,558 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 12:59:38,574 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 12:59:38,589 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 12:59:38,589 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 12:59:38,589 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 12:59:38,605 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 12:59:38,605 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:59:38,605 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 12:59:38,605 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 12:59:38,620 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 12:59:38,620 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 12:59:38,636 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 12:59:38,636 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 12:59:38,636 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 12:59:38,636 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 12:59:38,652 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:59:38,652 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:38,652 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:59:38,667 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:59:38,667 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:59:38,667 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 12:59:38,683 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 12:59:38,683 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:59:38,683 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:59:38,698 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 12:59:38,698 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:59:38,698 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 12:59:38,698 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 12:59:38,716 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 12:59:38,716 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 12:59:38,716 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:59:38,730 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 12:59:38,730 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 12:59:38,730 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:38,730 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:59:38,746 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:59:38,746 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 12:59:38,746 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 12:59:38,746 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 12:59:38,760 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 12:59:38,760 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 12:59:38,760 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 12:59:38,782 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 12:59:38,782 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 12:59:38,782 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 12:59:38,792 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 12:59:38,792 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 12:59:38,792 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:59:38,792 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 12:59:38,809 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 12:59:38,809 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 12:59:38,824 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 12:59:38,824 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 12:59:38,839 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 12:59:38,839 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 12:59:38,839 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 12:59:38,855 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 12:59:38,855 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 12:59:38,855 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 12:59:38,855 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:59:38,871 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 12:59:38,871 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 12:59:38,871 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 12:59:38,886 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 12:59:38,886 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 12:59:38,886 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 12:59:38,902 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 12:59:38,902 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 12:59:38,902 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:59:38,902 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:38,917 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:59:38,917 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:59:38,917 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:59:38,917 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 12:59:38,934 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 12:59:38,934 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:59:38,934 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:59:38,949 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 12:59:38,949 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:59:38,949 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 12:59:38,966 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 12:59:38,979 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 12:59:39,121 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 12:59:39,121 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:59:39,121 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 12:59:39,121 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 12:59:39,135 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:39,135 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:59:39,135 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:59:39,135 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 12:59:39,151 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 12:59:39,151 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 12:59:39,151 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 12:59:39,151 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 12:59:39,167 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 12:59:39,167 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 12:59:39,167 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 12:59:39,167 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 12:59:39,184 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 12:59:39,184 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:59:39,184 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 12:59:39,184 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 12:59:39,198 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 12:59:39,198 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 12:59:39,214 252 [DEBUG] - Running 'ChocolateyScriptRunner' for DotNet4.5.1 v4.5.1.20140606 with packageScript 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\DotNet4.5.1', installArguments: '', packageParameters: '',
2020-06-22 12:59:39,214 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1'
2020-06-22 12:59:39,231 252 [INFO ] - Microsoft .Net 4.5.1 Framework is already installed on your machine.
2020-06-22 12:59:39,231 252 [INFO ] -
2020-06-22 12:59:39,245 252 [DEBUG] - ----------------------------------------------------------------------
2020-06-22 12:59:39,245 252 [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\DotNet4.5.1\Tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-06-22 12:59:39,261 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 12:59:39,401 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 12:59:39,448 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\DotNet4.5.1'
2020-06-22 12:59:39,448 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\dotnet.png'
with checksum '0D5A15B93F47DF7F91B24A14C7CE91FE'
2020-06-22 12:59:39,448 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\DotNet4.5.1.nupkg'
with checksum '644E236231ADA16E07DA6C9B9612F508'
2020-06-22 12:59:39,497 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\DotNet4.5.1.nuspec'
with checksum '0B3F897C37EFA55FCB419072C56EAD55'
2020-06-22 12:59:39,497 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1'
with checksum '805DDE099F331DF8A4F0D47BE8D47E7C'
2020-06-22 12:59:39,511 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606".
2020-06-22 12:59:39,511 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.files'
2020-06-22 12:59:39,558 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.extra".
2020-06-22 12:59:39,558 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.version".
2020-06-22 12:59:39,558 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.sxs".
2020-06-22 12:59:39,573 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.pin".
2020-06-22 12:59:39,573 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 12:59:39,591 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\DotNet4.5.1\.chocolateyPending".
2020-06-22 12:59:39,591 252 [INFO ] - The install of dotnet4.5.1 was successful.
2020-06-22 12:59:39,591 252 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-06-22 12:59:39,605 252 [INFO ] - [NuGet] Installing 'iis75.express 7.5.1'.
2020-06-22 12:59:39,605 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'iis75.express\tools'.
2020-06-22 12:59:39,605 252 [DEBUG] - [NuGet] Added file 'iis75.express.nupkg' to folder 'iis75.express'.
2020-06-22 12:59:39,964 252 [DEBUG] - [NuGet] Added file 'iis75.express.nuspec' to folder 'iis75.express'.
2020-06-22 12:59:39,964 252 [INFO ] - [NuGet] Successfully installed 'iis75.express 7.5.1'.
2020-06-22 12:59:39,964 252 [INFO ] -
iis75.express v7.5.1 (forced)
2020-06-22 12:59:39,964 252 [INFO ] - iis75.express package files install completed. Performing other installation steps.
2020-06-22 12:59:39,979 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1':
2020-06-22 12:59:39,979 252 [DEBUG] - #NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one
$packageName = 'iis75.express' # arbitrary name for the package, used in messages
$installerType = 'MSI' #only one of these: exe, msi, msu
$url = 'http://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi' # download url
#$url64 = 'URL_x64_HERE' # 64bit URL here or remove - if installer decides, then use $url
$silentArgs = '/quiet' # "/s /S /q /Q /quiet /silent /SILENT /VERYSILENT" # try any of these to get the silent installer #msi is always /quiet
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
# main helpers - these have error handling tucked into them already
# installer, will assert administrative rights
# if removing $url64, please remove from here
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes
# download and unpack a zip file
# if removing $url64, please remove from here
#Install-ChocolateyZipPackage "$packageName" "$url" "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" "$url64"
#try { #error handling is only necessary if you need to do anything in addition to/instead of the main helpers
# other helpers - using any of these means you want to uncomment the error handling up top and at bottom.
# downloader that the main helpers use to download items
# if removing $url64, please remove from here
#Get-ChocolateyWebFile "$packageName" 'DOWNLOAD_TO_FILE_FULL_PATH' "$url" "$url64"
# installer, will assert administrative rights - used by Install-ChocolateyPackage
#Install-ChocolateyInstallPackage "$packageName" "$installerType" "$silentArgs" '_FULLFILEPATH_' -validExitCodes $validExitCodes
# unzips a file to the specified location - auto overwrites existing content
#Get-ChocolateyUnzip "FULL_LOCATION_TO_ZIP.zip" "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
# Runs processes asserting UAC, will assert administrative rights - used by Install-ChocolateyInstallPackage
#Start-ChocolateyProcessAsAdmin 'STATEMENTS_TO_RUN' 'Optional_Application_If_Not_PowerShell' -validExitCodes $validExitCodes
# add specific folders to the path - any executables found in the chocolatey package folder will already be on the path. This is used in addition to that or for cases when a native installer doesn't add things to the path.
#Install-ChocolateyPath 'LOCATION_TO_ADD_TO_PATH' 'User_OR_Machine' # Machine will assert administrative rights
# add specific files as shortcuts to the desktop
#$target = Join-Path $MyInvocation.MyCommand.Definition "$($packageName).exe"
#Install-ChocolateyDesktopLink $target
#------- ADDITIONAL SETUP -------#
# make sure to uncomment the error handling if you have additional setup to do
#$processor = Get-WmiObject Win32_Processor
#$is64bit = $processor.AddressWidth -eq 64
# the following is all part of error handling
#Write-ChocolateySuccess "$packageName"
#} catch {
#Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
#throw
#}
2020-06-22 12:59:39,995 252 [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\iis75.express\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 12:59:39,995 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 12:59:39,995 252 [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-06-22 12:59:40,010 252 [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-06-22 12:59:40,010 252 [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-06-22 12:59:40,010 252 [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-06-22 12:59:40,324 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 12:59:40,417 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 12:59:40,495 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 12:59:40,495 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 12:59:40,495 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 12:59:40,511 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 12:59:40,511 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 12:59:40,511 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 12:59:40,511 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 12:59:40,527 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 12:59:40,527 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:59:40,527 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 12:59:40,527 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 12:59:40,543 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 12:59:40,543 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 12:59:40,543 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 12:59:40,543 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 12:59:40,558 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 12:59:40,558 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 12:59:40,558 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:59:40,574 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:40,574 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:59:40,574 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:59:40,598 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:59:40,598 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 12:59:40,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 12:59:40,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:59:40,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:59:40,620 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 12:59:40,620 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:59:40,620 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 12:59:40,620 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 12:59:40,641 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 12:59:40,641 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 12:59:40,651 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:59:40,651 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 12:59:40,651 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 12:59:40,651 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:40,669 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:59:40,669 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:59:40,669 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 12:59:40,683 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 12:59:40,683 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 12:59:40,683 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 12:59:40,683 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 12:59:40,700 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 12:59:40,700 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 12:59:40,700 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 12:59:40,714 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 12:59:40,714 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 12:59:40,714 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 12:59:40,733 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:59:40,733 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 12:59:40,745 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 12:59:40,745 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 12:59:40,745 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 12:59:40,763 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 12:59:40,763 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 12:59:40,763 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 12:59:40,763 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 12:59:40,776 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 12:59:40,776 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 12:59:40,776 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 12:59:40,776 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:59:40,794 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 12:59:40,794 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 12:59:40,794 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 12:59:40,794 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 12:59:40,807 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 12:59:40,807 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 12:59:40,832 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 12:59:40,839 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 12:59:40,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:59:40,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:40,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:59:40,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:59:40,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:59:40,871 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 12:59:40,887 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 12:59:40,887 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:59:40,887 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:59:40,887 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 12:59:40,902 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:59:40,902 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 12:59:40,902 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 12:59:40,902 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 12:59:40,917 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 12:59:40,917 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:59:40,943 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 12:59:40,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 12:59:40,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:40,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:59:40,964 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:59:40,964 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 12:59:40,964 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 12:59:40,964 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 12:59:40,979 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 12:59:40,979 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 12:59:40,979 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 12:59:40,979 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 12:59:40,995 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 12:59:40,995 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 12:59:40,995 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 12:59:41,010 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 12:59:41,010 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:59:41,010 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 12:59:41,010 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 12:59:41,026 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 12:59:41,026 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 12:59:41,026 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 12:59:41,026 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 12:59:41,042 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 12:59:41,042 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 12:59:41,042 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 12:59:41,042 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 12:59:41,057 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 12:59:41,073 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 12:59:41,090 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 12:59:41,090 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 12:59:41,104 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 12:59:41,104 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 12:59:41,104 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 12:59:41,120 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 12:59:41,120 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 12:59:41,120 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 12:59:41,120 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 12:59:41,136 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:41,136 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 12:59:41,136 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 12:59:41,136 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 12:59:41,136 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 12:59:41,151 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 12:59:41,151 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 12:59:41,167 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 12:59:41,167 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 12:59:41,167 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 12:59:41,167 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 12:59:41,182 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 12:59:41,182 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 12:59:41,182 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 12:59:41,182 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 12:59:41,198 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 12:59:41,198 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 12:59:41,198 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 12:59:41,198 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 12:59:41,214 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 12:59:41,214 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 12:59:41,214 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 12:59:41,214 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 12:59:41,230 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 12:59:41,230 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 12:59:41,230 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 12:59:41,230 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 12:59:41,245 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 12:59:41,245 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 12:59:41,261 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 12:59:41,261 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 12:59:41,276 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 12:59:41,276 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 12:59:41,292 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 12:59:41,308 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 12:59:41,308 252 [DEBUG] - Running 'ChocolateyScriptRunner' for iis75.express v7.5.1 with packageScript 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\iis75.express', installArguments: '', packageParameters: '',
2020-06-22 12:59:41,323 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1'
2020-06-22 12:59:41,339 252 [DEBUG] - Running Install-ChocolateyPackage -validExitCodes '0' -packageName 'iis75.express' -fileType 'MSI' -silentArgs '/quiet' -url 'http://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi'
2020-06-22 12:59:41,354 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'iis75.express' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iis75.expressInstall.MSI' -url 'http://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi' -url64bit '' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-06-22 12:59:41,354 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 12:59:41,371 252 [DEBUG] - CPU is 64 bit
2020-06-22 12:59:41,371 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi' -ErrorAction 'Stop'
2020-06-22 12:59:41,385 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 12:59:41,385 252 [DEBUG] - Request Headers:
2020-06-22 12:59:41,401 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 12:59:41,418 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 12:59:44,121 252 [DEBUG] - Response Headers:
2020-06-22 12:59:44,121 252 [DEBUG] - 'Content-MD5':'3C63NOORSSmxRTpZv4iZKg=='
2020-06-22 12:59:44,136 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 12:59:44,136 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 12:59:44,136 252 [DEBUG] - 'Content-Length':'3722752'
2020-06-22 12:59:44,151 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 12:59:44,151 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:00:05 GMT'
2020-06-22 12:59:44,151 252 [DEBUG] - 'ETag':'"0x8D633966DD9E014"'
2020-06-22 12:59:44,214 252 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 18:37:30 GMT'
2020-06-22 12:59:44,231 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 12:59:44,231 252 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2020-06-22 12:59:44,246 252 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi' -defaultName 'iis75.expressInstall.MSI'
2020-06-22 12:59:45,167 252 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi'
2020-06-22 12:59:45,182 252 [DEBUG] - File name determined from url is 'iisexpress_1_11_x86_en-US.msi'
2020-06-22 12:59:45,182 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi' -ErrorAction 'Stop'
2020-06-22 12:59:45,199 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 12:59:45,199 252 [DEBUG] - Request Headers:
2020-06-22 12:59:45,199 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 12:59:45,214 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 12:59:45,795 252 [DEBUG] - Response Headers:
2020-06-22 12:59:45,807 252 [DEBUG] - 'Content-MD5':'3C63NOORSSmxRTpZv4iZKg=='
2020-06-22 12:59:45,807 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 12:59:45,807 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 12:59:45,823 252 [DEBUG] - 'Content-Length':'3722752'
2020-06-22 12:59:45,823 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 12:59:45,823 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:00:06 GMT'
2020-06-22 12:59:45,823 252 [DEBUG] - 'ETag':'"0x8D633966DD9E014"'
2020-06-22 12:59:45,839 252 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 18:37:30 GMT'
2020-06-22 12:59:45,839 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 12:59:45,855 252 [INFO ] - Downloading iis75.express
from 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi'
2020-06-22 12:59:45,855 252 [INFO ] -
2020-06-22 12:59:45,855 252 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi' -options 'System.Collections.Hashtable'
2020-06-22 12:59:45,870 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 12:59:45,870 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 12:59:45,885 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 12:59:46,323 252 [DEBUG] - Downloading https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi
2020-06-22 12:59:47,105 252 [INFO ] -
2020-06-22 12:59:47,122 252 [INFO ] - Download of iisexpress_1_11_x86_en-US.msi (3.55 MB) completed.
2020-06-22 12:59:47,122 252 [INFO ] -
2020-06-22 12:59:50,141 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 12:59:50,141 252 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi' is the size we expect it to be.
2020-06-22 12:59:50,167 252 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi'.
2020-06-22 12:59:50,167 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/D/C/4/DC4EC38C-A6AA-449D-9B19-7ABC6DF72B34/iisexpress_1_11_x86_en-US.msi'
2020-06-22 12:59:50,167 252 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2020-06-22 12:59:50,182 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'iis75.express' -fileType 'MSI' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2020-06-22 12:59:50,182 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 12:59:50,203 252 [INFO ] - Installing iis75.express...
2020-06-22 12:59:50,203 252 [INFO ] -
2020-06-22 12:59:50,214 252 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-06-22 12:59:50,214 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 12:59:50,230 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 12:59:50,230 252 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi" /quiet ]. This may take a while, depending on the statements.
2020-06-22 13:00:24,558 252 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\iis75.express\7.5.1\iisexpress_1_11_x86_en-US.msi" /quiet ] exited with '0'.
2020-06-22 13:00:24,558 252 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-06-22 13:00:24,574 252 [INFO ] - iis75.express has been installed.
2020-06-22 13:00:24,574 252 [INFO ] -
2020-06-22 13:00:24,574 252 [DEBUG] - ----------------------------------------------------------------------
2020-06-22 13:00:24,589 252 [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\iis75.express\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-06-22 13:00:24,589 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:00:24,621 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:00:24,621 252 [INFO ] - iis75.express may be able to be automatically uninstalled.
2020-06-22 13:00:24,621 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\iis75.express'
2020-06-22 13:00:24,643 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\iis75.express\iis75.express.nupkg'
with checksum '3BDCC5CACD7A42794A62DD8CDE8BD847'
2020-06-22 13:00:24,654 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\iis75.express\iis75.express.nuspec'
with checksum '12DF1CB54808B3AB772F2FA678D3438E'
2020-06-22 13:00:24,654 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1'
with checksum '7BD7913BA1D1CA04FEBEA62D265079C4'
2020-06-22 13:00:24,667 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1".
2020-06-22 13:00:24,745 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.registry'
2020-06-22 13:00:24,745 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.files'
2020-06-22 13:00:24,776 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.extra".
2020-06-22 13:00:24,776 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.version".
2020-06-22 13:00:24,776 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.sxs".
2020-06-22 13:00:24,792 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.pin".
2020-06-22 13:00:24,792 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:00:24,792 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\iis75.express\.chocolateyPending".
2020-06-22 13:00:24,810 252 [INFO ] - The install of iis75.express was successful.
2020-06-22 13:00:24,810 252 [INFO ] - Software installed as 'MSI', install location is likely default.
2020-06-22 13:00:24,810 252 [INFO ] - [NuGet] Installing 'MSXML6.SP1 6.10.1129.0'.
2020-06-22 13:00:24,824 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'MSXML6.SP1\tools'.
2020-06-22 13:00:24,824 252 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nupkg' to folder 'MSXML6.SP1'.
2020-06-22 13:00:25,042 252 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nuspec' to folder 'MSXML6.SP1'.
2020-06-22 13:00:25,042 252 [INFO ] - [NuGet] Successfully installed 'MSXML6.SP1 6.10.1129.0'.
2020-06-22 13:00:25,042 252 [INFO ] -
MSXML6.SP1 v6.10.1129.0 (forced) [Approved]
2020-06-22 13:00:25,042 252 [INFO ] - msxml6.sp1 package files install completed. Performing other installation steps.
2020-06-22 13:00:25,058 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1':
2020-06-22 13:00:25,058 252 [DEBUG] - $package = 'MSXML6.SP1'
try {
#Vista or greater already ships with MSXML6
if ([Environment]::OSVersion.Version -ge [Version]'6.0')
{
Write-ChocolateySuccess "Installation of $package is not necessary on this OS"
return
}
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/qb';
url = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi'
url64bit = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi'
}
Install-ChocolateyPackage @params
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2020-06-22 13:00:25,058 252 [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\MSXML6.SP1\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:00:25,073 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:00:25,073 252 [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-06-22 13:00:25,073 252 [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-06-22 13:00:25,089 252 [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-06-22 13:00:25,089 252 [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-06-22 13:00:25,511 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:00:25,637 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:25,637 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:25,637 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:25,651 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:25,651 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:25,651 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:25,668 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:25,668 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:25,668 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:25,668 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:25,686 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:25,686 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:25,686 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:25,698 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:25,698 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:25,698 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:25,839 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:25,839 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:25,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:25,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:25,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:25,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:25,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:25,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:25,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:25,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:25,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:25,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:25,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:25,887 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:25,887 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:25,887 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:25,887 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:25,901 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:25,901 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:25,901 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:25,901 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:25,917 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:25,917 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:25,917 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:25,917 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:25,917 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:25,932 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:25,932 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:25,932 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:25,932 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:25,948 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:25,948 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:25,948 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:25,948 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:25,964 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:25,964 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:25,964 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:25,964 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:25,982 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:25,982 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:25,982 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:25,982 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:25,995 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:25,995 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:25,995 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:25,995 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:26,012 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:26,012 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:26,012 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:26,026 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:26,026 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:26,026 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:26,026 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:26,042 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:26,042 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:26,042 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:26,042 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:26,057 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:26,057 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:26,057 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:26,057 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:26,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:26,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:26,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:26,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:26,090 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:26,090 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:26,090 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:26,090 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:26,104 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:26,104 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:26,104 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:26,120 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:26,120 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:26,120 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:26,120 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:26,136 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:26,136 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:26,136 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:26,136 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:26,151 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:26,151 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:26,151 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:26,151 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:26,167 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:26,167 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:26,167 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:26,167 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:26,182 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:26,182 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:26,182 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 13:00:26,182 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 13:00:26,198 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:26,198 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:26,198 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 13:00:26,214 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:26,214 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 13:00:26,214 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:26,214 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 13:00:26,214 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:26,230 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 13:00:26,230 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 13:00:26,230 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:26,245 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 13:00:26,245 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 13:00:26,245 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 13:00:26,245 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 13:00:26,261 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 13:00:26,261 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:26,261 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:26,261 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:26,276 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:26,276 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:26,276 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 13:00:26,276 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 13:00:26,293 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:26,293 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:26,293 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:26,307 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:26,307 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:26,307 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 13:00:26,307 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 13:00:26,323 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 13:00:26,323 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:26,323 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 13:00:26,323 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 13:00:26,339 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:26,339 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:26,339 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:26,339 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 13:00:26,355 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 13:00:26,355 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 13:00:26,355 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 13:00:26,371 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:26,371 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 13:00:26,371 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 13:00:26,371 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:26,386 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 13:00:26,386 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 13:00:26,386 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:26,386 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 13:00:26,401 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 13:00:26,401 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:26,434 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 13:00:26,448 252 [DEBUG] - Running 'ChocolateyScriptRunner' for MSXML6.SP1 v6.10.1129.0 with packageScript 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\MSXML6.SP1', installArguments: '', packageParameters: '',
2020-06-22 13:00:26,448 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
2020-06-22 13:00:26,479 252 [DEBUG] - Running Write-ChocolateySuccess -packageName 'Installation of MSXML6.SP1 is not necessary on this OS'
2020-06-22 13:00:26,479 252 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2020-06-22 13:00:26,496 252 [DEBUG] - ----------------------------------------------------------------------
2020-06-22 13:00:26,496 252 [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\MSXML6.SP1\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-06-22 13:00:26,496 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:00:26,698 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:00:26,698 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\MSXML6.SP1'
2020-06-22 13:00:26,716 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nupkg'
with checksum '1107730CBD859F95AE5E3A90D31097EF'
2020-06-22 13:00:26,716 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nuspec'
with checksum 'FF6C6B7F76E778364E671A8CF77D4FCC'
2020-06-22 13:00:26,716 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
with checksum '06EAE7FF99A72AA7DB72F701406F9272'
2020-06-22 13:00:26,716 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0".
2020-06-22 13:00:26,729 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.files'
2020-06-22 13:00:26,729 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.extra".
2020-06-22 13:00:26,746 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.version".
2020-06-22 13:00:26,746 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.sxs".
2020-06-22 13:00:26,746 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.pin".
2020-06-22 13:00:26,746 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:00:26,760 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\MSXML6.SP1\.chocolateyPending".
2020-06-22 13:00:26,760 252 [INFO ] - The install of msxml6.sp1 was successful.
2020-06-22 13:00:26,760 252 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-06-22 13:00:26,760 252 [INFO ] - [NuGet] Installing 'SQL2012.NativeClient 2011.110.7001.0'.
2020-06-22 13:00:26,776 252 [DEBUG] - [NuGet] Added file 'README.md' to folder 'SQL2012.NativeClient'.
2020-06-22 13:00:26,776 252 [DEBUG] - [NuGet] Added file 'SQL2012.png' to folder 'SQL2012.NativeClient'.
2020-06-22 13:00:26,776 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2012.NativeClient\tools'.
2020-06-22 13:00:26,776 252 [DEBUG] - [NuGet] Added file 'SQL2012.NativeClient.nupkg' to folder 'SQL2012.NativeClient'.
2020-06-22 13:00:27,106 252 [DEBUG] - [NuGet] Added file 'SQL2012.NativeClient.nuspec' to folder 'SQL2012.NativeClient'.
2020-06-22 13:00:27,106 252 [INFO ] - [NuGet] Successfully installed 'SQL2012.NativeClient 2011.110.7001.0'.
2020-06-22 13:00:27,120 252 [INFO ] -
SQL2012.NativeClient v2011.110.7001.0 (forced) [Approved]
2020-06-22 13:00:27,120 252 [INFO ] - sql2012.nativeclient package files install completed. Performing other installation steps.
2020-06-22 13:00:27,140 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1':
2020-06-22 13:00:27,151 252 [DEBUG] - $params = @{
packageName = 'sql2012.nativeclient';
fileType = 'msi';
silentArgs = ' /qb IACCEPTSQLNCLILICENSETERMS=YES';
url = 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x86/sqlncli.msi';
checksum = '128A8AD1F93DC07D213FF4670A33A967457B498B03BF7F82AFECA41EDA7BFE1E';
checksumType = 'Sha256';
url64bit = 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi';
checksum64 = '6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886';
checksumType64 = 'Sha256'
}
Install-ChocolateyPackage @params
2020-06-22 13:00:27,151 252 [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\SQL2012.NativeClient\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:00:27,151 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:00:27,151 252 [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-06-22 13:00:27,178 252 [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-06-22 13:00:27,182 252 [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-06-22 13:00:27,182 252 [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-06-22 13:00:27,558 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:00:27,698 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:27,714 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:27,714 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:27,714 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:27,714 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:27,730 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:27,730 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:27,745 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:27,745 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:27,745 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:27,745 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:27,778 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:27,778 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:27,778 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:27,778 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:27,792 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:27,792 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:27,792 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:27,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:27,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:27,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:27,826 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:27,826 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:27,826 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:27,826 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:27,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:27,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:27,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:27,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:27,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:27,854 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:27,854 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:27,854 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:27,870 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:27,870 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:27,870 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:27,885 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:27,885 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:27,902 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:27,902 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:27,902 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:27,920 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:27,920 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:27,932 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:27,932 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:27,948 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:27,948 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:27,948 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:27,948 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:27,965 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:27,965 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:27,965 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:27,980 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:27,980 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:27,980 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:27,980 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:27,995 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:27,995 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:27,995 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:28,011 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:28,011 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:28,011 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:28,011 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:28,027 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:28,027 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:28,045 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:28,045 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:28,057 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:28,057 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:28,057 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:28,057 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:28,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:28,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:28,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:28,090 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:28,090 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:28,090 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:28,104 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:28,104 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:28,121 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:28,121 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:28,121 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:28,121 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:28,139 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:28,139 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:28,139 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:28,139 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:28,151 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:28,151 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:28,151 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:28,151 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:28,167 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:28,167 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:28,167 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:28,182 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:28,182 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:28,182 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:28,182 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:28,203 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:28,203 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:28,214 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:28,214 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:28,214 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:28,230 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:28,230 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:28,324 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:28,324 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 13:00:28,339 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 13:00:28,339 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:28,339 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:28,339 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 13:00:28,339 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:28,355 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 13:00:28,355 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:28,355 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 13:00:28,370 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:28,370 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 13:00:28,370 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 13:00:28,370 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:28,370 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 13:00:28,386 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 13:00:28,386 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 13:00:28,386 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 13:00:28,386 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 13:00:28,401 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:28,401 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:28,401 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:28,401 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:28,417 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:28,417 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 13:00:28,417 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 13:00:28,417 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:28,417 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:28,432 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:28,432 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:28,432 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:28,432 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 13:00:28,448 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 13:00:28,448 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 13:00:28,448 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:28,448 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 13:00:28,448 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 13:00:28,465 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:28,465 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:28,465 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:28,465 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 13:00:28,479 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 13:00:28,479 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 13:00:28,479 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 13:00:28,495 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:28,495 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 13:00:28,495 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 13:00:28,495 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:28,495 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 13:00:28,510 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 13:00:28,510 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:28,510 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 13:00:28,510 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 13:00:28,526 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:28,526 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 13:00:28,526 252 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2012.NativeClient v2011.110.7001.0 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient', installArguments: '', packageParameters: '',
2020-06-22 13:00:28,542 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1'
2020-06-22 13:00:28,557 252 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x86/sqlncli.msi' -checksumType64 'Sha256' -url64bit 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -checksum '128A8AD1F93DC07D213FF4670A33A967457B498B03BF7F82AFECA41EDA7BFE1E' -checksum64 '6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886' -packageName 'sql2012.nativeclient' -checksumType 'Sha256' -fileType 'msi' -silentArgs ' /qb IACCEPTSQLNCLILICENSETERMS=YES'
2020-06-22 13:00:28,573 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'sql2012.nativeclient' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sql2012.nativeclientInstall.msi' -url 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x86/sqlncli.msi' -url64bit 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -checksum '128A8AD1F93DC07D213FF4670A33A967457B498B03BF7F82AFECA41EDA7BFE1E' -checksumType 'Sha256' -checksum64 '6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886' -checksumType64 'Sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-06-22 13:00:28,573 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 13:00:28,589 252 [DEBUG] - CPU is 64 bit
2020-06-22 13:00:28,589 252 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' and bitPackage to 64
2020-06-22 13:00:28,589 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -ErrorAction 'Stop'
2020-06-22 13:00:28,604 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:00:28,604 252 [DEBUG] - Request Headers:
2020-06-22 13:00:28,604 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:00:28,635 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:00:28,667 252 [DEBUG] - Response Headers:
2020-06-22 13:00:28,682 252 [DEBUG] - 'Content-MD5':'Ep/GQTCDaUgYy8Cil9cG/Q=='
2020-06-22 13:00:28,682 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:00:28,698 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:00:28,698 252 [DEBUG] - 'Content-Length':'5083136'
2020-06-22 13:00:28,698 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:00:28,698 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:00:49 GMT'
2020-06-22 13:00:28,714 252 [DEBUG] - 'ETag':'"0x8D6335DAC33DE68"'
2020-06-22 13:00:28,714 252 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 11:51:13 GMT'
2020-06-22 13:00:28,714 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:00:28,729 252 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2020-06-22 13:00:28,729 252 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -defaultName 'sql2012.nativeclientInstall.msi'
2020-06-22 13:00:28,917 252 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi'
2020-06-22 13:00:28,917 252 [DEBUG] - File name determined from url is 'sqlncli.msi'
2020-06-22 13:00:28,932 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -ErrorAction 'Stop'
2020-06-22 13:00:28,932 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:00:28,932 252 [DEBUG] - Request Headers:
2020-06-22 13:00:28,948 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:00:28,948 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:00:29,026 252 [DEBUG] - Response Headers:
2020-06-22 13:00:29,026 252 [DEBUG] - 'Content-MD5':'Ep/GQTCDaUgYy8Cil9cG/Q=='
2020-06-22 13:00:29,026 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:00:29,026 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:00:29,042 252 [DEBUG] - 'Content-Length':'5083136'
2020-06-22 13:00:29,042 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:00:29,042 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:00:50 GMT'
2020-06-22 13:00:29,057 252 [DEBUG] - 'ETag':'"0x8D6335DAC33DE68"'
2020-06-22 13:00:29,057 252 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 11:51:13 GMT'
2020-06-22 13:00:29,057 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:00:29,073 252 [INFO ] - Downloading sql2012.nativeclient 64 bit
from 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi'
2020-06-22 13:00:29,073 252 [INFO ] -
2020-06-22 13:00:29,073 252 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi' -options 'System.Collections.Hashtable'
2020-06-22 13:00:29,090 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 13:00:29,090 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 13:00:29,090 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:00:29,229 252 [DEBUG] - Downloading https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi
2020-06-22 13:00:29,964 252 [INFO ] -
2020-06-22 13:00:29,964 252 [INFO ] - Download of sqlncli.msi (4.85 MB) completed.
2020-06-22 13:00:29,964 252 [INFO ] -
2020-06-22 13:00:32,980 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 13:00:32,980 252 [DEBUG] - Verifying package provided checksum of '6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi'.
2020-06-22 13:00:32,980 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi' -checksum '6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886' -checksumType 'Sha256' -originalUrl 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi'
2020-06-22 13:00:32,998 252 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-06-22 13:00:32,998 252 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886" -t="Sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi"]
2020-06-22 13:00:33,292 252 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886" -t="Sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi"] exited with '0'.
2020-06-22 13:00:33,292 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'sql2012.nativeclient' -fileType 'msi' -silentArgs ' /qb IACCEPTSQLNCLILICENSETERMS=YES' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2020-06-22 13:00:33,307 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 13:00:33,307 252 [INFO ] - Installing sql2012.nativeclient...
2020-06-22 13:00:33,323 252 [INFO ] -
2020-06-22 13:00:33,323 252 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi" /qb IACCEPTSQLNCLILICENSETERMS=YES ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-06-22 13:00:33,323 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 13:00:33,339 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 13:00:33,339 252 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi" /qb IACCEPTSQLNCLILICENSETERMS=YES ]. This may take a while, depending on the statements.
2020-06-22 13:00:43,136 252 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi" /qb IACCEPTSQLNCLILICENSETERMS=YES ] exited with '0'.
2020-06-22 13:00:43,136 252 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-06-22 13:00:43,152 252 [INFO ] - sql2012.nativeclient has been installed.
2020-06-22 13:00:43,152 252 [INFO ] -
2020-06-22 13:00:43,152 252 [DEBUG] - ----------------------------------------------------------------------
2020-06-22 13:00:43,168 252 [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\SQL2012.NativeClient\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-06-22 13:00:43,168 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:00:43,370 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:00:43,370 252 [INFO ] - sql2012.nativeclient may be able to be automatically uninstalled.
2020-06-22 13:00:43,449 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient'
2020-06-22 13:00:43,449 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\README.md'
with checksum 'A2BC9B0451E5DA071FE889576010A6F8'
2020-06-22 13:00:43,449 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\SQL2012.NativeClient.nupkg'
with checksum 'E6ECA089D52DC3EEE929B99A6659FF96'
2020-06-22 13:00:43,464 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\SQL2012.NativeClient.nuspec'
with checksum 'CD26C93D58622E20FB291E24E2BDA82A'
2020-06-22 13:00:43,464 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\SQL2012.png'
with checksum '65751D530F50A19FAF64C943E4B9B3B7'
2020-06-22 13:00:43,481 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1'
with checksum '2844701473D4D8540EB5A06C2E687D22'
2020-06-22 13:00:43,481 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0".
2020-06-22 13:00:43,495 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.registry'
2020-06-22 13:00:43,495 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.files'
2020-06-22 13:00:43,511 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.extra".
2020-06-22 13:00:43,527 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.version".
2020-06-22 13:00:43,527 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.sxs".
2020-06-22 13:00:43,527 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.pin".
2020-06-22 13:00:43,542 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:00:43,542 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\.chocolateyPending".
2020-06-22 13:00:43,542 252 [INFO ] - The install of sql2012.nativeclient was successful.
2020-06-22 13:00:43,558 252 [INFO ] - Software installed as 'msi', install location is likely default.
2020-06-22 13:00:43,558 252 [INFO ] - [NuGet] Installing 'SQL2012.ClrTypes 2011.110.3000.1'.
2020-06-22 13:00:43,558 252 [DEBUG] - [NuGet] Added file 'README.md' to folder 'SQL2012.ClrTypes'.
2020-06-22 13:00:43,574 252 [DEBUG] - [NuGet] Added file 'SQL2012.png' to folder 'SQL2012.ClrTypes'.
2020-06-22 13:00:43,574 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2012.ClrTypes\tools'.
2020-06-22 13:00:43,574 252 [DEBUG] - [NuGet] Added file 'SQL2012.ClrTypes.nupkg' to folder 'SQL2012.ClrTypes'.
2020-06-22 13:00:43,793 252 [DEBUG] - [NuGet] Added file 'SQL2012.ClrTypes.nuspec' to folder 'SQL2012.ClrTypes'.
2020-06-22 13:00:43,793 252 [INFO ] - [NuGet] Successfully installed 'SQL2012.ClrTypes 2011.110.3000.1'.
2020-06-22 13:00:43,807 252 [INFO ] -
SQL2012.ClrTypes v2011.110.3000.1 (forced) [Approved] - Likely broken for FOSS users (due to download location changes)
2020-06-22 13:00:43,823 252 [INFO ] - sql2012.clrtypes package files install completed. Performing other installation steps.
2020-06-22 13:00:43,838 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1':
2020-06-22 13:00:43,838 252 [DEBUG] - $params = @{
packageName = 'sql2012.clrtypes';
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi';
checksum='318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8';
checksumType='sha256';
}
Install-ChocolateyPackage @params
if (Get-ProcessorBits -eq 64) {
$params['url'] = ''
$params['url64'] = 'http://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x64/SQLSysClrTypes.msi'
$params['checksum64'] ='5654DF31040A69104BDD47B2C34AFDD85BADA67A63B87BE3E90C82477A377D9C'
$params['checksumType64'] = 'sha256';
Install-ChocolateyPackage @params
}
2020-06-22 13:00:43,854 252 [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\SQL2012.ClrTypes\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:00:44,043 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:00:44,057 252 [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-06-22 13:00:44,057 252 [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-06-22 13:00:44,057 252 [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-06-22 13:00:44,074 252 [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-06-22 13:00:44,385 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:00:44,511 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:44,511 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:44,527 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:44,527 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:44,527 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:44,527 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:44,542 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:44,542 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:44,542 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:44,542 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:44,557 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:44,557 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:44,557 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:44,557 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:44,575 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:44,575 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:44,575 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:44,575 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:44,589 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:44,589 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:44,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:44,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:44,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:44,604 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:44,620 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:44,620 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:44,620 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:44,636 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:44,636 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:44,636 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:44,652 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:44,652 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:44,652 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:44,669 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:44,669 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:44,669 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:44,682 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:44,682 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:44,682 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:44,682 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:44,698 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:44,698 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:44,698 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:44,698 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:44,714 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:44,714 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:44,714 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:44,730 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:44,730 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:44,730 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:44,730 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:44,746 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:44,746 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:44,746 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:44,761 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:44,761 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:44,761 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:44,776 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:44,776 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:44,792 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:44,792 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:44,792 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:44,808 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:44,808 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:44,823 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:44,823 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:44,823 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:44,823 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:44,838 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:44,838 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:44,838 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:44,838 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:44,855 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:44,855 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:44,855 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:44,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:44,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:44,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:44,870 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:44,888 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:44,888 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:44,888 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:44,901 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:44,901 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:44,917 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:44,917 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:44,917 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:44,932 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:44,932 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:44,932 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:44,932 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:44,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:44,948 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:44,948 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:44,964 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:44,964 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:44,964 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:44,964 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:44,981 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:44,981 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:44,981 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:44,995 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:44,995 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:44,995 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:45,011 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:45,011 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:45,011 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 13:00:45,026 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 13:00:45,026 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:45,026 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:45,042 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 13:00:45,042 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:45,057 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 13:00:45,057 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:45,057 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 13:00:45,073 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:45,073 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 13:00:45,088 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 13:00:45,088 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:45,088 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 13:00:45,104 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 13:00:45,104 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 13:00:45,122 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 13:00:45,122 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 13:00:45,135 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:45,135 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:45,135 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:45,171 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:45,171 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:45,171 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 13:00:45,182 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 13:00:45,182 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:45,182 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:45,182 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:45,217 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:45,229 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:45,229 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 13:00:45,229 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 13:00:45,245 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 13:00:45,245 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:45,245 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 13:00:45,260 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 13:00:45,260 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:45,260 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:45,277 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:45,277 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 13:00:45,293 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 13:00:45,293 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 13:00:45,293 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 13:00:45,307 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:45,307 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 13:00:45,307 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 13:00:45,307 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:45,323 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 13:00:45,323 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 13:00:45,323 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:45,323 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 13:00:45,339 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 13:00:45,339 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:45,356 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 13:00:45,356 252 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2012.ClrTypes v2011.110.3000.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes', installArguments: '', packageParameters: '',
2020-06-22 13:00:45,356 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1'
2020-06-22 13:00:45,370 252 [DEBUG] - Running Install-ChocolateyPackage -silentArgs '/quiet' -checksum '318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8' -checksumType 'sha256' -fileType 'msi' -url 'http://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -packageName 'sql2012.clrtypes'
2020-06-22 13:00:45,388 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'sql2012.clrtypes' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\sql2012.clrtypesInstall.msi' -url 'http://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -url64bit '' -checksum '318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-06-22 13:00:45,401 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 13:00:45,401 252 [DEBUG] - CPU is 64 bit
2020-06-22 13:00:45,401 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2020-06-22 13:00:45,432 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:00:45,432 252 [DEBUG] - Request Headers:
2020-06-22 13:00:45,432 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:00:45,448 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:00:46,104 252 [DEBUG] - Response Headers:
2020-06-22 13:00:46,104 252 [DEBUG] - 'Content-MD5':'5gv31wRFe18nCkUkqj4nrw=='
2020-06-22 13:00:46,121 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:00:46,121 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:00:46,135 252 [DEBUG] - 'Content-Length':'2199552'
2020-06-22 13:00:46,135 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:00:46,135 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:07 GMT'
2020-06-22 13:00:46,135 252 [DEBUG] - 'ETag':'"0x8D743AEB3F4124F"'
2020-06-22 13:00:46,152 252 [DEBUG] - 'Last-Modified':'Sat, 28 Sep 2019 00:56:31 GMT'
2020-06-22 13:00:46,152 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:00:46,152 252 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2020-06-22 13:00:46,168 252 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -defaultName 'sql2012.clrtypesInstall.msi'
2020-06-22 13:00:46,245 252 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi'
2020-06-22 13:00:46,261 252 [DEBUG] - File name determined from url is 'SQLSysClrTypes.msi'
2020-06-22 13:00:46,277 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2020-06-22 13:00:46,277 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:00:46,293 252 [DEBUG] - Request Headers:
2020-06-22 13:00:46,293 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:00:46,308 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:00:46,374 252 [DEBUG] - Response Headers:
2020-06-22 13:00:46,385 252 [DEBUG] - 'Content-MD5':'5gv31wRFe18nCkUkqj4nrw=='
2020-06-22 13:00:46,385 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:00:46,385 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:00:46,401 252 [DEBUG] - 'Content-Length':'2199552'
2020-06-22 13:00:46,401 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:00:46,401 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:07 GMT'
2020-06-22 13:00:46,401 252 [DEBUG] - 'ETag':'"0x8D743AEB3F4124F"'
2020-06-22 13:00:46,417 252 [DEBUG] - 'Last-Modified':'Sat, 28 Sep 2019 00:56:31 GMT'
2020-06-22 13:00:46,417 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:00:46,432 252 [INFO ] - Downloading sql2012.clrtypes
from 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi'
2020-06-22 13:00:46,432 252 [INFO ] -
2020-06-22 13:00:46,432 252 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi' -options 'System.Collections.Hashtable'
2020-06-22 13:00:46,448 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 13:00:46,448 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 13:00:46,448 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:00:46,604 252 [DEBUG] - Downloading https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi
2020-06-22 13:00:46,979 252 [INFO ] -
2020-06-22 13:00:46,979 252 [INFO ] - Download of SQLSysClrTypes.msi (2.1 MB) completed.
2020-06-22 13:00:46,995 252 [INFO ] -
2020-06-22 13:00:49,998 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 13:00:55,588 252 [DEBUG] - Verifying package provided checksum of '318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi'.
2020-06-22 13:00:55,588 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi' -checksum '318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi'
2020-06-22 13:00:55,604 252 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-06-22 13:00:55,604 252 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi"]
2020-06-22 13:00:55,933 252 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi"] exited with '1'.
2020-06-22 13:00:56,245 252 [ERROR] - ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi' did not meet '318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
at Get-ChecksumValid, C:\ProgramData\chocolatey\helpers\functions\Get-CheckSumValid.ps1: line 210
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 385
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 396
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1: line 10
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-06-22 13:00:56,245 252 [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\SQL2012.ClrTypes\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2020-06-22 13:00:56,245 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:00:56,792 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:00:56,792 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes'
2020-06-22 13:00:56,808 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\README.md'
with checksum '063AC2CC11D6B63095ACF2347A903E55'
2020-06-22 13:00:56,808 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\SQL2012.ClrTypes.nupkg'
with checksum 'E98E6ACB2E04A4A9FF3E7CC3573C1B10'
2020-06-22 13:00:56,808 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\SQL2012.ClrTypes.nuspec'
with checksum 'FD063F354D0A7311C3223AD42EF9523C'
2020-06-22 13:00:56,823 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\SQL2012.png'
with checksum '65751D530F50A19FAF64C943E4B9B3B7'
2020-06-22 13:00:56,823 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1'
with checksum '9260297B7B5A4C4020AB3F2B1E7F3102'
2020-06-22 13:00:56,823 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1".
2020-06-22 13:00:56,839 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.files'
2020-06-22 13:00:56,839 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.arguments".
2020-06-22 13:00:56,839 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.extra".
2020-06-22 13:00:56,839 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.version".
2020-06-22 13:00:56,855 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.sxs".
2020-06-22 13:00:56,855 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.pin".
2020-06-22 13:00:56,855 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:00:56,877 252 [ERROR] - The install of sql2012.clrtypes was NOT successful.
2020-06-22 13:00:56,886 252 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1'.
See log for details.
2020-06-22 13:00:56,907 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2020-06-22 13:00:56,917 252 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2012.ClrTypes'
2020-06-22 13:00:58,932 252 [INFO ] - [NuGet] Installing 'SQL2012.SMO 11.0.2100.61'.
2020-06-22 13:00:58,932 252 [DEBUG] - [NuGet] Added file 'README.md' to folder 'SQL2012.SMO'.
2020-06-22 13:00:58,948 252 [DEBUG] - [NuGet] Added file 'SQL2012.png' to folder 'SQL2012.SMO'.
2020-06-22 13:00:58,948 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2012.SMO\tools'.
2020-06-22 13:00:58,948 252 [DEBUG] - [NuGet] Added file 'SQL2012.SMO.nupkg' to folder 'SQL2012.SMO'.
2020-06-22 13:00:59,167 252 [DEBUG] - [NuGet] Added file 'SQL2012.SMO.nuspec' to folder 'SQL2012.SMO'.
2020-06-22 13:00:59,182 252 [INFO ] - [NuGet] Successfully installed 'SQL2012.SMO 11.0.2100.61'.
2020-06-22 13:00:59,182 252 [INFO ] -
SQL2012.SMO v11.0.2100.61 (forced) [Approved] - Likely broken for FOSS users (due to download location changes)
2020-06-22 13:00:59,182 252 [INFO ] - sql2012.smo package files install completed. Performing other installation steps.
2020-06-22 13:00:59,198 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1':
2020-06-22 13:00:59,198 252 [DEBUG] - $params = @{
packageName = 'sql2012.smo';
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi';
checksum='AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64'
checksumType='Sha256'
}
Install-ChocolateyPackage @params
# install both x86 and x64 editions of SMO since x64 supports both
# to install both variants of p owershell, both variants of SMO must be present
if (Get-ProcessorBits -eq 64) {
$params['url'] = ''
$params['url64'] = 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/SharedManagementObjects.msi'
$params['checksum64'] = 'ED753D85B51E7EAE381085CAD3DCC0F29C0B72F014F8F8FBA1AD4E0FE387CE0A'
$params['checksumType64'] = 'Sha256'
Install-ChocolateyPackage @params
}
2020-06-22 13:00:59,198 252 [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\SQL2012.SMO\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:00:59,214 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:00:59,214 252 [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-06-22 13:00:59,214 252 [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-06-22 13:00:59,229 252 [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-06-22 13:00:59,229 252 [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-06-22 13:00:59,589 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:00:59,699 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:59,714 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:59,714 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:59,714 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:59,729 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:00:59,729 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:00:59,729 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:00:59,729 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:00:59,746 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:00:59,746 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:00:59,746 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:00:59,746 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:00:59,760 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:00:59,760 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:00:59,760 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:00:59,776 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:00:59,776 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:00:59,776 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:00:59,776 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:00:59,793 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:59,793 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:00:59,793 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:00:59,793 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:00:59,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:00:59,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:00:59,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:00:59,807 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:00:59,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:00:59,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:00:59,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:00:59,838 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:00:59,838 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:00:59,838 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:00:59,885 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:00:59,885 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:00:59,901 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:00:59,901 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:00:59,917 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:00:59,917 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:00:59,917 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:00:59,933 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:00:59,933 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:00:59,933 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:00:59,933 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:00:59,948 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:00:59,948 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:00:59,948 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:00:59,963 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:00:59,963 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:00:59,963 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:00:59,979 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:00:59,979 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:00:59,979 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:00:59,979 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:00:59,995 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:00:59,995 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:00:59,995 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:00:59,995 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:01:00,011 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:00,011 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:01:00,011 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:00,026 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:01:00,042 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:00,042 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:01:00,042 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:01:00,042 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:00,057 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:01:00,057 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:01:00,057 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:01:00,073 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:01:00,073 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:01:00,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:00,073 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:00,089 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:00,089 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:00,089 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:00,089 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:01:00,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:01:00,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:00,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:00,105 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:00,121 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:00,121 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:00,121 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:01:00,137 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:01:00,137 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:01:00,137 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:00,151 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:01:00,151 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:01:00,151 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:00,167 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:00,167 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:00,167 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:01:00,167 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:01:00,183 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:01:00,183 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:01:00,198 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:00,198 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:01:00,198 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:01:00,198 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:00,214 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:01:00,214 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:01:00,214 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:00,229 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:00,229 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:01:00,229 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:01:00,229 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 13:01:00,245 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 13:01:00,245 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:00,245 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:00,245 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 13:01:00,260 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:00,260 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 13:01:00,260 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:00,260 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 13:01:00,276 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:00,276 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 13:01:00,276 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 13:01:00,292 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:00,292 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 13:01:00,308 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 13:01:00,308 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 13:01:00,308 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 13:01:00,324 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 13:01:00,324 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:00,324 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:00,339 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:00,339 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:00,339 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:00,339 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 13:01:00,355 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 13:01:00,355 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:00,370 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:00,370 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:00,370 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:00,385 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:00,385 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 13:01:00,385 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 13:01:00,401 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 13:01:00,401 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:00,401 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 13:01:00,418 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 13:01:00,418 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:00,434 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:00,434 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:00,434 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 13:01:00,434 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 13:01:00,448 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 13:01:00,448 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 13:01:00,448 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:00,448 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 13:01:00,464 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 13:01:00,464 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:00,464 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 13:01:00,479 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 13:01:00,479 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:00,479 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 13:01:00,479 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 13:01:00,495 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:00,495 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 13:01:00,495 252 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2012.SMO v11.0.2100.61 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2012.SMO', installArguments: '', packageParameters: '',
2020-06-22 13:01:00,512 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1'
2020-06-22 13:01:00,526 252 [DEBUG] - Running Install-ChocolateyPackage -silentArgs '/quiet' -checksum 'AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64' -checksumType 'Sha256' -fileType 'msi' -url 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -packageName 'sql2012.smo'
2020-06-22 13:01:00,542 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'sql2012.smo' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\sql2012.smoInstall.msi' -url 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -url64bit '' -checksum 'AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64' -checksumType 'Sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-06-22 13:01:00,542 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 13:01:00,542 252 [DEBUG] - CPU is 64 bit
2020-06-22 13:01:00,558 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -ErrorAction 'Stop'
2020-06-22 13:01:00,558 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:00,574 252 [DEBUG] - Request Headers:
2020-06-22 13:01:00,574 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:01:00,574 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:01:00,793 252 [DEBUG] - Response Headers:
2020-06-22 13:01:00,793 252 [DEBUG] - 'Content-MD5':'wey69cI/ycr71egkjNIiMw=='
2020-06-22 13:01:00,807 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:01:00,807 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:01:00,807 252 [DEBUG] - 'Content-Length':'6561792'
2020-06-22 13:01:00,823 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:01:00,823 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:21 GMT'
2020-06-22 13:01:00,823 252 [DEBUG] - 'ETag':'"0x8D633D46FAB4198"'
2020-06-22 13:01:00,840 252 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:01:21 GMT'
2020-06-22 13:01:00,840 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:01:00,854 252 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2020-06-22 13:01:00,854 252 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -defaultName 'sql2012.smoInstall.msi'
2020-06-22 13:01:00,933 252 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi'
2020-06-22 13:01:00,948 252 [DEBUG] - File name determined from url is 'SharedManagementObjects.msi'
2020-06-22 13:01:00,948 252 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -ErrorAction 'Stop'
2020-06-22 13:01:00,973 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:00,979 252 [DEBUG] - Request Headers:
2020-06-22 13:01:00,979 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:01:00,979 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:01:01,073 252 [DEBUG] - Response Headers:
2020-06-22 13:01:01,137 252 [DEBUG] - 'Content-MD5':'wey69cI/ycr71egkjNIiMw=='
2020-06-22 13:01:01,151 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:01:01,168 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:01:01,168 252 [DEBUG] - 'Content-Length':'6561792'
2020-06-22 13:01:01,183 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:01:01,183 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:22 GMT'
2020-06-22 13:01:01,183 252 [DEBUG] - 'ETag':'"0x8D633D46FAB4198"'
2020-06-22 13:01:01,198 252 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:01:21 GMT'
2020-06-22 13:01:01,198 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:01:01,198 252 [INFO ] - Downloading sql2012.smo
from 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi'
2020-06-22 13:01:01,229 252 [INFO ] -
2020-06-22 13:01:01,229 252 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi' -options 'System.Collections.Hashtable'
2020-06-22 13:01:01,229 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 13:01:01,245 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 13:01:01,245 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:01,385 252 [DEBUG] - Downloading https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi
2020-06-22 13:01:02,792 252 [INFO ] -
2020-06-22 13:01:03,745 252 [INFO ] - Download of SharedManagementObjects.msi (6.26 MB) completed.
2020-06-22 13:01:03,776 252 [INFO ] -
2020-06-22 13:01:06,816 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 13:01:06,816 252 [DEBUG] - Verifying package provided checksum of 'AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi'.
2020-06-22 13:01:06,823 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi' -checksum 'AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64' -checksumType 'Sha256' -originalUrl 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi'
2020-06-22 13:01:06,823 252 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-06-22 13:01:06,823 252 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64" -t="Sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi"]
2020-06-22 13:01:07,323 252 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64" -t="Sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi"] exited with '0'.
2020-06-22 13:01:07,323 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'sql2012.smo' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2020-06-22 13:01:07,323 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 13:01:07,370 252 [INFO ] - Installing sql2012.smo...
2020-06-22 13:01:07,370 252 [INFO ] -
2020-06-22 13:01:07,370 252 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-06-22 13:01:07,385 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 13:01:07,385 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 13:01:07,385 252 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi" /quiet ]. This may take a while, depending on the statements.
2020-06-22 13:01:08,261 252 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi" /quiet ] exited with '1603'.
2020-06-22 13:01:08,261 252 [WARN ] - WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\SQL2012.SMO_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
2020-06-22 13:01:08,276 252 [ERROR] - ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi" /quiet ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\SQL2012.SMO_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 324
at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 327
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 408
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1: line 10
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-06-22 13:01:08,276 252 [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\SQL2012.SMO\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '1603'.
2020-06-22 13:01:08,293 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:01:08,605 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:01:08,605 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2012.SMO'
2020-06-22 13:01:08,623 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\README.md'
with checksum '63CD50098ED385D7A8DA158CD6C266BE'
2020-06-22 13:01:08,623 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\SQL2012.png'
with checksum '65751D530F50A19FAF64C943E4B9B3B7'
2020-06-22 13:01:08,623 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\SQL2012.SMO.nupkg'
with checksum 'CB55E103303CBC8E92595C751B491968'
2020-06-22 13:01:08,635 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\SQL2012.SMO.nuspec'
with checksum 'F9EC06E5030F56128D419E08FB3FEAE3'
2020-06-22 13:01:08,635 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1'
with checksum '753490E09DDDE517B5DF33E896B91117'
2020-06-22 13:01:08,635 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61".
2020-06-22 13:01:08,635 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.files'
2020-06-22 13:01:08,651 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.arguments".
2020-06-22 13:01:08,651 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.extra".
2020-06-22 13:01:08,651 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.version".
2020-06-22 13:01:08,651 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.sxs".
2020-06-22 13:01:08,667 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.pin".
2020-06-22 13:01:08,667 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:01:08,667 252 [ERROR] - The install of sql2012.smo was NOT successful.
2020-06-22 13:01:08,667 252 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1'.
See log for details.
2020-06-22 13:01:08,682 252 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2012.SMO'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2012.SMO'
2020-06-22 13:01:10,698 252 [INFO ] - [NuGet] Installing 'PowerShellExtension.SQL2012 11.0.2100.60'.
2020-06-22 13:01:10,698 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'PowerShellExtension.SQL2012\tools'.
2020-06-22 13:01:10,698 252 [DEBUG] - [NuGet] Added file 'PowerShellExtension.SQL2012.nupkg' to folder 'PowerShellExtension.SQL2012'.
2020-06-22 13:01:10,917 252 [DEBUG] - [NuGet] Added file 'PowerShellExtension.SQL2012.nuspec' to folder 'PowerShellExtension.SQL2012'.
2020-06-22 13:01:10,917 252 [INFO ] - [NuGet] Successfully installed 'PowerShellExtension.SQL2012 11.0.2100.60'.
2020-06-22 13:01:10,917 252 [INFO ] -
PowerShellExtension.SQL2012 v11.0.2100.60 (forced) - Possibly broken
2020-06-22 13:01:10,932 252 [INFO ] - powershellextension.sql2012 package files install completed. Performing other installation steps.
2020-06-22 13:01:10,932 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1':
2020-06-22 13:01:10,948 252 [DEBUG] - #NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one
$packageName = 'PowerShellExtension.SQL2012' # arbitrary name for the package, used in messages
$installerType = 'MSI' #only one of these: exe, msi, msu
$url = 'http://go.microsoft.com/fwlink/?LinkID=239655&clcid=0x409' # download url
$url64 = 'http://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' # 64bit URL here or remove - if installer decides, then use $url
$silentArgs = '/quiet' # "/s /S /q /Q /quiet /silent /SILENT /VERYSILENT" # try any of these to get the silent installer #msi is always /quiet
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
# main helpers - these have error handling tucked into them already
# installer, will assert administrative rights
# if removing $url64, please remove from here
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" "$url64" -validExitCodes $validExitCodes
# download and unpack a zip file
# if removing $url64, please remove from here
#Install-ChocolateyZipPackage "$packageName" "$url" "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" "$url64"
#try { #error handling is only necessary if you need to do anything in addition to/instead of the main helpers
# other helpers - using any of these means you want to uncomment the error handling up top and at bottom.
# downloader that the main helpers use to download items
# if removing $url64, please remove from here
#Get-ChocolateyWebFile "$packageName" 'DOWNLOAD_TO_FILE_FULL_PATH' "$url" "$url64"
# installer, will assert administrative rights - used by Install-ChocolateyPackage
#Install-ChocolateyInstallPackage "$packageName" "$installerType" "$silentArgs" '_FULLFILEPATH_' -validExitCodes $validExitCodes
# unzips a file to the specified location - auto overwrites existing content
#Get-ChocolateyUnzip "FULL_LOCATION_TO_ZIP.zip" "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
# Runs processes asserting UAC, will assert administrative rights - used by Install-ChocolateyInstallPackage
#Start-ChocolateyProcessAsAdmin 'STATEMENTS_TO_RUN' 'Optional_Application_If_Not_PowerShell' -validExitCodes $validExitCodes
# add specific folders to the path - any executables found in the chocolatey package folder will already be on the path. This is used in addition to that or for cases when a native installer doesn't add things to the path.
#Install-ChocolateyPath 'LOCATION_TO_ADD_TO_PATH' 'User_OR_Machine' # Machine will assert administrative rights
# add specific files as shortcuts to the desktop
#$target = Join-Path $MyInvocation.MyCommand.Definition "$($packageName).exe"
#Install-ChocolateyDesktopLink $target
#------- ADDITIONAL SETUP -------#
# make sure to uncomment the error handling if you have additional setup to do
#$processor = Get-WmiObject Win32_Processor
#$is64bit = $processor.AddressWidth -eq 64
# the following is all part of error handling
#Write-ChocolateySuccess "$packageName"
#} catch {
#Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
#throw
#}
2020-06-22 13:01:10,948 252 [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\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:01:10,948 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:01:10,963 252 [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-06-22 13:01:10,963 252 [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-06-22 13:01:10,963 252 [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-06-22 13:01:10,963 252 [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-06-22 13:01:11,370 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:01:11,495 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:01:11,495 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:01:11,495 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:11,495 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:11,511 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:01:11,511 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:11,511 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:01:11,511 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:11,527 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:01:11,527 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:11,527 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:01:11,542 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:01:11,542 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:11,542 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:01:11,542 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:01:11,542 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:01:11,557 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:01:11,557 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:01:11,557 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:11,557 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:11,573 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:11,573 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:11,573 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:11,573 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:01:11,589 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:01:11,589 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:11,589 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:11,605 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:11,605 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:11,605 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:11,605 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:01:11,621 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:01:11,621 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:01:11,621 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:11,621 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:01:11,636 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:01:11,636 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:11,636 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:11,636 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:11,653 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:01:11,653 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:01:11,653 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:01:11,653 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:01:11,667 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:11,667 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:01:11,667 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:01:11,667 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:11,682 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:01:11,682 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:01:11,682 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:11,682 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:11,698 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:01:11,698 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:01:11,698 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:01:11,713 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:01:11,713 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:11,713 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:11,713 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:01:11,731 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:11,731 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:01:11,731 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:11,731 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:01:11,745 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:11,745 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:01:11,745 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:01:11,745 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:11,762 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:01:11,762 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:01:11,762 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:01:11,776 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:01:11,810 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:01:11,810 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:11,810 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:11,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:11,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:11,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:11,823 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:01:11,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:01:11,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:11,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:11,839 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:11,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:11,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:11,854 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:01:11,854 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:01:11,871 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:01:11,871 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:11,871 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:01:11,886 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:01:11,886 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:11,886 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:11,886 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:11,902 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:01:11,902 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:01:11,902 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:01:11,902 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:01:11,917 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:11,917 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:01:11,917 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:01:11,917 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:11,934 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:01:11,934 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:01:11,934 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:11,948 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:11,948 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:01:11,948 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:01:11,948 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 13:01:11,967 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 13:01:12,283 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:12,283 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:12,292 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 13:01:12,292 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:12,292 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 13:01:12,292 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:12,307 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 13:01:12,307 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:12,307 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 13:01:12,307 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 13:01:12,325 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:12,325 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 13:01:12,325 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 13:01:12,338 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 13:01:12,338 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 13:01:12,338 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 13:01:12,338 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:12,355 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:12,355 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:12,355 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:12,355 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:12,371 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 13:01:12,371 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 13:01:12,371 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:12,371 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:12,386 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:12,386 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:12,386 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:12,386 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 13:01:12,401 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 13:01:12,401 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 13:01:12,401 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:12,418 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 13:01:12,418 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 13:01:12,418 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:12,418 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:12,432 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:12,432 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 13:01:12,432 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 13:01:12,432 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 13:01:12,448 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 13:01:12,448 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:12,448 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 13:01:12,463 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 13:01:12,463 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:12,463 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 13:01:12,463 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 13:01:12,482 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:12,482 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 13:01:12,482 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 13:01:12,495 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:12,495 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 13:01:12,495 252 [DEBUG] - Running 'ChocolateyScriptRunner' for PowerShellExtension.SQL2012 v11.0.2100.60 with packageScript 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012', installArguments: '', packageParameters: '',
2020-06-22 13:01:12,511 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1'
2020-06-22 13:01:12,526 252 [DEBUG] - Running Install-ChocolateyPackage -validExitCodes '0' -packageName 'PowerShellExtension.SQL2012' -fileType 'MSI' -silentArgs '/quiet' -url 'http://go.microsoft.com/fwlink/?LinkID=239655&clcid=0x409' -url64bit 'http://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409'
2020-06-22 13:01:12,543 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'PowerShellExtension.SQL2012' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellExtension.SQL2012Install.MSI' -url 'http://go.microsoft.com/fwlink/?LinkID=239655&clcid=0x409' -url64bit 'http://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-06-22 13:01:12,543 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 13:01:12,543 252 [DEBUG] - CPU is 64 bit
2020-06-22 13:01:12,557 252 [DEBUG] - Setting url to 'http://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' and bitPackage to 64
2020-06-22 13:01:12,557 252 [DEBUG] - Running Get-WebHeaders -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -ErrorAction 'Stop'
2020-06-22 13:01:12,575 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:12,575 252 [DEBUG] - Request Headers:
2020-06-22 13:01:12,575 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:01:12,575 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:01:13,419 252 [DEBUG] - Response Headers:
2020-06-22 13:01:13,479 252 [DEBUG] - 'Content-MD5':'LIc1Sre46ZNSVIUS3yrsEA=='
2020-06-22 13:01:13,479 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:01:13,479 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:01:13,495 252 [DEBUG] - 'Content-Length':'2322432'
2020-06-22 13:01:13,495 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:01:13,510 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:34 GMT'
2020-06-22 13:01:13,510 252 [DEBUG] - 'ETag':'"0x8D633D65A46B958"'
2020-06-22 13:01:13,510 252 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:15:05 GMT'
2020-06-22 13:01:13,510 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:01:13,527 252 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2020-06-22 13:01:13,527 252 [DEBUG] - Running Get-WebFileName -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -defaultName 'PowerShellExtension.SQL2012Install.MSI'
2020-06-22 13:01:13,685 252 [DEBUG] - Using response url to determine file name. 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/PowerShellTools.MSI'
2020-06-22 13:01:13,685 252 [DEBUG] - File name determined from url is 'PowerShellTools.MSI'
2020-06-22 13:01:13,699 252 [DEBUG] - Running Get-WebHeaders -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -ErrorAction 'Stop'
2020-06-22 13:01:13,699 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:13,722 252 [DEBUG] - Request Headers:
2020-06-22 13:01:13,729 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:01:13,729 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:01:13,839 252 [DEBUG] - Response Headers:
2020-06-22 13:01:13,854 252 [DEBUG] - 'Content-MD5':'LIc1Sre46ZNSVIUS3yrsEA=='
2020-06-22 13:01:13,854 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:01:13,854 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:01:13,871 252 [DEBUG] - 'Content-Length':'2322432'
2020-06-22 13:01:13,871 252 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-06-22 13:01:13,871 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:34 GMT'
2020-06-22 13:01:13,885 252 [DEBUG] - 'ETag':'"0x8D633D65A46B958"'
2020-06-22 13:01:13,885 252 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:15:05 GMT'
2020-06-22 13:01:13,885 252 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-06-22 13:01:13,901 252 [INFO ] - Downloading PowerShellExtension.SQL2012 64 bit
from 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409'
2020-06-22 13:01:13,901 252 [INFO ] -
2020-06-22 13:01:13,901 252 [DEBUG] - Running Get-WebFile -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI' -options 'System.Collections.Hashtable'
2020-06-22 13:01:13,917 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 13:01:13,917 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 13:01:13,934 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:14,057 252 [DEBUG] - Downloading https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409 to C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI
2020-06-22 13:01:14,486 252 [INFO ] -
2020-06-22 13:01:14,495 252 [INFO ] - Download of PowerShellTools.MSI (2.21 MB) completed.
2020-06-22 13:01:14,495 252 [INFO ] -
2020-06-22 13:01:17,511 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 13:01:17,511 252 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI' is the size we expect it to be.
2020-06-22 13:01:17,511 252 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI'.
2020-06-22 13:01:17,511 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI' -checksum '' -checksumType '' -originalUrl 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409'
2020-06-22 13:01:17,526 252 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2020-06-22 13:01:17,526 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShellExtension.SQL2012' -fileType 'MSI' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2020-06-22 13:01:17,526 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 13:01:17,543 252 [INFO ] - Installing PowerShellExtension.SQL2012...
2020-06-22 13:01:17,543 252 [INFO ] -
2020-06-22 13:01:17,543 252 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-06-22 13:01:17,557 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 13:01:17,557 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 13:01:17,557 252 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI" /quiet ]. This may take a while, depending on the statements.
2020-06-22 13:01:18,434 252 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI" /quiet ] exited with '1603'.
2020-06-22 13:01:18,434 252 [WARN ] - WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\PowerShellExtension.SQL2012_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
2020-06-22 13:01:18,449 252 [ERROR] - ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI" /quiet ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\PowerShellExtension.SQL2012_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 324
at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 327
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 408
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1: line 14
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-06-22 13:01:18,449 252 [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\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '1603'.
2020-06-22 13:01:18,449 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:01:18,480 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:01:18,495 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012'
2020-06-22 13:01:18,495 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\PowerShellExtension.SQL2012.nupkg'
with checksum 'B0AA1931FB15A4A64C4DD4746ACDDD2B'
2020-06-22 13:01:18,495 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\PowerShellExtension.SQL2012.nuspec'
with checksum 'F99261E16A40846306D4EB644C8255DC'
2020-06-22 13:01:18,495 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1'
with checksum '94D12987A6CE5371E8E40722A4B0718D'
2020-06-22 13:01:18,511 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60".
2020-06-22 13:01:18,511 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.files'
2020-06-22 13:01:18,527 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.arguments".
2020-06-22 13:01:18,527 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.extra".
2020-06-22 13:01:18,527 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.version".
2020-06-22 13:01:18,542 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.sxs".
2020-06-22 13:01:18,542 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.pin".
2020-06-22 13:01:18,542 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:01:18,558 252 [ERROR] - The install of powershellextension.sql2012 was NOT successful.
2020-06-22 13:01:18,558 252 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1'.
See log for details.
2020-06-22 13:01:18,558 252 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012'
to 'C:\ProgramData\chocolatey\lib-bad\PowerShellExtension.SQL2012'
2020-06-22 13:01:20,576 252 [INFO ] - [NuGet] Installing 'jre8 8.0.251'.
2020-06-22 13:01:20,590 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jre8\tools'.
2020-06-22 13:01:20,606 252 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'jre8\tools'.
2020-06-22 13:01:20,620 252 [DEBUG] - [NuGet] Added file 'jre8.nupkg' to folder 'jre8'.
2020-06-22 13:01:20,839 252 [DEBUG] - [NuGet] Added file 'jre8.nuspec' to folder 'jre8'.
2020-06-22 13:01:20,839 252 [INFO ] - [NuGet] Successfully installed 'jre8 8.0.251'.
2020-06-22 13:01:20,839 252 [INFO ] -
jre8 v8.0.251 (forced) [Approved]
2020-06-22 13:01:20,854 252 [INFO ] - jre8 package files install completed. Performing other installation steps.
2020-06-22 13:01:20,870 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1':
2020-06-22 13:01:20,870 252 [DEBUG] - try {
$arguments = @{}
# Now we can use the $env:chocolateyPackageParameters inside the Chocolatey package
$packageParameters = $env:chocolateyPackageParameters
# Default value
$exclude = $null
# Now parse the packageParameters using good old regular expression
if ($packageParameters) {
$match_pattern = "\/(?<option>([a-zA-Z0-9]+)):(?<value>([`"'])?([a-zA-Z0-9- \(\)\s_\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
$option_name = 'option'
$value_name = 'value'
if ($packageParameters -match $match_pattern ){
$results = $packageParameters | Select-String $match_pattern -AllMatches
$results.matches | % {
$arguments.Add(
$_.Groups[$option_name].Value.Trim(),
$_.Groups[$value_name].Value.Trim())
}
}
else
{
Throw "Package Parameters were found but were invalid (REGEX Failure)"
}
if($arguments.ContainsKey("exclude")) {
Write-Host "exclude Argument Found"
$exclude = $arguments["exclude"]
}
} else {
Write-Debug "No Package Parameters Passed in"
}
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$packageName = 'jre8'
# Modify these values -----------------------------------------------------
# Find download URLs at http://www.java.com/en/download/manual.jsp
$url = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784'
$checksum32 = 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F'
$url64 = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784'
$checksum64 = '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2'
$oldVersion = '8.0.2410.7'
$version = '8.0.2510.8'
#--------------------------------------------------------------------------
$homepath = $version -replace "(\d+\.\d+)\.(\d\d)(.*)",'jre1.$1_$2'
$installerType = 'exe'
$installArgs = "/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 $32dir"
$installArgs64 = "/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 $64dir"
$osBitness = Get-ProcessorBits
$cachepath = "$env:temp\$packagename\$version"
Write-Host "The software license has changed for Java and this software must be licensed for general business use. Please ensure your licensing is compliant before installing." -ForegroundColor white -BackgroundColor red
#This checks to see if current version is already installed
Write-Output "Checking to see if local install is already up to date..."
try{
$checkreg64 = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $version} -ErrorAction SilentlyContinue
$checkreg32 = Get-ItemProperty HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $version} -ErrorAction SilentlyContinue
}catch{
Write-Output "Registry check failed. This is commonly caused by corrupt keys (Do you have netbeans installed?)"
}
# Checks if JRE 32/64-bit in the same version is already installed and if the user excluded 32-bit Java.
# Otherwise it downloads and installs it.
# This is to avoid unnecessary downloads and 1603 errors.
if ($checkreg32 -ne $null)
{
Write-Output "Java Runtime Environment $version (32-bit) is already installed. Skipping download and installation"
}
elseif ($exclude -ne "32")
{
Write-Output "Downloading 32-bit installer"
Get-ChocolateyWebFile -packageName $packageName -fileFullPath "$cachepath\JRE8x86.exe" -url $url -checksum $checksum32 -checksumType 'SHA256'
Write-Output "Installing JRE $version 32-bit"
Install-ChocolateyInstallPackage -packageName JRE8 -fileType $installerType -silentArgs $installArgs -file "$cachepath\JRE8x86.exe"
#Install-ChocolateyPackage $packageName $installerType $installArgs -url "$env:temp\chocolatey\$packagename\$version\JRE8x86.exe" -checksum $checksum32 -checksumtype 'sha256'
}
else
{
Write-Output "Java Runtime Environment $Version (32-bit) excluded for installation"
}
# Only check for the 64-bit version if the system is 64-bit
if ($osBitness -eq 64)
{
if ($checkreg64 -ne $null)
{
Write-Output "Java Runtime Environment $version (64-bit) is already installed. Skipping download and installation"
}
elseif ($exclude -ne "64")
{
Write-Output "Downloading 64-bit installer"
Get-ChocolateyWebFile -packageName $packageName -fileFullPath "$cachepath\JRE8x64.exe" -url64 $url64 -checksum64 $checksum64 -checksumType 'SHA256'
Write-Output "Installing JRE $version 64-bit"
Install-ChocolateyInstallPackage -packageName JRE8 -fileType $installerType -silentArgs $installArgs -file64 "$cachepath\JRE8x64.exe"
# Install-ChocolateyPackage $packageName $installerType $installArgs64 -url64bit "$env:temp\chocolatey\$packagename\$version\JRE8x64.exe" -checksum64 $checksum64 -checksumtype64 'sha256'
}
else
{
Write-Output "Java Runtime Environment $Version (64-bit) excluded for installation"
}
}
#Uninstalls the previous version of Java if either version exists
Write-Output "Searching if the previous version exists..."
$checkoldreg64 = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, PSChildName | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $oldversion} -ErrorAction SilentlyContinue
$checkoldreg32 = Get-ItemProperty HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, PSChildName | Where-Object { $_.DisplayName -like '*Java 8*' -and ([Version]$_.DisplayVersion) -eq $oldversion} -ErrorAction SilentlyContinue
if($checkoldreg32 -ne $null)
{
Write-Warning "Uninstalling JRE version $oldVersion 32bit"
$32 = $checkoldreg32.PSChildName
Start-ChocolateyProcessAsAdmin "/qn /norestart /X$32" -exeToRun "msiexec.exe" -validExitCodes @(0,1605,3010)
}
if($checkoldreg64 -ne $null)
{
Write-Warning "Uninstalling JRE version $oldVersion $osBitness bit" #Formatted weird because this is used if run on a x86 install
$64 = $checkoldreg64.PSChildName
Start-ChocolateyProcessAsAdmin "/qn /norestart /X$64" -exeToRun "msiexec.exe" -validExitCodes @(0,1605,3010)
}
} catch {
#Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}
2020-06-22 13:01:20,888 252 [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\jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:01:21,058 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:01:21,058 252 [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-06-22 13:01:21,058 252 [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-06-22 13:01:21,073 252 [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-06-22 13:01:21,073 252 [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-06-22 13:01:21,652 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:01:21,777 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:01:21,777 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:01:21,792 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:21,792 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:21,792 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:01:21,792 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:21,808 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:01:21,808 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:21,808 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:01:21,808 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:21,823 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:01:21,823 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:01:21,823 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:21,838 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:01:21,838 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:01:21,838 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:01:21,838 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:01:21,854 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:01:21,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:21,854 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:21,871 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:21,871 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:21,871 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:21,886 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:01:21,886 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:01:21,886 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:21,902 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:21,902 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:21,902 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:21,917 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:21,917 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:01:21,917 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:01:21,934 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:01:21,934 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:21,934 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:01:21,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:01:21,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:21,948 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:21,963 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:21,963 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:01:21,981 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:01:21,981 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:01:21,981 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:01:21,995 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:21,995 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:01:21,995 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:01:22,010 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:22,010 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:01:22,010 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:01:22,010 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:22,026 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:22,026 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:01:22,026 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:01:22,026 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:01:22,043 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:01:22,043 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:22,043 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:22,057 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-06-22 13:01:22,057 252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:22,057 252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-06-22 13:01:22,057 252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:22,073 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-06-22 13:01:22,073 252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:22,073 252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-06-22 13:01:22,073 252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-06-22 13:01:22,089 252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:22,089 252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-06-22 13:01:22,089 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-06-22 13:01:22,089 252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-06-22 13:01:22,104 252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-06-22 13:01:22,104 252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-06-22 13:01:22,104 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:22,120 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:22,120 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:22,120 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:22,120 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:22,135 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-06-22 13:01:22,135 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-06-22 13:01:22,135 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:22,153 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:22,153 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:22,167 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:22,167 252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:22,167 252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-06-22 13:01:22,167 252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-06-22 13:01:22,182 252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-06-22 13:01:22,182 252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:22,182 252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-06-22 13:01:22,198 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-06-22 13:01:22,198 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:22,198 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:22,198 252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:22,198 252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-06-22 13:01:22,214 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-06-22 13:01:22,214 252 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-06-22 13:01:22,230 252 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-06-22 13:01:22,230 252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:22,230 252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-06-22 13:01:22,230 252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-06-22 13:01:22,245 252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:22,245 252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-06-22 13:01:22,354 252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-06-22 13:01:22,354 252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:22,354 252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:22,354 252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-06-22 13:01:22,370 252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-06-22 13:01:22,370 252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-06-22 13:01:22,370 252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-06-22 13:01:22,370 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-06-22 13:01:22,370 252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-06-22 13:01:22,387 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-06-22 13:01:22,387 252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-06-22 13:01:22,387 252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-06-22 13:01:22,401 252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-06-22 13:01:22,401 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-06-22 13:01:22,401 252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-06-22 13:01:22,401 252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-06-22 13:01:22,401 252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-06-22 13:01:22,417 252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-06-22 13:01:22,417 252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-06-22 13:01:22,417 252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-06-22 13:01:22,417 252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-06-22 13:01:22,432 252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-06-22 13:01:22,432 252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-06-22 13:01:22,432 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-06-22 13:01:22,448 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:22,448 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-06-22 13:01:22,448 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-06-22 13:01:22,448 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-06-22 13:01:22,463 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-06-22 13:01:22,463 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-06-22 13:01:22,463 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-06-22 13:01:22,463 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-06-22 13:01:22,490 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-06-22 13:01:22,490 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-06-22 13:01:22,495 252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-06-22 13:01:22,495 252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-06-22 13:01:22,495 252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-06-22 13:01:22,495 252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-06-22 13:01:22,495 252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-06-22 13:01:22,511 252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-06-22 13:01:22,511 252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-06-22 13:01:22,511 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-06-22 13:01:22,511 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-06-22 13:01:22,526 252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-06-22 13:01:22,526 252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-06-22 13:01:22,526 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-06-22 13:01:22,526 252 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-06-22 13:01:22,526 252 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-06-22 13:01:22,543 252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-06-22 13:01:22,543 252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-06-22 13:01:22,543 252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-06-22 13:01:22,560 252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-06-22 13:01:22,560 252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-06-22 13:01:22,560 252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-06-22 13:01:22,573 252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-06-22 13:01:22,573 252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-06-22 13:01:22,573 252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-06-22 13:01:22,573 252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-06-22 13:01:22,589 252 [DEBUG] - ---------------------------Script Execution---------------------------
2020-06-22 13:01:22,589 252 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.251 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2020-06-22 13:01:22,589 252 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
2020-06-22 13:01:22,620 252 [DEBUG] - No Package Parameters Passed in
2020-06-22 13:01:22,777 252 [DEBUG] - Running Get-ProcessorBits
2020-06-22 13:01:22,793 252 [INFO ] - The software license has changed for Java and this software must be licensed for general business use. Please ensure your licensing is compliant before installing.
2020-06-22 13:01:22,793 252 [INFO ] -
2020-06-22 13:01:22,793 252 [INFO ] - Checking to see if local install is already up to date...
2020-06-22 13:01:22,934 252 [INFO ] - Downloading 32-bit installer
2020-06-22 13:01:22,950 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe' -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784' -checksum 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F' -checksumType 'SHA256'
2020-06-22 13:01:22,964 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 13:01:22,964 252 [DEBUG] - CPU is 64 bit
2020-06-22 13:01:22,964 252 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784' -ErrorAction 'Stop'
2020-06-22 13:01:22,980 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:22,980 252 [DEBUG] - Request Headers:
2020-06-22 13:01:22,995 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:01:22,995 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:01:24,104 252 [DEBUG] - Response Headers:
2020-06-22 13:01:24,104 252 [DEBUG] - 'Pragma':'no-cache'
2020-06-22 13:01:24,120 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:01:24,120 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:01:24,120 252 [DEBUG] - 'Content-Length':'68698760'
2020-06-22 13:01:24,135 252 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2020-06-22 13:01:24,135 252 [DEBUG] - 'Content-Type':'application/x-sdlc'
2020-06-22 13:01:24,153 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:01:45 GMT'
2020-06-22 13:01:24,153 252 [DEBUG] - 'Expires':'Fri, 26 Jun 2020 10:01:45 GMT'
2020-06-22 13:01:24,153 252 [DEBUG] - 'ETag':'"d01f38dd7d404ff88436ce7ba7a6f66b:1584166508"'
2020-06-22 13:01:24,167 252 [DEBUG] - 'Last-Modified':'Thu, 12 Mar 2020 10:14:03 GMT'
2020-06-22 13:01:24,167 252 [DEBUG] - 'Server':'Apache'
2020-06-22 13:01:24,167 252 [INFO ] - Downloading jre8
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-06-22 13:01:24,185 252 [INFO ] -
2020-06-22 13:01:24,185 252 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe' -options 'System.Collections.Hashtable'
2020-06-22 13:01:24,202 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 13:01:24,214 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 13:01:24,214 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:01:24,450 252 [DEBUG] - Downloading https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784 to C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe
2020-06-22 13:01:39,323 252 [INFO ] -
2020-06-22 13:01:39,323 252 [INFO ] - Download of JRE8x86.exe (65.52 MB) completed.
2020-06-22 13:01:39,346 252 [INFO ] -
2020-06-22 13:01:42,385 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 13:01:42,385 252 [DEBUG] - Verifying package provided checksum of 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe'.
2020-06-22 13:01:42,385 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe' -checksum 'E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242058_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-06-22 13:01:42,385 252 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-06-22 13:01:42,401 252 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe"]
2020-06-22 13:01:44,479 252 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="E1B646C9483352F5FD74D78579B38D4136ECFCFE3E32B8426C70D84D6647463F" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe"] exited with '0'.
2020-06-22 13:01:44,479 252 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe
2020-06-22 13:01:44,496 252 [INFO ] - Installing JRE 8.0.2510.8 32-bit
2020-06-22 13:01:44,511 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'JRE8' -fileType 'exe' -silentArgs '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe'
2020-06-22 13:01:44,511 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 13:01:44,511 252 [INFO ] - Installing JRE8...
2020-06-22 13:01:44,526 252 [INFO ] -
2020-06-22 13:01:44,526 252 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe'
2020-06-22 13:01:44,541 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 13:01:44,541 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 13:01:44,541 252 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2020-06-22 13:03:55,698 252 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2020-06-22 13:03:55,698 252 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-06-22 13:03:55,698 252 [INFO ] - JRE8 has been installed.
2020-06-22 13:03:55,713 252 [INFO ] -
2020-06-22 13:03:55,713 252 [INFO ] - Downloading 64-bit installer
2020-06-22 13:03:55,713 252 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe' -url64bit 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' -checksum64 '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2' -checksumType 'SHA256'
2020-06-22 13:03:55,729 252 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-06-22 13:03:55,729 252 [DEBUG] - CPU is 64 bit
2020-06-22 13:03:55,932 252 [DEBUG] - Setting url to 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' and bitPackage to 64
2020-06-22 13:03:55,932 252 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' -ErrorAction 'Stop'
2020-06-22 13:03:55,980 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:03:55,980 252 [DEBUG] - Request Headers:
2020-06-22 13:03:55,996 252 [DEBUG] - 'Accept':'*/*'
2020-06-22 13:03:55,996 252 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-06-22 13:03:57,057 252 [DEBUG] - Response Headers:
2020-06-22 13:03:57,057 252 [DEBUG] - 'Pragma':'no-cache'
2020-06-22 13:03:57,057 252 [DEBUG] - 'Connection':'keep-alive'
2020-06-22 13:03:57,072 252 [DEBUG] - 'Accept-Ranges':'bytes'
2020-06-22 13:03:57,072 252 [DEBUG] - 'Content-Length':'77308552'
2020-06-22 13:03:57,072 252 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2020-06-22 13:03:57,095 252 [DEBUG] - 'Content-Type':'application/x-sdlc'
2020-06-22 13:03:57,105 252 [DEBUG] - 'Date':'Fri, 26 Jun 2020 10:04:18 GMT'
2020-06-22 13:03:57,105 252 [DEBUG] - 'Expires':'Fri, 26 Jun 2020 10:04:18 GMT'
2020-06-22 13:03:57,124 252 [DEBUG] - 'ETag':'"8b0446ec78ec65445e9917b04c562c29:1584166519"'
2020-06-22 13:03:57,124 252 [DEBUG] - 'Last-Modified':'Thu, 12 Mar 2020 09:35:40 GMT'
2020-06-22 13:03:57,124 252 [DEBUG] - 'Server':'Apache'
2020-06-22 13:03:57,135 252 [INFO ] - Downloading jre8 64 bit
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-06-22 13:03:57,135 252 [INFO ] -
2020-06-22 13:03:57,151 252 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe' -options 'System.Collections.Hashtable'
2020-06-22 13:03:57,151 252 [DEBUG] - Setting request timeout to 30000
2020-06-22 13:03:57,151 252 [DEBUG] - Setting read/write timeout to 5400000
2020-06-22 13:03:57,168 252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-06-22 13:04:13,322 252 [INFO ] -
2020-06-22 13:04:13,322 252 [INFO ] - Download of JRE8x64.exe (73.73 MB) completed.
2020-06-22 13:04:13,322 252 [INFO ] -
2020-06-22 13:04:16,355 252 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-06-22 13:04:16,355 252 [DEBUG] - Verifying package provided checksum of '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe'.
2020-06-22 13:04:16,355 252 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe' -checksum '26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=242060_3d5a2bb8f8d4428bbe94aed7ec7ae784'
2020-06-22 13:04:16,369 252 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-06-22 13:04:16,369 252 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe"]
2020-06-22 13:04:18,276 252 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="26CB9474A8F8F80398054B29515602E48BD3088D167452F525EBB616882B2DC2" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe"] exited with '0'.
2020-06-22 13:04:18,291 252 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe
2020-06-22 13:04:18,308 252 [INFO ] - Installing JRE 8.0.2510.8 64-bit
2020-06-22 13:04:18,308 252 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'JRE8' -fileType 'exe' -silentArgs '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -file64 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe'
2020-06-22 13:04:18,323 252 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-06-22 13:04:18,338 252 [INFO ] - Installing 64-bit JRE8...
2020-06-22 13:04:18,354 252 [INFO ] -
2020-06-22 13:04:18,354 252 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe'
2020-06-22 13:04:18,369 252 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2020-06-22 13:04:18,369 252 [DEBUG] - Test-ProcessAdminRights: returning True
2020-06-22 13:04:18,386 252 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2020-06-22 13:06:20,354 252 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2510.8\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2020-06-22 13:06:20,370 252 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-06-22 13:06:20,370 252 [INFO ] - JRE8 has been installed.
2020-06-22 13:06:20,370 252 [INFO ] -
2020-06-22 13:06:20,386 252 [INFO ] - Searching if the previous version exists...
2020-06-22 13:06:20,557 252 [DEBUG] - ----------------------------------------------------------------------
2020-06-22 13:06:20,573 252 [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\jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-06-22 13:06:20,573 252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-06-22 13:06:21,026 252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-06-22 13:06:21,026 252 [INFO ] - jre8 may be able to be automatically uninstalled.
2020-06-22 13:06:21,041 252 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-06-22 13:06:21,041 252 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-06-22 13:06:21,041 252 [DEBUG] - * Path='C:\Program Files (x86)\Common Files\Oracle\Java\javapath;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-06-22 13:06:21,057 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2020-06-22 13:06:21,057 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum '8492F82C5250F90E674D6191DA571659'
2020-06-22 13:06:21,057 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum '0A3A28073182A702B935C0533CB0D0ED'
2020-06-22 13:06:21,072 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '0AA0AA5310FDB6406180ACBE9CEF4435'
2020-06-22 13:06:21,072 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum 'BAC2773D507E3E5CAB58CFFC0541D099'
2020-06-22 13:06:21,090 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251".
2020-06-22 13:06:21,104 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.registry'
2020-06-22 13:06:21,104 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.files'
2020-06-22 13:06:21,135 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.extra".
2020-06-22 13:06:21,135 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.version".
2020-06-22 13:06:21,135 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.sxs".
2020-06-22 13:06:21,152 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.251\.pin".
2020-06-22 13:06:21,152 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:06:21,152 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\jre8\.chocolateyPending".
2020-06-22 13:06:21,166 252 [INFO ] - The install of jre8 was successful.
2020-06-22 13:06:21,166 252 [INFO ] - Software installed to 'C:\Program Files\Java\jre1.8.0_251\'
2020-06-22 13:06:21,166 252 [INFO ] - [NuGet] Installing 'javaruntime 8.0.231'.
2020-06-22 13:06:21,183 252 [DEBUG] - [NuGet] Added file 'javaruntime.nupkg' to folder 'javaruntime'.
2020-06-22 13:06:21,400 252 [DEBUG] - [NuGet] Added file 'javaruntime.nuspec' to folder 'javaruntime'.
2020-06-22 13:06:21,400 252 [INFO ] - [NuGet] Successfully installed 'javaruntime 8.0.231'.
2020-06-22 13:06:21,400 252 [INFO ] -
javaruntime v8.0.231 (forced) [Approved]
2020-06-22 13:06:21,416 252 [INFO ] - javaruntime package files install completed. Performing other installation steps.
2020-06-22 13:06:21,433 252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\javaruntime'
2020-06-22 13:06:21,433 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\javaruntime\javaruntime.nupkg'
with checksum '36542753A68A2FFADA2A760E3047C1B7'
2020-06-22 13:06:21,433 252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\javaruntime\javaruntime.nuspec'
with checksum 'BE3833D36879C25A0C0996717236910E'
2020-06-22 13:06:21,448 252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.231".
2020-06-22 13:06:21,448 252 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.231\.files'
2020-06-22 13:06:21,464 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.231\.extra".
2020-06-22 13:06:21,464 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.231\.version".
2020-06-22 13:06:21,464 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.231\.sxs".
2020-06-22 13:06:21,478 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.231\.pin".
2020-06-22 13:06:21,478 252 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-06-22 13:06:21,478 252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\javaruntime\.chocolateyPending".
2020-06-22 13:06:21,494 252 [INFO ] - The install of javaruntime was successful.
2020-06-22 13:06:21,494 252 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-06-22 13:06:21,511 252 [INFO ] - [NuGet] Installing 'jdk7 7.0.79.3'.
2020-06-22 13:06:21,511 252 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jdk7\tools'.
2020-06-22 13:06:21,526 252 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'jdk7\tools'.
2020-06-22 13:06:21,526 252 [DEBUG] - [NuGet] Added file 'common.ps1' to folder 'jdk7\tools'.
2020-06-22 13:06:21,526 252 [DEBUG] - [NuGet] Added file 'jdk7.nupkg' to folder 'jdk7'.
2020-06-22 13:06:21,746 252 [DEBUG] - [NuGet] Added file 'jdk7.nuspec' to folder 'jdk7'.
2020-06-22 13:06:21,746 252 [INFO ] - [NuGet] Successfully installed 'jdk7 7.0.79.3'.
2020-06-22 13:06:21,760 252 [INFO ] -
jdk7 v7.0.79.3 (forced) [Approved] - Possibly broken
2020-06-22 13:06:21,760 252 [INFO ] - jdk7 package files install completed. Performing other installation steps.
2020-06-22 13:06:21,777 252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jdk7\tools\chocolateyInstall.ps1':
2020-06-22 13:06:21,777 252 [DEBUG] - $script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$common = $(Join-Path $script_path "common.ps1")
. $common
# $params = "$env:chocolateyPackageParameters" # -params '"x64=false;path=c:\\java\\jdk"'
# $params = (ConvertFrom-StringData $params.Replace(";", "`n"))
if (checkIfInstalled)
{
Write-Host "JDK $java_version already installed."
return
}
# Download JDK file and store locally
$arch = get-arch
$jdk_file = download-jdk
$java_home = get-java-home
$checksum = get-checksum
$checksumType = 'sha256';
# Install JDK
Write-Host "Installing JDK $jdk_version($arch) to $java_home"
Install-ChocolateyInstallPackage $package 'exe' "/s" $jdk_file -ChecksumType "$checksumType" -Checksum "$checksum"
Write-Host "Completed Installing JDK $jdk_version($arch) to $java_home"
# Add java bin folder to Path
$java_bin = get-java-bin
Write-Host "Adding $java_bin to the Path"
Install-ChocolateyPath $java_bin 'Machine'
Write-Host "Completed Adding $java_bin to the Path"
# Add CLASSPATH environment variable if it doesn't exist
if ([Environment]::GetEnvironmentVariable('CLASSPATH','Machine') -eq $null) {
Write-Host "Adding CLASSPATH Environment Variable"
Install-ChocolateyEnvironmentVariable 'CLASSPATH' '.;' 'Machine'
Write-Host "Completed Adding CLASSPATH Environment Variable"
}
# Add JAVA_HOME environment variable if it doesn't exist
if ([Environment]::GetEnvironmentVariable('JAVA_HOME','Machine') -eq $null) {
Write-Host "Adding JAVA_HOME Environment Variable"
Install-ChocolateyEnvironmentVariable 'JAVA_HOME' $java_home 'Machine'
Write-Host "Completed Adding JAVA_HOME Environment Variable"
}
2020-06-22 13:06:21,791 252 [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\jdk7\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-06-22 13:06:21,791 252 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-06-22 13:06:21,791 252 [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-06-22 13:06:21,807 252 [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-06-22 13:06:21,807 252 [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-06-22 13:06:21,807 252 [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-06-22 13:06:22,354 252 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-06-22 13:06:22,479 252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-06-22 13:06:22,479 252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-06-22 13:06:22,494 252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.