Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SQLMaintenanceSolution v0.6 - Failed - Package Tests Results

SQLMaintenanceSolution v0.6 - Failed - Package Test Results

  • https://chocolatey.org/packages/SQLMaintenanceSolution/0.6
  • Tested 09 Oct 2020 15:02:30 +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.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nupkg" checksum="85EC6FB690F3FB3BA27AC64BCE6547A7" />
<file path="C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nuspec" checksum="FA00C2240833179D309B5A002A33C230" />
<file path="C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1" checksum="11499D0DC851C04EADA23D12240A8444" />
</files>
</fileSnapshot>
2020-08-28 15:40:40,401 712 [DEBUG] - XmlConfiguration is now operational
2020-08-28 15:40:40,634 712 [INFO ] - ============================================================
2020-08-28 15:40:41,354 712 [INFO ] - Chocolatey v0.10.16-beta
2020-08-28 15:40:41,384 712 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-08-28 15:40:41,384 712 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-08-28 15:40:41,400 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-08-28 15:40:41,416 712 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install SQLMaintenanceSolution --version 0.6 -fdvy --execution-timeout=5400 --allow-downgrade
2020-08-28 15:40:41,463 712 [DEBUG] - Received arguments: install SQLMaintenanceSolution --version 0.6 -fdvy --execution-timeout=5400 --allow-downgrade
2020-08-28 15:40:41,634 712 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-08-28 15:40:41,666 712 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-08-28 15:40:41,697 712 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-08-28 15:40:41,853 712 [DEBUG] - Performing validation checks.
2020-08-28 15:40:41,869 712 [DEBUG] - Global Configuration Validation Checks:
2020-08-28 15:40:41,948 712 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-08-28 15:40:41,962 712 [DEBUG] - System State Validation Checks:
2020-08-28 15:40:42,009 712 [DEBUG] - Reboot Requirement Checks:
2020-08-28 15:40:42,009 712 [DEBUG] - - Pending Computer Rename = Checked
2020-08-28 15:40:42,025 712 [DEBUG] - - Pending Component Based Servicing = Checked
2020-08-28 15:40:42,025 712 [DEBUG] - - Pending Windows Auto Update = Checked
2020-08-28 15:40:42,025 712 [DEBUG] - - Pending File Rename Operations = Ignored
2020-08-28 15:40:42,042 712 [DEBUG] - - Pending Windows Package Installer = Checked
2020-08-28 15:40:42,042 712 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-08-28 15:40:42,056 712 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-08-28 15:40:42,072 712 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-08-28 15:40:42,072 712 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2020-08-28 15:40:42,119 712 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='SQLMaintenanceSolution'|
Version='0.6'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='SQLMaintenanceSolution'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-08-28 15:40:42,119 712 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-08-28 15:40:42,134 712 [INFO ] - Installing the following packages:
2020-08-28 15:40:42,134 712 [INFO ] - SQLMaintenanceSolution
2020-08-28 15:40:42,150 712 [INFO ] - By installing you accept licenses for the packages.
2020-08-28 15:40:42,166 712 [DEBUG] - Current environment values (may contain sensitive data):
2020-08-28 15:40:42,166 712 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-08-28 15:40:42,166 712 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-08-28 15:40:42,181 712 [DEBUG] - * 'ChocolateyLastPathUpdate'='132431025732641459' ('User')
2020-08-28 15:40:42,181 712 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-08-28 15:40:42,181 712 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-08-28 15:40:42,181 712 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-08-28 15:40:42,197 712 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-08-28 15:40:42,197 712 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-08-28 15:40:42,197 712 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-08-28 15:40:42,197 712 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-08-28 15:40:42,213 712 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-08-28 15:40:42,213 712 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-08-28 15:40:42,213 712 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-08-28 15:40:42,213 712 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-08-28 15:40:42,228 712 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-08-28 15:40:42,228 712 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-08-28 15:40:42,228 712 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-08-28 15:40:42,228 712 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-08-28 15:40:42,244 712 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-08-28 15:40:42,244 712 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-08-28 15:40:43,931 712 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.PowerShell'.
2020-08-28 15:40:45,855 712 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.SMO'.
2020-08-28 15:40:47,057 712 [INFO ] - [NuGet] Attempting to resolve dependency 'MSXML6.SP1'.
2020-08-28 15:40:48,494 712 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.NativeClient'.
2020-08-28 15:40:49,962 712 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.ClrTypes'.
2020-08-28 15:40:51,994 712 [INFO ] - [NuGet] Installing 'MSXML6.SP1 6.10.1129.0'.
2020-08-28 15:40:52,041 712 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'MSXML6.SP1\tools'.
2020-08-28 15:40:52,056 712 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nupkg' to folder 'MSXML6.SP1'.
2020-08-28 15:40:52,384 712 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nuspec' to folder 'MSXML6.SP1'.
2020-08-28 15:40:52,384 712 [INFO ] - [NuGet] Successfully installed 'MSXML6.SP1 6.10.1129.0'.
2020-08-28 15:40:52,400 712 [INFO ] -
MSXML6.SP1 v6.10.1129.0 (forced) [Approved]
2020-08-28 15:40:52,431 712 [INFO ] - msxml6.sp1 package files install completed. Performing other installation steps.
2020-08-28 15:40:52,634 712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1':
2020-08-28 15:40:52,665 712 [DEBUG] - $package = 'MSXML6.SP1'
try {
#Vista or greater already ships with MSXML6
if ([Environment]::OSVersion.Version -ge [Version]'6.0')
{
Write-ChocolateySuccess "Installation of $package is not necessary on this OS"
return
}
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/qb';
url = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi'
url64bit = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi'
}
Install-ChocolateyPackage @params
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2020-08-28 15:40:52,713 712 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:40:52,713 712 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-08-28 15:40:53,447 712 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:40:53,948 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:40:53,948 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:40:53,963 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:53,963 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:53,963 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:40:53,963 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:53,978 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:40:53,978 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:53,978 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:40:53,994 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:53,994 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:40:53,994 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:40:53,994 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:54,009 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:40:54,009 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:40:54,009 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:40:54,025 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:40:54,025 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:40:54,025 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:54,042 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:54,042 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:54,042 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:54,056 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:54,056 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:40:54,056 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:40:54,056 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:54,072 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:54,072 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:54,072 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:54,072 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:54,088 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:40:54,088 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:40:54,088 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:40:54,088 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:54,103 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:40:54,103 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:40:54,103 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:54,103 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:54,118 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:54,118 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:40:54,118 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:40:54,118 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:40:54,134 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:40:54,134 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:54,165 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:40:54,165 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:40:54,182 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:54,182 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:40:54,182 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:40:54,197 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:54,197 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:54,197 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:40:54,197 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:40:54,228 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:40:54,228 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:40:54,243 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:54,243 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:54,243 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:40:54,243 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:54,243 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:40:54,260 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:54,260 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:40:54,260 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:54,260 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:40:54,260 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:40:54,275 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:54,275 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:40:54,275 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:40:54,291 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:40:54,291 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:40:54,291 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:40:54,291 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:54,306 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:54,306 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:54,306 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:54,306 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:54,322 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:40:54,322 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:40:54,322 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:54,337 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:54,337 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:54,337 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:54,354 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:54,354 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:40:54,354 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:40:54,369 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:40:54,369 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:54,384 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:40:54,384 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:40:54,402 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:54,402 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:54,415 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:54,415 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:40:54,415 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:40:54,415 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:40:54,431 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:40:54,431 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:54,431 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:40:54,431 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:40:54,447 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:54,447 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:40:54,447 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:40:54,447 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:54,463 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:54,463 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:40:54,463 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:40:54,463 712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:40:54,478 712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:40:54,478 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:54,478 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:54,494 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:40:54,494 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:54,494 712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:40:54,509 712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:54,509 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:40:54,509 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:54,525 712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:40:54,525 712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:40:54,525 712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:54,540 712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:40:54,540 712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:40:54,540 712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:40:54,540 712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:40:54,557 712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:40:54,557 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:54,557 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:54,557 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:54,572 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:54,572 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:54,572 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:40:54,572 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:40:54,587 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:54,587 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:54,587 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:54,587 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:54,604 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:54,604 712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:40:54,604 712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:40:54,604 712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:40:54,618 712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:54,618 712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:40:54,618 712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:40:54,618 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:54,634 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:54,634 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:54,634 712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:40:54,650 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:40:54,650 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:40:54,650 712 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:40:54,650 712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:54,665 712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:40:54,665 712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:40:54,665 712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:54,681 712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:40:54,681 712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:40:54,681 712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:54,681 712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:40:54,697 712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:40:54,697 712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:54,806 712 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:40:54,822 712 [DEBUG] - Running 'ChocolateyScriptRunner' for MSXML6.SP1 v6.10.1129.0 with packageScript 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\MSXML6.SP1', installArguments: '', packageParameters: '',
2020-08-28 15:40:54,853 712 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
2020-08-28 15:40:54,947 712 [DEBUG] - Running Write-ChocolateySuccess -packageName 'Installation of MSXML6.SP1 is not necessary on this OS'
2020-08-28 15:40:54,947 712 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2020-08-28 15:40:54,993 712 [DEBUG] - ----------------------------------------------------------------------
2020-08-28 15:40:54,993 712 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-08-28 15:40:55,010 712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:40:55,088 712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:40:55,275 712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\MSXML6.SP1'
2020-08-28 15:40:55,337 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nupkg'
with checksum '1107730CBD859F95AE5E3A90D31097EF'
2020-08-28 15:40:55,337 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nuspec'
with checksum 'FF6C6B7F76E778364E671A8CF77D4FCC'
2020-08-28 15:40:55,353 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
with checksum '06EAE7FF99A72AA7DB72F701406F9272'
2020-08-28 15:40:55,479 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0".
2020-08-28 15:40:55,510 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.files'
2020-08-28 15:40:55,510 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.extra".
2020-08-28 15:40:55,525 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.version".
2020-08-28 15:40:55,525 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.sxs".
2020-08-28 15:40:55,525 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.pin".
2020-08-28 15:40:55,540 712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:40:55,540 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\MSXML6.SP1\.chocolateyPending".
2020-08-28 15:40:55,556 712 [INFO ] - The install of msxml6.sp1 was successful.
2020-08-28 15:40:55,556 712 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-08-28 15:40:55,572 712 [INFO ] - [NuGet] Installing 'SQL2008R2.NativeClient 10.53.6560.2020052001'.
2020-08-28 15:40:55,572 712 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'SQL2008R2.NativeClient\tools'.
2020-08-28 15:40:55,572 712 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.NativeClient\tools'.
2020-08-28 15:40:55,588 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.NativeClient.nupkg' to folder 'SQL2008R2.NativeClient'.
2020-08-28 15:40:55,853 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.NativeClient.nuspec' to folder 'SQL2008R2.NativeClient'.
2020-08-28 15:40:55,870 712 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.NativeClient 10.53.6560.2020052001'.
2020-08-28 15:40:55,870 712 [INFO ] -
SQL2008R2.NativeClient v10.53.6560.2020052001 (forced) [Approved]
2020-08-28 15:40:55,870 712 [INFO ] - sql2008r2.nativeclient package files install completed. Performing other installation steps.
2020-08-28 15:40:55,884 712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1':
2020-08-28 15:40:55,900 712 [DEBUG] - $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x86/sqlncli.msi'
$checksum = 'f01c4d4df7caebd0dd164b7a7ed978282535f3951cea523661f0d043c6775ca5'
$url64bit = 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi'
$checksum64 = '8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = $url
checksum = $checksum
checksumType = 'sha256'
url64bit = $url64bit
checksum64 = $checksum64
checksumType64 = 'sha256'
silentArgs = "/qb /norestart /l*v `"$($env:TEMP)\$($packageName).log`" IACCEPTSQLNCLILICENSETERMS=YES"
validExitCodes = @(0, 3010, 1641)
}
# https://chocolatey.org/docs/helpers-install-chocolatey-package
#
Install-ChocolateyPackage @packageArgs
2020-08-28 15:40:55,900 712 [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\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:40:55,900 712 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-08-28 15:40:55,947 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:40:55,947 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:40:55,947 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:40:55,963 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:40:56,260 712 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:40:56,509 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:40:56,509 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:40:56,509 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:56,509 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:56,537 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:40:56,550 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:56,556 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:40:56,556 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:56,556 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:40:56,572 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:56,572 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:40:56,572 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:40:56,572 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:56,587 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:40:56,587 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:40:56,587 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:40:56,606 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:40:56,606 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:40:56,704 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:56,704 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:56,712 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:56,712 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:56,712 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:56,712 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:40:56,728 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:40:56,728 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:56,728 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:56,728 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:56,743 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:56,743 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:56,743 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:40:56,743 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:40:56,759 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:40:56,759 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:56,759 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:40:56,759 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:40:56,759 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:56,775 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:56,775 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:56,775 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:40:56,775 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:40:56,790 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:40:56,790 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:40:56,790 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:56,806 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:40:56,806 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:40:56,806 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:56,806 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:40:56,822 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:40:56,822 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:56,822 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:56,839 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:40:56,839 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:40:56,839 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:40:56,853 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:40:56,853 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:56,872 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:56,872 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:40:56,884 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:56,884 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:40:56,884 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:56,884 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:40:56,900 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:56,900 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:40:56,900 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:40:56,900 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:56,915 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:40:56,915 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:40:56,915 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:40:56,931 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:40:56,931 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:40:56,931 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:56,931 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:56,948 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:56,948 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:56,948 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:56,948 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:40:56,962 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:40:56,962 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:56,962 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:56,979 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:56,979 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:56,979 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:56,979 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:40:56,993 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:40:56,993 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:40:56,993 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:57,010 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:40:57,010 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:40:57,010 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:57,010 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:57,025 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:57,025 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:40:57,025 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:40:57,040 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:40:57,040 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:40:57,040 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:57,040 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:40:57,057 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:40:57,057 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:57,057 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:40:57,072 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:40:57,072 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:57,072 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:57,072 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:40:57,087 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:40:57,087 712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:40:57,087 712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:40:57,103 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:57,103 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:57,103 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:40:57,103 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:57,121 712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:40:57,121 712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:57,121 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:40:57,134 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:57,134 712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:40:57,134 712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:40:57,134 712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:57,152 712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:40:57,152 712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:40:57,152 712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:40:57,165 712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:40:57,165 712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:40:57,165 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:57,165 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:57,181 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:57,181 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:57,181 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:57,198 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:40:57,198 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:40:57,198 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:57,219 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:57,219 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:57,228 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:57,228 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:57,228 712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:40:57,244 712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:40:57,244 712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:40:57,244 712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:57,244 712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:40:57,260 712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:40:57,260 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:57,260 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:57,275 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:57,275 712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:40:57,275 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:40:57,275 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:40:57,291 712 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:40:57,291 712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:57,291 712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:40:57,306 712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:40:57,306 712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:57,306 712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:40:57,306 712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:40:57,322 712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:57,322 712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:40:57,322 712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:40:57,322 712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:57,337 712 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:40:57,337 712 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.NativeClient v10.53.6560.2020052001 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient', installArguments: '', packageParameters: '',
2020-08-28 15:40:57,354 712 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1'
2020-08-28 15:40:57,478 712 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x86/sqlncli.msi' -url64bit 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -checksum 'f01c4d4df7caebd0dd164b7a7ed978282535f3951cea523661f0d043c6775ca5' -checksum64 '8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6' -silentArgs '/qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES' -packageName 'SQL2008R2.NativeClient' -checksumType 'sha256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'sha256'
2020-08-28 15:40:57,806 712 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.NativeClient' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\SQL2008R2.NativeClientInstall.msi' -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x86/sqlncli.msi' -url64bit 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -checksum 'f01c4d4df7caebd0dd164b7a7ed978282535f3951cea523661f0d043c6775ca5' -checksumType 'sha256' -checksum64 '8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-08-28 15:40:57,838 712 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-08-28 15:40:57,872 712 [DEBUG] - CPU is 64 bit
2020-08-28 15:40:57,872 712 [DEBUG] - Setting url to 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' and bitPackage to 64
2020-08-28 15:40:57,947 712 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -defaultName 'SQL2008R2.NativeClientInstall.msi'
2020-08-28 15:40:58,714 712 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008 R2 ENU-1033/x64/sqlncli.msi'
2020-08-28 15:40:58,759 712 [DEBUG] - File name determined from url is 'sqlncli.msi'
2020-08-28 15:40:58,806 712 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -ErrorAction 'Stop'
2020-08-28 15:40:58,822 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:40:58,822 712 [DEBUG] - Request Headers:
2020-08-28 15:40:58,933 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:40:58,947 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:40:59,009 712 [DEBUG] - Response Headers:
2020-08-28 15:40:59,025 712 [DEBUG] - 'Content-MD5':'kaGv3qMGX3hdS0y7q1QyaQ=='
2020-08-28 15:40:59,025 712 [DEBUG] - 'Connection':'keep-alive'
2020-08-28 15:40:59,040 712 [DEBUG] - 'Accept-Ranges':'bytes'
2020-08-28 15:40:59,040 712 [DEBUG] - 'Content-Length':'8204288'
2020-08-28 15:40:59,040 712 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-08-28 15:40:59,058 712 [DEBUG] - 'Date':'Fri, 09 Oct 2020 15:00:26 GMT'
2020-08-28 15:40:59,058 712 [DEBUG] - 'ETag':'"0x8D7E70E09CB6390"'
2020-08-28 15:40:59,072 712 [DEBUG] - 'Last-Modified':'Wed, 22 Apr 2020 22:39:37 GMT'
2020-08-28 15:40:59,072 712 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-08-28 15:40:59,103 712 [INFO ] - Downloading SQL2008R2.NativeClient 64 bit
from 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi'
2020-08-28 15:40:59,119 712 [INFO ] -
2020-08-28 15:40:59,150 712 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi' -options 'System.Collections.Hashtable'
2020-08-28 15:40:59,165 712 [DEBUG] - Setting request timeout to 30000
2020-08-28 15:40:59,181 712 [DEBUG] - Setting read/write timeout to 5400000
2020-08-28 15:40:59,181 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:40:59,775 712 [DEBUG] - Downloading https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi
2020-08-28 15:41:01,587 712 [INFO ] -
2020-08-28 15:41:01,587 712 [INFO ] - Download of sqlncli.msi (7.82 MB) completed.
2020-08-28 15:41:01,603 712 [INFO ] -
2020-08-28 15:41:05,790 712 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-08-28 15:41:05,790 712 [DEBUG] - Verifying package provided checksum of '8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi'.
2020-08-28 15:41:05,821 712 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi' -checksum '8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi'
2020-08-28 15:41:05,837 712 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-08-28 15:41:05,837 712 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi"]
2020-08-28 15:41:06,259 712 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="8222bebd63c2c79bdf0bfbcb614d43806799891d9348ff8da7df8f458a7f8bc6" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi"] exited with '0'.
2020-08-28 15:41:06,322 712 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.NativeClient' -fileType 'msi' -silentArgs '/qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2020-08-28 15:41:06,322 712 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-08-28 15:41:06,337 712 [INFO ] - Installing SQL2008R2.NativeClient...
2020-08-28 15:41:06,337 712 [INFO ] -
2020-08-28 15:41:06,417 712 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2020-08-28 15:41:06,571 712 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi" /qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-08-28 15:41:06,618 712 [DEBUG] - Test-ProcessAdminRights: returning True
2020-08-28 15:41:06,712 712 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi" /qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES ]. This may take a while, depending on the statements.
2020-08-28 15:42:09,321 712 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.2020052001\sqlncli.msi" /qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES ] exited with '0'.
2020-08-28 15:42:09,352 712 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-08-28 15:42:09,367 712 [INFO ] - SQL2008R2.NativeClient has been installed.
2020-08-28 15:42:09,367 712 [INFO ] -
2020-08-28 15:42:09,384 712 [DEBUG] - ----------------------------------------------------------------------
2020-08-28 15:42:09,384 712 [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\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-08-28 15:42:09,384 712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:42:09,540 712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:42:09,540 712 [INFO ] - sql2008r2.nativeclient may be able to be automatically uninstalled.
2020-08-28 15:42:09,540 712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient'
2020-08-28 15:42:09,555 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\SQL2008R2.NativeClient.nupkg'
with checksum '9ABE9B22D10BDFF255BB1D1638E75514'
2020-08-28 15:42:09,555 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\SQL2008R2.NativeClient.nuspec'
with checksum '7C6478D4105FB9E105471A704C43EB08'
2020-08-28 15:42:09,555 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1'
with checksum 'FB4D6F120D3C0449E988AE497AB5DC82'
2020-08-28 15:42:09,555 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyUninstall.ps1'
with checksum '32423A75EC5F39F7A945BF23EC387C03'
2020-08-28 15:42:09,571 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001".
2020-08-28 15:42:09,617 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001\.registry'
2020-08-28 15:42:09,617 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001\.files'
2020-08-28 15:42:09,633 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001\.extra".
2020-08-28 15:42:09,633 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001\.version".
2020-08-28 15:42:09,648 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001\.sxs".
2020-08-28 15:42:09,648 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.2020052001\.pin".
2020-08-28 15:42:09,648 712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:42:09,665 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\.chocolateyPending".
2020-08-28 15:42:09,665 712 [INFO ] - The install of sql2008r2.nativeclient was successful.
2020-08-28 15:42:09,665 712 [INFO ] - Software installed as 'msi', install location is likely default.
2020-08-28 15:42:09,680 712 [INFO ] - [NuGet] Installing 'SQL2008R2.ClrTypes 10.50.1600.1'.
2020-08-28 15:42:09,680 712 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2008R2.ClrTypes\tools'.
2020-08-28 15:42:09,696 712 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.ClrTypes\tools'.
2020-08-28 15:42:09,696 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.ClrTypes.nupkg' to folder 'SQL2008R2.ClrTypes'.
2020-08-28 15:42:09,915 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.ClrTypes.nuspec' to folder 'SQL2008R2.ClrTypes'.
2020-08-28 15:42:09,915 712 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.ClrTypes 10.50.1600.1'.
2020-08-28 15:42:09,915 712 [INFO ] -
SQL2008R2.ClrTypes v10.50.1600.1 (forced) - Possibly broken
2020-08-28 15:42:09,930 712 [INFO ] - sql2008r2.clrtypes package files install completed. Performing other installation steps.
2020-08-28 15:42:09,930 712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1':
2020-08-28 15:42:09,946 712 [DEBUG] - $package = 'SQL2008R2.ClrTypes'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi';
url64bit = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi';
}
Install-ChocolateyPackage @params
# http://forums.iis.net/p/1174672/1968094.aspx
# it turns out that even on x64, x86 clr types should also be installed
# or SMO breaks
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
if (!$IsSytem32Bit)
{
$params.url64bit = $params.url
Install-ChocolateyPackage @params
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2020-08-28 15:42:09,946 712 [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\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:42:09,946 712 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-08-28 15:42:09,961 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:09,961 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:09,977 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:09,993 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:10,445 712 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:42:10,790 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:10,805 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:10,805 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:10,805 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:10,805 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:10,821 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:10,821 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:10,821 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:10,837 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:10,837 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:10,915 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:10,915 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:10,936 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:10,945 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:10,945 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:10,945 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:10,945 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:10,945 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:10,961 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:10,961 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:10,961 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:10,961 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:10,977 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:10,977 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:10,977 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:10,992 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:10,992 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:10,992 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:11,008 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:11,008 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:11,008 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:11,024 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:11,024 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:11,024 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:11,039 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:11,039 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:11,039 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:11,055 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:11,055 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:11,055 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:11,070 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:11,070 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:11,086 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:11,086 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:11,086 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:11,102 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:11,102 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:11,102 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:11,102 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:11,117 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:11,117 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:11,117 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:11,117 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:11,133 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:11,133 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:11,133 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:11,133 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:11,150 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:11,150 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:11,150 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:11,181 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:11,181 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:11,181 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:11,195 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:11,195 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:11,195 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:11,195 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:11,211 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:11,211 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:11,211 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:11,227 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:11,227 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:11,227 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:11,227 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:11,243 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:11,243 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:11,243 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:11,258 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:11,258 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:11,258 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:11,258 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:11,274 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:11,274 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:11,274 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:11,274 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:11,289 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:11,289 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:11,289 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:11,289 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:11,305 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:11,305 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:11,305 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:11,305 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:11,321 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:11,321 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:11,321 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:11,337 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:11,337 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:11,337 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:11,337 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:11,352 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:11,352 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:11,352 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:11,352 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:11,368 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:11,368 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:11,368 712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:42:11,383 712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:42:11,383 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:11,383 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:11,399 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:42:11,399 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:11,399 712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:42:11,414 712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:11,414 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:42:11,414 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:11,430 712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:42:11,430 712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:42:11,430 712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:11,430 712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:42:11,430 712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:42:11,446 712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:42:11,446 712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:42:11,446 712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:42:11,446 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:11,461 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:11,461 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:11,461 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:11,461 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:11,478 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:42:11,478 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:42:11,478 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:11,478 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:11,493 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:11,493 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:11,493 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:11,493 712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:42:11,508 712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:42:11,508 712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:42:11,508 712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:11,523 712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:42:11,523 712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:42:11,523 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:11,523 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:11,540 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:11,540 712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:42:11,555 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:42:11,555 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:42:11,555 712 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:42:11,570 712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:11,570 712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:42:11,570 712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:42:11,587 712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:11,587 712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:42:11,587 712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:42:11,587 712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:11,602 712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:42:11,602 712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:42:11,602 712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:11,617 712 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:42:11,617 712 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.ClrTypes v10.50.1600.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes', installArguments: '', packageParameters: '',
2020-08-28 15:42:11,634 712 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1'
2020-08-28 15:42:11,649 712 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'SQL2008R2.ClrTypes' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'
2020-08-28 15:42:11,773 712 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.ClrTypes' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQL2008R2.ClrTypesInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-08-28 15:42:11,773 712 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-08-28 15:42:11,789 712 [DEBUG] - CPU is 64 bit
2020-08-28 15:42:11,789 712 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' and bitPackage to 64
2020-08-28 15:42:11,789 712 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2020-08-28 15:42:11,806 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:11,806 712 [DEBUG] - Request Headers:
2020-08-28 15:42:11,806 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:42:11,806 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:42:18,305 712 [DEBUG] - Url does not have HTTPS available
2020-08-28 15:42:18,320 712 [DEBUG] - Running Get-WebFileName -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -defaultName 'SQL2008R2.ClrTypesInstall.msi'
2020-08-28 15:42:20,336 712 [DEBUG] - Url request/response failed - file name will be 'SQL2008R2.ClrTypesInstall.msi': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2020-08-28 15:42:20,883 712 [DEBUG] - Running Get-WebHeaders -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2020-08-28 15:42:20,883 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:20,899 712 [DEBUG] - Request Headers:
2020-08-28 15:42:20,899 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:42:20,899 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:42:22,039 712 [INFO ] - Attempt to get headers for http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2020-08-28 15:42:22,039 712 [INFO ] -
2020-08-28 15:42:22,055 712 [INFO ] - Downloading SQL2008R2.ClrTypes 64 bit
from 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'
2020-08-28 15:42:22,055 712 [INFO ] -
2020-08-28 15:42:22,055 712 [DEBUG] - Running Get-WebFile -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQL2008R2.ClrTypesInstall.msi' -options 'System.Collections.Hashtable'
2020-08-28 15:42:22,070 712 [DEBUG] - Setting request timeout to 30000
2020-08-28 15:42:22,070 712 [DEBUG] - Setting read/write timeout to 5400000
2020-08-28 15:42:22,070 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:24,617 712 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQL2008R2.ClrTypes' -failureMessage 'The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."'
2020-08-28 15:42:24,617 712 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2020-08-28 15:42:24,633 712 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
at Write-ChocolateyFailure, C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1: line 61
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1: line 27
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-08-28 15:42:24,633 712 [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\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2020-08-28 15:42:24,633 712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:42:24,664 712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:42:24,695 712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes'
2020-08-28 15:42:24,716 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\SQL2008R2.ClrTypes.nupkg'
with checksum 'BF0FF7DDED37A7843F42EA82AF24CD44'
2020-08-28 15:42:24,727 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\SQL2008R2.ClrTypes.nuspec'
with checksum '215564DE7E38DC47505EA222BC63B092'
2020-08-28 15:42:24,743 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1'
with checksum '5AC4D629B64E1012191E85C066C4B493'
2020-08-28 15:42:24,743 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyUninstall.ps1'
with checksum 'E0012215C8048753C5D7CDEFA2C0BDCB'
2020-08-28 15:42:24,743 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1".
2020-08-28 15:42:24,758 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.files'
2020-08-28 15:42:24,758 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.arguments".
2020-08-28 15:42:24,758 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.extra".
2020-08-28 15:42:24,775 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.version".
2020-08-28 15:42:24,775 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.sxs".
2020-08-28 15:42:24,789 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.pin".
2020-08-28 15:42:24,789 712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:42:24,805 712 [ERROR] - The install of sql2008r2.clrtypes was NOT successful.
2020-08-28 15:42:24,820 712 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:24,820 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2020-08-28 15:42:24,836 712 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2008R2.ClrTypes'
2020-08-28 15:42:26,962 712 [INFO ] - [NuGet] Installing 'SQL2008R2.SMO 10.50.1600.1'.
2020-08-28 15:42:27,758 712 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2008R2.SMO\tools'.
2020-08-28 15:42:27,837 712 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.SMO\tools'.
2020-08-28 15:42:27,837 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.SMO.nupkg' to folder 'SQL2008R2.SMO'.
2020-08-28 15:42:28,086 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.SMO.nuspec' to folder 'SQL2008R2.SMO'.
2020-08-28 15:42:28,102 712 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.SMO 10.50.1600.1'.
2020-08-28 15:42:28,102 712 [INFO ] -
SQL2008R2.SMO v10.50.1600.1 (forced) - Possibly broken
2020-08-28 15:42:28,120 712 [INFO ] - sql2008r2.smo package files install completed. Performing other installation steps.
2020-08-28 15:42:28,120 712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1':
2020-08-28 15:42:28,133 712 [DEBUG] - $package = 'SQL2008R2.SMO'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi';
url64bit = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi';
}
Install-ChocolateyPackage @params
# install both x86 and x64 editions of SMO since x64 supports both
# to install both variants of powershell, both variants of SMO must be present
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
if (!$IsSytem32Bit)
{
$params.url64bit = $params.url
Install-ChocolateyPackage @params
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2020-08-28 15:42:28,133 712 [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\SQL2008R2.SMO\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:42:28,152 712 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-08-28 15:42:28,164 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:28,164 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:28,211 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:28,231 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:28,633 712 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:42:29,023 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:29,023 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:29,023 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:29,039 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:29,039 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:29,039 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:29,039 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:29,039 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:29,055 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:29,055 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:29,055 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:29,070 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:29,070 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:29,070 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:29,070 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:29,070 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:29,086 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:29,086 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:29,086 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:29,086 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:29,101 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:29,101 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:29,101 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:29,117 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:29,117 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:29,117 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:29,134 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:29,134 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:29,134 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:29,134 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:29,148 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:29,148 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:29,148 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:29,148 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:29,164 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:29,164 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:29,164 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:29,179 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:29,179 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:29,179 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:29,179 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:29,197 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:29,211 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:29,211 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:29,211 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:29,226 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:29,226 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:29,226 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:29,243 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:29,243 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:29,243 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:29,243 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:29,258 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:29,258 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:29,258 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:29,275 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:29,275 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:29,275 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:29,289 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:29,289 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:29,289 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:29,289 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:29,314 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:29,320 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:29,320 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:29,320 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:29,336 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:29,336 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:29,336 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:29,351 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:29,351 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:29,351 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:29,351 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:29,367 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:29,367 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:29,367 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:29,367 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:29,383 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:29,383 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:29,383 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:29,398 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:29,398 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:29,398 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:29,398 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:29,414 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:29,414 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:29,414 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:29,414 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:29,432 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:29,432 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:29,432 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:29,445 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:29,445 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:29,445 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:29,461 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:29,461 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:29,461 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:29,461 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:29,477 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:29,477 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:29,477 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:29,494 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:29,494 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:29,494 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:29,508 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:29,508 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:29,508 712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:42:29,508 712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:42:29,524 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:29,524 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:29,524 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:42:29,539 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:29,539 712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:42:29,539 712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:29,539 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:42:29,555 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:29,555 712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:42:29,555 712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:42:29,555 712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:29,555 712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:42:29,572 712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:42:29,572 712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:42:29,572 712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:42:29,586 712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:42:29,586 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:29,586 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:29,586 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:29,586 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:29,602 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:29,602 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:42:29,602 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:42:29,602 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:29,617 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:29,617 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:29,617 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:29,617 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:29,633 712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:42:29,633 712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:42:29,633 712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:42:29,633 712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:29,633 712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:42:29,649 712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:42:29,649 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:29,649 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:29,664 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:29,664 712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:42:29,664 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:42:29,664 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:42:29,664 712 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:42:29,805 712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:29,805 712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:42:29,805 712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:42:29,805 712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:29,820 712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:42:29,820 712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:42:29,820 712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:29,820 712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:42:29,837 712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:42:29,837 712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:29,837 712 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:42:29,851 712 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.SMO v10.50.1600.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO', installArguments: '', packageParameters: '',
2020-08-28 15:42:29,851 712 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1'
2020-08-28 15:42:29,867 712 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'SQL2008R2.SMO' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'
2020-08-28 15:42:29,885 712 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.SMO' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SQL2008R2.SMOInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-08-28 15:42:29,899 712 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-08-28 15:42:29,899 712 [DEBUG] - CPU is 64 bit
2020-08-28 15:42:29,899 712 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' and bitPackage to 64
2020-08-28 15:42:29,915 712 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -ErrorAction 'Stop'
2020-08-28 15:42:29,930 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:29,930 712 [DEBUG] - Request Headers:
2020-08-28 15:42:29,930 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:42:29,945 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:42:32,367 712 [DEBUG] - Url does not have HTTPS available
2020-08-28 15:42:32,367 712 [DEBUG] - Running Get-WebFileName -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -defaultName 'SQL2008R2.SMOInstall.msi'
2020-08-28 15:42:34,554 712 [DEBUG] - Url request/response failed - file name will be 'SQL2008R2.SMOInstall.msi': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2020-08-28 15:42:34,554 712 [DEBUG] - Running Get-WebHeaders -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -ErrorAction 'Stop'
2020-08-28 15:42:34,570 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:34,570 712 [DEBUG] - Request Headers:
2020-08-28 15:42:34,570 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:42:34,586 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:42:35,742 712 [INFO ] - Attempt to get headers for http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2020-08-28 15:42:35,742 712 [INFO ] -
2020-08-28 15:42:35,758 712 [INFO ] - Downloading SQL2008R2.SMO 64 bit
from 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'
2020-08-28 15:42:35,758 712 [INFO ] -
2020-08-28 15:42:35,758 712 [DEBUG] - Running Get-WebFile -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SQL2008R2.SMOInstall.msi' -options 'System.Collections.Hashtable'
2020-08-28 15:42:35,773 712 [DEBUG] - Setting request timeout to 30000
2020-08-28 15:42:35,773 712 [DEBUG] - Setting read/write timeout to 5400000
2020-08-28 15:42:35,773 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:38,010 712 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQL2008R2.SMO' -failureMessage 'The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."'
2020-08-28 15:42:38,010 712 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2020-08-28 15:42:38,023 712 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
at Write-ChocolateyFailure, C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1: line 61
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1: line 26
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-08-28 15:42:38,023 712 [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\SQL2008R2.SMO\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2020-08-28 15:42:38,023 712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:42:38,055 712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:42:38,071 712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO'
2020-08-28 15:42:38,071 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\SQL2008R2.SMO.nupkg'
with checksum '735961AF697B2244E9D7C3C6AB417175'
2020-08-28 15:42:38,071 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\SQL2008R2.SMO.nuspec'
with checksum '1155B7AD811569B915211965FF6CF062'
2020-08-28 15:42:38,086 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1'
with checksum '573DF6CD50AC79FB981E8487243987F5'
2020-08-28 15:42:38,086 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyUninstall.ps1'
with checksum '95380EF5C339961EB03B2F83E94BDC85'
2020-08-28 15:42:38,086 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1".
2020-08-28 15:42:38,101 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.files'
2020-08-28 15:42:38,101 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.arguments".
2020-08-28 15:42:38,101 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.extra".
2020-08-28 15:42:38,118 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.version".
2020-08-28 15:42:38,118 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.sxs".
2020-08-28 15:42:38,118 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.pin".
2020-08-28 15:42:38,133 712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:42:38,133 712 [ERROR] - The install of sql2008r2.smo was NOT successful.
2020-08-28 15:42:38,133 712 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:38,133 712 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2008R2.SMO'
2020-08-28 15:42:40,164 712 [INFO ] - [NuGet] Installing 'SQL2008R2.PowerShell 10.50.1600.1'.
2020-08-28 15:42:40,164 712 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2008R2.PowerShell\tools'.
2020-08-28 15:42:40,164 712 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.PowerShell\tools'.
2020-08-28 15:42:40,164 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.PowerShell.nupkg' to folder 'SQL2008R2.PowerShell'.
2020-08-28 15:42:40,383 712 [DEBUG] - [NuGet] Added file 'SQL2008R2.PowerShell.nuspec' to folder 'SQL2008R2.PowerShell'.
2020-08-28 15:42:40,383 712 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.PowerShell 10.50.1600.1'.
2020-08-28 15:42:40,399 712 [INFO ] -
SQL2008R2.PowerShell v10.50.1600.1 (forced) - Possibly broken
2020-08-28 15:42:40,399 712 [INFO ] - sql2008r2.powershell package files install completed. Performing other installation steps.
2020-08-28 15:42:40,414 712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1':
2020-08-28 15:42:40,414 712 [DEBUG] - $package = 'SQL2008R2.PowerShell'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi';
url64bit = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi';
}
Install-ChocolateyPackage @params
# install both x86 and x64 editions since x64 PS supports both
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
if (!$IsSytem32Bit)
{
$params.url64bit = $params.url
Install-ChocolateyPackage @params
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2020-08-28 15:42:40,414 712 [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\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:42:40,431 712 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-08-28 15:42:40,431 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:40,445 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:40,445 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:40,461 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:40,773 712 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:42:40,914 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:40,914 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:40,929 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:40,929 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:40,929 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:40,929 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:40,953 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:40,953 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:40,961 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:40,961 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:40,961 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:41,133 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:41,133 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:41,148 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:41,148 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:41,148 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:41,148 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:41,164 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:41,164 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:41,164 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:41,164 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:41,179 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:41,179 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:41,179 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:41,179 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:41,196 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:41,196 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:41,196 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:41,196 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:41,196 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:41,211 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:41,211 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:41,211 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:41,211 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:41,226 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:41,226 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:41,226 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:41,226 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:41,243 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:41,243 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:41,243 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:41,243 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:41,257 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:41,257 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:41,257 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:41,257 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:41,275 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:41,275 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:41,275 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:41,289 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:41,289 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:41,289 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:41,289 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:41,304 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:41,304 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:41,304 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:41,320 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:41,320 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:41,352 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:41,352 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:41,370 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:41,370 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:41,370 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:41,382 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:41,382 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:41,382 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:41,382 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:41,400 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:41,400 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:41,400 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:41,414 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:41,414 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:41,414 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:41,414 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:41,429 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:41,429 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:41,429 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:41,429 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:41,445 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:41,445 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:41,445 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:41,463 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:41,463 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:41,463 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:41,477 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:41,477 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:41,477 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:41,477 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:41,493 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:41,493 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:41,493 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:41,493 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:41,508 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:41,508 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:41,508 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:41,508 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:41,508 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:41,524 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:41,524 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:41,524 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:41,539 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:41,539 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:41,539 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:41,539 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:41,554 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:41,554 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:41,554 712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:42:41,554 712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:42:41,570 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:41,570 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:41,570 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:42:41,570 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:41,587 712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:42:41,587 712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:41,587 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:42:41,587 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:41,601 712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:42:41,601 712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:42:41,601 712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:41,601 712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:42:41,617 712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:42:41,617 712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:42:41,617 712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:42:41,617 712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:42:41,632 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:41,632 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:41,632 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:41,632 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:41,649 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:41,649 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:42:41,649 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:42:41,649 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:41,664 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:41,664 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:41,664 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:41,664 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:41,679 712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:42:41,679 712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:42:41,679 712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:42:41,679 712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:41,696 712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:42:41,696 712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:42:41,696 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:41,696 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:41,711 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:41,729 712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:42:41,729 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:42:41,743 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:42:41,743 712 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:42:41,743 712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:41,743 712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:42:41,758 712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:42:41,758 712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:41,758 712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:42:41,758 712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:42:41,774 712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:41,774 712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:42:41,774 712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:42:41,774 712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:41,789 712 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:42:41,789 712 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.PowerShell v10.50.1600.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell', installArguments: '', packageParameters: '',
2020-08-28 15:42:41,805 712 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1'
2020-08-28 15:42:41,821 712 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'SQL2008R2.PowerShell' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'
2020-08-28 15:42:41,836 712 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\SQL2008R2.PowerShellInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-08-28 15:42:41,929 712 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-08-28 15:42:41,929 712 [DEBUG] - CPU is 64 bit
2020-08-28 15:42:41,945 712 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' and bitPackage to 64
2020-08-28 15:42:41,945 712 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -ErrorAction 'Stop'
2020-08-28 15:42:41,961 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:41,961 712 [DEBUG] - Request Headers:
2020-08-28 15:42:41,961 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:42:41,977 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:42:44,820 712 [DEBUG] - Url does not have HTTPS available
2020-08-28 15:42:44,820 712 [DEBUG] - Running Get-WebFileName -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -defaultName 'SQL2008R2.PowerShellInstall.msi'
2020-08-28 15:42:46,882 712 [DEBUG] - Url request/response failed - file name will be 'SQL2008R2.PowerShellInstall.msi': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2020-08-28 15:42:46,907 712 [DEBUG] - Running Get-WebHeaders -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -ErrorAction 'Stop'
2020-08-28 15:42:47,085 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:47,085 712 [DEBUG] - Request Headers:
2020-08-28 15:42:47,085 712 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:42:47,101 712 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:42:48,351 712 [INFO ] - Attempt to get headers for http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2020-08-28 15:42:48,351 712 [INFO ] -
2020-08-28 15:42:48,351 712 [INFO ] - Downloading SQL2008R2.PowerShell 64 bit
from 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'
2020-08-28 15:42:48,351 712 [INFO ] -
2020-08-28 15:42:48,368 712 [DEBUG] - Running Get-WebFile -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\SQL2008R2.PowerShellInstall.msi' -options 'System.Collections.Hashtable'
2020-08-28 15:42:48,368 712 [DEBUG] - Setting request timeout to 30000
2020-08-28 15:42:48,382 712 [DEBUG] - Setting read/write timeout to 5400000
2020-08-28 15:42:48,382 712 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:42:50,539 712 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQL2008R2.PowerShell' -failureMessage 'The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."'
2020-08-28 15:42:50,539 712 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2020-08-28 15:42:50,539 712 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
at Write-ChocolateyFailure, C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1: line 61
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1: line 25
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-08-28 15:42:50,555 712 [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\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2020-08-28 15:42:50,555 712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:42:50,726 712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:42:50,742 712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell'
2020-08-28 15:42:50,742 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\SQL2008R2.PowerShell.nupkg'
with checksum 'D395514DA413A14E03AED77E928DFF53'
2020-08-28 15:42:50,742 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\SQL2008R2.PowerShell.nuspec'
with checksum '16C3A48AD0564CA3C38A11801D6F4B85'
2020-08-28 15:42:50,742 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1'
with checksum '10F36A567FDF51AACFA47CFAA50236E5'
2020-08-28 15:42:50,757 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyUninstall.ps1'
with checksum 'F22400940CA008E52D9B13B26EFE2CFD'
2020-08-28 15:42:50,757 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1".
2020-08-28 15:42:50,757 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.files'
2020-08-28 15:42:50,773 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.arguments".
2020-08-28 15:42:50,773 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.extra".
2020-08-28 15:42:50,773 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.version".
2020-08-28 15:42:50,773 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.sxs".
2020-08-28 15:42:50,789 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.pin".
2020-08-28 15:42:50,789 712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:42:50,789 712 [ERROR] - The install of sql2008r2.powershell was NOT successful.
2020-08-28 15:42:50,804 712 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:50,804 712 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell'
to 'C:\ProgramData\chocolatey\lib-bad\SQL2008R2.PowerShell'
2020-08-28 15:42:52,883 712 [INFO ] - [NuGet] Installing 'SQLMaintenanceSolution 0.6'.
2020-08-28 15:42:52,899 712 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQLMaintenanceSolution\tools'.
2020-08-28 15:42:52,899 712 [DEBUG] - [NuGet] Added file 'SQLMaintenanceSolution.nupkg' to folder 'SQLMaintenanceSolution'.
2020-08-28 15:42:53,117 712 [DEBUG] - [NuGet] Added file 'SQLMaintenanceSolution.nuspec' to folder 'SQLMaintenanceSolution'.
2020-08-28 15:42:53,117 712 [INFO ] - [NuGet] Successfully installed 'SQLMaintenanceSolution 0.6'.
2020-08-28 15:42:53,117 712 [INFO ] -
SQLMaintenanceSolution v0.6 (forced) - Possibly broken
2020-08-28 15:42:53,132 712 [INFO ] - sqlmaintenancesolution package files install completed. Performing other installation steps.
2020-08-28 15:42:53,157 712 [DEBUG] - Setting installer args for SQLMaintenanceSolution
2020-08-28 15:42:53,157 712 [DEBUG] - Setting package parameters for SQLMaintenanceSolution
2020-08-28 15:42:53,163 712 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1':
2020-08-28 15:42:53,163 712 [DEBUG] - $packageName = 'SQLMaintenanceSolution'
$url = 'http://ola.hallengren.com/scripts/MaintenanceSolution.sql'
$FileName = 'MaintenanceSolution.sql'
$url64 = $url
try {
# Tests
if ((Get-Service MSSQLSERVER).status -ne "Running") {
Write-ChocolateyFailure "$packageName" "SQL Server not started"
throw
}
if ((Get-Service SQLSERVERAGENT).status -ne "Running"){
Write-ChocolateyFailure "$packageName" "SQL Server Agent not started"
throw
}
if ( (Get-PSSnapin -Name sqlserverprovidersnapin100 -ErrorAction SilentlyContinue) -eq $null ){
try {
Add-PsSnapin sqlserverprovidersnapin100
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
}
if ( (Get-PSSnapin -Name sqlservercmdletsnapin100 -ErrorAction SilentlyContinue) -eq $null ){
try {
Add-PsSnapin sqlservercmdletsnapin100
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
}
# If tests passed, initialize path, download, and install.
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
$nodePath = Join-Path $scriptPath $FileName
Get-ChocolateyWebFile "$packageName" "$nodePath" "$url" "$url64"
invoke-sqlcmd -InputFile "$nodePath"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
2020-08-28 15:42:53,163 712 [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\SQLMaintenanceSolution\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:42:53,179 712 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-08-28 15:42:53,179 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:53,179 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:53,196 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:53,196 712 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:42:53,431 712 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:42:53,585 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:53,585 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:53,601 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:53,601 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:53,601 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:53,601 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:53,617 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:53,617 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:53,617 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:53,617 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:53,636 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:53,636 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:53,636 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:53,636 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:53,648 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:53,648 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:53,648 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:53,648 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:53,667 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:53,667 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:53,667 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:53,667 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:53,681 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:53,681 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:53,681 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:53,695 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:53,695 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:53,695 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:53,695 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:53,695 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:53,710 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:53,710 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:53,710 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:53,710 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:53,727 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:53,727 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:53,727 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:53,727 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:53,742 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:53,742 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:53,742 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:53,742 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:53,758 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:53,758 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:53,758 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:53,758 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:53,773 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:53,773 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:53,773 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:53,773 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:53,773 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:53,791 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:53,791 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:53,804 712 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:42:53,804 712 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:42:53,804 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:53,804 712 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:53,821 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:42:53,821 712 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:53,821 712 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:42:53,821 712 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:53,835 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:42:53,835 712 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:53,835 712 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:42:53,835 712 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:42:53,835 712 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:53,852 712 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:42:53,852 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:42:53,852 712 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:42:53,852 712 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:42:53,867 712 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:42:53,867 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:53,867 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:53,867 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:53,883 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:53,883 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:53,883 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:42:53,898 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:42:53,898 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:53,898 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:53,898 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:53,947 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:53,947 712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:53,947 712 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:42:53,960 712 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:42:53,960 712 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:42:53,960 712 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:53,960 712 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:42:53,977 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:42:53,977 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:53,977 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:53,977 712 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:53,992 712 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:42:53,992 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:42:53,992 712 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:42:53,992 712 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:42:54,008 712 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:54,008 712 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:42:54,008 712 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:42:54,008 712 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:54,023 712 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:42:54,023 712 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:42:54,023 712 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:54,023 712 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:54,039 712 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:42:54,039 712 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:42:54,039 712 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:42:54,039 712 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:42:54,054 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:42:54,054 712 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:42:54,054 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:42:54,054 712 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:42:54,071 712 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:42:54,071 712 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:42:54,071 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:42:54,071 712 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:42:54,086 712 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:42:54,086 712 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:42:54,086 712 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:42:54,086 712 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:42:54,102 712 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:42:54,102 712 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:42:54,102 712 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:42:54,117 712 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:42:54,117 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:42:54,117 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:54,117 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:42:54,134 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:42:54,195 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:42:54,211 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:42:54,211 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:42:54,211 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:42:54,211 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:42:54,227 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:42:54,227 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:42:54,227 712 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:42:54,227 712 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:42:54,243 712 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:42:54,243 712 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:42:54,243 712 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:42:54,243 712 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:42:54,258 712 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:42:54,258 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:42:54,258 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:42:54,258 712 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:42:54,273 712 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:42:54,273 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:42:54,273 712 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:42:54,273 712 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:42:54,290 712 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:42:54,290 712 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:42:54,290 712 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:42:54,290 712 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:42:54,305 712 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:42:54,305 712 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:42:54,305 712 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:42:54,305 712 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:42:54,320 712 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:42:54,320 712 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:42:54,320 712 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:42:54,335 712 [DEBUG] - Running 'ChocolateyScriptRunner' for SQLMaintenanceSolution v0.6 with packageScript 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution', installArguments: '', packageParameters: '',
2020-08-28 15:42:54,335 712 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'
2020-08-28 15:42:54,509 712 [ERROR] - Cannot find any service with service name 'MSSQLSERVER'.
2020-08-28 15:42:54,523 712 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQLMaintenanceSolution' -failureMessage 'SQL Server not started'
2020-08-28 15:42:54,540 712 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2020-08-28 15:42:54,554 712 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQLMaintenanceSolution' -failureMessage 'SQL Server not started'
2020-08-28 15:42:54,554 712 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2020-08-28 15:42:54,554 712 [ERROR] - ERROR: SQL Server not started
at Write-ChocolateyFailure, C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1: line 61
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1: line 41
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2020-08-28 15:42:54,571 712 [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\SQLMaintenanceSolution\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2020-08-28 15:42:54,571 712 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:42:54,632 712 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:42:54,649 712 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution'
2020-08-28 15:42:54,649 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nupkg'
with checksum '85EC6FB690F3FB3BA27AC64BCE6547A7'
2020-08-28 15:42:54,649 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nuspec'
with checksum 'FA00C2240833179D309B5A002A33C230'
2020-08-28 15:42:54,649 712 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'
with checksum '11499D0DC851C04EADA23D12240A8444'
2020-08-28 15:42:54,664 712 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6".
2020-08-28 15:42:54,664 712 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.files'
2020-08-28 15:42:54,664 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.arguments".
2020-08-28 15:42:54,679 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.extra".
2020-08-28 15:42:54,679 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.version".
2020-08-28 15:42:54,679 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.sxs".
2020-08-28 15:42:54,679 712 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.pin".
2020-08-28 15:42:54,695 712 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:42:54,695 712 [ERROR] - The install of sqlmaintenancesolution was NOT successful.
2020-08-28 15:42:54,695 712 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:54,695 712 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution'
to 'C:\ProgramData\chocolatey\lib-bad\SQLMaintenanceSolution'
2020-08-28 15:42:56,726 712 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\SQLMaintenanceSolution.0.6.nupkg".
2020-08-28 15:42:56,773 712 [WARN ] -
Chocolatey installed 2/6 packages. 4 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-08-28 15:42:56,773 712 [INFO ] -
2020-08-28 15:42:56,788 712 [WARN ] - Installed:
2020-08-28 15:42:56,788 712 [INFO ] - - msxml6.sp1 v6.10.1129.0
2020-08-28 15:42:56,788 712 [INFO ] - - sql2008r2.nativeclient v10.53.6560.2020052001
2020-08-28 15:42:56,788 712 [INFO ] -
2020-08-28 15:42:56,806 712 [ERROR] - Failures
2020-08-28 15:42:56,806 712 [ERROR] - - sqlmaintenancesolution (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:56,806 712 [ERROR] - - sql2008r2.powershell (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:56,820 712 [ERROR] - - sql2008r2.clrtypes (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:56,820 712 [ERROR] - - sql2008r2.smo (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1'.
See log for details.
2020-08-28 15:42:56,820 712 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-08-28 15:42:56,945 712 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.