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 24 Oct 2019 04:20:04 +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.
2019-10-24 03:34:34,494 1356 [DEBUG] - XmlConfiguration is now operational
2019-10-24 03:34:34,713 1356 [INFO ] - ============================================================
2019-10-24 03:34:35,307 1356 [INFO ] - Chocolatey v0.10.15
2019-10-24 03:34:35,354 1356 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-10-24 03:34:35,354 1356 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-10-24 03:34:35,354 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-10-24 03:34:35,400 1356 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install SPH --version 2.1.1 -fdvy --execution-timeout=2700 --allow-downgrade
2019-10-24 03:34:35,416 1356 [DEBUG] - Received arguments: install SPH --version 2.1.1 -fdvy --execution-timeout=2700 --allow-downgrade
2019-10-24 03:34:35,588 1356 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-10-24 03:34:35,620 1356 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-10-24 03:34:35,650 1356 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-10-24 03:34:35,854 1356 [DEBUG] - Performing validation checks.
2019-10-24 03:34:35,885 1356 [DEBUG] - Global Configuration Validation Checks:
2019-10-24 03:34:35,885 1356 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-10-24 03:34:35,901 1356 [DEBUG] - System State Validation Checks:
2019-10-24 03:34:35,916 1356 [DEBUG] - Reboot Requirement Checks:
2019-10-24 03:34:35,932 1356 [DEBUG] - - Pending Computer Rename = Checked
2019-10-24 03:34:35,932 1356 [DEBUG] - - Pending Component Based Servicing = Checked
2019-10-24 03:34:35,947 1356 [DEBUG] - - Pending Windows Auto Update = Checked
2019-10-24 03:34:35,947 1356 [DEBUG] - - Pending File Rename Operations = Checked
2019-10-24 03:34:35,947 1356 [DEBUG] - - Pending Windows Package Installer = Checked
2019-10-24 03:34:35,963 1356 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-10-24 03:34:35,979 1356 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-10-24 03:34:35,994 1356 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-10-24 03:34:36,010 1356 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2019-10-24 03:34:36,073 1356 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='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'|
2019-10-24 03:34:36,073 1356 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-10-24 03:34:36,104 1356 [INFO ] - Installing the following packages:
2019-10-24 03:34:36,104 1356 [INFO ] - SPH
2019-10-24 03:34:36,104 1356 [INFO ] - By installing you accept licenses for the packages.
2019-10-24 03:34:36,135 1356 [DEBUG] - Current environment values (may contain sensitive data):
2019-10-24 03:34:36,135 1356 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-10-24 03:34:36,135 1356 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-10-24 03:34:36,151 1356 [DEBUG] - * 'ChocolateyLastPathUpdate'='132162931014345602' ('User')
2019-10-24 03:34:36,151 1356 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-10-24 03:34:36,151 1356 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-10-24 03:34:36,166 1356 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2019-10-24 03:34:36,166 1356 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-10-24 03:34:36,166 1356 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-10-24 03:34:36,166 1356 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-10-24 03:34:36,182 1356 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-10-24 03:34:36,182 1356 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-10-24 03:34:36,182 1356 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-10-24 03:34:36,197 1356 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-10-24 03:34:36,197 1356 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-10-24 03:34:36,197 1356 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-10-24 03:34:36,213 1356 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-10-24 03:34:36,213 1356 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-10-24 03:34:36,213 1356 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-10-24 03:34:36,213 1356 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-10-24 03:34:36,229 1356 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-10-24 03:34:38,542 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'PowerShell (= 3.0.20121027)'.
2019-10-24 03:34:40,947 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'DotNet4.5.1 (= 4.5.1.20131012)'.
2019-10-24 03:34:41,432 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'iis75.express (= 7.5.1)'.
2019-10-24 03:34:42,510 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2012.SMO (= 10.50.1600.2)'.
2019-10-24 03:34:43,650 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'MSXML6.SP1'.
2019-10-24 03:34:44,479 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'sql2012.nativeclient'.
2019-10-24 03:34:45,807 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'sql2012.clrtypes'.
2019-10-24 03:34:46,901 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'PowerShellExtension.SQL2012 (= 11.0.2100.60)'.
2019-10-24 03:34:47,854 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'javaruntime (= 7.0.45)'.
2019-10-24 03:34:48,526 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'jre8 (= 8.0.191)'.
2019-10-24 03:34:49,463 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'elastic (= 0.90.7.4)'.
2019-10-24 03:34:50,682 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'java.jdk'.
2019-10-24 03:34:51,855 1356 [INFO ] - [NuGet] Attempting to resolve dependency 'jdk7'.
2019-10-24 03:34:53,135 1356 [INFO ] - [NuGet] Installing 'PowerShell 5.1.14409.20180811'.
2019-10-24 03:34:53,151 1356 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'PowerShell\tools'.
2019-10-24 03:34:53,166 1356 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PowerShell\tools'.
2019-10-24 03:34:53,182 1356 [DEBUG] - [NuGet] Added file 'PowerShell.nupkg' to folder 'PowerShell'.
2019-10-24 03:34:53,558 1356 [DEBUG] - [NuGet] Added file 'PowerShell.nuspec' to folder 'PowerShell'.
2019-10-24 03:34:53,558 1356 [INFO ] - [NuGet] Successfully installed 'PowerShell 5.1.14409.20180811'.
2019-10-24 03:34:53,572 1356 [INFO ] -
PowerShell v5.1.14409.20180811 (forced) [Approved]
2019-10-24 03:34:53,619 1356 [INFO ] - powershell package files install completed. Performing other installation steps.
2019-10-24 03:34:53,807 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2019-10-24 03:34:53,854 1356 [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
}
2019-10-24 03:34:53,963 1356 [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 ''']
2019-10-24 03:34:53,963 1356 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-10-24 03:34:55,151 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:34:55,557 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:34:55,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:34:55,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:34:55,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:34:55,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:34:55,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:34:55,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:34:55,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:34:55,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:34:55,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:34:55,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:34:55,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:34:55,619 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:34:55,619 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:34:55,619 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:34:55,635 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:34:55,635 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:34:55,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:34:55,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:34:55,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:34:55,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:34:55,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:34:55,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:34:55,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:34:55,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:34:55,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:34:55,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:34:55,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:34:55,697 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:34:55,697 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:34:55,697 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:34:55,713 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:34:55,713 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:34:55,713 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:34:55,713 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:34:55,729 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:34:55,729 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:34:55,729 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:34:55,744 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:34:55,744 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:34:55,744 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:34:55,760 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:34:55,760 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:34:55,760 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:34:55,775 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:34:55,775 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:34:55,791 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:34:55,791 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:34:55,791 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:34:55,807 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:34:55,807 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:34:55,807 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:34:55,822 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:34:55,854 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:34:55,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:34:55,869 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:34:55,869 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:34:55,869 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:34:55,885 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:34:55,885 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:34:55,885 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:34:55,900 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:34:55,900 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:34:55,900 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:34:55,900 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:34:55,916 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:34:55,916 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:34:55,916 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:34:55,932 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:34:55,932 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:34:55,932 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:34:55,932 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:34:55,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:34:55,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:34:55,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:34:55,963 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:34:55,963 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:34:55,963 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:34:55,963 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:34:55,979 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:34:55,979 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:34:55,979 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:34:55,979 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:34:55,994 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:34:55,994 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:34:55,994 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:34:55,994 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:34:56,010 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:34:56,010 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:34:56,010 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:34:56,025 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:34:56,025 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:34:56,025 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:34:56,025 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:34:56,041 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:34:56,041 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:34:56,041 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:34:56,057 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:34:56,057 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:34:56,057 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:34:56,057 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:34:56,072 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:34:56,072 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:34:56,072 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:34:56,088 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:34:56,088 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:34:56,088 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:34:56,088 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:34:56,104 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:34:56,104 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:34:56,104 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:34:56,119 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:34:56,119 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:34:56,119 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:34:56,119 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:34:56,135 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:34:56,135 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:34:56,135 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:34:56,150 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:34:56,150 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:34:56,150 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:34:56,150 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:34:56,166 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:34:56,166 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:34:56,166 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:34:56,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:34:56,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:34:56,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:34:56,197 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:34:56,197 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:34:56,197 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:34:56,213 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:34:56,213 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:34:56,213 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:34:56,213 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:34:56,229 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:34:56,229 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:34:56,229 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:34:56,244 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:34:56,244 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:34:56,244 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:34:56,260 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:34:56,260 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:34:56,260 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:34:56,260 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:34:56,276 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:34:56,276 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:34:56,276 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:34:56,291 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:34:56,291 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:34:56,291 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:34:56,291 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:34:56,307 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:34:56,307 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:34:56,307 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:34:56,322 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:34:56,322 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:34:56,322 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:34:56,322 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:34:56,463 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:34:56,479 1356 [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: '',
2019-10-24 03:34:56,526 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2019-10-24 03:34:57,072 1356 [INFO ] - Running on: Windows Server 2012 R2 Datacenter, (ServerDatacenter), Windows Kernel: 6.3.9600
2019-10-24 03:34:57,151 1356 [INFO ] - Installing for OS: Win8.1/2012R2
2019-10-24 03:34:57,385 1356 [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-201910240334.evtx"'
2019-10-24 03:34:57,619 1356 [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'
2019-10-24 03:34:57,651 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:34:57,697 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:34:57,713 1356 [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
2019-10-24 03:34:57,807 1356 [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'
2019-10-24 03:34:58,244 1356 [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'
2019-10-24 03:34:58,260 1356 [DEBUG] - File name determined from url is 'Win8.1AndW2K12R2-KB3191564-x64.msu'
2019-10-24 03:34:58,322 1356 [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'
2019-10-24 03:34:58,322 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:34:58,338 1356 [DEBUG] - Request Headers:
2019-10-24 03:34:58,354 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:34:58,354 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:34:58,463 1356 [DEBUG] - Response Headers:
2019-10-24 03:34:58,479 1356 [DEBUG] - 'Content-MD5':'4uhKTV355vk+of3NssGOOQ=='
2019-10-24 03:34:58,479 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:34:58,479 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:34:58,494 1356 [DEBUG] - 'Content-Length':'19878906'
2019-10-24 03:34:58,494 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:34:58,494 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:34:58 GMT'
2019-10-24 03:34:58,494 1356 [DEBUG] - 'ETag':'"0x8D632CAFF2AE41B"'
2019-10-24 03:34:58,510 1356 [DEBUG] - 'Last-Modified':'Mon, 15 Oct 2018 18:21:16 GMT'
2019-10-24 03:34:58,510 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:34:58,541 1356 [INFO ] - Downloading PowerShell 64 bit
from 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2019-10-24 03:34:58,557 1356 [INFO ] -
2019-10-24 03:34:58,620 1356 [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'
2019-10-24 03:34:58,635 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:34:58,635 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:34:58,635 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:34:59,166 1356 [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
2019-10-24 03:35:01,682 1356 [INFO ] -
2019-10-24 03:35:01,697 1356 [INFO ] - Download of Win8.1AndW2K12R2-KB3191564-x64.msu (18.96 MB) completed.
2019-10-24 03:35:01,697 1356 [INFO ] -
2019-10-24 03:35:05,244 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:35:05,244 1356 [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'.
2019-10-24 03:35:05,276 1356 [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'
2019-10-24 03:35:05,308 1356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-24 03:35:05,308 1356 [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"]
2019-10-24 03:35:05,963 1356 [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'.
2019-10-24 03:35:06,041 1356 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-201910240334.evtx"' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -validExitCodes '0 3010' -useOnlyPackageSilentArguments 'False'
2019-10-24 03:35:06,041 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:35:06,057 1356 [INFO ] - Installing PowerShell...
2019-10-24 03:35:06,057 1356 [INFO ] -
2019-10-24 03:35:06,245 1356 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2019-10-24 03:35:06,322 1356 [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-201910240334.evtx" ' -exeToRun 'C:\Windows\System32\wusa.exe'
2019-10-24 03:35:06,338 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:35:06,432 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:35:06,463 1356 [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-201910240334.evtx" ]. This may take a while, depending on the statements.
2019-10-24 03:37:31,104 1356 [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-201910240334.evtx" ] exited with '3010'.
2019-10-24 03:37:31,151 1356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-10-24 03:37:31,166 1356 [INFO ] - PowerShell has been installed.
2019-10-24 03:37:31,166 1356 [INFO ] -
2019-10-24 03:37:31,182 1356 [WARN ] - WARNING: PowerShell requires a reboot to complete the installation.
2019-10-24 03:37:31,307 1356 [DEBUG] - ----------------------------------------------------------------------
2019-10-24 03:37:31,338 1356 [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'.
2019-10-24 03:37:31,354 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:37:31,401 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:37:31,776 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2019-10-24 03:37:31,776 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2019-10-24 03:37:31,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2019-10-24 03:37:31,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2019-10-24 03:37:31,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2019-10-24 03:37:31,994 1356 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-10-24 03:37:32,089 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811".
2019-10-24 03:37:32,135 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.files'
2019-10-24 03:37:32,150 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.extra".
2019-10-24 03:37:32,150 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.version".
2019-10-24 03:37:32,150 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.sxs".
2019-10-24 03:37:32,150 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.pin".
2019-10-24 03:37:32,166 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:37:32,182 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2019-10-24 03:37:32,197 1356 [INFO ] - The install of powershell was successful.
2019-10-24 03:37:32,197 1356 [INFO ] - Software installed as 'msu', install location is likely default.
2019-10-24 03:37:32,213 1356 [INFO ] - [NuGet] Installing 'DotNet4.5.1 4.5.1.20140606'.
2019-10-24 03:37:32,213 1356 [DEBUG] - [NuGet] Added file 'dotnet.png' to folder 'DotNet4.5.1'.
2019-10-24 03:37:32,213 1356 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'DotNet4.5.1\Tools'.
2019-10-24 03:37:32,229 1356 [DEBUG] - [NuGet] Added file 'DotNet4.5.1.nupkg' to folder 'DotNet4.5.1'.
2019-10-24 03:37:32,541 1356 [DEBUG] - [NuGet] Added file 'DotNet4.5.1.nuspec' to folder 'DotNet4.5.1'.
2019-10-24 03:37:32,541 1356 [INFO ] - [NuGet] Successfully installed 'DotNet4.5.1 4.5.1.20140606'.
2019-10-24 03:37:32,557 1356 [INFO ] -
DotNet4.5.1 v4.5.1.20140606 (forced) [Approved]
2019-10-24 03:37:32,557 1356 [INFO ] - dotnet4.5.1 package files install completed. Performing other installation steps.
2019-10-24 03:37:32,572 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1':
2019-10-24 03:37:32,572 1356 [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."
}
2019-10-24 03:37:32,572 1356 [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 ''']
2019-10-24 03:37:32,588 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:37:32,635 1356 [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.
2019-10-24 03:37:32,650 1356 [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.
2019-10-24 03:37:32,650 1356 [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.
2019-10-24 03:37:32,650 1356 [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.
2019-10-24 03:37:32,885 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:37:33,026 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:37:33,026 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:37:33,026 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:33,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:33,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:37:33,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:33,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:37:33,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:33,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:37:33,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:33,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:37:33,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:37:33,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:33,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:37:33,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:37:33,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:37:33,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:37:33,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:37:33,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:33,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:33,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:33,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:33,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:33,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:37:33,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:37:33,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:33,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:33,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:33,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:33,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:33,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:37:33,182 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:37:33,182 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:37:33,182 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:33,197 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:37:33,197 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:37:33,197 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:33,197 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:33,213 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:33,213 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:37:33,213 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:37:33,229 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:37:33,229 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:37:33,229 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:33,229 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:37:33,244 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:37:33,244 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:33,244 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:37:33,260 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:37:33,260 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:33,260 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:33,260 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:37:33,275 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:37:33,275 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:37:33,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:37:33,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:33,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:33,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:37:33,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:33,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:37:33,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:33,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:37:33,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:33,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:37:33,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:37:33,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:33,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:37:33,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:37:33,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:37:33,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:37:33,354 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:37:33,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:33,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:33,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:33,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:33,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:33,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:37:33,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:37:33,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:33,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:33,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:33,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:33,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:33,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:37:33,432 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:37:33,432 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:37:33,432 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:33,432 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:37:33,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:37:33,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:33,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:33,463 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:33,463 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:37:33,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:37:33,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:37:33,479 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:37:33,479 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:33,479 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:37:33,494 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:37:33,494 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:33,494 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:37:33,494 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:37:33,510 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:33,510 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:33,510 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:37:33,510 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:37:33,525 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:37:33,525 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:37:33,525 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:33,541 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:33,541 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:37:33,541 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:33,541 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:37:33,557 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:33,557 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:37:33,557 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:33,557 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:37:33,572 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:37:33,572 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:33,572 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:37:33,588 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:37:33,588 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:37:33,588 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:37:33,588 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:37:33,604 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:33,604 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:33,604 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:33,619 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:33,619 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:33,619 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:37:33,635 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:37:33,635 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:33,635 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:33,650 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:33,650 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:33,650 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:33,650 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:37:33,666 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:37:33,666 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:37:33,666 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:33,682 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:37:33,682 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:37:33,682 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:33,682 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:33,697 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:33,697 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:37:33,697 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:37:33,713 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:37:33,713 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:37:33,713 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:33,729 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:37:33,729 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:37:33,729 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:33,744 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:37:33,744 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:37:33,744 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:33,744 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:37:33,760 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:37:33,760 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:33,775 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:37:33,775 1356 [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: '',
2019-10-24 03:37:33,775 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1'
2019-10-24 03:37:33,791 1356 [INFO ] - Microsoft .Net 4.5.1 Framework is already installed on your machine.
2019-10-24 03:37:33,807 1356 [INFO ] -
2019-10-24 03:37:33,822 1356 [DEBUG] - ----------------------------------------------------------------------
2019-10-24 03:37:33,822 1356 [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'.
2019-10-24 03:37:33,838 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:37:33,869 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:37:33,885 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\DotNet4.5.1'
2019-10-24 03:37:33,885 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\dotnet.png'
with checksum '0D5A15B93F47DF7F91B24A14C7CE91FE'
2019-10-24 03:37:33,885 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\DotNet4.5.1.nupkg'
with checksum '644E236231ADA16E07DA6C9B9612F508'
2019-10-24 03:37:33,885 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\DotNet4.5.1.nuspec'
with checksum '0B3F897C37EFA55FCB419072C56EAD55'
2019-10-24 03:37:33,900 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.5.1\Tools\ChocolateyInstall.ps1'
with checksum '805DDE099F331DF8A4F0D47BE8D47E7C'
2019-10-24 03:37:33,900 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606".
2019-10-24 03:37:33,916 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.files'
2019-10-24 03:37:33,916 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.extra".
2019-10-24 03:37:33,932 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.version".
2019-10-24 03:37:33,932 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.sxs".
2019-10-24 03:37:33,932 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.5.1.4.5.1.20140606\.pin".
2019-10-24 03:37:33,947 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:37:33,947 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\DotNet4.5.1\.chocolateyPending".
2019-10-24 03:37:33,947 1356 [INFO ] - The install of dotnet4.5.1 was successful.
2019-10-24 03:37:33,963 1356 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-10-24 03:37:33,963 1356 [INFO ] - [NuGet] Installing 'iis75.express 7.5.1'.
2019-10-24 03:37:33,963 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'iis75.express\tools'.
2019-10-24 03:37:33,979 1356 [DEBUG] - [NuGet] Added file 'iis75.express.nupkg' to folder 'iis75.express'.
2019-10-24 03:37:34,197 1356 [DEBUG] - [NuGet] Added file 'iis75.express.nuspec' to folder 'iis75.express'.
2019-10-24 03:37:34,197 1356 [INFO ] - [NuGet] Successfully installed 'iis75.express 7.5.1'.
2019-10-24 03:37:34,213 1356 [INFO ] -
iis75.express v7.5.1 (forced)
2019-10-24 03:37:34,213 1356 [INFO ] - iis75.express package files install completed. Performing other installation steps.
2019-10-24 03:37:34,230 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1':
2019-10-24 03:37:34,230 1356 [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
#}
2019-10-24 03:37:34,230 1356 [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 ''']
2019-10-24 03:37:34,244 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:37:34,244 1356 [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.
2019-10-24 03:37:34,260 1356 [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.
2019-10-24 03:37:34,260 1356 [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.
2019-10-24 03:37:34,260 1356 [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.
2019-10-24 03:37:34,447 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:37:34,557 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:37:34,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:37:34,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:34,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:34,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:37:34,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:34,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:37:34,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:34,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:37:34,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:34,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:37:34,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:37:34,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:34,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:37:34,619 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:37:34,619 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:37:34,619 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:37:34,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:37:34,636 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:34,636 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:34,651 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:34,651 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:34,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:34,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:37:34,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:37:34,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:34,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:34,697 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:34,697 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:34,697 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:34,713 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:37:34,713 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:37:34,713 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:37:34,729 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:34,729 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:37:34,729 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:37:34,744 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:34,744 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:34,744 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:34,744 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:37:34,760 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:37:34,760 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:37:34,760 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:37:34,775 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:34,775 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:37:34,775 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:37:34,775 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:34,791 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:37:34,791 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:37:34,791 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:34,807 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:34,807 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:37:34,807 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:37:34,822 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:37:34,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:37:34,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:34,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:34,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:37:34,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:34,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:37:34,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:34,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:37:34,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:34,869 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:37:34,869 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:37:34,869 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:34,885 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:37:34,885 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:37:34,885 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:37:34,901 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:37:34,901 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:37:34,901 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:34,901 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:34,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:34,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:34,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:34,932 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:37:34,932 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:37:34,932 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:34,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:34,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:34,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:34,947 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:34,963 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:37:34,963 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:37:34,963 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:37:34,979 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:34,979 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:37:34,979 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:37:34,994 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:34,994 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:34,994 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:34,994 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:37:35,010 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:37:35,010 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:37:35,010 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:37:35,026 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:35,026 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:37:35,026 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:37:35,026 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:35,041 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:37:35,041 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:37:35,041 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:35,057 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:35,057 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:37:35,057 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:37:35,057 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:37:35,072 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:37:35,072 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:35,072 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:35,088 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:37:35,088 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:35,088 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:37:35,088 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:35,104 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:37:35,104 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:35,104 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:37:35,119 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:37:35,119 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:35,119 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:37:35,119 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:37:35,135 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:37:35,135 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:37:35,135 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:37:35,151 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:35,151 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:35,151 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:35,166 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:35,166 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:35,166 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:37:35,166 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:37:35,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:35,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:35,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:35,182 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:35,197 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:35,197 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:37:35,197 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:37:35,213 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:37:35,213 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:35,213 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:37:35,213 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:37:35,229 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:35,229 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:35,229 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:35,244 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:37:35,244 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:37:35,244 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:37:35,244 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:37:35,260 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:35,260 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:37:35,260 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:37:35,275 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:35,275 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:37:35,275 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:37:35,275 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:35,291 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:37:35,291 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:37:35,291 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:35,307 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:37:35,307 1356 [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: '',
2019-10-24 03:37:35,322 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1'
2019-10-24 03:37:35,338 1356 [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'
2019-10-24 03:37:35,338 1356 [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'
2019-10-24 03:37:35,354 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:37:35,354 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:37:35,369 1356 [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'
2019-10-24 03:37:35,369 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:37:35,385 1356 [DEBUG] - Request Headers:
2019-10-24 03:37:35,385 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:37:35,385 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:37:35,510 1356 [DEBUG] - Response Headers:
2019-10-24 03:37:35,510 1356 [DEBUG] - 'Content-MD5':'3C63NOORSSmxRTpZv4iZKg=='
2019-10-24 03:37:35,510 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:37:35,525 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:37:35,525 1356 [DEBUG] - 'Content-Length':'3722752'
2019-10-24 03:37:35,525 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:37:35,541 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:37:35 GMT'
2019-10-24 03:37:35,541 1356 [DEBUG] - 'ETag':'"0x8D633966DD9E014"'
2019-10-24 03:37:35,541 1356 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 18:37:30 GMT'
2019-10-24 03:37:35,557 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:37:35,557 1356 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-10-24 03:37:35,557 1356 [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'
2019-10-24 03:37:35,682 1356 [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'
2019-10-24 03:37:35,682 1356 [DEBUG] - File name determined from url is 'iisexpress_1_11_x86_en-US.msi'
2019-10-24 03:37:35,697 1356 [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'
2019-10-24 03:37:35,697 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:37:35,697 1356 [DEBUG] - Request Headers:
2019-10-24 03:37:35,713 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:37:35,713 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:37:35,807 1356 [DEBUG] - Response Headers:
2019-10-24 03:37:35,822 1356 [DEBUG] - 'Content-MD5':'3C63NOORSSmxRTpZv4iZKg=='
2019-10-24 03:37:35,822 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:37:35,822 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:37:35,822 1356 [DEBUG] - 'Content-Length':'3722752'
2019-10-24 03:37:35,838 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:37:35,838 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:37:35 GMT'
2019-10-24 03:37:35,838 1356 [DEBUG] - 'ETag':'"0x8D633966DD9E014"'
2019-10-24 03:37:35,854 1356 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 18:37:30 GMT'
2019-10-24 03:37:35,854 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:37:35,854 1356 [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'
2019-10-24 03:37:35,869 1356 [INFO ] -
2019-10-24 03:37:35,869 1356 [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'
2019-10-24 03:37:35,885 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:37:35,885 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:37:35,885 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:37:36,057 1356 [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
2019-10-24 03:37:36,558 1356 [INFO ] -
2019-10-24 03:37:36,558 1356 [INFO ] - Download of iisexpress_1_11_x86_en-US.msi (3.55 MB) completed.
2019-10-24 03:37:36,572 1356 [INFO ] -
2019-10-24 03:37:39,573 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:37:39,573 1356 [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.
2019-10-24 03:37:39,604 1356 [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'.
2019-10-24 03:37:39,604 1356 [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'
2019-10-24 03:37:39,604 1356 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-10-24 03:37:39,619 1356 [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'
2019-10-24 03:37:39,619 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:37:39,635 1356 [INFO ] - Installing iis75.express...
2019-10-24 03:37:39,635 1356 [INFO ] -
2019-10-24 03:37:39,651 1356 [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'
2019-10-24 03:37:39,651 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:37:39,666 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:37:39,666 1356 [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.
2019-10-24 03:37:57,697 1356 [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'.
2019-10-24 03:37:57,697 1356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-10-24 03:37:57,713 1356 [INFO ] - iis75.express has been installed.
2019-10-24 03:37:57,713 1356 [INFO ] -
2019-10-24 03:37:57,713 1356 [DEBUG] - ----------------------------------------------------------------------
2019-10-24 03:37:57,729 1356 [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'.
2019-10-24 03:37:57,729 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:37:57,760 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:37:57,760 1356 [INFO ] - iis75.express may be able to be automatically uninstalled.
2019-10-24 03:37:57,776 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\iis75.express'
2019-10-24 03:37:57,776 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\iis75.express\iis75.express.nupkg'
with checksum '3BDCC5CACD7A42794A62DD8CDE8BD847'
2019-10-24 03:37:57,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\iis75.express\iis75.express.nuspec'
with checksum '12DF1CB54808B3AB772F2FA678D3438E'
2019-10-24 03:37:57,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\iis75.express\tools\chocolateyInstall.ps1'
with checksum '7BD7913BA1D1CA04FEBEA62D265079C4'
2019-10-24 03:37:57,791 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1".
2019-10-24 03:37:57,869 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.registry'
2019-10-24 03:37:57,885 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.files'
2019-10-24 03:37:57,885 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.extra".
2019-10-24 03:37:57,901 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.version".
2019-10-24 03:37:57,901 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.sxs".
2019-10-24 03:37:57,901 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\iis75.express.7.5.1\.pin".
2019-10-24 03:37:57,916 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:37:57,916 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\iis75.express\.chocolateyPending".
2019-10-24 03:37:57,916 1356 [INFO ] - The install of iis75.express was successful.
2019-10-24 03:37:57,916 1356 [INFO ] - Software installed as 'MSI', install location is likely default.
2019-10-24 03:37:57,932 1356 [INFO ] - [NuGet] Installing 'MSXML6.SP1 6.10.1129.0'.
2019-10-24 03:37:57,932 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'MSXML6.SP1\tools'.
2019-10-24 03:37:57,947 1356 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nupkg' to folder 'MSXML6.SP1'.
2019-10-24 03:37:58,166 1356 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nuspec' to folder 'MSXML6.SP1'.
2019-10-24 03:37:58,166 1356 [INFO ] - [NuGet] Successfully installed 'MSXML6.SP1 6.10.1129.0'.
2019-10-24 03:37:58,182 1356 [INFO ] -
MSXML6.SP1 v6.10.1129.0 (forced) [Approved]
2019-10-24 03:37:58,182 1356 [INFO ] - msxml6.sp1 package files install completed. Performing other installation steps.
2019-10-24 03:37:58,197 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1':
2019-10-24 03:37:58,197 1356 [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
}
2019-10-24 03:37:58,213 1356 [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 ''']
2019-10-24 03:37:58,213 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:37:58,213 1356 [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.
2019-10-24 03:37:58,229 1356 [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.
2019-10-24 03:37:58,229 1356 [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.
2019-10-24 03:37:58,229 1356 [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.
2019-10-24 03:37:58,400 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:37:58,510 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:37:58,525 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:37:58,525 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:58,525 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:58,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:37:58,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:58,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:37:58,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:58,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:37:58,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:58,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:37:58,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:37:58,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:58,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:37:58,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:37:58,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:37:58,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:37:58,588 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:37:58,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:58,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:58,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:58,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:58,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:58,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:37:58,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:37:58,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:58,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:58,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:58,651 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:58,651 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:58,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:37:58,666 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:37:58,682 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:37:58,682 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:58,682 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:37:58,697 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:37:58,697 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:58,697 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:58,713 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:58,713 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:37:58,713 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:37:58,713 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:37:58,729 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:37:58,729 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:58,729 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:37:58,744 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:37:58,744 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:58,744 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:37:58,744 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:37:58,760 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:58,760 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:58,760 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:37:58,775 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:37:58,775 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:37:58,775 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:37:58,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:58,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:58,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:37:58,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:58,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:37:58,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:58,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:37:58,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:58,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:37:58,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:37:58,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:58,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:37:58,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:37:58,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:37:58,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:37:58,854 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:37:58,854 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:58,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:58,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:58,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:58,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:58,885 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:37:58,885 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:37:58,885 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:58,900 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:58,900 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:58,900 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:58,900 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:58,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:37:58,916 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:37:58,916 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:37:58,932 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:58,932 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:37:58,932 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:37:58,947 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:58,947 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:58,947 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:58,947 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:37:58,963 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:37:58,963 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:37:58,963 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:37:58,963 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:58,979 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:37:58,979 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:37:58,979 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:58,994 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:37:58,994 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:37:58,994 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:58,994 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:59,010 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:37:59,010 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:37:59,010 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:37:59,025 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:37:59,025 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:37:59,025 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:37:59,025 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:37:59,041 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:37:59,041 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:37:59,041 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:37:59,057 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:37:59,057 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:37:59,057 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:37:59,072 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:37:59,072 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:37:59,072 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:37:59,072 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:37:59,088 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:37:59,088 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:37:59,088 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:37:59,088 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:37:59,104 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:59,104 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:37:59,104 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:37:59,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:37:59,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:37:59,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:37:59,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:37:59,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:37:59,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:37:59,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:37:59,150 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:37:59,150 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:37:59,150 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:37:59,150 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:37:59,166 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:37:59,166 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:37:59,166 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:37:59,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:37:59,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:37:59,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:37:59,182 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:37:59,197 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:37:59,197 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:37:59,197 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:37:59,213 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:37:59,213 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:37:59,213 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:37:59,229 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:37:59,229 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:37:59,244 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:37:59,244 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:37:59,244 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:37:59,260 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:37:59,260 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:37:59,276 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:37:59,276 1356 [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: '',
2019-10-24 03:37:59,291 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
2019-10-24 03:37:59,322 1356 [DEBUG] - Running Write-ChocolateySuccess -packageName 'Installation of MSXML6.SP1 is not necessary on this OS'
2019-10-24 03:37:59,338 1356 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2019-10-24 03:37:59,338 1356 [DEBUG] - ----------------------------------------------------------------------
2019-10-24 03:37:59,338 1356 [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'.
2019-10-24 03:37:59,354 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:37:59,369 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:37:59,385 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\MSXML6.SP1'
2019-10-24 03:37:59,401 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nupkg'
with checksum '1107730CBD859F95AE5E3A90D31097EF'
2019-10-24 03:37:59,401 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nuspec'
with checksum 'FF6C6B7F76E778364E671A8CF77D4FCC'
2019-10-24 03:37:59,401 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
with checksum '06EAE7FF99A72AA7DB72F701406F9272'
2019-10-24 03:37:59,416 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0".
2019-10-24 03:37:59,416 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.files'
2019-10-24 03:37:59,432 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.extra".
2019-10-24 03:37:59,432 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.version".
2019-10-24 03:37:59,447 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.sxs".
2019-10-24 03:37:59,447 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.pin".
2019-10-24 03:37:59,447 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:37:59,447 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\MSXML6.SP1\.chocolateyPending".
2019-10-24 03:37:59,463 1356 [INFO ] - The install of msxml6.sp1 was successful.
2019-10-24 03:37:59,463 1356 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-10-24 03:37:59,479 1356 [INFO ] - [NuGet] Installing 'SQL2012.NativeClient 2011.110.7001.0'.
2019-10-24 03:37:59,479 1356 [DEBUG] - [NuGet] Added file 'README.md' to folder 'SQL2012.NativeClient'.
2019-10-24 03:37:59,479 1356 [DEBUG] - [NuGet] Added file 'SQL2012.png' to folder 'SQL2012.NativeClient'.
2019-10-24 03:37:59,494 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2012.NativeClient\tools'.
2019-10-24 03:37:59,494 1356 [DEBUG] - [NuGet] Added file 'SQL2012.NativeClient.nupkg' to folder 'SQL2012.NativeClient'.
2019-10-24 03:37:59,714 1356 [DEBUG] - [NuGet] Added file 'SQL2012.NativeClient.nuspec' to folder 'SQL2012.NativeClient'.
2019-10-24 03:37:59,714 1356 [INFO ] - [NuGet] Successfully installed 'SQL2012.NativeClient 2011.110.7001.0'.
2019-10-24 03:37:59,729 1356 [INFO ] -
SQL2012.NativeClient v2011.110.7001.0 (forced) [Approved]
2019-10-24 03:37:59,729 1356 [INFO ] - sql2012.nativeclient package files install completed. Performing other installation steps.
2019-10-24 03:37:59,744 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1':
2019-10-24 03:37:59,744 1356 [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
2019-10-24 03:37:59,760 1356 [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 ''']
2019-10-24 03:37:59,760 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:37:59,776 1356 [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.
2019-10-24 03:37:59,776 1356 [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.
2019-10-24 03:37:59,776 1356 [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.
2019-10-24 03:37:59,776 1356 [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.
2019-10-24 03:37:59,932 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:38:00,057 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:00,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:00,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:00,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:00,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:00,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:00,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:00,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:00,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:00,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:00,119 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:00,119 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:00,119 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:00,135 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:00,135 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:00,135 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:00,150 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:00,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:00,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:00,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:00,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:00,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:00,182 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:00,182 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:00,182 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:00,182 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:00,198 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:00,198 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:00,198 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:00,213 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:00,213 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:00,213 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:00,229 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:00,229 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:00,229 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:00,244 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:00,244 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:00,244 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:00,260 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:00,260 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:00,260 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:00,260 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:00,275 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:00,275 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:00,291 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:00,291 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:00,291 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:00,307 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:00,307 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:00,307 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:00,322 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:00,322 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:00,322 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:00,338 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:00,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:00,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:00,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:00,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:00,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:00,369 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:00,369 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:00,385 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:00,385 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:00,385 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:00,400 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:00,400 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:00,416 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:00,416 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:00,416 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:00,432 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:00,432 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:00,432 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:00,447 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:00,447 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:00,447 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:00,463 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:00,463 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:00,479 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:00,479 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:00,479 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:00,479 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:00,494 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:00,494 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:00,510 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:00,510 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:00,510 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:00,525 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:00,525 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:00,525 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:00,541 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:00,541 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:00,541 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:00,557 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:00,557 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:00,557 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:00,572 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:00,572 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:00,588 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:00,588 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:00,588 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:00,604 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:00,604 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:00,604 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:00,619 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:00,619 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:00,619 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:00,635 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:38:00,635 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:38:00,650 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:00,650 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:00,650 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:38:00,666 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:00,666 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:38:00,666 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:00,682 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:38:00,682 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:00,682 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:38:00,697 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:38:00,697 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:00,697 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:38:00,713 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:38:00,713 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:38:00,713 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:38:00,729 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:38:00,729 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:00,729 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:00,744 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:00,744 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:00,744 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:00,760 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:38:00,760 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:38:00,760 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:00,775 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:00,775 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:00,775 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:00,775 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:00,791 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:38:00,791 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:38:00,791 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:38:00,807 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:00,807 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:38:00,807 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:38:00,822 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:00,822 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:00,822 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:00,838 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:38:00,838 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:38:00,838 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:38:00,838 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:38:00,854 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:00,854 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:38:00,854 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:38:00,869 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:00,869 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:38:00,869 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:38:00,885 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:00,885 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:38:00,885 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:38:00,901 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:00,901 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:38:00,901 1356 [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: '',
2019-10-24 03:38:00,916 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1'
2019-10-24 03:38:00,963 1356 [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'
2019-10-24 03:38:00,979 1356 [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'
2019-10-24 03:38:00,979 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:38:00,994 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:38:00,994 1356 [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
2019-10-24 03:38:01,010 1356 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -ErrorAction 'Stop'
2019-10-24 03:38:01,026 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:01,026 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:01,026 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:01,041 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:01,072 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:01,088 1356 [DEBUG] - 'Content-MD5':'Ep/GQTCDaUgYy8Cil9cG/Q=='
2019-10-24 03:38:01,088 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:01,088 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:01,104 1356 [DEBUG] - 'Content-Length':'5083136'
2019-10-24 03:38:01,104 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:01,119 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:01 GMT'
2019-10-24 03:38:01,119 1356 [DEBUG] - 'ETag':'"0x8D6335DAC33DE68"'
2019-10-24 03:38:01,119 1356 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 11:51:13 GMT'
2019-10-24 03:38:01,135 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:01,135 1356 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-10-24 03:38:01,150 1356 [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'
2019-10-24 03:38:01,261 1356 [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'
2019-10-24 03:38:01,276 1356 [DEBUG] - File name determined from url is 'sqlncli.msi'
2019-10-24 03:38:01,276 1356 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi' -ErrorAction 'Stop'
2019-10-24 03:38:01,291 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:01,291 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:01,307 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:01,307 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:01,479 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:01,479 1356 [DEBUG] - 'Content-MD5':'Ep/GQTCDaUgYy8Cil9cG/Q=='
2019-10-24 03:38:01,479 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:01,494 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:01,494 1356 [DEBUG] - 'Content-Length':'5083136'
2019-10-24 03:38:01,494 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:01,510 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:01 GMT'
2019-10-24 03:38:01,510 1356 [DEBUG] - 'ETag':'"0x8D6335DAC33DE68"'
2019-10-24 03:38:01,510 1356 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 11:51:13 GMT'
2019-10-24 03:38:01,510 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:01,525 1356 [INFO ] - Downloading sql2012.nativeclient 64 bit
from 'https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A/ENU/x64/sqlncli.msi'
2019-10-24 03:38:01,525 1356 [INFO ] -
2019-10-24 03:38:01,541 1356 [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'
2019-10-24 03:38:01,541 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:38:01,557 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:38:01,557 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:01,823 1356 [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
2019-10-24 03:38:04,963 1356 [INFO ] -
2019-10-24 03:38:04,979 1356 [INFO ] - Download of sqlncli.msi (4.85 MB) completed.
2019-10-24 03:38:04,979 1356 [INFO ] -
2019-10-24 03:38:07,994 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:38:07,994 1356 [DEBUG] - Verifying package provided checksum of '6737269AD63771C15B6E249209BEE0EC2AD1231503EFD9E1F1A7213EE7E70886' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.NativeClient\2011.110.7001.0\sqlncli.msi'.
2019-10-24 03:38:07,994 1356 [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'
2019-10-24 03:38:08,010 1356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-24 03:38:08,010 1356 [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"]
2019-10-24 03:38:08,244 1356 [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'.
2019-10-24 03:38:08,244 1356 [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'
2019-10-24 03:38:08,260 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:38:08,260 1356 [INFO ] - Installing sql2012.nativeclient...
2019-10-24 03:38:08,260 1356 [INFO ] -
2019-10-24 03:38:08,276 1356 [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'
2019-10-24 03:38:08,276 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:38:08,291 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:38:08,291 1356 [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.
2019-10-24 03:38:11,494 1356 [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'.
2019-10-24 03:38:11,494 1356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-10-24 03:38:11,510 1356 [INFO ] - sql2012.nativeclient has been installed.
2019-10-24 03:38:11,510 1356 [INFO ] -
2019-10-24 03:38:11,525 1356 [DEBUG] - ----------------------------------------------------------------------
2019-10-24 03:38:11,525 1356 [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'.
2019-10-24 03:38:11,525 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:38:11,557 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:38:11,557 1356 [INFO ] - sql2012.nativeclient may be able to be automatically uninstalled.
2019-10-24 03:38:11,573 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient'
2019-10-24 03:38:11,573 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\README.md'
with checksum 'A2BC9B0451E5DA071FE889576010A6F8'
2019-10-24 03:38:11,588 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\SQL2012.NativeClient.nupkg'
with checksum 'E6ECA089D52DC3EEE929B99A6659FF96'
2019-10-24 03:38:11,588 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\SQL2012.NativeClient.nuspec'
with checksum 'CD26C93D58622E20FB291E24E2BDA82A'
2019-10-24 03:38:11,588 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\SQL2012.png'
with checksum '65751D530F50A19FAF64C943E4B9B3B7'
2019-10-24 03:38:11,604 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\tools\chocolateyInstall.ps1'
with checksum '2844701473D4D8540EB5A06C2E687D22'
2019-10-24 03:38:11,604 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0".
2019-10-24 03:38:11,619 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.registry'
2019-10-24 03:38:11,619 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.files'
2019-10-24 03:38:11,635 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.extra".
2019-10-24 03:38:11,635 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.version".
2019-10-24 03:38:11,650 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.sxs".
2019-10-24 03:38:11,650 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.NativeClient.2011.110.7001.0\.pin".
2019-10-24 03:38:11,650 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:38:11,666 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2012.NativeClient\.chocolateyPending".
2019-10-24 03:38:11,666 1356 [INFO ] - The install of sql2012.nativeclient was successful.
2019-10-24 03:38:11,666 1356 [INFO ] - Software installed as 'msi', install location is likely default.
2019-10-24 03:38:11,682 1356 [INFO ] - [NuGet] Installing 'SQL2012.ClrTypes 2011.110.3000.1'.
2019-10-24 03:38:11,682 1356 [DEBUG] - [NuGet] Added file 'README.md' to folder 'SQL2012.ClrTypes'.
2019-10-24 03:38:11,682 1356 [DEBUG] - [NuGet] Added file 'SQL2012.png' to folder 'SQL2012.ClrTypes'.
2019-10-24 03:38:11,682 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2012.ClrTypes\tools'.
2019-10-24 03:38:11,697 1356 [DEBUG] - [NuGet] Added file 'SQL2012.ClrTypes.nupkg' to folder 'SQL2012.ClrTypes'.
2019-10-24 03:38:11,917 1356 [DEBUG] - [NuGet] Added file 'SQL2012.ClrTypes.nuspec' to folder 'SQL2012.ClrTypes'.
2019-10-24 03:38:11,917 1356 [INFO ] - [NuGet] Successfully installed 'SQL2012.ClrTypes 2011.110.3000.1'.
2019-10-24 03:38:11,932 1356 [INFO ] -
SQL2012.ClrTypes v2011.110.3000.1 (forced) [Approved]
2019-10-24 03:38:11,932 1356 [INFO ] - sql2012.clrtypes package files install completed. Performing other installation steps.
2019-10-24 03:38:11,947 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1':
2019-10-24 03:38:11,947 1356 [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
}
2019-10-24 03:38:11,947 1356 [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 ''']
2019-10-24 03:38:11,963 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:38:11,963 1356 [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.
2019-10-24 03:38:11,979 1356 [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.
2019-10-24 03:38:11,979 1356 [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.
2019-10-24 03:38:11,979 1356 [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.
2019-10-24 03:38:12,136 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:38:12,261 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:12,276 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:12,276 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:12,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:12,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:12,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:12,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:12,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:12,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:12,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:12,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:12,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:12,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:12,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:12,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:12,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:12,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:12,354 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:12,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:12,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:12,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:12,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:12,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:12,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:12,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:12,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:12,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:12,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:12,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:12,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:12,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:12,416 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:12,432 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:12,432 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:12,432 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:12,432 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:12,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:12,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:12,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:12,463 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:12,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:12,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:12,479 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:12,479 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:12,479 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:12,479 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:12,494 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:12,494 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:12,494 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:12,510 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:12,510 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:12,510 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:12,510 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:12,525 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:12,525 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:12,525 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:12,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:12,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:12,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:12,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:12,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:12,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:12,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:12,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:12,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:12,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:12,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:12,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:12,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:12,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:12,588 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:12,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:12,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:12,604 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:12,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:12,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:12,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:12,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:12,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:12,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:12,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:12,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:12,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:12,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:12,666 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:12,666 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:12,666 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:12,682 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:12,682 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:12,682 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:12,682 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:12,697 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:12,697 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:12,697 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:12,697 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:12,713 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:12,713 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:12,713 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:12,729 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:12,729 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:12,729 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:12,729 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:12,744 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:12,744 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:12,744 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:12,760 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:12,760 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:38:12,760 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:38:12,760 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:12,776 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:12,776 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:38:12,776 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:12,791 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:38:12,791 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:12,791 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:38:12,791 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:12,807 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:38:12,807 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:38:12,807 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:12,822 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:38:12,822 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:38:12,822 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:38:12,822 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:38:12,838 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:38:12,838 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:12,838 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:12,854 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:12,854 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:12,854 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:12,854 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:38:12,869 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:38:12,869 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:12,869 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:12,885 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:12,885 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:12,885 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:12,885 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:38:12,900 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:38:12,900 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:38:12,900 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:12,916 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:38:12,916 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:38:12,916 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:12,916 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:12,932 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:12,932 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:38:12,932 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:38:12,947 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:38:12,947 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:38:12,947 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:12,947 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:38:12,963 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:38:12,963 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:12,963 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:38:12,979 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:38:12,979 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:12,979 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:38:12,979 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:38:12,994 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:12,994 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:38:12,994 1356 [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: '',
2019-10-24 03:38:13,010 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1'
2019-10-24 03:38:13,026 1356 [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'
2019-10-24 03:38:13,041 1356 [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'
2019-10-24 03:38:13,057 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:38:13,057 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:38:13,057 1356 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2019-10-24 03:38:13,072 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:13,072 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:13,072 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:13,088 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:13,230 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:13,244 1356 [DEBUG] - 'Content-MD5':'5gv31wRFe18nCkUkqj4nrw=='
2019-10-24 03:38:13,244 1356 [DEBUG] - 'x-ms-copy-id':'6626babd-69f5-41ed-9b23-3d744c86060e'
2019-10-24 03:38:13,244 1356 [DEBUG] - 'x-ms-copy-source':'https://dmsstager3tx7y9x22.blob.core.windows.net/4b1e9b0e-a4f3-4715-b417-31c82302a70a/enu/x86/sqlsysclrtypes.msi?sv=2018-11-09&sr=b&sig=mgfzmaCPIC8wpsQd2kVxgiZLSPVe3yYoRRvAW%2BS%2BWIY%3D&se=2019-10-05T00%3A56%3A30Z&sp=r&api-version=2018-11-09'
2019-10-24 03:38:13,244 1356 [DEBUG] - 'x-ms-copy-status':'success'
2019-10-24 03:38:13,260 1356 [DEBUG] - 'x-ms-copy-progress':'2199552/2199552'
2019-10-24 03:38:13,260 1356 [DEBUG] - 'x-ms-copy-completion-time':'Sat, 28 Sep 2019 00:56:31 GMT'
2019-10-24 03:38:13,260 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:13,275 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:13,275 1356 [DEBUG] - 'Content-Length':'2199552'
2019-10-24 03:38:13,275 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:13,275 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:13 GMT'
2019-10-24 03:38:13,291 1356 [DEBUG] - 'ETag':'"0x8D743AEB3F4124F"'
2019-10-24 03:38:13,291 1356 [DEBUG] - 'Last-Modified':'Sat, 28 Sep 2019 00:56:31 GMT'
2019-10-24 03:38:13,291 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:13,307 1356 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-10-24 03:38:13,307 1356 [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'
2019-10-24 03:38:13,416 1356 [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'
2019-10-24 03:38:13,416 1356 [DEBUG] - File name determined from url is 'SQLSysClrTypes.msi'
2019-10-24 03:38:13,432 1356 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2019-10-24 03:38:13,447 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:13,447 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:13,447 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:13,447 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:13,557 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:13,557 1356 [DEBUG] - 'Content-MD5':'5gv31wRFe18nCkUkqj4nrw=='
2019-10-24 03:38:13,557 1356 [DEBUG] - 'x-ms-copy-id':'6626babd-69f5-41ed-9b23-3d744c86060e'
2019-10-24 03:38:13,557 1356 [DEBUG] - 'x-ms-copy-source':'https://dmsstager3tx7y9x22.blob.core.windows.net/4b1e9b0e-a4f3-4715-b417-31c82302a70a/enu/x86/sqlsysclrtypes.msi?sv=2018-11-09&sr=b&sig=mgfzmaCPIC8wpsQd2kVxgiZLSPVe3yYoRRvAW%2BS%2BWIY%3D&se=2019-10-05T00%3A56%3A30Z&sp=r&api-version=2018-11-09'
2019-10-24 03:38:13,572 1356 [DEBUG] - 'x-ms-copy-status':'success'
2019-10-24 03:38:13,572 1356 [DEBUG] - 'x-ms-copy-progress':'2199552/2199552'
2019-10-24 03:38:13,572 1356 [DEBUG] - 'x-ms-copy-completion-time':'Sat, 28 Sep 2019 00:56:31 GMT'
2019-10-24 03:38:13,588 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:13,588 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:13,588 1356 [DEBUG] - 'Content-Length':'2199552'
2019-10-24 03:38:13,588 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:13,604 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:13 GMT'
2019-10-24 03:38:13,604 1356 [DEBUG] - 'ETag':'"0x8D743AEB3F4124F"'
2019-10-24 03:38:13,604 1356 [DEBUG] - 'Last-Modified':'Sat, 28 Sep 2019 00:56:31 GMT'
2019-10-24 03:38:13,619 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:13,619 1356 [INFO ] - Downloading sql2012.clrtypes
from 'https://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x86/SQLSysClrTypes.msi'
2019-10-24 03:38:13,619 1356 [INFO ] -
2019-10-24 03:38:13,635 1356 [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'
2019-10-24 03:38:13,635 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:38:13,650 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:38:13,650 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:13,824 1356 [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
2019-10-24 03:38:14,307 1356 [INFO ] -
2019-10-24 03:38:14,307 1356 [INFO ] - Download of SQLSysClrTypes.msi (2.1 MB) completed.
2019-10-24 03:38:14,307 1356 [INFO ] -
2019-10-24 03:38:17,323 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:38:17,323 1356 [DEBUG] - Verifying package provided checksum of '318967B11ED6C3D89C49415AB6D290E8A5BB38D0BC1954226D56D2A6A5A7C7E8' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.ClrTypes\2011.110.3000.1\SQLSysClrTypes.msi'.
2019-10-24 03:38:17,323 1356 [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'
2019-10-24 03:38:17,338 1356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-24 03:38:17,338 1356 [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"]
2019-10-24 03:38:17,572 1356 [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'.
2019-10-24 03:38:17,729 1356 [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
2019-10-24 03:38:17,729 1356 [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'.
2019-10-24 03:38:17,744 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:38:17,776 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:38:17,776 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes'
2019-10-24 03:38:17,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\README.md'
with checksum '063AC2CC11D6B63095ACF2347A903E55'
2019-10-24 03:38:17,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\SQL2012.ClrTypes.nupkg'
with checksum 'E98E6ACB2E04A4A9FF3E7CC3573C1B10'
2019-10-24 03:38:17,791 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\SQL2012.ClrTypes.nuspec'
with checksum 'FD063F354D0A7311C3223AD42EF9523C'
2019-10-24 03:38:17,807 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\SQL2012.png'
with checksum '65751D530F50A19FAF64C943E4B9B3B7'
2019-10-24 03:38:17,807 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1'
with checksum '9260297B7B5A4C4020AB3F2B1E7F3102'
2019-10-24 03:38:17,807 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1".
2019-10-24 03:38:17,822 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.files'
2019-10-24 03:38:17,822 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.arguments".
2019-10-24 03:38:17,838 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.extra".
2019-10-24 03:38:17,838 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.version".
2019-10-24 03:38:17,838 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.sxs".
2019-10-24 03:38:17,854 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.ClrTypes.2011.110.3000.1\.pin".
2019-10-24 03:38:17,854 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:38:17,869 1356 [ERROR] - The install of sql2012.clrtypes was NOT successful.
2019-10-24 03:38:17,869 1356 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes\tools\chocolateyInstall.ps1'.
See log for details.
2019-10-24 03:38:17,885 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2019-10-24 03:38:17,901 1356 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2012.ClrTypes'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2012.ClrTypes'
2019-10-24 03:38:19,916 1356 [INFO ] - [NuGet] Installing 'SQL2012.SMO 11.0.2100.61'.
2019-10-24 03:38:19,932 1356 [DEBUG] - [NuGet] Added file 'README.md' to folder 'SQL2012.SMO'.
2019-10-24 03:38:19,932 1356 [DEBUG] - [NuGet] Added file 'SQL2012.png' to folder 'SQL2012.SMO'.
2019-10-24 03:38:19,932 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2012.SMO\tools'.
2019-10-24 03:38:19,947 1356 [DEBUG] - [NuGet] Added file 'SQL2012.SMO.nupkg' to folder 'SQL2012.SMO'.
2019-10-24 03:38:20,182 1356 [DEBUG] - [NuGet] Added file 'SQL2012.SMO.nuspec' to folder 'SQL2012.SMO'.
2019-10-24 03:38:20,182 1356 [INFO ] - [NuGet] Successfully installed 'SQL2012.SMO 11.0.2100.61'.
2019-10-24 03:38:20,182 1356 [INFO ] -
SQL2012.SMO v11.0.2100.61 (forced) [Approved]
2019-10-24 03:38:20,197 1356 [INFO ] - sql2012.smo package files install completed. Performing other installation steps.
2019-10-24 03:38:20,213 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1':
2019-10-24 03:38:20,213 1356 [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
}
2019-10-24 03:38:20,213 1356 [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 ''']
2019-10-24 03:38:20,230 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:38:20,230 1356 [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.
2019-10-24 03:38:20,230 1356 [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.
2019-10-24 03:38:20,244 1356 [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.
2019-10-24 03:38:20,244 1356 [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.
2019-10-24 03:38:20,432 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:38:20,541 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:20,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:20,541 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:20,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:20,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:20,557 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:20,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:20,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:20,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:20,572 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:20,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:20,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:20,588 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:20,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:20,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:20,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:20,604 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:20,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:20,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:20,619 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:20,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:20,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:20,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:20,635 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:20,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:20,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:20,650 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:20,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:20,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:20,666 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:20,682 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:20,682 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:20,682 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:20,682 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:20,697 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:20,697 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:20,697 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:20,713 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:20,713 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:20,713 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:20,729 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:20,729 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:20,729 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:20,729 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:20,744 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:20,744 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:20,744 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:20,760 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:20,760 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:20,760 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:20,776 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:20,776 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:20,776 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:20,776 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:20,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:20,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:20,791 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:20,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:20,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:20,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:20,807 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:20,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:20,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:20,822 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:20,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:20,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:20,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:20,838 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:20,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:20,854 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:20,854 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:20,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:20,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:20,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:20,869 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:20,885 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:20,885 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:20,885 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:20,901 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:20,901 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:20,901 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:20,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:20,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:20,916 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:20,932 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:20,932 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:20,932 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:20,947 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:20,947 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:20,947 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:20,963 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:20,963 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:20,963 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:20,963 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:20,979 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:20,979 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:20,979 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:20,994 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:20,994 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:20,994 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:21,010 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:21,010 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:21,010 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:21,010 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:21,025 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:21,025 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:21,025 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:38:21,025 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:38:21,041 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:21,041 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:21,041 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:38:21,041 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:21,057 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:38:21,057 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:21,057 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:38:21,073 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:21,073 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:38:21,073 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:38:21,073 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:21,088 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:38:21,088 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:38:21,088 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:38:21,088 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:38:21,104 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:38:21,104 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:21,104 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:21,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:21,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:21,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:21,119 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:38:21,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:38:21,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:21,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:21,135 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:21,151 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:21,151 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:21,151 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:38:21,166 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:38:21,166 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:38:21,166 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:21,166 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:38:21,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:38:21,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:21,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:21,182 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:21,197 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:38:21,197 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:38:21,197 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:38:21,197 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:38:21,213 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:21,213 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:38:21,213 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:38:21,229 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:21,229 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:38:21,229 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:38:21,244 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:21,244 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:38:21,244 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:38:21,244 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:21,260 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:38:21,260 1356 [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: '',
2019-10-24 03:38:21,275 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1'
2019-10-24 03:38:21,432 1356 [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'
2019-10-24 03:38:21,447 1356 [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'
2019-10-24 03:38:21,463 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:38:21,463 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:38:21,463 1356 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -ErrorAction 'Stop'
2019-10-24 03:38:21,479 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:21,479 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:21,479 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:21,494 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:22,073 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:22,088 1356 [DEBUG] - 'Content-MD5':'wey69cI/ycr71egkjNIiMw=='
2019-10-24 03:38:22,088 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:22,088 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:22,104 1356 [DEBUG] - 'Content-Length':'6561792'
2019-10-24 03:38:22,104 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:22,104 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:22 GMT'
2019-10-24 03:38:22,104 1356 [DEBUG] - 'ETag':'"0x8D633D46FAB4198"'
2019-10-24 03:38:22,119 1356 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:01:21 GMT'
2019-10-24 03:38:22,119 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:22,119 1356 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-10-24 03:38:22,135 1356 [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'
2019-10-24 03:38:22,244 1356 [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'
2019-10-24 03:38:22,244 1356 [DEBUG] - File name determined from url is 'SharedManagementObjects.msi'
2019-10-24 03:38:22,244 1356 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi' -ErrorAction 'Stop'
2019-10-24 03:38:22,260 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:22,260 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:22,276 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:22,276 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:22,370 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:22,370 1356 [DEBUG] - 'Content-MD5':'wey69cI/ycr71egkjNIiMw=='
2019-10-24 03:38:22,385 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:22,385 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:22,385 1356 [DEBUG] - 'Content-Length':'6561792'
2019-10-24 03:38:22,385 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:22,400 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:22 GMT'
2019-10-24 03:38:22,400 1356 [DEBUG] - 'ETag':'"0x8D633D46FAB4198"'
2019-10-24 03:38:22,400 1356 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:01:21 GMT'
2019-10-24 03:38:22,400 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:22,416 1356 [INFO ] - Downloading sql2012.smo
from 'https://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SharedManagementObjects.msi'
2019-10-24 03:38:22,416 1356 [INFO ] -
2019-10-24 03:38:22,432 1356 [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'
2019-10-24 03:38:22,432 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:38:22,448 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:38:22,448 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:22,619 1356 [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
2019-10-24 03:38:23,526 1356 [INFO ] -
2019-10-24 03:38:23,526 1356 [INFO ] - Download of SharedManagementObjects.msi (6.26 MB) completed.
2019-10-24 03:38:23,541 1356 [INFO ] -
2019-10-24 03:38:26,557 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:38:26,557 1356 [DEBUG] - Verifying package provided checksum of 'AFC0ECCB35C979801344B0DC04556C23C8B957F1BDEE3530BC1A59D5C704CE64' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2012.SMO\11.0.2100.61\SharedManagementObjects.msi'.
2019-10-24 03:38:26,572 1356 [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'
2019-10-24 03:38:26,572 1356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-24 03:38:26,572 1356 [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"]
2019-10-24 03:38:26,838 1356 [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'.
2019-10-24 03:38:26,838 1356 [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'
2019-10-24 03:38:26,854 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:38:26,854 1356 [INFO ] - Installing sql2012.smo...
2019-10-24 03:38:26,854 1356 [INFO ] -
2019-10-24 03:38:26,869 1356 [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'
2019-10-24 03:38:26,869 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:38:26,885 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:38:26,885 1356 [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.
2019-10-24 03:38:27,229 1356 [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'.
2019-10-24 03:38:27,229 1356 [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.
2019-10-24 03:38:27,244 1356 [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
2019-10-24 03:38:27,244 1356 [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'.
2019-10-24 03:38:27,260 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:38:27,275 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:38:27,291 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2012.SMO'
2019-10-24 03:38:27,291 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\README.md'
with checksum '63CD50098ED385D7A8DA158CD6C266BE'
2019-10-24 03:38:27,307 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\SQL2012.png'
with checksum '65751D530F50A19FAF64C943E4B9B3B7'
2019-10-24 03:38:27,307 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\SQL2012.SMO.nupkg'
with checksum 'CB55E103303CBC8E92595C751B491968'
2019-10-24 03:38:27,307 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\SQL2012.SMO.nuspec'
with checksum 'F9EC06E5030F56128D419E08FB3FEAE3'
2019-10-24 03:38:27,322 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1'
with checksum '753490E09DDDE517B5DF33E896B91117'
2019-10-24 03:38:27,322 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61".
2019-10-24 03:38:27,338 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.files'
2019-10-24 03:38:27,338 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.arguments".
2019-10-24 03:38:27,338 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.extra".
2019-10-24 03:38:27,338 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.version".
2019-10-24 03:38:27,354 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.sxs".
2019-10-24 03:38:27,354 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2012.SMO.11.0.2100.61\.pin".
2019-10-24 03:38:27,354 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:38:27,369 1356 [ERROR] - The install of sql2012.smo was NOT successful.
2019-10-24 03:38:27,369 1356 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2012.SMO\tools\chocolateyInstall.ps1'.
See log for details.
2019-10-24 03:38:27,369 1356 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2012.SMO'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2012.SMO'
2019-10-24 03:38:29,385 1356 [INFO ] - [NuGet] Installing 'PowerShellExtension.SQL2012 11.0.2100.60'.
2019-10-24 03:38:29,385 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'PowerShellExtension.SQL2012\tools'.
2019-10-24 03:38:29,401 1356 [DEBUG] - [NuGet] Added file 'PowerShellExtension.SQL2012.nupkg' to folder 'PowerShellExtension.SQL2012'.
2019-10-24 03:38:29,620 1356 [DEBUG] - [NuGet] Added file 'PowerShellExtension.SQL2012.nuspec' to folder 'PowerShellExtension.SQL2012'.
2019-10-24 03:38:29,620 1356 [INFO ] - [NuGet] Successfully installed 'PowerShellExtension.SQL2012 11.0.2100.60'.
2019-10-24 03:38:29,635 1356 [INFO ] -
PowerShellExtension.SQL2012 v11.0.2100.60 (forced) - Possibly broken
2019-10-24 03:38:29,635 1356 [INFO ] - powershellextension.sql2012 package files install completed. Performing other installation steps.
2019-10-24 03:38:29,650 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1':
2019-10-24 03:38:29,650 1356 [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
#}
2019-10-24 03:38:29,666 1356 [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 ''']
2019-10-24 03:38:29,666 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:38:29,682 1356 [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.
2019-10-24 03:38:29,682 1356 [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.
2019-10-24 03:38:29,682 1356 [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.
2019-10-24 03:38:29,697 1356 [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.
2019-10-24 03:38:29,854 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:38:29,963 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:29,979 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:29,979 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:29,979 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:29,994 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:29,994 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:29,994 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:29,994 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:30,010 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:30,010 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:30,010 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:30,025 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:30,025 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:30,025 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:30,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:30,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:30,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:30,041 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:30,057 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:30,057 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:30,073 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:30,073 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:30,073 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:30,088 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:30,088 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:30,088 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:30,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:30,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:30,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:30,104 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:30,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:30,119 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:30,119 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:30,135 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:30,135 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:30,135 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:30,135 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:30,150 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:30,150 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:30,150 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:30,150 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:30,166 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:30,166 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:30,166 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:30,182 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:30,182 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:30,182 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:30,182 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:30,197 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:30,197 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:30,197 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:30,213 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:30,213 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:30,213 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:30,213 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:30,229 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:30,229 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:30,229 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:30,244 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:30,244 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:30,244 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:30,244 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:30,260 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:30,260 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:30,260 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:30,260 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:30,275 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:30,275 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:30,275 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:30,275 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:30,291 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:30,291 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:30,291 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:30,307 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:30,307 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:30,307 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:30,307 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:30,322 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:30,322 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:30,322 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:30,322 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:30,338 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:30,338 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:30,338 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:30,354 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:30,354 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:30,354 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:30,354 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:30,369 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:30,369 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:30,369 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:30,369 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:30,385 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:30,385 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:30,385 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:30,400 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:30,400 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:30,400 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:30,400 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:30,416 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:30,416 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:30,416 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:30,433 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:30,433 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:30,433 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:30,447 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:30,447 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:38:30,447 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:38:30,463 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:30,463 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:30,463 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:38:30,463 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:30,479 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:38:30,479 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:30,479 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:38:30,479 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:30,494 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:38:30,494 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:38:30,494 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:30,510 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:38:30,510 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:38:30,510 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:38:30,510 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:38:30,526 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:38:30,526 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:30,526 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:30,526 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:30,541 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:30,541 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:30,541 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:38:30,557 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:38:30,557 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:30,557 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:30,557 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:30,572 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:30,572 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:30,572 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:38:30,572 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:38:30,588 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:38:30,588 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:30,588 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:38:30,604 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:38:30,604 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:30,604 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:30,604 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:30,619 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:38:30,619 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:38:30,619 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:38:30,635 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:38:30,635 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:30,635 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:38:30,635 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:38:30,650 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:30,650 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:38:30,650 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:38:30,650 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:30,666 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:38:30,666 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:38:30,666 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:30,666 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:38:30,682 1356 [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: '',
2019-10-24 03:38:30,682 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1'
2019-10-24 03:38:30,714 1356 [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'
2019-10-24 03:38:30,714 1356 [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'
2019-10-24 03:38:30,729 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:38:30,729 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:38:30,744 1356 [DEBUG] - Setting url to 'http://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' and bitPackage to 64
2019-10-24 03:38:30,744 1356 [DEBUG] - Running Get-WebHeaders -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -ErrorAction 'Stop'
2019-10-24 03:38:30,761 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:30,761 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:30,761 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:30,776 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:31,197 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:31,213 1356 [DEBUG] - 'Content-MD5':'LIc1Sre46ZNSVIUS3yrsEA=='
2019-10-24 03:38:31,213 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:31,213 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:31,229 1356 [DEBUG] - 'Content-Length':'2322432'
2019-10-24 03:38:31,229 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:31,229 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:31 GMT'
2019-10-24 03:38:31,244 1356 [DEBUG] - 'ETag':'"0x8D633D65A46B958"'
2019-10-24 03:38:31,244 1356 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:15:05 GMT'
2019-10-24 03:38:31,244 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:31,244 1356 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-10-24 03:38:31,260 1356 [DEBUG] - Running Get-WebFileName -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -defaultName 'PowerShellExtension.SQL2012Install.MSI'
2019-10-24 03:38:31,401 1356 [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'
2019-10-24 03:38:31,401 1356 [DEBUG] - File name determined from url is 'PowerShellTools.MSI'
2019-10-24 03:38:31,401 1356 [DEBUG] - Running Get-WebHeaders -url 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409' -ErrorAction 'Stop'
2019-10-24 03:38:31,416 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:31,416 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:31,432 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:31,432 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:31,557 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:31,557 1356 [DEBUG] - 'Content-MD5':'LIc1Sre46ZNSVIUS3yrsEA=='
2019-10-24 03:38:31,572 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:31,572 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:31,572 1356 [DEBUG] - 'Content-Length':'2322432'
2019-10-24 03:38:31,572 1356 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-10-24 03:38:31,588 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:31 GMT'
2019-10-24 03:38:31,588 1356 [DEBUG] - 'ETag':'"0x8D633D65A46B958"'
2019-10-24 03:38:31,588 1356 [DEBUG] - 'Last-Modified':'Wed, 17 Oct 2018 02:15:05 GMT'
2019-10-24 03:38:31,605 1356 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-10-24 03:38:31,605 1356 [INFO ] - Downloading PowerShellExtension.SQL2012 64 bit
from 'https://go.microsoft.com/fwlink/?LinkID=239656&clcid=0x409'
2019-10-24 03:38:31,619 1356 [INFO ] -
2019-10-24 03:38:31,619 1356 [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'
2019-10-24 03:38:31,619 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:38:31,635 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:38:31,635 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:31,838 1356 [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
2019-10-24 03:38:32,510 1356 [INFO ] -
2019-10-24 03:38:32,510 1356 [INFO ] - Download of PowerShellTools.MSI (2.21 MB) completed.
2019-10-24 03:38:32,525 1356 [INFO ] -
2019-10-24 03:38:35,541 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:38:35,541 1356 [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.
2019-10-24 03:38:35,541 1356 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShellExtension.SQL2012\11.0.2100.60\PowerShellTools.MSI'.
2019-10-24 03:38:35,557 1356 [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'
2019-10-24 03:38:35,557 1356 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-10-24 03:38:35,557 1356 [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'
2019-10-24 03:38:35,572 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:38:35,572 1356 [INFO ] - Installing PowerShellExtension.SQL2012...
2019-10-24 03:38:35,572 1356 [INFO ] -
2019-10-24 03:38:35,588 1356 [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'
2019-10-24 03:38:35,588 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:38:35,604 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:38:35,604 1356 [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.
2019-10-24 03:38:36,260 1356 [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'.
2019-10-24 03:38:36,260 1356 [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.
2019-10-24 03:38:36,276 1356 [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
2019-10-24 03:38:36,276 1356 [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'.
2019-10-24 03:38:36,291 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:38:36,322 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:38:36,338 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012'
2019-10-24 03:38:36,338 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\PowerShellExtension.SQL2012.nupkg'
with checksum 'B0AA1931FB15A4A64C4DD4746ACDDD2B'
2019-10-24 03:38:36,338 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\PowerShellExtension.SQL2012.nuspec'
with checksum 'F99261E16A40846306D4EB644C8255DC'
2019-10-24 03:38:36,338 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1'
with checksum '94D12987A6CE5371E8E40722A4B0718D'
2019-10-24 03:38:36,354 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60".
2019-10-24 03:38:36,354 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.files'
2019-10-24 03:38:36,369 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.arguments".
2019-10-24 03:38:36,369 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.extra".
2019-10-24 03:38:36,369 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.version".
2019-10-24 03:38:36,385 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.sxs".
2019-10-24 03:38:36,385 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShellExtension.SQL2012.11.0.2100.60\.pin".
2019-10-24 03:38:36,385 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:38:36,400 1356 [ERROR] - The install of powershellextension.sql2012 was NOT successful.
2019-10-24 03:38:36,400 1356 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012\tools\chocolateyInstall.ps1'.
See log for details.
2019-10-24 03:38:36,400 1356 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\PowerShellExtension.SQL2012'
to 'C:\ProgramData\chocolatey\lib-bad\PowerShellExtension.SQL2012'
2019-10-24 03:38:38,432 1356 [INFO ] - [NuGet] Installing 'jre8 8.0.221'.
2019-10-24 03:38:38,432 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jre8\tools'.
2019-10-24 03:38:38,447 1356 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'jre8\tools'.
2019-10-24 03:38:38,447 1356 [DEBUG] - [NuGet] Added file 'jre8.nupkg' to folder 'jre8'.
2019-10-24 03:38:38,667 1356 [DEBUG] - [NuGet] Added file 'jre8.nuspec' to folder 'jre8'.
2019-10-24 03:38:38,667 1356 [INFO ] - [NuGet] Successfully installed 'jre8 8.0.221'.
2019-10-24 03:38:38,682 1356 [INFO ] -
jre8 v8.0.221 (forced) [Approved]
2019-10-24 03:38:38,682 1356 [INFO ] - jre8 package files install completed. Performing other installation steps.
2019-10-24 03:38:38,697 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1':
2019-10-24 03:38:38,697 1356 [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=239856_230deb18db3e4014bb8e3e8324f81b43'
$checksum32 = '42D7AE998D701FD6AB9D8BDF8DF4A13915A4FB8429578C5A6C5A216E3873B63B'
$url64 = 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43'
$checksum64 = '61CCC93957A931D63535E6785FE814E3AB9EFDC7C5B6757E7CC0E5B27A89704C'
$oldVersion = '8.0.2110.12'
$version = '8.0.2210.11'
#--------------------------------------------------------------------------
$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
}
2019-10-24 03:38:38,713 1356 [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 ''']
2019-10-24 03:38:38,713 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:38:38,729 1356 [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.
2019-10-24 03:38:38,729 1356 [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.
2019-10-24 03:38:38,729 1356 [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.
2019-10-24 03:38:38,729 1356 [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.
2019-10-24 03:38:38,932 1356 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-10-24 03:38:39,026 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:39,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:39,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:39,041 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:39,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:39,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:39,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:39,057 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:39,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:39,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:39,072 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:39,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:39,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:39,088 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:39,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:39,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:39,104 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:39,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:39,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:39,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:39,119 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:39,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:39,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:39,135 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:39,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:39,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:39,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:39,150 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:39,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:39,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:39,166 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:39,182 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:39,182 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:39,182 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:39,182 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:39,197 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:39,197 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:39,213 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:39,213 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:39,213 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:39,213 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:39,229 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:39,229 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:39,229 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:39,229 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:39,244 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:39,244 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:39,244 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:39,260 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:39,260 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:39,260 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:39,275 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:39,275 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:39,275 1356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-10-24 03:38:39,275 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-10-24 03:38:39,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:39,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:39,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-10-24 03:38:39,291 1356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:39,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-10-24 03:38:39,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:39,307 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-10-24 03:38:39,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:39,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-10-24 03:38:39,322 1356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-10-24 03:38:39,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:39,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-10-24 03:38:39,338 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-10-24 03:38:39,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-10-24 03:38:39,354 1356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-10-24 03:38:39,354 1356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-10-24 03:38:39,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:39,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:39,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:39,369 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:39,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:39,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-10-24 03:38:39,385 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-10-24 03:38:39,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:39,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:39,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:39,400 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:39,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:39,416 1356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-10-24 03:38:39,416 1356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-10-24 03:38:39,432 1356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-10-24 03:38:39,432 1356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:39,432 1356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-10-24 03:38:39,432 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-10-24 03:38:39,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:39,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:39,447 1356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:39,463 1356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-10-24 03:38:39,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-10-24 03:38:39,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-10-24 03:38:39,463 1356 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-10-24 03:38:39,479 1356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:39,479 1356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-10-24 03:38:39,479 1356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-10-24 03:38:39,494 1356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:39,494 1356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-10-24 03:38:39,494 1356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-10-24 03:38:39,494 1356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:39,510 1356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:39,510 1356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-10-24 03:38:39,510 1356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-10-24 03:38:39,510 1356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-10-24 03:38:39,526 1356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-10-24 03:38:39,526 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-10-24 03:38:39,526 1356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-10-24 03:38:39,541 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-10-24 03:38:39,541 1356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-10-24 03:38:39,541 1356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-10-24 03:38:39,541 1356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-10-24 03:38:39,557 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-10-24 03:38:39,557 1356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-10-24 03:38:39,557 1356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-10-24 03:38:39,572 1356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-10-24 03:38:39,572 1356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-10-24 03:38:39,572 1356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-10-24 03:38:39,572 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-10-24 03:38:39,588 1356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-10-24 03:38:39,588 1356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-10-24 03:38:39,588 1356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-10-24 03:38:39,604 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-10-24 03:38:39,604 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:39,604 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-10-24 03:38:39,619 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-10-24 03:38:39,619 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-10-24 03:38:39,619 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-10-24 03:38:39,635 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-10-24 03:38:39,635 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-10-24 03:38:39,635 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-10-24 03:38:39,650 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-10-24 03:38:39,650 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-10-24 03:38:39,650 1356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-10-24 03:38:39,650 1356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-10-24 03:38:39,666 1356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-10-24 03:38:39,666 1356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-10-24 03:38:39,666 1356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-10-24 03:38:39,666 1356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-10-24 03:38:39,682 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-10-24 03:38:39,682 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-10-24 03:38:39,682 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-10-24 03:38:39,697 1356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-10-24 03:38:39,697 1356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-10-24 03:38:39,697 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-10-24 03:38:39,713 1356 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-10-24 03:38:39,713 1356 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-10-24 03:38:39,713 1356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-10-24 03:38:39,713 1356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-10-24 03:38:39,729 1356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-10-24 03:38:39,729 1356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-10-24 03:38:39,729 1356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-10-24 03:38:39,744 1356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-10-24 03:38:39,744 1356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-10-24 03:38:39,744 1356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-10-24 03:38:39,744 1356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-10-24 03:38:39,760 1356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-10-24 03:38:39,760 1356 [DEBUG] - ---------------------------Script Execution---------------------------
2019-10-24 03:38:39,775 1356 [DEBUG] - Running 'ChocolateyScriptRunner' for jre8 v8.0.221 with packageScript 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\jre8', installArguments: '', packageParameters: '',
2019-10-24 03:38:39,775 1356 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
2019-10-24 03:38:39,822 1356 [DEBUG] - No Package Parameters Passed in
2019-10-24 03:38:39,822 1356 [DEBUG] - Running Get-ProcessorBits
2019-10-24 03:38:39,838 1356 [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.
2019-10-24 03:38:39,838 1356 [INFO ] -
2019-10-24 03:38:39,854 1356 [INFO ] - Checking to see if local install is already up to date...
2019-10-24 03:38:40,026 1356 [INFO ] - Downloading 32-bit installer
2019-10-24 03:38:40,058 1356 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe' -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239856_230deb18db3e4014bb8e3e8324f81b43' -checksum '42D7AE998D701FD6AB9D8BDF8DF4A13915A4FB8429578C5A6C5A216E3873B63B' -checksumType 'SHA256'
2019-10-24 03:38:40,072 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:38:40,072 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:38:40,072 1356 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239856_230deb18db3e4014bb8e3e8324f81b43' -ErrorAction 'Stop'
2019-10-24 03:38:40,088 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:40,088 1356 [DEBUG] - Request Headers:
2019-10-24 03:38:40,088 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:38:40,104 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:38:40,463 1356 [DEBUG] - Response Headers:
2019-10-24 03:38:40,463 1356 [DEBUG] - 'Pragma':'no-cache'
2019-10-24 03:38:40,463 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:38:40,463 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:38:40,479 1356 [DEBUG] - 'Content-Length':'69542360'
2019-10-24 03:38:40,479 1356 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2019-10-24 03:38:40,479 1356 [DEBUG] - 'Content-Type':'application/x-sdlc'
2019-10-24 03:38:40,494 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:38:40 GMT'
2019-10-24 03:38:40,494 1356 [DEBUG] - 'Expires':'Thu, 24 Oct 2019 03:38:40 GMT'
2019-10-24 03:38:40,494 1356 [DEBUG] - 'ETag':'"87fbb2392ce499f3873da0bd8711171e:1562345971"'
2019-10-24 03:38:40,494 1356 [DEBUG] - 'Last-Modified':'Fri, 05 Jul 2019 05:48:30 GMT'
2019-10-24 03:38:40,510 1356 [DEBUG] - 'Server':'Apache'
2019-10-24 03:38:40,510 1356 [INFO ] - Downloading jre8
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239856_230deb18db3e4014bb8e3e8324f81b43'
2019-10-24 03:38:40,525 1356 [INFO ] -
2019-10-24 03:38:40,525 1356 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239856_230deb18db3e4014bb8e3e8324f81b43' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe' -options 'System.Collections.Hashtable'
2019-10-24 03:38:40,541 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:38:40,541 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:38:40,541 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:38:40,807 1356 [DEBUG] - Downloading https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239856_230deb18db3e4014bb8e3e8324f81b43 to C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe
2019-10-24 03:38:49,323 1356 [INFO ] -
2019-10-24 03:38:49,323 1356 [INFO ] - Download of JRE8x86.exe (66.32 MB) completed.
2019-10-24 03:38:49,323 1356 [INFO ] -
2019-10-24 03:38:52,338 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:38:52,338 1356 [DEBUG] - Verifying package provided checksum of '42D7AE998D701FD6AB9D8BDF8DF4A13915A4FB8429578C5A6C5A216E3873B63B' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe'.
2019-10-24 03:38:52,338 1356 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe' -checksum '42D7AE998D701FD6AB9D8BDF8DF4A13915A4FB8429578C5A6C5A216E3873B63B' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239856_230deb18db3e4014bb8e3e8324f81b43'
2019-10-24 03:38:52,354 1356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-24 03:38:52,354 1356 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="42D7AE998D701FD6AB9D8BDF8DF4A13915A4FB8429578C5A6C5A216E3873B63B" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe"]
2019-10-24 03:38:53,807 1356 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="42D7AE998D701FD6AB9D8BDF8DF4A13915A4FB8429578C5A6C5A216E3873B63B" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe"] exited with '0'.
2019-10-24 03:38:53,807 1356 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe
2019-10-24 03:38:53,822 1356 [INFO ] - Installing JRE 8.0.2210.11 32-bit
2019-10-24 03:38:53,838 1356 [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.2210.11\JRE8x86.exe'
2019-10-24 03:38:53,854 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:38:53,854 1356 [INFO ] - Installing JRE8...
2019-10-24 03:38:53,854 1356 [INFO ] -
2019-10-24 03:38:53,869 1356 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe'
2019-10-24 03:38:53,869 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:38:53,885 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:38:53,885 1356 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2019-10-24 03:40:53,544 1356 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x86.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2019-10-24 03:40:53,544 1356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-10-24 03:40:53,559 1356 [INFO ] - JRE8 has been installed.
2019-10-24 03:40:53,559 1356 [INFO ] -
2019-10-24 03:40:53,575 1356 [INFO ] - Downloading 64-bit installer
2019-10-24 03:40:53,575 1356 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'jre8' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe' -url64bit 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43' -checksum64 '61CCC93957A931D63535E6785FE814E3AB9EFDC7C5B6757E7CC0E5B27A89704C' -checksumType 'SHA256'
2019-10-24 03:40:53,591 1356 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-10-24 03:40:53,591 1356 [DEBUG] - CPU is 64 bit
2019-10-24 03:40:53,591 1356 [DEBUG] - Setting url to 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43' and bitPackage to 64
2019-10-24 03:40:53,591 1356 [DEBUG] - Running Get-WebHeaders -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43' -ErrorAction 'Stop'
2019-10-24 03:40:53,684 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:40:53,684 1356 [DEBUG] - Request Headers:
2019-10-24 03:40:53,684 1356 [DEBUG] - 'Accept':'*/*'
2019-10-24 03:40:53,700 1356 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-10-24 03:40:54,012 1356 [DEBUG] - Response Headers:
2019-10-24 03:40:54,106 1356 [DEBUG] - 'Pragma':'no-cache'
2019-10-24 03:40:54,122 1356 [DEBUG] - 'Connection':'keep-alive'
2019-10-24 03:40:54,122 1356 [DEBUG] - 'Accept-Ranges':'bytes'
2019-10-24 03:40:54,122 1356 [DEBUG] - 'Content-Length':'79607256'
2019-10-24 03:40:54,137 1356 [DEBUG] - 'Cache-Control':'max-age=0, no-cache'
2019-10-24 03:40:54,137 1356 [DEBUG] - 'Content-Type':'application/x-sdlc'
2019-10-24 03:40:54,137 1356 [DEBUG] - 'Date':'Thu, 24 Oct 2019 03:40:53 GMT'
2019-10-24 03:40:54,153 1356 [DEBUG] - 'Expires':'Thu, 24 Oct 2019 03:40:53 GMT'
2019-10-24 03:40:54,153 1356 [DEBUG] - 'ETag':'"1e6e6e610591eb7fe9c3d9b3d66abd13:1562345978"'
2019-10-24 03:40:54,153 1356 [DEBUG] - 'Last-Modified':'Thu, 04 Jul 2019 14:25:30 GMT'
2019-10-24 03:40:54,169 1356 [DEBUG] - 'Server':'Apache'
2019-10-24 03:40:54,169 1356 [INFO ] - Downloading jre8 64 bit
from 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43'
2019-10-24 03:40:54,169 1356 [INFO ] -
2019-10-24 03:40:54,184 1356 [DEBUG] - Running Get-WebFile -url 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe' -options 'System.Collections.Hashtable'
2019-10-24 03:40:54,184 1356 [DEBUG] - Setting request timeout to 30000
2019-10-24 03:40:54,184 1356 [DEBUG] - Setting read/write timeout to 2700000
2019-10-24 03:40:54,200 1356 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-10-24 03:41:03,419 1356 [INFO ] -
2019-10-24 03:41:03,419 1356 [INFO ] - Download of JRE8x64.exe (75.92 MB) completed.
2019-10-24 03:41:03,434 1356 [INFO ] -
2019-10-24 03:41:06,451 1356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-10-24 03:41:06,451 1356 [DEBUG] - Verifying package provided checksum of '61CCC93957A931D63535E6785FE814E3AB9EFDC7C5B6757E7CC0E5B27A89704C' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe'.
2019-10-24 03:41:06,466 1356 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe' -checksum '61CCC93957A931D63535E6785FE814E3AB9EFDC7C5B6757E7CC0E5B27A89704C' -checksumType 'SHA256' -originalUrl 'https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239858_230deb18db3e4014bb8e3e8324f81b43'
2019-10-24 03:41:06,466 1356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-10-24 03:41:06,481 1356 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="61CCC93957A931D63535E6785FE814E3AB9EFDC7C5B6757E7CC0E5B27A89704C" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe"]
2019-10-24 03:41:08,231 1356 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="61CCC93957A931D63535E6785FE814E3AB9EFDC7C5B6757E7CC0E5B27A89704C" -t="SHA256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe"] exited with '0'.
2019-10-24 03:41:08,231 1356 [INFO ] - C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe
2019-10-24 03:41:08,231 1356 [INFO ] - Installing JRE 8.0.2210.11 64-bit
2019-10-24 03:41:08,247 1356 [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.2210.11\JRE8x64.exe'
2019-10-24 03:41:08,247 1356 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-10-24 03:41:08,262 1356 [INFO ] - Installing 64-bit JRE8...
2019-10-24 03:41:08,262 1356 [INFO ] -
2019-10-24 03:41:08,278 1356 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11' -statements '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ' -exeToRun 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe'
2019-10-24 03:41:08,294 1356 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-10-24 03:41:08,294 1356 [DEBUG] - Test-ProcessAdminRights: returning True
2019-10-24 03:41:08,294 1356 [DEBUG] - Elevating permissions and running ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ]. This may take a while, depending on the statements.
2019-10-24 03:43:03,024 1356 [DEBUG] - Command ["C:\Users\Administrator\AppData\Local\Temp\chocolatey\jre8\8.0.2210.11\JRE8x64.exe" /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0 ] exited with '0'.
2019-10-24 03:43:03,040 1356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-10-24 03:43:03,040 1356 [INFO ] - JRE8 has been installed.
2019-10-24 03:43:03,055 1356 [INFO ] -
2019-10-24 03:43:03,055 1356 [INFO ] - Searching if the previous version exists...
2019-10-24 03:43:03,305 1356 [DEBUG] - ----------------------------------------------------------------------
2019-10-24 03:43:03,321 1356 [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'.
2019-10-24 03:43:03,321 1356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-10-24 03:43:03,368 1356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-10-24 03:43:03,368 1356 [INFO ] - jre8 may be able to be automatically uninstalled.
2019-10-24 03:43:03,383 1356 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2019-10-24 03:43:03,383 1356 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2019-10-24 03:43:03,399 1356 [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)
2019-10-24 03:43:03,399 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\jre8'
2019-10-24 03:43:03,399 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nupkg'
with checksum 'E79DDF94CEEF05F6C0E1DF46B328BF98'
2019-10-24 03:43:03,414 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\jre8.nuspec'
with checksum 'ACA73375F19850C0A92CA527D766ADFE'
2019-10-24 03:43:03,414 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'
with checksum '60EA8644B32CD6A15EE7A2994507907B'
2019-10-24 03:43:03,414 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyUninstall.ps1'
with checksum '54184300334B6138F6568346EF33D1C1'
2019-10-24 03:43:03,430 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221".
2019-10-24 03:43:03,446 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221\.registry'
2019-10-24 03:43:03,461 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221\.files'
2019-10-24 03:43:03,461 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221\.extra".
2019-10-24 03:43:03,477 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221\.version".
2019-10-24 03:43:03,477 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221\.sxs".
2019-10-24 03:43:03,493 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\jre8.8.0.221\.pin".
2019-10-24 03:43:03,493 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:43:03,493 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\jre8\.chocolateyPending".
2019-10-24 03:43:03,508 1356 [INFO ] - The install of jre8 was successful.
2019-10-24 03:43:03,508 1356 [INFO ] - Software installed to 'C:\Program Files\Java\jre1.8.0_221\'
2019-10-24 03:43:03,524 1356 [INFO ] - [NuGet] Installing 'javaruntime 8.0.191'.
2019-10-24 03:43:03,524 1356 [DEBUG] - [NuGet] Added file 'javaruntime.nupkg' to folder 'javaruntime'.
2019-10-24 03:43:03,743 1356 [DEBUG] - [NuGet] Added file 'javaruntime.nuspec' to folder 'javaruntime'.
2019-10-24 03:43:03,758 1356 [INFO ] - [NuGet] Successfully installed 'javaruntime 8.0.191'.
2019-10-24 03:43:03,758 1356 [INFO ] -
javaruntime v8.0.191 (forced) [Approved]
2019-10-24 03:43:03,774 1356 [INFO ] - javaruntime package files install completed. Performing other installation steps.
2019-10-24 03:43:03,789 1356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\javaruntime'
2019-10-24 03:43:03,789 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\javaruntime\javaruntime.nupkg'
with checksum '543D0C34175BBC2129A0640207846887'
2019-10-24 03:43:03,805 1356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\javaruntime\javaruntime.nuspec'
with checksum 'E684EB7CBE3E76DA599F2453E75CE1A7'
2019-10-24 03:43:03,805 1356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.191".
2019-10-24 03:43:03,821 1356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.191\.files'
2019-10-24 03:43:03,821 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.191\.extra".
2019-10-24 03:43:03,836 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.191\.version".
2019-10-24 03:43:03,836 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.191\.sxs".
2019-10-24 03:43:03,836 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\javaruntime.8.0.191\.pin".
2019-10-24 03:43:03,852 1356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-10-24 03:43:03,852 1356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\javaruntime\.chocolateyPending".
2019-10-24 03:43:03,852 1356 [INFO ] - The install of javaruntime was successful.
2019-10-24 03:43:03,868 1356 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-10-24 03:43:03,868 1356 [INFO ] - [NuGet] Installing 'jdk7 7.0.79.3'.
2019-10-24 03:43:03,883 1356 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'jdk7\tools'.
2019-10-24 03:43:03,883 1356 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'jdk7\tools'.
2019-10-24 03:43:03,899 1356 [DEBUG] - [NuGet] Added file 'common.ps1' to folder 'jdk7\tools'.
2019-10-24 03:43:03,899 1356 [DEBUG] - [NuGet] Added file 'jdk7.nupkg' to folder 'jdk7'.
2019-10-24 03:43:04,118 1356 [DEBUG] - [NuGet] Added file 'jdk7.nuspec' to folder 'jdk7'.
2019-10-24 03:43:04,118 1356 [INFO ] - [NuGet] Successfully installed 'jdk7 7.0.79.3'.
2019-10-24 03:43:04,118 1356 [INFO ] -
jdk7 v7.0.79.3 (forced) [Approved] - Possibly broken
2019-10-24 03:43:04,133 1356 [INFO ] - jdk7 package files install completed. Performing other installation steps.
2019-10-24 03:43:04,149 1356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\jdk7\tools\chocolateyInstall.ps1':
2019-10-24 03:43:04,149 1356 [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"
}
2019-10-24 03:43:04,165 1356 [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 ''']
2019-10-24 03:43:04,165 1356 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-10-24 03:43:04,165 1356 [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.
2019-10-24 03:43:04,180 1356 [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.