Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install-ChocolateyPackage redirects to https when not supported #1221

Open
AdmiringWorm opened this issue Mar 30, 2017 · 10 comments
Open

Install-ChocolateyPackage redirects to https when not supported #1221

AdmiringWorm opened this issue Mar 30, 2017 · 10 comments

Comments

@AdmiringWorm
Copy link
Member

AdmiringWorm commented Mar 30, 2017

What You Are Seeing?

Choco tries to redirect http to https when the https version just redirects back to http.
This messes up downloads that needs to set the Referer header (since it clears the referer header on downgrades).

What is Expected?

Choco to not redirect to https when it only redirects back to http.

How Did You Get This To Happen? (Steps to Reproduce)

Tried updating the nlite package with the following code:

$ErrorActionPreference = 'Stop';

$binRoot = Get-ToolsLocation

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  url            = 'http://www.nliteos.com/download/nLite-1.4.9.3.setup.exe'
  softwareName   = ''
  checksum = '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08'
  checksumType   = 'sha256'
  silentArgs     = '/VERYSILENT /DIR=$binRoot\nLite'
  validExitCodes = @(0)
  Options = @{
    Headers = @{
      referer = "http://www.nliteos.com/download.html"
    }
  }
}

Install-ChocolateyPackage @packageArgs

then try the usual choco install

Environment

OS: Windows Server 2012R2 (Test Environment)
Choco v: 0.10.4-beta1

Output Log

2017-03-28 12:44:59,752 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-28 12:44:59,752 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-28 12:44:59,798 [DEBUG] - XmlConfiguration is now operational
2017-03-28 12:45:00,194 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config".
2017-03-28 12:45:00,804 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
 with "C:\ProgramData\chocolatey\config\chocolatey.config.update". Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2017-03-28 12:45:00,849 [INFO ] - ============================================================
2017-03-28 12:45:00,849 [INFO ] - Chocolatey v0.10.4-beta1-138-gfeb0829
2017-03-28 12:45:00,864 [DEBUG] - Chocolatey is running on Windows v 6.2.9200.0
2017-03-28 12:45:00,864 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-28 12:45:00,864 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-28 12:45:00,880 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" feature enable -n autouninstaller
2017-03-28 12:45:00,880 [DEBUG] - Received arguments: feature enable -n autouninstaller
2017-03-28 12:45:00,987 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-28 12:45:01,047 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-28 12:45:01,367 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-28 12:45:01,459 [DEBUG] - The source '' evaluated to a 'normal' source type
2017-03-28 12:45:01,459 [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.
2017-03-28 12:45:01,475 [DEBUG] - Configuration: CommandName='feature'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
SourceType='normal'|Debug='False'|Verbose='False'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='enable'|AllVersions='False'|
SkipPackageInstallProvider='False'|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.2.9200.0'|
Information.PlatformName='Windows Server 2012'|
Information.ChocolateyVersion='0.10.4.0'|
Information.ChocolateyProductVersion='0.10.4-beta1-138-gfeb0829'|
Information.FullName='choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='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.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='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'|
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'|
FeatureCommand.Name='autouninstaller'|FeatureCommand.Command='enable'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
Proxy.BypassOnLocal='True'|
2017-03-28 12:45:01,475 [DEBUG] - _ Chocolatey:ChocolateyFeatureCommand - Normal Run Mode _
2017-03-28 12:45:01,475 [INFO ] - autoUninstaller was enabled by default. Explicitly setting value.
2017-03-28 12:45:01,489 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
 with "C:\ProgramData\chocolatey\config\chocolatey.config.update". Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2017-03-28 12:45:01,489 [WARN ] - Enabled autoUninstaller
2017-03-28 12:45:01,489 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-28 12:45:01,489 [DEBUG] - Exiting with 0
2017-03-28 12:45:01,824 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-28 12:45:01,824 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-28 12:45:01,855 [DEBUG] - XmlConfiguration is now operational
2017-03-28 12:45:02,175 [INFO ] - ============================================================
2017-03-28 12:45:02,190 [INFO ] - Chocolatey v0.10.4-beta1-138-gfeb0829
2017-03-28 12:45:02,190 [DEBUG] - Chocolatey is running on Windows v 6.2.9200.0
2017-03-28 12:45:02,205 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-28 12:45:02,205 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-28 12:45:02,205 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" feature enable -n allowGlobalConfirmation
2017-03-28 12:45:02,205 [DEBUG] - Received arguments: feature enable -n allowGlobalConfirmation
2017-03-28 12:45:02,282 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-28 12:45:02,296 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-28 12:45:02,312 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-28 12:45:02,388 [DEBUG] - The source '' evaluated to a 'normal' source type
2017-03-28 12:45:02,388 [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.
2017-03-28 12:45:02,403 [DEBUG] - Configuration: CommandName='feature'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
SourceType='normal'|Debug='False'|Verbose='False'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='enable'|AllVersions='False'|
SkipPackageInstallProvider='False'|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.2.9200.0'|
Information.PlatformName='Windows Server 2012'|
Information.ChocolateyVersion='0.10.4.0'|
Information.ChocolateyProductVersion='0.10.4-beta1-138-gfeb0829'|
Information.FullName='choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='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.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='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'|
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'|
FeatureCommand.Name='allowGlobalConfirmation'|
FeatureCommand.Command='enable'|ConfigCommand.Command='unknown'|
PinCommand.Command='unknown'|Proxy.BypassOnLocal='True'|
2017-03-28 12:45:02,403 [DEBUG] - _ Chocolatey:ChocolateyFeatureCommand - Normal Run Mode _
2017-03-28 12:45:02,420 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
 with "C:\ProgramData\chocolatey\config\chocolatey.config.update". Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2017-03-28 12:45:02,420 [WARN ] - Enabled allowGlobalConfirmation
2017-03-28 12:45:02,420 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-28 12:45:02,434 [DEBUG] - Exiting with 0
2017-03-28 12:45:02,769 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-28 12:45:02,769 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-28 12:45:02,799 [DEBUG] - XmlConfiguration is now operational
2017-03-28 12:45:03,134 [INFO ] - ============================================================
2017-03-28 12:45:03,134 [INFO ] - Chocolatey v0.10.4-beta1-138-gfeb0829
2017-03-28 12:45:03,134 [DEBUG] - Chocolatey is running on Windows v 6.2.9200.0
2017-03-28 12:45:03,150 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-28 12:45:03,150 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-28 12:45:03,150 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" feature enable -n logEnvironmentValues
2017-03-28 12:45:03,150 [DEBUG] - Received arguments: feature enable -n logEnvironmentValues
2017-03-28 12:45:03,256 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-28 12:45:03,271 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-28 12:45:03,271 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-28 12:45:03,364 [DEBUG] - The source '' evaluated to a 'normal' source type
2017-03-28 12:45:03,364 [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.
2017-03-28 12:45:03,378 [DEBUG] - Configuration: CommandName='feature'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
SourceType='normal'|Debug='False'|Verbose='False'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='enable'|AllVersions='False'|
SkipPackageInstallProvider='False'|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.2.9200.0'|
Information.PlatformName='Windows Server 2012'|
Information.ChocolateyVersion='0.10.4.0'|
Information.ChocolateyProductVersion='0.10.4-beta1-138-gfeb0829'|
Information.FullName='choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='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.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='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'|
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'|
FeatureCommand.Name='logEnvironmentValues'|
FeatureCommand.Command='enable'|ConfigCommand.Command='unknown'|
PinCommand.Command='unknown'|Proxy.BypassOnLocal='True'|
2017-03-28 12:45:03,378 [DEBUG] - _ Chocolatey:ChocolateyFeatureCommand - Normal Run Mode _
2017-03-28 12:45:03,393 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
 with "C:\ProgramData\chocolatey\config\chocolatey.config.update". Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2017-03-28 12:45:03,393 [WARN ] - Enabled logEnvironmentValues
2017-03-28 12:45:03,393 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-28 12:45:03,409 [DEBUG] - Exiting with 0
2017-03-30 15:19:39,885 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-30 15:19:39,885 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-30 15:19:39,917 [DEBUG] - XmlConfiguration is now operational
2017-03-30 15:19:40,323 [INFO ] - ============================================================
2017-03-30 15:19:40,323 [INFO ] - Chocolatey v0.10.4-beta1-138-gfeb0829
2017-03-30 15:19:40,339 [DEBUG] - Chocolatey is running on Windows v 6.2.9200.0
2017-03-30 15:19:40,339 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-30 15:19:40,339 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-30 15:19:40,354 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install -fy nlite --allow-downgrade --version 1.4.9.3 --source 'c:\packages;http://chocolatey.org/api/v2/'
2017-03-30 15:19:40,354 [DEBUG] - Received arguments: install -fy nlite --allow-downgrade --version 1.4.9.3 --source 'c:\packages;http://chocolatey.org/api/v2/'
2017-03-30 15:19:40,449 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-30 15:19:40,449 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-30 15:19:40,463 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-30 15:19:40,557 [DEBUG] - The source 'c:\packages;http://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2017-03-30 15:19:40,557 [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.
2017-03-30 15:19:40,589 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\packages;http://chocolatey.org/api/v2/'|
SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='nlite'|Version='1.4.9.3'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='nlite'|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.2.9200.0'|
Information.PlatformName='Windows Server 2012'|
Information.ChocolateyVersion='0.10.4.0'|
Information.ChocolateyProductVersion='0.10.4-beta1-138-gfeb0829'|
Information.FullName='choco, Version=0.10.4.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='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='True'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='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'|
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'|
FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
Proxy.BypassOnLocal='True'|
2017-03-30 15:19:40,589 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2017-03-30 15:19:40,604 [INFO ] - Installing the following packages:
2017-03-30 15:19:40,604 [INFO ] - nlite
2017-03-30 15:19:40,604 [INFO ] - By installing you accept licenses for the packages.
2017-03-30 15:19:40,604 [DEBUG] - Current environment values (may contain sensitive data):
2017-03-30 15:19:40,604 [DEBUG] -   * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2017-03-30 15:19:40,604 [DEBUG] -   * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2017-03-30 15:19:40,604 [DEBUG] -   * 'ChocolateyLastPathUpdate'='Tue Mar 28 12:44:41 2017' ('User')
2017-03-30 15:19:40,604 [DEBUG] -   * 'trigger'='1' ('User')
2017-03-30 15:19:40,604 [DEBUG] -   * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'USERNAME'='SYSTEM' ('Machine')
2017-03-30 15:19:40,604 [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')
2017-03-30 15:19:40,604 [DEBUG] -   * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'TMP'='C:\Windows\TEMP' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'OS'='Windows_NT' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'windir'='C:\Windows' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'TEMP'='C:\Windows\TEMP' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'NUMBER_OF_PROCESSORS'='2' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'PROCESSOR_LEVEL'='16' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 4 Stepping 2, AuthenticAMD' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'PROCESSOR_REVISION'='0402' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'HOME'='C:\Users\Administrator' ('Machine')
2017-03-30 15:19:40,604 [DEBUG] -   * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2017-03-30 15:19:50,214 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'Wget\legal'.
2017-03-30 15:19:50,214 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'Wget\legal'.
2017-03-30 15:19:50,214 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'Wget\tools'.
2017-03-30 15:19:50,214 [DEBUG] - [NuGet] Added file 'wget-1.19.1-win32_x32.zip' to folder 'Wget\tools'.
2017-03-30 15:19:50,229 [DEBUG] - [NuGet] Added file 'wget-1.19.1-win64_x64.zip' to folder 'Wget\tools'.
2017-03-30 15:19:50,323 [DEBUG] - [NuGet] Added file 'Wget.nuspec' to folder 'Wget'.
2017-03-30 15:19:50,323 [DEBUG] - [NuGet] Added file 'Wget.nupkg' to folder 'Wget'.
2017-03-30 15:19:50,323 [INFO ] - 
Wget v1.19.1 (forced) [Approved]
2017-03-30 15:19:50,354 [INFO ] - wget package files install completed. Performing other installation steps.
2017-03-30 15:19:50,448 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\Wget\tools\chocolateyinstall.ps1':
2017-03-30 15:19:50,464 [DEBUG] - $ErrorActionPreference = 'Stop';

$packageName= 'wget'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$zipFile = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne 'true') {
         Write-Host "Getting x64 bit zip"; Get-Item "$toolsDir\*_x64.zip"
} else { Write-Host "Getting x32 bit zip"; Get-Item "$toolsDir\*_x32.zip" }

Get-ChocolateyUnzip -FileFullPath $zipfile -Destination $toolsDir

# don't need zips anymore
Remove-Item ($toolsDir + '\*.' + 'zip')

2017-03-30 15:19:50,588 [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\Wget\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2017-03-30 15:19:50,604 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2017-03-30 15:19:52,260 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-30 15:19:52,510 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-30 15:19:52,543 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-30 15:19:52,557 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-03-30 15:19:52,573 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-03-30 15:19:52,589 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-03-30 15:19:52,698 [DEBUG] - Running 'ChocolateyScriptRunner' for Wget v1.19.1 with packageScript 'C:\ProgramData\chocolatey\lib\Wget\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\Wget', installArguments: '', packageParameters: '',
2017-03-30 15:19:52,729 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\Wget\tools\chocolateyinstall.ps1'
2017-03-30 15:19:52,777 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2017-03-30 15:19:52,823 [INFO ] - Getting x64 bit zip
2017-03-30 15:19:52,823 [INFO ] - 
2017-03-30 15:19:52,917 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\Wget\tools\wget-1.19.1-win64_x64.zip' -destination 'C:\ProgramData\chocolatey\lib\Wget\tools' 
2017-03-30 15:19:52,917 [DEBUG] - Running Get-ProcessorBits -compare '32' 
2017-03-30 15:19:52,933 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\Wget\tools\wget-1.19.1-win64_x64.zip to C:\ProgramData\chocolatey\lib\Wget\tools...
2017-03-30 15:19:52,950 [INFO ] - 
2017-03-30 15:19:52,982 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2017-03-30 15:19:52,995 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\Wget\tools" -y "C:\ProgramData\chocolatey\lib\Wget\tools\wget-1.19.1-win64_x64.zip"]
2017-03-30 15:19:54,323 [INFO ] - VERBOSE: 
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: 7-Zip [32] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: 
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: Scanning the drive for archives:
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: 1 file, 2055503 bytes (2008 KiB)
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: 
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\Wget\tools\wget-1.19.1-win64_x64.zip
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: --
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\Wget\tools\wget-1.19.1-win64_x64.zip
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: Type = zip
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: Physical Size = 2055503
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: 
2017-03-30 15:19:54,339 [INFO ] - VERBOSE: - COPYING
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: - wget.exe
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: - wget.exe.debug
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: - wget.html
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: - wget.ini.sample
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: Everything is Ok
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: 
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: Files: 5
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: Size:       5641758
2017-03-30 15:19:54,354 [INFO ] - VERBOSE: Compressed: 2055503
2017-03-30 15:19:54,433 [DEBUG] - $exitCode was passed null
2017-03-30 15:19:54,433 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\Wget\tools" -y "C:\ProgramData\chocolatey\lib\Wget\tools\wget-1.19.1-win64_x64.zip"] exited with '0'.
2017-03-30 15:19:54,433 [DEBUG] - 7z exit code: 0
2017-03-30 15:19:54,448 [INFO ] - C:\ProgramData\chocolatey\lib\Wget\tools
2017-03-30 15:19:54,464 [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\Wget\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2017-03-30 15:19:54,479 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2017-03-30 15:19:54,496 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2017-03-30 15:19:54,839 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\Wget'
2017-03-30 15:19:54,932 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\Wget.nupkg'
  with checksum 'BA9BB5D8E86FB2CAF77F7A5A9CEF548E'
2017-03-30 15:19:54,932 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\Wget.nuspec'
  with checksum 'AE71AF4D85A5879F6BB729225F68F1CB'
2017-03-30 15:19:54,932 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\legal\LICENSE.txt'
  with checksum '0189D95CA35796CEFDEFE06930B6DDD4'
2017-03-30 15:19:54,932 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\legal\VERIFICATION.txt'
  with checksum '48EBD8A0ED7F58D1CD59DC4451EF8B05'
2017-03-30 15:19:54,932 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\tools\chocolateyinstall.ps1'
  with checksum 'A7EBF2ACE96F91053C994F8A20037B40'
2017-03-30 15:19:54,932 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\tools\COPYING'
  with checksum 'D32239BCB673463AB874E80D47FAE504'
2017-03-30 15:19:55,026 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe'
  with checksum '8C45D1A15B9E26FAB9E5A1C9E6E89EAC'
2017-03-30 15:19:55,198 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe.debug'
  with checksum '929251360C15C84FFE9BA2C364EF79AC'
2017-03-30 15:19:55,198 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\tools\wget.html'
  with checksum 'FB5193A0E20E0ECC69DEFCE18E8182E5'
2017-03-30 15:19:55,214 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\Wget\tools\wget.ini.sample'
  with checksum '321C6C46E38440224BA0197991CB9879'
2017-03-30 15:19:55,229 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\Wget\tools\wget.exe" --output="C:\ProgramData\chocolatey\bin\wget.exe"  --iconpath="C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe"']
2017-03-30 15:19:55,902 [DEBUG] -  [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2017-03-30 15:19:55,902 [DEBUG] -  [ShimGen]   Selected Icon is invalid
2017-03-30 15:19:56,776 [DEBUG] -  [ShimGen] Microsoft (R) Visual C# Compiler version 4.0.30319.33440
2017-03-30 15:19:56,776 [DEBUG] -  [ShimGen] for Microsoft (R) .NET Framework 4.5
2017-03-30 15:19:56,776 [DEBUG] -  [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2017-03-30 15:19:56,776 [DEBUG] -  [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\wget.exe'
2017-03-30 15:19:56,792 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\Wget\tools\wget.exe" --output="C:\ProgramData\chocolatey\bin\wget.exe"  --iconpath="C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe"'] exited with '0'
2017-03-30 15:19:56,792 [INFO ] -  ShimGen has successfully created a shim for wget.exe
2017-03-30 15:19:56,792 [DEBUG] -   Created: C:\ProgramData\chocolatey\bin\wget.exe
  Targeting: C:\ProgramData\chocolatey\lib\Wget\tools\wget.exe
  IsGui:False

2017-03-30 15:19:56,838 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey".
2017-03-30 15:19:56,870 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2017-03-30 15:19:56,902 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\Wget.1.19.1".
2017-03-30 15:19:56,902 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Wget.1.19.1\.version".
2017-03-30 15:19:56,902 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Wget.1.19.1\.sxs".
2017-03-30 15:19:56,917 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\Wget.1.19.1\.pin".
2017-03-30 15:19:56,917 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-03-30 15:19:56,917 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\Wget\.chocolateyPending".
2017-03-30 15:19:56,917 [INFO ] -  The install of wget was successful.
2017-03-30 15:19:56,917 [INFO ] -   Software installed to 'C:\ProgramData\chocolatey\lib\Wget\tools'
2017-03-30 15:19:56,917 [DEBUG] - [NuGet] Added file 'chocolatey-core.psm1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,917 [DEBUG] - [NuGet] Added file 'Get-AppInstallLocation.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,917 [DEBUG] - [NuGet] Added file 'Get-AvailableDriveLetter.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'Get-PackageCacheLocation.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'Get-PackageParameters.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'Get-UninstallRegistryKey.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'Get-WebContent.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'Register-Application.ps1' to folder 'chocolatey-core.extension\extensions'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'chocolatey-core.extension.nuspec' to folder 'chocolatey-core.extension'.
2017-03-30 15:19:56,932 [DEBUG] - [NuGet] Added file 'chocolatey-core.extension.nupkg' to folder 'chocolatey-core.extension'.
2017-03-30 15:19:56,932 [INFO ] - 
chocolatey-core.extension v1.2.0 (forced) [Approved]
2017-03-30 15:19:56,932 [INFO ] - chocolatey-core.extension package files install completed. Performing other installation steps.
2017-03-30 15:19:56,948 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nupkg'
  with checksum '3B585E154F890CC0E0738251310FDAFD'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nuspec'
  with checksum '8F380C71A0FCC077349F44EA8843CFFB'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1'
  with checksum '8007E67FDE249548DBF78D1DC8AFDCCC'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1'
  with checksum 'A864D21B94D3E0E397EB431E5E60D341'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1'
  with checksum '2F386746AFC2ACB9561DFB245239B93F'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1'
  with checksum '77A378E5C659E5A53D2D64E276159B62'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageParameters.ps1'
  with checksum 'C08B3AF8CA150B6609DF2B978B693269'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-UninstallRegistryKey.ps1'
  with checksum '3FAA5C11AAFC4EA35BB98EA797446C97'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1'
  with checksum '57D013E581EFEA3D4D8366183C9A5797'
2017-03-30 15:19:56,948 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1'
  with checksum 'D2853E569DAC9A341642BA76EC4FB411'
2017-03-30 15:19:56,948 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions".
2017-03-30 15:19:56,948 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-core".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-AppInstallLocation.ps1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-AvailableDriveLetter.ps1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-PackageCacheLocation.ps1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageParameters.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-PackageParameters.ps1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-UninstallRegistryKey.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-UninstallRegistryKey.ps1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-WebContent.ps1".
2017-03-30 15:19:56,964 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1"
 to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Register-Application.ps1".
2017-03-30 15:19:58,479 [WARN ] -  Installed/updated chocolatey-core extensions.
2017-03-30 15:19:58,479 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.2.0".
2017-03-30 15:19:58,479 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.2.0\.version".
2017-03-30 15:19:58,479 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.2.0\.sxs".
2017-03-30 15:19:58,479 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.2.0\.pin".
2017-03-30 15:19:58,479 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-03-30 15:19:58,479 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\.chocolateyPending".
2017-03-30 15:19:58,479 [INFO ] -  The install of chocolatey-core.extension was successful.
2017-03-30 15:19:58,479 [INFO ] -   Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
2017-03-30 15:19:58,479 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'nlite\tools'.
2017-03-30 15:19:58,479 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'nlite\tools'.
2017-03-30 15:19:58,496 [DEBUG] - [NuGet] Added file 'nlite.nuspec' to folder 'nlite'.
2017-03-30 15:19:58,496 [DEBUG] - [NuGet] Added file 'nlite.nupkg' to folder 'nlite'.
2017-03-30 15:19:58,496 [INFO ] - 
nlite v1.4.9.3 (forced)
2017-03-30 15:19:58,510 [INFO ] - nlite package files install completed. Performing other installation steps.
2017-03-30 15:19:58,510 [DEBUG] - Setting installer args for nlite
2017-03-30 15:19:58,510 [DEBUG] - Setting package parameters for nlite
2017-03-30 15:19:58,510 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyInstall.ps1':
2017-03-30 15:19:58,510 [DEBUG] - $ErrorActionPreference = 'Stop';

$binRoot = Get-ToolsLocation

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  url            = 'http://www.nliteos.com/download/nLite-1.4.9.3.setup.exe'
  softwareName   = ''
  checksum = '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08'
  checksumType   = 'sha256'
  silentArgs     = '/VERYSILENT /DIR=$binRoot\nLite'
  validExitCodes = @(0)
  Options = @{
    Headers = @{
      referer = "http://www.nliteos.com/download.html"
    }
  }
}

Install-ChocolateyPackage @packageArgs

2017-03-30 15:19:58,510 [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\nlite\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2017-03-30 15:19:58,510 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2017-03-30 15:19:58,526 [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.
2017-03-30 15:19:58,526 [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.
2017-03-30 15:19:58,542 [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.
2017-03-30 15:19:58,542 [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.
2017-03-30 15:19:58,636 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2017-03-30 15:19:58,714 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-30 15:19:58,729 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-30 15:19:58,729 [DEBUG] - Loading community extensions
2017-03-30 15:19:58,760 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2017-03-30 15:19:58,760 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2017-03-30 15:19:58,979 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-03-30 15:19:58,979 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-30 15:19:58,997 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-30 15:19:59,010 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-03-30 15:19:59,027 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-03-30 15:19:59,042 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-03-30 15:19:59,042 [DEBUG] - Running 'ChocolateyScriptRunner' for nlite v1.4.9.3 with packageScript 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\nlite', installArguments: '', packageParameters: '',
2017-03-30 15:19:59,042 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyInstall.ps1'
2017-03-30 15:19:59,057 [DEBUG] - Running Get-ToolsLocation 
2017-03-30 15:19:59,104 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User' 
2017-03-30 15:19:59,167 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2017-03-30 15:19:59,182 [DEBUG] - 
using System;
using System.Runtime.InteropServices;

namespace Win32
{
    public class NativeMethods
    {
    [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
    IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
    uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);

    }

}

2017-03-30 15:19:59,385 [DEBUG] - Running Update-SessionEnvironment 
2017-03-30 15:19:59,385 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2017-03-30 15:19:59,682 [DEBUG] - Running Install-ChocolateyPackage -url 'http://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' -options 'System.Collections.Hashtable' -checksum '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08' -checksumType 'sha256' -packageName 'nlite' -fileType 'exe' -validExitCodes '0' -silentArgs '/VERYSILENT /DIR=$binRoot\nLite' 
2017-03-30 15:19:59,792 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'nlite' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\nliteInstall.exe' -url 'http://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' -url64bit '' -checksum '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' 
2017-03-30 15:19:59,807 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2017-03-30 15:19:59,807 [DEBUG] - CPU is 64 bit
2017-03-30 15:19:59,870 [DEBUG] - Running Get-WebHeaders -url 'https://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' -ErrorAction 'Stop' 
2017-03-30 15:19:59,932 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2017-03-30 15:19:59,932 [DEBUG] - Request Headers:
2017-03-30 15:19:59,979 [DEBUG] -   'Accept':'*/*'
2017-03-30 15:19:59,979 [DEBUG] -   'User-Agent':'chocolatey command line'
2017-03-30 15:20:00,371 [DEBUG] - Response Headers:
2017-03-30 15:20:00,385 [DEBUG] -   'Transfer-Encoding':'chunked'
2017-03-30 15:20:00,385 [DEBUG] -   'Connection':'keep-alive'
2017-03-30 15:20:00,385 [DEBUG] -   'CF-RAY':'347c0ce273d9429d-OSL'
2017-03-30 15:20:00,385 [DEBUG] -   'Content-Type':'text/html'
2017-03-30 15:20:00,385 [DEBUG] -   'Date':'Thu, 30 Mar 2017 15:19:59 GMT'
2017-03-30 15:20:00,385 [DEBUG] -   'Server':'cloudflare-nginx'
2017-03-30 15:20:00,401 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2017-03-30 15:20:00,448 [DEBUG] - Running Get-WebFileName -url 'https://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' -defaultName 'nliteInstall.exe' 
2017-03-30 15:20:00,745 [DEBUG] - Using response url to determine file name. 'http://www.nliteos.com/403.shtml'
2017-03-30 15:20:00,745 [DEBUG] - File name determined from url is '403.shtml'
2017-03-30 15:20:00,760 [DEBUG] - Running Get-WebHeaders -url 'https://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' -ErrorAction 'Stop' 
2017-03-30 15:20:00,760 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2017-03-30 15:20:00,760 [DEBUG] - Request Headers:
2017-03-30 15:20:00,760 [DEBUG] -   'Accept':'*/*'
2017-03-30 15:20:00,760 [DEBUG] -   'User-Agent':'chocolatey command line'
2017-03-30 15:20:01,026 [DEBUG] - Response Headers:
2017-03-30 15:20:01,026 [DEBUG] -   'Transfer-Encoding':'chunked'
2017-03-30 15:20:01,026 [DEBUG] -   'Connection':'keep-alive'
2017-03-30 15:20:01,026 [DEBUG] -   'CF-RAY':'347c0ce65550429d-OSL'
2017-03-30 15:20:01,026 [DEBUG] -   'Content-Type':'text/html'
2017-03-30 15:20:01,026 [DEBUG] -   'Date':'Thu, 30 Mar 2017 15:19:59 GMT'
2017-03-30 15:20:01,026 [DEBUG] -   'Server':'cloudflare-nginx'
2017-03-30 15:20:01,042 [INFO ] - Downloading nlite 
  from 'https://www.nliteos.com/download/nLite-1.4.9.3.setup.exe'
2017-03-30 15:20:01,042 [INFO ] - 
2017-03-30 15:20:01,057 [DEBUG] - Running Get-WebFile -url 'https://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' -fileName 'C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml' -options 'System.Collections.Hashtable' 
2017-03-30 15:20:01,057 [DEBUG] - Setting request timeout to  30000
2017-03-30 15:20:01,057 [DEBUG] - Setting read/write timeout to  2700000
2017-03-30 15:20:01,057 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2017-03-30 15:20:01,073 [DEBUG] - Setting custom headers
2017-03-30 15:20:01,151 [DEBUG] - referer:http://www.nliteos.com/download.html
2017-03-30 15:20:01,371 [WARN ] - WARNING: C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml is of content type text/html
2017-03-30 15:20:01,635 [INFO ] - 
2017-03-30 15:20:01,651 [INFO ] - Download of 403.shtml (-1 B) completed.
2017-03-30 15:20:01,651 [INFO ] - 
2017-03-30 15:20:04,668 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2017-03-30 15:20:04,668 [DEBUG] - Verifying package provided checksum of '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08' for 'C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml'.
2017-03-30 15:20:04,682 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml' -checksum '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08' -checksumType 'sha256' -originalUrl 'https://www.nliteos.com/download/nLite-1.4.9.3.setup.exe' 
2017-03-30 15:20:04,682 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2017-03-30 15:20:04,682 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml"]
2017-03-30 15:20:04,776 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml"] exited with '1'.
2017-03-30 15:20:04,792 [ERROR] - ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\nlite\1.4.9.3\403.shtml' did not meet '3854C1B6C60F2F4A2B07C824661EA518444004C115C04F19415F0429E5B11E08' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
2017-03-30 15:20:04,792 [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\nlite\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2017-03-30 15:20:04,792 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2017-03-30 15:20:04,823 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2017-03-30 15:20:04,823 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
2017-03-30 15:20:04,823 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2017-03-30 15:20:04,823 [DEBUG] -   * ChocolateyLastPathUpdate='Thu Mar 30 15:19:59 2017' (User)
2017-03-30 15:20:04,823 [DEBUG] -   * ChocolateyToolsLocation='C:\tools' (User)
2017-03-30 15:20:04,823 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\nlite'
2017-03-30 15:20:04,823 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\nlite\nlite.nupkg'
  with checksum '4D8FAA5A0DB68BA081E80DCF1F2C6C82'
2017-03-30 15:20:04,823 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\nlite\nlite.nuspec'
  with checksum '1DAF7858D7697C8BB9E6E35956198510'
2017-03-30 15:20:04,823 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyInstall.ps1'
  with checksum '796F8E1B8F0F53B7173FAEFDB30757B6'
2017-03-30 15:20:04,823 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyUninstall.ps1'
  with checksum 'CAC9873328C09FF559D913464B1BC084'
2017-03-30 15:20:04,823 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\nlite.1.4.9.3".
2017-03-30 15:20:04,823 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nlite.1.4.9.3\.arguments".
2017-03-30 15:20:04,823 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nlite.1.4.9.3\.version".
2017-03-30 15:20:04,823 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nlite.1.4.9.3\.sxs".
2017-03-30 15:20:04,823 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\nlite.1.4.9.3\.pin".
2017-03-30 15:20:04,823 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-03-30 15:20:04,823 [ERROR] - The install of nlite was NOT successful.
2017-03-30 15:20:04,839 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyInstall.ps1'.
 See log for details.
2017-03-30 15:20:04,839 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2017-03-30 15:20:04,839 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\nlite'
 to 'C:\ProgramData\chocolatey\lib-bad\nlite'
2017-03-30 15:20:06,885 [WARN ] - 
Chocolatey installed 2/3 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2017-03-30 15:20:06,885 [INFO ] - 
2017-03-30 15:20:06,885 [ERROR] - Failures
2017-03-30 15:20:06,885 [ERROR] -  - nlite (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\nlite\tools\chocolateyInstall.ps1'.
 See log for details.
2017-03-30 15:20:06,901 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-30 15:20:06,901 [DEBUG] - Exiting with -1
@AdmiringWorm AdmiringWorm changed the title Install-ChocolateyPackage Install-ChocolateyPackage redirects to https when not supported Mar 30, 2017
@ferventcoder
Copy link
Member

This seems like an issue on nlite's end?

@AdmiringWorm
Copy link
Member Author

yes and no IMO.
nlite website doesn't really support https it just redirects it back to http (reason unknown though).
But I do think choco should still handle such a redirection by not using the https version of the url.

@AdmiringWorm
Copy link
Member Author

The reason the referer header is lost though, is because they define the following referer policy:
Referrer Policy:no-referrer-when-downgrade

@mwallner
Copy link
Member

@AdmiringWorm you've got

OS: Windows Server 2012R2 (Test Environment)
Choco v: 0.14.0

probably 0.10.4 ? - just thinking how this could be misleading when there really is a 0.14 someday :-)

@AdmiringWorm
Copy link
Member Author

@mwallner ops yeah, fixed.
Also forgot it was the 0.10.4 beta1 not the full release.

@ferventcoder
Copy link
Member

@AdmiringWorm Chocolatey detects if there is TLS/SSL available prior to flipping over. So either the detection needs more work - or they have TLS/SSL but are not fully opted in.

@AdmiringWorm
Copy link
Member Author

For all I know it could be that they haven't fully opted in to TLS/SSL.
All I know is that if you browse to https://www.nliteos.com/ you get redirected to http://www.nliteos.com/.
Same thing with all other pages on that domain.

@ferventcoder
Copy link
Member

Chocolatey simply makes a determination if TLS/SSL is available. Sounds like they are doing something maybe we need to detect better for. Fair?

@AdmiringWorm
Copy link
Member Author

yeah, that sounds fair.

@AdmiringWorm
Copy link
Member Author

for reference, here is the source for the nlite package I found this issue for:
https://github.com/chocolatey/chocolatey-coreteampackages/tree/nlite/automatic/nlite

@ferventcoder ferventcoder modified the milestones: 0.10.8, 0.10.9, 0.10.10 Aug 27, 2017
@ferventcoder ferventcoder modified the milestones: 0.10.10, 0.10.12 Mar 27, 2018
@ferventcoder ferventcoder modified the milestones: 0.10.12, 0.10.13 May 3, 2018
@ferventcoder ferventcoder modified the milestones: 0.10.13, 0.10.14, 0.10.15 Mar 9, 2019
@ferventcoder ferventcoder modified the milestones: 0.10.15, 0.10.16 Apr 1, 2019
@gep13 gep13 modified the milestones: 0.10.16, 0.10.17 May 31, 2019
@ferventcoder ferventcoder modified the milestones: 0.10.17, 0.10.18 Jan 14, 2020
@ferventcoder ferventcoder modified the milestones: 0.10.18, 0.10.x Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants