Skip to content

Instantly share code, notes, and snippets.

@jberezanski
Created February 8, 2016 10:10
Show Gist options
  • Save jberezanski/81574c215b474439fd71 to your computer and use it in GitHub Desktop.
Save jberezanski/81574c215b474439fd71 to your computer and use it in GitHub Desktop.
C:\> cinst -force -verbose -debug rsat
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.
For details on the all new Chocolatey, visit http://bit.ly/new_choco
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\chocolateyinstall\helpers\chocolateyInstaller.psm1'.
VERBOSE: Importing function 'Get-BinRoot'.
VERBOSE: Importing function 'Get-CheckSumValid'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-ProcessorBits'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'UnInstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-Debug'.
VERBOSE: Importing function 'Write-Error'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-Host'.
DEBUG: Running 'Get-ConfigValue' with configValue:'cacheLocation'
DEBUG: Running 'Get-UserConfigValue' with configValue:'cacheLocation'
DEBUG: After checking the user config the value of 'cacheLocation' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'cacheLocation'
DEBUG: After checking the global config the value of 'cacheLocation' is ''
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:''
DEBUG: Arguments: $command = 'install'|$force=True
|$prerelease=False|$packageNames='rsat'
|$source=''
|$version=''|$allVersions=False
|$overrideArguments=False|$InstallArguments=''
|$localonly=False|$verbosity=True|$debug=True|$quiet=False
|$name=''|$ignoreDependencies=False|$forceX86=False
|$packageParameters=''
|PowerShellVersion=4.0|OSVersion=6.3.9600.0
DEBUG: Current Security Protocol - Ssl3, Tls
DEBUG: Running 'Chocolatey-Install' for 'rsat' with source: '', version: '', installerArguments:''
DEBUG: Running 'Chocolatey-NuGet' for rsat with source:''. Force? True
Chocolatey (v0.9.8.33) is installing 'rsat' and dependencies. By installing you accept the license for 'rsat' and each dependency you are installing.
DEBUG: Installing packages to "C:\ProgramData\chocolatey\lib".
DEBUG: Running 'Run-NuGet' for rsat with source: '', version:''
DEBUG: ___ NuGet ____
DEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources'
DEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the user config the value of 'useNuGetForSources' is ''
DEBUG: Value not found in the user config file - checking the global config
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources'
DEBUG: After checking the global config the value of 'useNuGetForSources' is 'false'
DEBUG: Running 'Get-UserConfigValue' with configValue:'sources'
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources'
DEBUG: Using global sources
DEBUG: Using '-Source "https://chocolatey.org/api/v2/;"' as the source arguments
DEBUG: Calling 'C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe' install rsat -OutputDirectory "C:\ProgramData\chocolatey\lib" -Source "https://chocolatey.org/api/v2/;"
-NonInteractive -NoCache
DEBUG: Installing 'RSAT 1.0.3'.
Successfully installed 'RSAT 1.0.3'.
DEBUG: Evaluating NuGet output for line: Installing 'RSAT 1.0.3'.
DEBUG: Evaluating NuGet output for line: Successfully installed 'RSAT 1.0.3'.
DEBUG: NuGet installed RSAT. If we are ignoring dependencies (False) then we will clean this up.
RSAT v1.0.3
DEBUG: Running 'Delete-ExistingErrorLog' for RSAT
DEBUG: Looking for failure log at 'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\failure.log'
DEBUG: Running 'Run-ChocolateyPS1' for RSAT with packageFolder:'C:\ProgramData\chocolatey\lib\RSAT.1.0.3', action: 'install'
DEBUG: __ PowerShell install (chocolateyinstall.ps1) __
DEBUG: Looking for chocolateyinstall.ps1 in folder 'C:\ProgramData\chocolatey\lib\RSAT.1.0.3'. If chocolateyinstall.ps1 is found, it will be run.
DEBUG: Action file is 'ChocolateyInstall.ps1'
DEBUG: Running 'C:\ProgramData\chocolatey\lib\RSAT.1.0.3\tools\ChocolateyInstall.ps1'
DEBUG: Running 'Get-ChocolateyWebFile' for RSAT with url:'http://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x86.msu',
fileFullPath:'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu',
url64bit:'http://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x64.msu', checksum: '', checksumType: '', checksum64: '',
checksumType64: ''
DEBUG: Running 'Get-ProcessorBits'
DEBUG: CPU is 64 bit
DEBUG: Setting url to 'http://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x64.msu' and bitPackage to 64
DEBUG: Running 'Get-WebHeaders' with url:'http://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x64.msu', userAgent: 'chocolatey
command line'
DEBUG: Setting the UserAgent to 'chocolatey command line'
DEBUG: Request Headers:
DEBUG: 'Accept':'*/*'
DEBUG: 'User-Agent':'chocolatey command line'
DEBUG: Response Headers:
DEBUG: 'Content-Disposition':'attachment'
DEBUG: 'Connection':'keep-alive'
DEBUG: 'Accept-Ranges':'bytes'
DEBUG: 'Content-Length':'70872826'
DEBUG: 'Content-Type':'application/octet-stream'
DEBUG: 'Date':'Mon, 08 Feb 2016 10:09:06 GMT'
DEBUG: 'ETag':'"d2c1d13b94abce1:0"'
DEBUG: 'Last-Modified':'Sat, 07 Sep 2013 06:33:58 GMT'
DEBUG: 'Server':'Microsoft-IIS/8.5'
DEBUG: RSAT's requested file has already been downloaded. Using cached copy at
'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu'.
DEBUG: Checking that 'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu' is the size we expect it to be.
DEBUG: Verifying package provided checksum of '' for 'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu'.
DEBUG: Running 'Get-CheckSumValid' with file:'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu', checksum: '', checksumType: ''
DEBUG: Running 'Start-ChocolateyProcessAsAdmin' with exeToRun:'wusa.exe', statements: 'C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu /quiet /norestart'
DEBUG: Elevating Permissions and running wusa.exe C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu /quiet /norestart. This may take awhile, depending on the
statements.
Write-Error : [ERROR] Running wusa.exe with C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu /quiet /norestart was not successful. Exit code was '2359302'.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:46 char:5
+ Write-Error $errorMessage
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
DEBUG: Running 'Move-BadInstall' for RSAT version: '1.0.3', packageFolder:'C:\ProgramData\chocolatey\lib\RSAT.1.0.3'
DEBUG: Moving bad package 'RSAT v1.0.3' to 'C:\ProgramData\chocolatey\lib-bad'.
Write-Error : Package 'RSAT v1.0.3' did not install successfully: [ERROR] Running wusa.exe with C:\Users\JBEREZ~1\AppData\Local\Temp\chocolatey\RSAT\RSAT.msu /quiet /norestart was
not successful. Exit code was '2359302'.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17
+ Write-Error "Package `'$installedPackageName v$installedPackageV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
DEBUG: Evaluating NuGet output for line:
Finished installing 'rsat' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
VERBOSE: Removing the imported "Get-BinRoot" function.
VERBOSE: Removing the imported "Get-CheckSumValid" function.
VERBOSE: Removing the imported "Get-ChocolateyUnzip" function.
VERBOSE: Removing the imported "Get-ChocolateyWebFile" function.
VERBOSE: Removing the imported "Get-EnvironmentVariable" function.
VERBOSE: Removing the imported "Get-EnvironmentVariableNames" function.
VERBOSE: Removing the imported "Get-FtpFile" function.
VERBOSE: Removing the imported "Get-ProcessorBits" function.
VERBOSE: Removing the imported "Get-UACEnabled" function.
VERBOSE: Removing the imported "Get-VirusCheckValid" function.
VERBOSE: Removing the imported "Get-WebFile" function.
VERBOSE: Removing the imported "Get-WebHeaders" function.
VERBOSE: Removing the imported "Install-ChocolateyDesktopLink" function.
VERBOSE: Removing the imported "Install-ChocolateyEnvironmentVariable" function.
VERBOSE: Removing the imported "Install-ChocolateyExplorerMenuItem" function.
VERBOSE: Removing the imported "Install-ChocolateyFileAssociation" function.
VERBOSE: Removing the imported "Install-ChocolateyInstallPackage" function.
VERBOSE: Removing the imported "Install-ChocolateyPackage" function.
VERBOSE: Removing the imported "Install-ChocolateyPath" function.
VERBOSE: Removing the imported "Install-ChocolateyPinnedTaskBarItem" function.
VERBOSE: Removing the imported "Install-ChocolateyPowershellCommand" function.
VERBOSE: Removing the imported "Install-ChocolateyVsixPackage" function.
VERBOSE: Removing the imported "Install-ChocolateyZipPackage" function.
VERBOSE: Removing the imported "Set-EnvironmentVariable" function.
VERBOSE: Removing the imported "Start-ChocolateyProcessAsAdmin" function.
VERBOSE: Removing the imported "Test-ProcessAdminRights" function.
VERBOSE: Removing the imported "Uninstall-ChocolateyPackage" function.
VERBOSE: Removing the imported "UnInstall-ChocolateyZipPackage" function.
VERBOSE: Removing the imported "Update-SessionEnvironment" function.
VERBOSE: Removing the imported "Write-ChocolateyFailure" function.
VERBOSE: Removing the imported "Write-ChocolateySuccess" function.
VERBOSE: Removing the imported "Write-Debug" function.
VERBOSE: Removing the imported "Write-Error" function.
VERBOSE: Removing the imported "Write-FileUpdateLog" function.
VERBOSE: Removing the imported "Write-Host" function.
DEBUG: Exiting with non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment