Skip to content

Instantly share code, notes, and snippets.

@chaim1221
Created December 1, 2016 00:40
Show Gist options
  • Save chaim1221/6d25c546ff0c71e404ab6dff1692e5cf to your computer and use it in GitHub Desktop.
Save chaim1221/6d25c546ff0c71e404ab6dff1692e5cf to your computer and use it in GitHub Desktop.
Scroll down for Chocolatey log...
[SWDevTools] C:\Windows\system32> Choco.exe install 'UrlRewrite' --force -y
Chocolatey v0.10.3
Installing the following packages:
UrlRewrite
By installing you accept licenses for the packages.
UrlRewrite v2.0.20160209 (forced) [Approved]
urlrewrite package files install completed. Performing other installation steps.
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading UrlRewrite 64 bit
from 'https://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi'
Progress: 100% - Completed download of C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_am
d64.msi (5.98 MB).
Download of rewrite_amd64.msi (5.98 MB) completed.
Hashes match.
Installing UrlRewrite...
ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.2016
0209\rewrite_amd64.msi" /qn /norestart /l*v "C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\UrlRewrite.MsiIns
tall.log" ] was not successful. Exit code was '1603'. See log for possible error messages.
The install of urlrewrite was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\UrlRewrite\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
- urlrewrite (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1'
.
See log for details.
Chocolatey log...
2016-12-01 00:34:37,321 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco,
Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2016-12-01 00:34:37,321 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco,
Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2016-12-01 00:34:37,337 [DEBUG] - XmlConfiguration is now operational
2016-12-01 00:34:37,509 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.update"
.
2016-12-01 00:34:37,525 [INFO ] - ============================================================
2016-12-01 00:34:37,525 [INFO ] - Chocolatey v0.10.3
2016-12-01 00:34:37,525 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2016-12-01 00:34:37,525 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2016-12-01 00:34:37,525 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2016-12-01 00:34:37,540 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install UrlRewrite --force -y
2016-12-01 00:34:37,540 [DEBUG] - Received arguments: install UrlRewrite --force -y
2016-12-01 00:34:37,587 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2016-12-01 00:34:37,587 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2016-12-01 00:34:37,603 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2016-12-01 00:34:37,665 [DEBUG] - The source 'https://chocolatey.org/api/v2/;\\prod-vm-tools\BoxStarter' evaluated to a
'normal' source type
2016-12-01 00:34:37,665 [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.
2016-12-01 00:34:37,665 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\celiyah\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/;\\prod-vm-tools\BoxStarter'|
SourceType='normal'|Debug='False'|Verbose='False'|Force='True'|
Noop='False'|HelpRequested='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='UrlRewrite'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='UrlRewrite'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.3.0'|
Information.ChocolateyProductVersion='0.10.3'|
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
2016-12-01 00:34:37,665 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2016-12-01 00:34:37,665 [INFO ] - Installing the following packages:
2016-12-01 00:34:37,681 [INFO ] - UrlRewrite
2016-12-01 00:34:37,681 [INFO ] - By installing you accept licenses for the packages.
2016-12-01 00:34:37,790 [DEBUG] - UrlRewrite v2.0.20160209 already installed. Forcing reinstall.
2016-12-01 00:34:38,009 [DEBUG] - Backing up existing UrlRewrite prior to operation.
2016-12-01 00:34:38,009 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209'
to 'C:\ProgramData\chocolatey\lib-bkp\UrlRewrite.2.0.20160209'
2016-12-01 00:34:40,025 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209
".
2016-12-01 00:34:40,025 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\UrlRewrite.2.0.20160209\UrlRewr
ite.2.0.20160209.nupkg"
to "C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209\UrlRewrite.2.0.20160209.nupkg".
2016-12-01 00:34:40,025 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209
\tools".
2016-12-01 00:34:40,025 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\UrlRewrite.2.0.20160209\tools\c
hocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209\tools\chocolateyinstall.ps1".
2016-12-01 00:34:40,025 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\UrlRewrite.2.0.20160209\tools\c
hocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209\tools\chocolateyuninstall.ps1".
2016-12-01 00:34:41,540 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209'
2016-12-01 00:34:41,540 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209\UrlRewrite.2.0.20160209
.nupkg'
with checksum '653366AC39BAEDF572FC00C1AD1E107A'
2016-12-01 00:34:41,540 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209\tools\chocolateyinstall
.ps1'
with checksum 'DB35576160DFEA4BE1E7799DDFC7DFC1'
2016-12-01 00:34:41,540 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209\tools\chocolateyuninsta
ll.ps1'
with checksum '85387CC6593ECDF16D5D153C343AD855'
2016-12-01 00:34:41,681 [DEBUG] - Attempting to delete directory "C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRew
rite\2.0.20160209".
2016-12-01 00:34:42,134 [INFO ] -
UrlRewrite v2.0.20160209 (forced) [Approved]
2016-12-01 00:34:42,150 [INFO ] - urlrewrite package files install completed. Performing other installation steps.
2016-12-01 00:34:42,181 [DEBUG] - Setting installer args for UrlRewrite
2016-12-01 00:34:42,181 [DEBUG] - Setting package parameters for UrlRewrite
2016-12-01 00:34:42,196 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1':
2016-12-01 00:34:42,196 [DEBUG] -
$ErrorActionPreference = 'Stop';
$packageName= 'UrlRewrite'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'http://download.microsoft.com/download/5/4/9/54980B19-9C64-4E8E-A69C-615A88DFF8B7/rewrite_x86.msi'
$url64 = 'http://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi'
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'MSI'
url = $url
url64bit = $url64
silentArgs = "/qn /norestart /l*v `"$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`""
validExitCodes= @(0, 3010, 1641)
softwareName = 'IIS URL Rewrite Module 2'
checksum = '154a645dd10a9b22bf52ad161bac5199d284d5ec'
checksumType = 'sha1'
checksum64 = '6a98b994adcc2e8d21507bf2b8baffb402c17395'
checksumType64= 'sha1'
}
Install-ChocolateyPackage @packageArgs
2016-12-01 00:34:42,212 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.Curr
entCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\c
hocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageS
cript 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''
']
2016-12-01 00:34:42,212 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, P
ublicKeyToken=31bf3856ad364e35, requested by ''
2016-12-01 00:34:42,446 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.42000'
.
2016-12-01 00:34:42,571 [DEBUG] - Loading community extensions
2016-12-01 00:34:42,587 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\mm-choco.extension\Get-AppInstallLoca
tion.psm1'
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\mm-choco.exte
nsion\Get-AppInstallLocation.psm1'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2016-12-01 00:34:42,587 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\mm-choco.extension\Register-Applicati
on.psm1'
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\mm-choco.exte
nsion\Register-Application.psm1'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2016-12-01 00:34:42,587 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2016-12-01 00:34:42,603 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2016-12-01 00:34:42,618 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2016-12-01 00:34:42,650 [DEBUG] - Running 'ChocolateyScriptRunner' for UrlRewrite v2.0.20160209 with packageScript 'C:\
ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\UrlRew
rite', installArguments: '', packageParameters: '',
2016-12-01 00:34:42,665 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1'
2016-12-01 00:34:42,712 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/5/4/9/
54980B19-9C64-4E8E-A69C-615A88DFF8B7/rewrite_x86.msi' -url64bit 'http://download.microsoft.com/download/C/9/E/C9E8180D-
4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi' -checksum '154a645dd10a9b22bf52ad161bac5199d284d5ec' -checksum64 '6a98b9
94adcc2e8d21507bf2b8baffb402c17395' -checksumType 'sha1' -packageName 'UrlRewrite' -fileType 'MSI' -checksumType64 'sha
1' -validExitCodes '0 3010 1641' -silentArgs '/qn /norestart /l*v "C:\Users\celiyah\AppData\Local\Temp\chocolatey\choco
latey\UrlRewrite\UrlRewrite.MsiInstall.log"'
2016-12-01 00:34:42,759 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'UrlRewrite' -fileFullPath 'C:\Users\celiy
ah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\UrlRewriteInstall.MSI' -url 'http://download.microsoft.com/dow
nload/5/4/9/54980B19-9C64-4E8E-A69C-615A88DFF8B7/rewrite_x86.msi' -url64bit 'http://download.microsoft.com/download/C/9
/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi' -checksum '154a645dd10a9b22bf52ad161bac5199d284d5ec' -checks
umType 'sha1' -checksum64 '6a98b994adcc2e8d21507bf2b8baffb402c17395' -checksumType64 'sha1' -options 'System.Collection
s.Hashtable' -getOriginalFileName 'True'
2016-12-01 00:34:42,775 [DEBUG] - Running Get-ProcessorBits -compare '64'
2016-12-01 00:34:42,790 [DEBUG] - CPU is 64 bit
2016-12-01 00:34:42,790 [DEBUG] - Setting url to 'http://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-
776990D8BCA9/rewrite_amd64.msi' and bitPackage to 64
2016-12-01 00:34:42,790 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/C/9/E/C9E8180D-4
E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi' -ErrorAction 'Stop'
2016-12-01 00:34:42,822 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2016-12-01 00:34:42,837 [DEBUG] - Request Headers:
2016-12-01 00:34:42,837 [DEBUG] - 'Accept':'*/*'
2016-12-01 00:34:42,837 [DEBUG] - 'User-Agent':'chocolatey command line'
2016-12-01 00:34:42,993 [DEBUG] - Response Headers:
2016-12-01 00:34:43,009 [DEBUG] - 'Content-Disposition':'attachment'
2016-12-01 00:34:43,009 [DEBUG] - 'Connection':'keep-alive'
2016-12-01 00:34:43,009 [DEBUG] - 'Accept-Ranges':'bytes'
2016-12-01 00:34:43,009 [DEBUG] - 'Content-Length':'6275072'
2016-12-01 00:34:43,009 [DEBUG] - 'Content-Type':'application/octet-stream'
2016-12-01 00:34:43,009 [DEBUG] - 'Date':'Thu, 01 Dec 2016 00:34:43 GMT'
2016-12-01 00:34:43,009 [DEBUG] - 'ETag':'"cec2ab5a3084d01:0"'
2016-12-01 00:34:43,009 [DEBUG] - 'Last-Modified':'Fri, 01 May 2015 17:00:40 GMT'
2016-12-01 00:34:43,009 [DEBUG] - 'Server':'Microsoft-IIS/8.5'
2016-12-01 00:34:43,025 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2016-12-01 00:34:43,040 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/C/9/E/C9E8180D-
4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi' -defaultName 'UrlRewriteInstall.MSI'
2016-12-01 00:34:43,134 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/C
/9/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi'
2016-12-01 00:34:43,134 [DEBUG] - File name determined from url is 'rewrite_amd64.msi'
2016-12-01 00:34:43,150 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/C/9/E/C9E8180D-4
E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi' -ErrorAction 'Stop'
2016-12-01 00:34:43,165 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2016-12-01 00:34:43,165 [DEBUG] - Request Headers:
2016-12-01 00:34:43,165 [DEBUG] - 'Accept':'*/*'
2016-12-01 00:34:43,165 [DEBUG] - 'User-Agent':'chocolatey command line'
2016-12-01 00:34:43,228 [DEBUG] - Response Headers:
2016-12-01 00:34:43,228 [DEBUG] - 'Content-Disposition':'attachment'
2016-12-01 00:34:43,228 [DEBUG] - 'Connection':'keep-alive'
2016-12-01 00:34:43,228 [DEBUG] - 'Accept-Ranges':'bytes'
2016-12-01 00:34:43,228 [DEBUG] - 'Content-Length':'6275072'
2016-12-01 00:34:43,228 [DEBUG] - 'Content-Type':'application/octet-stream'
2016-12-01 00:34:43,228 [DEBUG] - 'Date':'Thu, 01 Dec 2016 00:34:43 GMT'
2016-12-01 00:34:43,228 [DEBUG] - 'ETag':'"cec2ab5a3084d01:0"'
2016-12-01 00:34:43,228 [DEBUG] - 'Last-Modified':'Fri, 01 May 2015 17:00:40 GMT'
2016-12-01 00:34:43,228 [DEBUG] - 'Server':'Microsoft-IIS/8.5'
2016-12-01 00:34:43,243 [INFO ] - Downloading UrlRewrite 64 bit
from 'https://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi'
2016-12-01 00:34:43,243 [INFO ] -
2016-12-01 00:34:43,275 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/C/9/E/C9E8180D-4E51
-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi' -fileName 'C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.201
60209\rewrite_amd64.msi' -options 'System.Collections.Hashtable'
2016-12-01 00:34:43,275 [DEBUG] - Setting request timeout to 30000
2016-12-01 00:34:43,275 [DEBUG] - Setting read/write timeout to 2700000
2016-12-01 00:34:43,275 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2016-12-01 00:34:43,447 [DEBUG] - Downloading https://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-776
990D8BCA9/rewrite_amd64.msi to C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi
2016-12-01 00:34:44,822 [INFO ] -
2016-12-01 00:34:44,822 [INFO ] - Download of rewrite_amd64.msi (5.98 MB) completed.
2016-12-01 00:34:44,822 [INFO ] -
2016-12-01 00:34:47,853 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https:
//chocolatey.org/compare
2016-12-01 00:34:47,853 [DEBUG] - Verifying package provided checksum of '6a98b994adcc2e8d21507bf2b8baffb402c17395' for
'C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi'.
2016-12-01 00:34:47,853 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRe
write\2.0.20160209\rewrite_amd64.msi' -checksum '6a98b994adcc2e8d21507bf2b8baffb402c17395' -checksumType 'sha1' -origin
alUrl 'https://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi'
2016-12-01 00:34:47,868 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2016-12-01 00:34:47,868 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6a98
b994adcc2e8d21507bf2b8baffb402c17395" -t="sha1" -f="C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160
209\rewrite_amd64.msi"]
2016-12-01 00:34:47,931 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6a98b994adcc2e
8d21507bf2b8baffb402c17395" -t="sha1" -f="C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrit
e_amd64.msi"] exited with '0'.
2016-12-01 00:34:47,962 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'UrlRewrite' -fileType 'MSI' -s
ilentArgs '/qn /norestart /l*v "C:\Users\celiyah\AppData\Local\Temp\chocolatey\chocolatey\UrlRewrite\UrlRewrite.MsiInst
all.log"' -file 'C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi' -validExitCo
des '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2016-12-01 00:34:47,962 [INFO ] - Installing UrlRewrite...
2016-12-01 00:34:47,962 [INFO ] -
2016-12-01 00:34:47,993 [DEBUG] - Ensuring 'C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite' exists
2016-12-01 00:34:48,025 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirector
y 'C:\Users\celiyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209' -statements '/i "C:\Users\celiyah\AppData\Lo
cal\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi" /qn /norestart /l*v "C:\Users\celiyah\AppData\Local\Temp
\chocolatey\UrlRewrite\UrlRewrite.MsiInstall.log" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2016-12-01 00:34:48,025 [DEBUG] - Elevating Permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\cel
iyah\AppData\Local\Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi" /qn /norestart /l*v "C:\Users\celiyah\App
Data\Local\Temp\chocolatey\UrlRewrite\UrlRewrite.MsiInstall.log" ]. This may take a while, depending on the statements.
2016-12-01 00:34:48,040 [DEBUG] - Setting RunAs for elevation
2016-12-01 00:34:48,275 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\celiyah\AppData\Local\Temp\ch
ocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi" /qn /norestart /l*v "C:\Users\celiyah\AppData\Local\Temp\chocolatey
\UrlRewrite\UrlRewrite.MsiInstall.log" ] exited with '1603'.
2016-12-01 00:34:48,290 [ERROR] - ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\celiyah\AppData\Local\
Temp\chocolatey\UrlRewrite\2.0.20160209\rewrite_amd64.msi" /qn /norestart /l*v "C:\Users\celiyah\AppData\Local\Temp\cho
colatey\UrlRewrite\UrlRewrite.MsiInstall.log" ] was not successful. Exit code was '1603'. See log for possible error me
ssages.
2016-12-01 00:34:48,306 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.Curre
ntCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\ch
ocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageSc
ript 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''
] exited with '1603'.
2016-12-01 00:34:48,306 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2016-12-01 00:34:48,322 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2016-12-01 00:34:48,384 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\UrlRewrite'
2016-12-01 00:34:48,400 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite\UrlRewrite.nupkg'
with checksum '653366AC39BAEDF572FC00C1AD1E107A'
2016-12-01 00:34:48,400 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite\UrlRewrite.nuspec'
with checksum '259E6E0DEB8E6366DD2D3D0014796D1B'
2016-12-01 00:34:48,400 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall.ps1'
with checksum 'DB35576160DFEA4BE1E7799DDFC7DFC1'
2016-12-01 00:34:48,400 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyuninstall.ps1'
with checksum '85387CC6593ECDF16D5D153C343AD855'
2016-12-01 00:34:48,400 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\UrlRewrite.2.0.20160
209\.files.update".
2016-12-01 00:34:48,400 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\UrlRewrite.2.0.20160
209\.sxs".
2016-12-01 00:34:48,400 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\UrlRewrite.2.0.20160
209\.pin".
2016-12-01 00:34:48,400 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\UrlRewrite".
2016-12-01 00:34:48,415 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2016-12-01 00:34:48,415 [ERROR] - The install of urlrewrite was NOT successful.
2016-12-01 00:34:48,415 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\UrlRewrite\tools\chocolateyinstall
.ps1'.
See log for details.
2016-12-01 00:34:48,415 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\UrlRewrite'
to 'C:\ProgramData\chocolatey\lib-bad\UrlRewrite'
2016-12-01 00:34:50,431 [DEBUG] - Attempting rollback
2016-12-01 00:34:50,431 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\UrlRewrite.2.0.20160209'
to 'C:\ProgramData\chocolatey\lib\UrlRewrite.2.0.20160209'
2016-12-01 00:34:52,447 [DEBUG] - Attempting to delete file "C:\Users\celiyah\AppData\Local\NuGet\Cache\UrlRewrite.2.0.
20160209.nupkg".
2016-12-01 00:34:52,447 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2016-12-01 00:34:52,447 [INFO ] -
2016-12-01 00:34:52,447 [ERROR] - Failures
2016-12-01 00:34:52,462 [ERROR] - - urlrewrite (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\UrlR
ewrite\tools\chocolateyinstall.ps1'.
See log for details.
@bcc
Copy link

bcc commented Dec 1, 2016

Looks like this is due to the package already being installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment