Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basictheprogram/fe82186cc754e928bea2227faaefb441 to your computer and use it in GitHub Desktop.
Save basictheprogram/fe82186cc754e928bea2227faaefb441 to your computer and use it in GitHub Desktop.
Using module file /Users/tanner/projects/ansible.git/ansible/lib/ansible/modules/windows/win_chocolatey.ps1
EXEC (via pipeline wrapper)
failed: [vagrant-10.corp.mylab.com] (item=rsat) => {
"changed": false,
"command": "choco.exe install -v --no-progress -y rsat --timeout 2700 --failonunfound",
"item": "rsat",
"msg": "Error installing package 'rsat'",
"rc": 5,
"stdout": "Chocolatey v0.10.10\r\nInstalling the following packages:\r\nrsat\r\nBy installing you accept licenses for the packages.\r\n[NuGet] Installing 'RSAT 2.1'.\r\n[NuGet] Successfully installed 'RSAT 2.1'.\r\n\r\nRSAT v2.1 [Approved]\r\nrsat package files install completed. Performing other installation steps.\r\nVERBOSE: Exporting function 'Format-FileSize'.\r\nVERBOSE: Exporting function 'Get-ChecksumValid'.\r\nVERBOSE: Exporting function 'Get-ChocolateyUnzip'.\r\nVERBOSE: Exporting function 'Get-ChocolateyWebFile'.\r\nVERBOSE: Exporting function 'Get-EnvironmentVariable'.\r\nVERBOSE: Exporting function 'Get-EnvironmentVariableNames'.\r\nVERBOSE: Exporting function 'Get-FtpFile'.\r\nVERBOSE: Exporting function 'Get-OSArchitectureWidth'.\r\nVERBOSE: Exporting function 'Get-PackageParameters'.\r\nVERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.\r\nVERBOSE: Exporting function 'Get-ToolsLocation'.\r\nVERBOSE: Exporting function 'Get-UACEnabled'.\r\nVERBOSE: Exporting function 'Get-UninstallRegistryKey'.\r\nVERBOSE: Exporting function 'Get-VirusCheckValid'.\r\nVERBOSE: Exporting function 'Get-WebFile'.\r\nVERBOSE: Exporting function 'Get-WebFileName'.\r\nVERBOSE: Exporting function 'Get-WebHeaders'.\r\nVERBOSE: Exporting function 'Install-BinFile'.\r\nVERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.\r\nVERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.\r\nVERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.\r\nVERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.\r\nVERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPackage'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPath'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.\r\nVERBOSE: Exporting function 'Install-ChocolateyShortcut'.\r\nVERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.\r\nVERBOSE: Exporting function 'Install-ChocolateyZipPackage'.\r\nVERBOSE: Exporting function 'Install-Vsix'.\r\nVERBOSE: Exporting function 'Set-EnvironmentVariable'.\r\nVERBOSE: Exporting function 'Set-PowerShellExitCode'.\r\nVERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.\r\nVERBOSE: Exporting function 'Test-ProcessAdminRights'.\r\nVERBOSE: Exporting function 'Uninstall-BinFile'.\r\nVERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.\r\nVERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.\r\nVERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.\r\nVERBOSE: Exporting function 'Update-SessionEnvironment'.\r\nVERBOSE: Exporting function 'Write-ChocolateyFailure'.\r\nVERBOSE: Exporting function 'Write-ChocolateySuccess'.\r\nVERBOSE: Exporting function 'Write-FileUpdateLog'.\r\nVERBOSE: Exporting function 'Write-FunctionCallLogMessage'.\r\nVERBOSE: Exporting alias 'Get-ProcessorBits'.\r\nVERBOSE: Exporting alias 'Get-OSBitness'.\r\nVERBOSE: Exporting alias 'Get-InstallRegistryKey'.\r\nVERBOSE: Exporting alias 'Generate-BinFile'.\r\nVERBOSE: Exporting alias 'Add-BinFile'.\r\nVERBOSE: Exporting alias 'Start-ChocolateyProcess'.\r\nVERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.\r\nVERBOSE: Exporting alias 'Remove-BinFile'.\r\nVERBOSE: Exporting alias 'refreshenv'.\r\nVERBOSE: Loading module from path 'C:\\ProgramData\\chocolatey\\extensions\\chocolatey-core\\chocolatey-core.psm1'.\r\nVERBOSE: Exporting function 'Get-UninstallRegistryKey'.\r\nVERBOSE: Exporting function 'Get-AppInstallLocation'.\r\nVERBOSE: Exporting function 'Get-AvailableDriveLetter'.\r\nVERBOSE: Exporting function 'Get-EffectiveProxy'.\r\nVERBOSE: Exporting function 'Get-PackageCacheLocation'.\r\nVERBOSE: Exporting function 'Get-PackageParameters'.\r\nVERBOSE: Exporting function 'Get-WebContent'.\r\nVERBOSE: Exporting function 'Register-Application'.\r\nVERBOSE: Importing function 'Get-AppInstallLocation'.\r\nVERBOSE: Importing function 'Get-AvailableDriveLetter'.\r\nVERBOSE: Importing function 'Get-EffectiveProxy'.\r\nVERBOSE: Importing function 'Get-PackageCacheLocation'.\r\nVERBOSE: Importing function 'Get-PackageParameters'.\r\nVERBOSE: Importing function 'Get-UninstallRegistryKey'.\r\nVERBOSE: Importing function 'Get-WebContent'.\r\nVERBOSE: Importing function 'Register-Application'.\r\nVERBOSE: Exporting function 'Format-FileSize'.\r\nVERBOSE: Exporting function 'Get-ChecksumValid'.\r\nVERBOSE: Exporting function 'Get-ChocolateyUnzip'.\r\nVERBOSE: Exporting function 'Get-ChocolateyWebFile'.\r\nVERBOSE: Exporting function 'Get-EnvironmentVariable'.\r\nVERBOSE: Exporting function 'Get-EnvironmentVariableNames'.\r\nVERBOSE: Exporting function 'Get-FtpFile'.\r\nVERBOSE: Exporting function 'Get-OSArchitectureWidth'.\r\nVERBOSE: Exporting function 'Get-PackageParameters'.\r\nVERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.\r\nVERBOSE: Exporting function 'Get-ToolsLocation'.\r\nVERBOSE: Exporting function 'Get-UACEnabled'.\r\nVERBOSE: Exporting function 'Get-UninstallRegistryKey'.\r\nVERBOSE: Exporting function 'Get-VirusCheckValid'.\r\nVERBOSE: Exporting function 'Get-WebFile'.\r\nVERBOSE: Exporting function 'Get-WebFileName'.\r\nVERBOSE: Exporting function 'Get-WebHeaders'.\r\nVERBOSE: Exporting function 'Install-BinFile'.\r\nVERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.\r\nVERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.\r\nVERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.\r\nVERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.\r\nVERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPackage'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPath'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.\r\nVERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.\r\nVERBOSE: Exporting function 'Install-ChocolateyShortcut'.\r\nVERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.\r\nVERBOSE: Exporting function 'Install-ChocolateyZipPackage'.\r\nVERBOSE: Exporting function 'Install-Vsix'.\r\nVERBOSE: Exporting function 'Set-EnvironmentVariable'.\r\nVERBOSE: Exporting function 'Set-PowerShellExitCode'.\r\nVERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.\r\nVERBOSE: Exporting function 'Test-ProcessAdminRights'.\r\nVERBOSE: Exporting function 'Uninstall-BinFile'.\r\nVERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.\r\nVERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.\r\nVERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.\r\nVERBOSE: Exporting function 'Update-SessionEnvironment'.\r\nVERBOSE: Exporting function 'Write-ChocolateyFailure'.\r\nVERBOSE: Exporting function 'Write-ChocolateySuccess'.\r\nVERBOSE: Exporting function 'Write-FileUpdateLog'.\r\nVERBOSE: Exporting function 'Write-FunctionCallLogMessage'.\r\nVERBOSE: Exporting function 'Get-AppInstallLocation'.\r\nVERBOSE: Exporting function 'Get-AvailableDriveLetter'.\r\nVERBOSE: Exporting function 'Get-EffectiveProxy'.\r\nVERBOSE: Exporting function 'Get-PackageCacheLocation'.\r\nVERBOSE: Exporting function 'Get-WebContent'.\r\nVERBOSE: Exporting function 'Register-Application'.\r\nVERBOSE: Exporting alias 'Get-ProcessorBits'.\r\nVERBOSE: Exporting alias 'Get-OSBitness'.\r\nVERBOSE: Exporting alias 'Get-InstallRegistryKey'.\r\nVERBOSE: Exporting alias 'Generate-BinFile'.\r\nVERBOSE: Exporting alias 'Add-BinFile'.\r\nVERBOSE: Exporting alias 'Start-ChocolateyProcess'.\r\nVERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.\r\nVERBOSE: Exporting alias 'Remove-BinFile'.\r\nVERBOSE: Exporting alias 'refreshenv'.\r\nVERBOSE: Importing function 'Format-FileSize'.\r\nVERBOSE: Importing function 'Get-AppInstallLocation'.\r\nVERBOSE: Importing function 'Get-AvailableDriveLetter'.\r\nVERBOSE: Importing function 'Get-ChecksumValid'.\r\nVERBOSE: Importing function 'Get-ChocolateyUnzip'.\r\nVERBOSE: Importing function 'Get-ChocolateyWebFile'.\r\nVERBOSE: Importing function 'Get-EffectiveProxy'.\r\nVERBOSE: Importing function 'Get-EnvironmentVariable'.\r\nVERBOSE: Importing function 'Get-EnvironmentVariableNames'.\r\nVERBOSE: Importing function 'Get-FtpFile'.\r\nVERBOSE: Importing function 'Get-OSArchitectureWidth'.\r\nVERBOSE: Importing function 'Get-PackageCacheLocation'.\r\nVERBOSE: Importing function 'Get-PackageParameters'.\r\nVERBOSE: Importing function 'Get-PackageParametersBuiltIn'.\r\nVERBOSE: Importing function 'Get-ToolsLocation'.\r\nVERBOSE: Importing function 'Get-UACEnabled'.\r\nVERBOSE: Importing function 'Get-UninstallRegistryKey'.\r\nVERBOSE: Importing function 'Get-VirusCheckValid'.\r\nVERBOSE: Importing function 'Get-WebContent'.\r\nVERBOSE: Importing function 'Get-WebFile'.\r\nVERBOSE: Importing function 'Get-WebFileName'.\r\nVERBOSE: Importing function 'Get-WebHeaders'.\r\nVERBOSE: Importing function 'Install-BinFile'.\r\nVERBOSE: Importing function 'Install-ChocolateyDesktopLink'.\r\nVERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.\r\nVERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.\r\nVERBOSE: Importing function 'Install-ChocolateyFileAssociation'.\r\nVERBOSE: Importing function 'Install-ChocolateyInstallPackage'.\r\nVERBOSE: Importing function 'Install-ChocolateyPackage'.\r\nVERBOSE: Importing function 'Install-ChocolateyPath'.\r\nVERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.\r\nVERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.\r\nVERBOSE: Importing function 'Install-ChocolateyShortcut'.\r\nVERBOSE: Importing function 'Install-ChocolateyVsixPackage'.\r\nVERBOSE: Importing function 'Install-ChocolateyZipPackage'.\r\nVERBOSE: Importing function 'Install-Vsix'.\r\nVERBOSE: Importing function 'Register-Application'.\r\nVERBOSE: Importing function 'Set-EnvironmentVariable'.\r\nVERBOSE: Importing function 'Set-PowerShellExitCode'.\r\nVERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.\r\nVERBOSE: Importing function 'Test-ProcessAdminRights'.\r\nVERBOSE: Importing function 'Uninstall-BinFile'.\r\nVERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.\r\nVERBOSE: Importing function 'Uninstall-ChocolateyPackage'.\r\nVERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.\r\nVERBOSE: Importing function 'Update-SessionEnvironment'.\r\nVERBOSE: Importing function 'Write-ChocolateyFailure'.\r\nVERBOSE: Importing function 'Write-ChocolateySuccess'.\r\nVERBOSE: Importing function 'Write-FileUpdateLog'.\r\nVERBOSE: Importing function 'Write-FunctionCallLogMessage'.\r\nVERBOSE: Importing alias 'Add-BinFile'.\r\nVERBOSE: Importing alias 'Generate-BinFile'.\r\nVERBOSE: Importing alias 'Get-InstallRegistryKey'.\r\nVERBOSE: Importing alias 'Get-OSBitness'.\r\nVERBOSE: Importing alias 'Get-ProcessorBits'.\r\nVERBOSE: Importing alias 'Invoke-ChocolateyProcess'.\r\nVERBOSE: Importing alias 'refreshenv'.\r\nVERBOSE: Importing alias 'Remove-BinFile'.\r\nVERBOSE: Importing alias 'Start-ChocolateyProcess'.\r\nWindows 10 Detected\r\nVERBOSE: GET https://www.microsoft.com//download/confirmation.aspx?id=45520 with 0-byte payload\r\nVERBOSE: received 136688-byte response of content type text/html\r\nx64 Detected\r\nDownloading RSAT 64 bit\r\n from 'https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS_1709-x64.msu'\r\n\r\nDownload of WindowsTH-RSAT_WS_1709-x64.msu (94.49 MB) completed.\r\nInstalling RSAT...\r\nWARNING: User (you) cancelled the installation.\r\nERROR: Running [\"C:\\Windows\\System32\\wusa.exe\" \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\chocolatey\\RSAT\\2.1\\WindowsTH-RSAT_WS_1709-x64.msu\" /quiet /norestart ] was not successful. Exit code was '5'. Exit code indicates the following: User (you) cancelled the installation..\r\nThe install of rsat was NOT successful.\r\nError while running 'C:\\ProgramData\\chocolatey\\lib\\RSAT\\tools\\chocolateyinstall.ps1'.\r\n See log for details.\r\n\r\nChocolatey installed 0/1 packages. 1 packages failed.\r\n See the log for details (C:\\ProgramData\\chocolatey\\logs\\chocolatey.log).\r\n\r\nFailures\r\n - rsat (exited 5) - Error while running 'C:\\ProgramData\\chocolatey\\lib\\RSAT\\tools\\chocolateyinstall.ps1'.\r\n See log for details.\r\n",
"stdout_lines": [
"Chocolatey v0.10.10",
"Installing the following packages:",
"rsat",
"By installing you accept licenses for the packages.",
"[NuGet] Installing 'RSAT 2.1'.",
"[NuGet] Successfully installed 'RSAT 2.1'.",
"",
"RSAT v2.1 [Approved]",
"rsat package files install completed. Performing other installation steps.",
"VERBOSE: Exporting function 'Format-FileSize'.",
"VERBOSE: Exporting function 'Get-ChecksumValid'.",
"VERBOSE: Exporting function 'Get-ChocolateyUnzip'.",
"VERBOSE: Exporting function 'Get-ChocolateyWebFile'.",
"VERBOSE: Exporting function 'Get-EnvironmentVariable'.",
"VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.",
"VERBOSE: Exporting function 'Get-FtpFile'.",
"VERBOSE: Exporting function 'Get-OSArchitectureWidth'.",
"VERBOSE: Exporting function 'Get-PackageParameters'.",
"VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.",
"VERBOSE: Exporting function 'Get-ToolsLocation'.",
"VERBOSE: Exporting function 'Get-UACEnabled'.",
"VERBOSE: Exporting function 'Get-UninstallRegistryKey'.",
"VERBOSE: Exporting function 'Get-VirusCheckValid'.",
"VERBOSE: Exporting function 'Get-WebFile'.",
"VERBOSE: Exporting function 'Get-WebFileName'.",
"VERBOSE: Exporting function 'Get-WebHeaders'.",
"VERBOSE: Exporting function 'Install-BinFile'.",
"VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.",
"VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.",
"VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.",
"VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.",
"VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.",
"VERBOSE: Exporting function 'Install-ChocolateyPackage'.",
"VERBOSE: Exporting function 'Install-ChocolateyPath'.",
"VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.",
"VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.",
"VERBOSE: Exporting function 'Install-ChocolateyShortcut'.",
"VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.",
"VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.",
"VERBOSE: Exporting function 'Install-Vsix'.",
"VERBOSE: Exporting function 'Set-EnvironmentVariable'.",
"VERBOSE: Exporting function 'Set-PowerShellExitCode'.",
"VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.",
"VERBOSE: Exporting function 'Test-ProcessAdminRights'.",
"VERBOSE: Exporting function 'Uninstall-BinFile'.",
"VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.",
"VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.",
"VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.",
"VERBOSE: Exporting function 'Update-SessionEnvironment'.",
"VERBOSE: Exporting function 'Write-ChocolateyFailure'.",
"VERBOSE: Exporting function 'Write-ChocolateySuccess'.",
"VERBOSE: Exporting function 'Write-FileUpdateLog'.",
"VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.",
Using module file /Users/tanner/projects/ansible.git/ansible/lib/ansible/modules/windows/win_chocolatey.ps1
"VERBOSE: Exporting alias 'Get-ProcessorBits'.",
"VERBOSE: Exporting alias 'Get-OSBitness'.",
"VERBOSE: Exporting alias 'Get-InstallRegistryKey'.",
"VERBOSE: Exporting alias 'Generate-BinFile'.",
"VERBOSE: Exporting alias 'Add-BinFile'.",
"VERBOSE: Exporting alias 'Start-ChocolateyProcess'.",
"VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.",
"VERBOSE: Exporting alias 'Remove-BinFile'.",
"VERBOSE: Exporting alias 'refreshenv'.",
"VERBOSE: Loading module from path 'C:\\ProgramData\\chocolatey\\extensions\\chocolatey-core\\chocolatey-core.psm1'.",
"VERBOSE: Exporting function 'Get-UninstallRegistryKey'.",
"VERBOSE: Exporting function 'Get-AppInstallLocation'.",
"VERBOSE: Exporting function 'Get-AvailableDriveLetter'.",
"VERBOSE: Exporting function 'Get-EffectiveProxy'.",
"VERBOSE: Exporting function 'Get-PackageCacheLocation'.",
"VERBOSE: Exporting function 'Get-PackageParameters'.",
"VERBOSE: Exporting function 'Get-WebContent'.",
"VERBOSE: Exporting function 'Register-Application'.",
"VERBOSE: Importing function 'Get-AppInstallLocation'.",
"VERBOSE: Importing function 'Get-AvailableDriveLetter'.",
"VERBOSE: Importing function 'Get-EffectiveProxy'.",
"VERBOSE: Importing function 'Get-PackageCacheLocation'.",
"VERBOSE: Importing function 'Get-PackageParameters'.",
"VERBOSE: Importing function 'Get-UninstallRegistryKey'.",
"VERBOSE: Importing function 'Get-WebContent'.",
"VERBOSE: Importing function 'Register-Application'.",
"VERBOSE: Exporting function 'Format-FileSize'.",
EXEC (via pipeline wrapper)
"VERBOSE: Exporting function 'Get-ChecksumValid'.",
"VERBOSE: Exporting function 'Get-ChocolateyUnzip'.",
"VERBOSE: Exporting function 'Get-ChocolateyWebFile'.",
"VERBOSE: Exporting function 'Get-EnvironmentVariable'.",
"VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.",
"VERBOSE: Exporting function 'Get-FtpFile'.",
"VERBOSE: Exporting function 'Get-OSArchitectureWidth'.",
"VERBOSE: Exporting function 'Get-PackageParameters'.",
"VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.",
"VERBOSE: Exporting function 'Get-ToolsLocation'.",
"VERBOSE: Exporting function 'Get-UACEnabled'.",
"VERBOSE: Exporting function 'Get-UninstallRegistryKey'.",
"VERBOSE: Exporting function 'Get-VirusCheckValid'.",
"VERBOSE: Exporting function 'Get-WebFile'.",
"VERBOSE: Exporting function 'Get-WebFileName'.",
"VERBOSE: Exporting function 'Get-WebHeaders'.",
"VERBOSE: Exporting function 'Install-BinFile'.",
"VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.",
"VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.",
"VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.",
"VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.",
"VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.",
"VERBOSE: Exporting function 'Install-ChocolateyPackage'.",
"VERBOSE: Exporting function 'Install-ChocolateyPath'.",
"VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.",
"VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.",
"VERBOSE: Exporting function 'Install-ChocolateyShortcut'.",
"VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.",
"VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.",
"VERBOSE: Exporting function 'Install-Vsix'.",
"VERBOSE: Exporting function 'Set-EnvironmentVariable'.",
"VERBOSE: Exporting function 'Set-PowerShellExitCode'.",
"VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.",
"VERBOSE: Exporting function 'Test-ProcessAdminRights'.",
"VERBOSE: Exporting function 'Uninstall-BinFile'.",
"VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.",
"VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.",
"VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.",
"VERBOSE: Exporting function 'Update-SessionEnvironment'.",
"VERBOSE: Exporting function 'Write-ChocolateyFailure'.",
"VERBOSE: Exporting function 'Write-ChocolateySuccess'.",
"VERBOSE: Exporting function 'Write-FileUpdateLog'.",
"VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.",
"VERBOSE: Exporting function 'Get-AppInstallLocation'.",
"VERBOSE: Exporting function 'Get-AvailableDriveLetter'.",
"VERBOSE: Exporting function 'Get-EffectiveProxy'.",
"VERBOSE: Exporting function 'Get-PackageCacheLocation'.",
"VERBOSE: Exporting function 'Get-WebContent'.",
"VERBOSE: Exporting function 'Register-Application'.",
"VERBOSE: Exporting alias 'Get-ProcessorBits'.",
"VERBOSE: Exporting alias 'Get-OSBitness'.",
"VERBOSE: Exporting alias 'Get-InstallRegistryKey'.",
"VERBOSE: Exporting alias 'Generate-BinFile'.",
"VERBOSE: Exporting alias 'Add-BinFile'.",
"VERBOSE: Exporting alias 'Start-ChocolateyProcess'.",
"VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.",
"VERBOSE: Exporting alias 'Remove-BinFile'.",
"VERBOSE: Exporting alias 'refreshenv'.",
"VERBOSE: Importing function 'Format-FileSize'.",
"VERBOSE: Importing function 'Get-AppInstallLocation'.",
"VERBOSE: Importing function 'Get-AvailableDriveLetter'.",
"VERBOSE: Importing function 'Get-ChecksumValid'.",
"VERBOSE: Importing function 'Get-ChocolateyUnzip'.",
"VERBOSE: Importing function 'Get-ChocolateyWebFile'.",
"VERBOSE: Importing function 'Get-EffectiveProxy'.",
"VERBOSE: Importing function 'Get-EnvironmentVariable'.",
"VERBOSE: Importing function 'Get-EnvironmentVariableNames'.",
"VERBOSE: Importing function 'Get-FtpFile'.",
"VERBOSE: Importing function 'Get-OSArchitectureWidth'.",
"VERBOSE: Importing function 'Get-PackageCacheLocation'.",
"VERBOSE: Importing function 'Get-PackageParameters'.",
"VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.",
"VERBOSE: Importing function 'Get-ToolsLocation'.",
"VERBOSE: Importing function 'Get-UACEnabled'.",
"VERBOSE: Importing function 'Get-UninstallRegistryKey'.",
"VERBOSE: Importing function 'Get-VirusCheckValid'.",
"VERBOSE: Importing function 'Get-WebContent'.",
"VERBOSE: Importing function 'Get-WebFile'.",
"VERBOSE: Importing function 'Get-WebFileName'.",
"VERBOSE: Importing function 'Get-WebHeaders'.",
"VERBOSE: Importing function 'Install-BinFile'.",
"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-ChocolateyShortcut'.",
"VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.",
"VERBOSE: Importing function 'Install-ChocolateyZipPackage'.",
"VERBOSE: Importing function 'Install-Vsix'.",
"VERBOSE: Importing function 'Register-Application'.",
"VERBOSE: Importing function 'Set-EnvironmentVariable'.",
"VERBOSE: Importing function 'Set-PowerShellExitCode'.",
"VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.",
"VERBOSE: Importing function 'Test-ProcessAdminRights'.",
"VERBOSE: Importing function 'Uninstall-BinFile'.",
"VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.",
"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-FileUpdateLog'.",
"VERBOSE: Importing function 'Write-FunctionCallLogMessage'.",
"VERBOSE: Importing alias 'Add-BinFile'.",
"VERBOSE: Importing alias 'Generate-BinFile'.",
"VERBOSE: Importing alias 'Get-InstallRegistryKey'.",
"VERBOSE: Importing alias 'Get-OSBitness'.",
"VERBOSE: Importing alias 'Get-ProcessorBits'.",
"VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.",
"VERBOSE: Importing alias 'refreshenv'.",
"VERBOSE: Importing alias 'Remove-BinFile'.",
"VERBOSE: Importing alias 'Start-ChocolateyProcess'.",
"Windows 10 Detected",
"VERBOSE: GET https://www.microsoft.com//download/confirmation.aspx?id=45520 with 0-byte payload",
"VERBOSE: received 136688-byte response of content type text/html",
"x64 Detected",
"Downloading RSAT 64 bit",
" from 'https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS_1709-x64.msu'",
"",
"Download of WindowsTH-RSAT_WS_1709-x64.msu (94.49 MB) completed.",
"Installing RSAT...",
"WARNING: User (you) cancelled the installation.",
"ERROR: Running [\"C:\\Windows\\System32\\wusa.exe\" \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\chocolatey\\RSAT\\2.1\\WindowsTH-RSAT_WS_1709-x64.msu\" /quiet /norestart ] was not successful. Exit code was '5'. Exit code indicates the following: User (you) cancelled the installation..",
"The install of rsat was NOT successful.",
"Error while running 'C:\\ProgramData\\chocolatey\\lib\\RSAT\\tools\\chocolateyinstall.ps1'.",
" See log for details.",
"",
"Chocolatey installed 0/1 packages. 1 packages failed.",
" See the log for details (C:\\ProgramData\\chocolatey\\logs\\chocolatey.log).",
"",
"Failures",
" - rsat (exited 5) - Error while running 'C:\\ProgramData\\chocolatey\\lib\\RSAT\\tools\\chocolateyinstall.ps1'.",
" See log for details."
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment