Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michaelray/fa3ad48d81026988810923226d86e7bf to your computer and use it in GitHub Desktop.
Save michaelray/fa3ad48d81026988810923226d86e7bf to your computer and use it in GitHub Desktop.
notepadplusplus.install Chocolatey package installation error with softwareName when used in match
PS C:\Windows\system32> choco install notepadplusplus -d -v -y
Chocolatey v0.10.7
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install notepadplusplus -d -v -y
Received arguments: install notepadplusplus -d -v -y
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
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.
Configuration: CommandName='install'|
CacheLocation='C:\Users\USERNAME\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='notepadplusplus'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='notepadplusplus'|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.1.7601.65536'|
Information.PlatformName='Windows 7'|
Information.ChocolateyVersion='0.10.7.0'|
Information.ChocolateyProductVersion='0.10.7'|
Information.FullName='choco, Version=0.10.7.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='False'|
Information.Is64BitProcess='False'|Information.IsInteractive='True'|
Information.UserName='USERNAME'|Information.UserDomainName='HOSTNAME'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='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.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
notepadplusplus
By installing you accept licenses for the packages.
[NuGet] Attempting to resolve dependency 'notepadplusplus.install (= 7.4.2)'.
[NuGet] Attempting to resolve dependency 'chocolatey-core.extension (≥ 1.0.3)'.
Progress: Downloading notepadplusplus 7.4.2... 100%
[NuGet] Installing 'notepadplusplus.install 7.4.2'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'notepadplusplus.install\tools'.
[NuGet] Added file 'chocolateyUninstall.ps1' to folder 'notepadplusplus.install\tools'.
[NuGet] Added file 'notepadplusplus.install.nuspec' to folder 'notepadplusplus.install'.
[NuGet] Added file 'notepadplusplus.install.nupkg' to folder 'notepadplusplus.install'.
[NuGet] Successfully installed 'notepadplusplus.install 7.4.2'.
notepadplusplus.install v7.4.2 [Approved]
notepadplusplus.install package files install completed. Performing other installation steps.
Setting installer args for notepadplusplus.install
Setting package parameters for notepadplusplus.install
Contents of 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$packageName = 'notepadplusplus'
$url32 = 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe'
$url64 = 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.x64.exe'
$checksum32 = 'abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be'
$checksum64 = 'bb89c0811f8566c21eda6e5880added61204eba0f13de9631f91e7e4c768cccd'
$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
url = $url32
url64bit = $url64
checksum = $checksum32
checksum64 = $checksum64
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/S'
validExitCodes = @(0)
softwareName = 'Notepad++*'
}
Install-ChocolateyPackage @packageArgs
$installLocation = Get-AppInstallLocation $packageArgs.softwareName
if (!$installLocation) { Write-Warning "Can't find $PackageName install location"; return }
Write-Host "$packageName installed to '$installLocation'"
Install-BinFile -Path "$installLocation\notepad++.exe" -Name 'notepad++'
Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\Progra
mData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\choc
olateyInstall.ps1' -installArguments '' -packageParameters ''']
Redirecting System.Management.Automation.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 2.0, PowerShell Version is '2.0' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Generate-BinFile'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Remove-BinFile'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Generate-BinFile'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Remove-BinFile'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Importing function 'Format-FileSize'.
WARNING: Some imported command names include unapproved verbs which might make them less discoverable. Use the Verbose parameter for more detail or type Get-Verb to see the list of approved verbs.
VERBOSE: The command name 'Generate-BinFile' includes an unapproved verb which might make it less discoverable. The suggested alternative verbs are "New".
VERBOSE: Importing function 'Generate-BinFile'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-OSArchitectureWidth'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebFileName'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-BinFile'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Set-PowerShellExitCode'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'Get-InstallRegistryKey'.
VERBOSE: Importing alias 'Get-OSBitness'.
VERBOSE: Importing alias 'Get-ProcessorBits'.
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
Running 'ChocolateyScriptRunner' for notepadplusplus.install v7.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1', packageFolder:'C:\Program
Data\chocolatey\lib\notepadplusplus.install', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1'
Running Install-ChocolateyPackage -url 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe' -url64bit 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer
.x64.exe' -checksum 'abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be' -silentArgs '/S' -packageName 'notepadplusplus' -checksumType 'sha256' -fileType 'EXE' -checksum64 'bb89c0811f
8566c21eda6e5880added61204eba0f13de9631f91e7e4c768cccd' -validExitCodes '0' -checksumType64 'sha256'
Running Get-ChocolateyWebFile -packageName 'notepadplusplus' -fileFullPath 'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\notepadplusplusInstall.EXE' -url 'https://not
epad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe' -url64bit 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.x64.exe' -checksum 'abe92fc51f996eed9fa4953fefe5f9
04c009d0fbfb2b8a50aaec79ae8a9689be' -checksumType 'sha256' -checksum64 'bb89c0811f8566c21eda6e5880added61204eba0f13de9631f91e7e4c768cccd' -checksumType64 'sha256' -options 'System.Collections.Hasht
able' -getOriginalFileName 'True'
Running Get-ProcessorBits -compare '64'
CPU is 32 bit
Running Get-WebFileName -url 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe' -defaultName 'notepadplusplusInstall.EXE'
Using response url to determine file name. 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe'
File name determined from url is 'npp.7.4.2.Installer.exe'
Running Get-WebHeaders -url 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe' -ErrorAction 'Stop'
Setting the UserAgent to 'chocolatey command line'
Request Headers:
'Accept':'*/*'
'User-Agent':'chocolatey command line'
Response Headers:
'Connection':'keep-alive'
'Notepad++':'Thanks for flying Notepad++'
'CDN':'IWI.ME'
'CDN-ID':'From Piko'
'Strict-Transport-Security':'max-age=15768000'
'X-Frame-Options':'DENY'
'X-Content-Type-Options':'nosniff'
'Accept-Ranges':'bytes'
'Content-Length':'3051288'
'Content-Type':'application/x-msdos-program'
'Date':'Wed, 05 Jul 2017 20:48:05 GMT'
'Last-Modified':'Sun, 18 Jun 2017 21:52:17 GMT'
'Server':'nginx'
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Running Get-ChecksumValid -file 'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe' -checksum 'abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec
79ae8a9689be' -checksumType 'sha256' -originalUrl 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe' -ErrorAction 'Stop'
checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be" -t="sha256" -f="C:\Users\USERNAME\AppData\Local\Temp
\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe"]
Hashes match.
Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be" -t="sha256" -f="C:\Users\USERNAME\AppData\Local\Temp\chocolate
y\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe"] exited with '0'.
notepadplusplus's requested file has already been downloaded. Using cached copy at
'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe'.
No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
Verifying package provided checksum of 'abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be' for 'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.
Installer.exe'.
Running Get-ChecksumValid -file 'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe' -checksum 'abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec
79ae8a9689be' -checksumType 'sha256' -originalUrl 'https://notepad-plus-plus.org/repository/7.x/7.4.2/npp.7.4.2.Installer.exe'
checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be" -t="sha256" -f="C:\Users\USERNAME\AppData\Local\Temp
\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe"]
Hashes match.
Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="abe92fc51f996eed9fa4953fefe5f904c009d0fbfb2b8a50aaec79ae8a9689be" -t="sha256" -f="C:\Users\USERNAME\AppData\Local\Temp\chocolate
y\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe"] exited with '0'.
Running Install-ChocolateyInstallPackage -packageName 'notepadplusplus' -fileType 'EXE' -silentArgs '/S' -file 'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2
.Installer.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
Running Get-ProcessorBits -compare '32'
Installing notepadplusplus...
Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2' -statements '/S ' -exeToRun 'C:\Users\USERNAME
\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe'
Test-ProcessAdminRights: returning True
Elevating permissions and running ["C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe" /S ]. This may take a while, depending on the statements.
Command ["C:\Users\USERNAME\AppData\Local\Temp\chocolatey\notepadplusplus.install\7.4.2\npp.7.4.2.Installer.exe" /S ] exited with '0'.
Finishing 'Start-ChocolateyProcessAsAdmin'
notepadplusplus has been installed.
VERBOSE: Trying local and machine (x32 & x64) Uninstall keys
Running 'Get-UninstallRegistryKey' for 'notepadplusplus.install' with SoftwareName:'Notepad++*'
VERBOSE: Retrieving all uninstall registry keys
Registry uninstall keys on system: 298
Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
Found 1 uninstall registry key(s) with SoftwareName:'Notepad++*'
VERBOSE: Trying Uninstall key property 'InstallLocation'
VERBOSE: Trying Uninstall key property 'UninstallString'
VERBOSE: Trying Uninstall key property 'DisplayIcon'
Running Get-ProcessorBits -compare '64'
VERBOSE: Trying Program Files with 2 levels depth: C:\Program Files C:\Program Files\*\*
ERROR: Bad argument to operator '-match': parsing "Notepad++*" - Nested quantifier +..
at System.Management.Automation.ExpressionNode.ExecuteOp(ExecutionContext context, Object left, OperatorToken op, Object right)
at System.Management.Automation.ExpressionNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
at System.Management.Automation.AssignmentStatementNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\Program
Data\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\choco
lateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
Calling command ['"C:\Windows\System32\shutdown.exe" /a']
Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
notepadplusplus.install may be able to be automatically uninstalled.
Capturing package files in 'C:\ProgramData\chocolatey\lib\notepadplusplus.install'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\notepadplusplus.install.nupkg'
with checksum 'C0D46AEF60C641DF0D6027DF3E71FB02'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\notepadplusplus.install.nuspec'
with checksum '78A12F696B8C4C986B2BD74E3A40AC3E'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1'
with checksum '9BFD8E48F1C40CA808F5E2B1E04A892A'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyUninstall.ps1'
with checksum 'B0CE6B40B3401AE359A28E2D5C9D7D2E'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.4.2\.arguments".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.4.2\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.4.2\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.4.2\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.install.7.4.2\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\notepadplusplus.install".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of notepadplusplus.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1'.
See log for details.
Moving 'C:\ProgramData\chocolatey\lib\notepadplusplus.install'
to 'C:\ProgramData\chocolatey\lib-bad\notepadplusplus.install'
[NuGet] Installing 'notepadplusplus 7.4.2'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'notepadplusplus\tools'.
[NuGet] Added file 'notepadplusplus.nuspec' to folder 'notepadplusplus'.
[NuGet] Added file 'notepadplusplus.nupkg' to folder 'notepadplusplus'.
[NuGet] Successfully installed 'notepadplusplus 7.4.2'.
notepadplusplus v7.4.2 [Approved]
notepadplusplus package files install completed. Performing other installation steps.
Setting installer args for notepadplusplus
Setting package parameters for notepadplusplus
Contents of 'C:\ProgramData\chocolatey\lib\notepadplusplus\tools\chocolateyInstall.ps1':
#Install-VirtualPackage 'notepadplusplus.commandline' 'notepadplusplus.install'
Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\Progra
mData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\notepadplusplus\tools\chocolateyIn
stall.ps1' -installArguments '' -packageParameters ''']
Redirecting Microsoft.WSMan.Management.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 2.0, PowerShell Version is '2.0' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Generate-BinFile'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Remove-BinFile'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Generate-BinFile'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Remove-BinFile'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Importing function 'Format-FileSize'.
WARNING: Some imported command names include unapproved verbs which might make them less discoverable. Use the Verbose parameter for more detail or type Get-Verb to see the list of approved verbs.
VERBOSE: The command name 'Generate-BinFile' includes an unapproved verb which might make it less discoverable. The suggested alternative verbs are "New".
VERBOSE: Importing function 'Generate-BinFile'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-OSArchitectureWidth'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebFileName'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-BinFile'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Set-PowerShellExitCode'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'Get-InstallRegistryKey'.
VERBOSE: Importing alias 'Get-OSBitness'.
VERBOSE: Importing alias 'Get-ProcessorBits'.
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
Running 'ChocolateyScriptRunner' for notepadplusplus v7.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\notepadplusplus\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\
lib\notepadplusplus', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\notepadplusplus\tools\chocolateyInstall.ps1'
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\Program
Data\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\notepadplusplus\tools\chocolateyIns
tall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
Calling command ['"C:\Windows\System32\shutdown.exe" /a']
Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\notepadplusplus'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus\notepadplusplus.nupkg'
with checksum 'E3EE7411825DAD1CF25AD861A297D790'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus\notepadplusplus.nuspec'
with checksum 'AD9C4EAF5F91A9002EC42EA267FD2AB4'
Found 'C:\ProgramData\chocolatey\lib\notepadplusplus\tools\chocolateyInstall.ps1'
with checksum 'E681F355000DAF7C0D94E48772AF8A38'
Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.7.4.2".
There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.7.4.2\.files'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.7.4.2\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.7.4.2\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.7.4.2\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\notepadplusplus.7.4.2\.pin".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
Attempting to delete file "C:\ProgramData\chocolatey\lib\notepadplusplus\.chocolateyPending".
The install of notepadplusplus was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Attempting to delete file "C:\Users\USERNAME\AppData\Local\NuGet\Cache\notepadplusplus.7.4.2.nupkg".
Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- notepadplusplus.install (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\notepadplusplus.install\tools\chocolateyInstall.ps1'.
See log for details.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with -1
PS C:\Windows\system32>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment