Skip to content

Instantly share code, notes, and snippets.

@jberezanski
Last active October 9, 2017 11:54
Show Gist options
  • Save jberezanski/f36431d463e9b23d25c9096ee86d044a to your computer and use it in GitHub Desktop.
Save jberezanski/f36431d463e9b23d25c9096ee86d044a to your computer and use it in GitHub Desktop.
Get-AppInstallLocation issue
2017-10-09 12:58:37,195 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.5.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-10-09 12:58:37,195 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.5.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-10-09 12:58:37,210 [DEBUG] - XmlConfiguration is now operational
2017-10-09 12:58:37,320 [INFO ] - ============================================================
2017-10-09 12:58:37,320 [INFO ] - Chocolatey v0.10.5
2017-10-09 12:58:37,335 [DEBUG] - Chocolatey is running on Windows v 6.2.9200.0
2017-10-09 12:58:37,335 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-10-09 12:58:37,335 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-10-09 12:58:37,335 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install paint.net -y --execution-timeout:108000
2017-10-09 12:58:37,351 [DEBUG] - Received arguments: install paint.net -y --execution-timeout:108000
2017-10-09 12:58:37,382 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-10-09 12:58:37,382 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-10-09 12:58:37,382 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-10-09 12:58:37,429 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2017-10-09 12:58:37,429 [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-10-09 12:58:37,429 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\USERNAMEREMOVED\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='108000'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='paint.net'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='paint.net'|
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 8'|
Information.ChocolateyVersion='0.10.5.0'|
Information.ChocolateyProductVersion='0.10.5'|
Information.FullName='choco, Version=0.10.5.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.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
Proxy.BypassOnLocal='True'|
2017-10-09 12:58:37,445 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2017-10-09 12:58:37,445 [INFO ] - Installing the following packages:
2017-10-09 12:58:37,445 [INFO ] - paint.net
2017-10-09 12:58:37,460 [INFO ] - By installing you accept licenses for the packages.
2017-10-09 12:58:38,571 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension (? 1.1.3)'.
2017-10-09 12:58:39,509 [INFO ] - [NuGet] Attempting to resolve dependency 'dotnet4.6.1 (? 4.6.01055.20161213)'.
2017-10-09 12:58:39,525 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919355 (? 1.0.20160915)'.
2017-10-09 12:58:39,540 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919442 (? 1.0.20160915)'.
2017-10-09 12:58:39,556 [INFO ] - [NuGet] Installing 'paint.net 4.0.19'.
2017-10-09 12:58:39,572 [DEBUG] - [NuGet] Added file 'License.txt' to folder 'paint.net\legal'.
2017-10-09 12:58:39,572 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'paint.net\legal'.
2017-10-09 12:58:39,572 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'paint.net\tools'.
2017-10-09 12:58:39,587 [DEBUG] - [NuGet] Added file 'paint.net.4.0.19.install.zip' to folder 'paint.net\tools'.
2017-10-09 12:58:39,619 [DEBUG] - [NuGet] Added file 'paint.net.nuspec' to folder 'paint.net'.
2017-10-09 12:58:39,634 [DEBUG] - [NuGet] Added file 'paint.net.nupkg' to folder 'paint.net'.
2017-10-09 12:58:39,634 [INFO ] - [NuGet] Successfully installed 'paint.net 4.0.19'.
2017-10-09 12:58:39,634 [INFO ] -
paint.net v4.0.19 [Approved]
2017-10-09 12:58:39,650 [INFO ] - paint.net package files install completed. Performing other installation steps.
2017-10-09 12:58:39,681 [DEBUG] - Setting installer args for paint.net
2017-10-09 12:58:39,681 [DEBUG] - Setting package parameters for paint.net
2017-10-09 12:58:39,697 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\paint.net\tools\ChocolateyInstall.ps1':
2017-10-09 12:58:39,697 [DEBUG] - $ErrorActionPreference = 'Stop'
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
FileFullPath = gi $toolsPath\*.zip
Destination = $toolsPath
}
Get-ChocolateyUnzip @packageArgs
rm $toolsPath\*.zip -ea 0
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
fileType = 'exe'
file = gi $toolsPath\*.exe
silentArgs = '/auto'
validExitCodes = @(0, 1641, 3010)
softwareName = 'Paint.NET*'
}
Install-ChocolateyInstallPackage @packageArgs
ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { touch "$_.ignore" }
$packageName = $packageArgs.packageName
$installLocation = Get-AppInstallLocation $packageArgs.softwareName
if (!$installLocation) { Write-Warning "Can't find $packageName install location"; return }
Write-Host "$packageName installed to '$installLocation'"
Register-Application "$installLocation\PaintDotNet.exe" paint
Write-Host "$packageName registered as paint"
2017-10-09 12:58:39,744 [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\paint.net\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2017-10-09 12:58:39,775 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=pl-PL, PublicKeyToken=31bf3856ad364e35, requested by ''
2017-10-09 12:58:40,806 [DEBUG] - Host version is 5.1.14393.0, PowerShell Version is '5.1.14393.1715' and CLR Version is '4.0.30319.42000'.
2017-10-09 12:58:41,103 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-10-09 12:58:41,134 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-10-09 12:58:41,165 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-10-09 12:58:41,197 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-10-09 12:58:41,228 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-10-09 12:58:41,259 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-10-09 12:58:41,306 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-10-09 12:58:41,337 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-10-09 12:58:41,368 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-10-09 12:58:41,400 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-10-09 12:58:41,431 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-10-09 12:58:41,462 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-10-09 12:58:41,493 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-10-09 12:58:41,525 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-10-09 12:58:41,572 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-10-09 12:58:41,603 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-10-09 12:58:41,634 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-10-09 12:58:41,665 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-10-09 12:58:41,697 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-10-09 12:58:41,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-10-09 12:58:41,775 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-10-09 12:58:41,806 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-10-09 12:58:41,837 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-10-09 12:58:41,868 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-10-09 12:58:41,900 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-10-09 12:58:41,931 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-10-09 12:58:41,978 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-10-09 12:58:42,009 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-10-09 12:58:42,040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-10-09 12:58:42,072 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-10-09 12:58:42,103 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-10-09 12:58:42,134 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-10-09 12:58:42,181 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-10-09 12:58:42,212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-10-09 12:58:42,212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-10-09 12:58:42,212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-10-09 12:58:42,228 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-10-09 12:58:42,228 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-10-09 12:58:42,243 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-10-09 12:58:42,243 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-10-09 12:58:42,243 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-10-09 12:58:42,259 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-10-09 12:58:42,259 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-10-09 12:58:42,275 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-10-09 12:58:42,275 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-10-09 12:58:42,275 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-10-09 12:58:42,290 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-10-09 12:58:42,290 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-10-09 12:58:42,306 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-10-09 12:58:42,306 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-10-09 12:58:42,306 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-10-09 12:58:42,322 [DEBUG] - Loading community extensions
2017-10-09 12:58:42,353 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2017-10-09 12:58:42,353 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2017-10-09 12:58:42,415 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-10-09 12:58:42,415 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-10-09 12:58:42,415 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2017-10-09 12:58:42,431 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2017-10-09 12:58:42,431 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-10-09 12:58:42,431 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-10-09 12:58:42,447 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-10-09 12:58:42,447 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-10-09 12:58:42,462 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-10-09 12:58:42,478 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2017-10-09 12:58:42,478 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2017-10-09 12:58:42,478 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-10-09 12:58:42,493 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-10-09 12:58:42,493 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-10-09 12:58:42,509 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-10-09 12:58:42,509 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-10-09 12:58:42,525 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2017-10-09 12:58:42,525 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2017-10-09 12:58:42,572 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2017-10-09 12:58:42,572 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2017-10-09 12:58:42,587 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2017-10-09 12:58:42,587 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2017-10-09 12:58:42,587 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-10-09 12:58:42,603 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-10-09 12:58:42,603 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-10-09 12:58:42,603 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-10-09 12:58:42,618 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-10-09 12:58:42,618 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-10-09 12:58:42,618 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-10-09 12:58:42,634 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-10-09 12:58:42,634 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-10-09 12:58:42,650 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-10-09 12:58:42,650 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-10-09 12:58:42,650 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-10-09 12:58:42,665 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-10-09 12:58:42,665 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-10-09 12:58:42,665 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-10-09 12:58:42,681 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-10-09 12:58:42,681 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-10-09 12:58:42,681 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-10-09 12:58:42,697 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-10-09 12:58:42,697 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-10-09 12:58:42,712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-10-09 12:58:42,712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-10-09 12:58:42,712 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-10-09 12:58:42,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-10-09 12:58:42,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-10-09 12:58:42,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-10-09 12:58:42,743 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-10-09 12:58:42,743 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-10-09 12:58:42,759 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-10-09 12:58:42,759 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-10-09 12:58:42,759 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-10-09 12:58:42,775 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-10-09 12:58:42,775 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-10-09 12:58:42,775 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-10-09 12:58:42,790 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-10-09 12:58:42,790 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-10-09 12:58:42,806 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-10-09 12:58:42,806 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-10-09 12:58:42,806 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-10-09 12:58:42,822 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-10-09 12:58:42,822 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-10-09 12:58:42,837 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-10-09 12:58:42,837 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-10-09 12:58:42,837 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2017-10-09 12:58:42,853 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2017-10-09 12:58:42,853 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-10-09 12:58:42,853 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-10-09 12:58:42,868 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-10-09 12:58:42,868 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-10-09 12:58:42,884 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2017-10-09 12:58:42,884 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2017-10-09 12:58:42,884 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-10-09 12:58:42,900 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-10-09 12:58:42,900 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-10-09 12:58:42,900 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-10-09 12:58:42,915 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-10-09 12:58:42,915 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-10-09 12:58:42,931 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-10-09 12:58:42,931 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-10-09 12:58:42,931 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-10-09 12:58:42,947 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-10-09 12:58:42,947 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-10-09 12:58:42,947 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2017-10-09 12:58:42,962 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-10-09 12:58:42,962 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-10-09 12:58:42,978 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-10-09 12:58:42,978 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2017-10-09 12:58:42,993 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-10-09 12:58:42,993 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-10-09 12:58:42,993 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-10-09 12:58:43,009 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-10-09 12:58:43,009 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-10-09 12:58:43,025 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-10-09 12:58:43,025 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-10-09 12:58:43,025 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-10-09 12:58:43,040 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-10-09 12:58:43,040 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-10-09 12:58:43,040 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-10-09 12:58:43,056 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-10-09 12:58:43,056 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-10-09 12:58:43,071 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-10-09 12:58:43,071 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-10-09 12:58:43,071 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-10-09 12:58:43,087 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-10-09 12:58:43,087 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-10-09 12:58:43,103 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-10-09 12:58:43,103 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-10-09 12:58:43,103 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-10-09 12:58:43,118 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-10-09 12:58:43,118 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-10-09 12:58:43,118 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-10-09 12:58:43,134 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-10-09 12:58:43,134 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-10-09 12:58:43,150 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-10-09 12:58:43,150 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-10-09 12:58:43,150 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2017-10-09 12:58:43,165 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-10-09 12:58:43,165 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-10-09 12:58:43,165 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-10-09 12:58:43,181 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-10-09 12:58:43,181 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-10-09 12:58:43,197 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2017-10-09 12:58:43,197 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-10-09 12:58:43,212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-10-09 12:58:43,212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-10-09 12:58:43,212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-10-09 12:58:43,228 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-10-09 12:58:43,228 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-10-09 12:58:43,243 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-10-09 12:58:43,243 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-10-09 12:58:43,243 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-10-09 12:58:43,259 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-10-09 12:58:43,259 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-10-09 12:58:43,275 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-10-09 12:58:43,275 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-10-09 12:58:43,275 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-10-09 12:58:43,290 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-10-09 12:58:43,290 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-10-09 12:58:43,290 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-10-09 12:58:43,306 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-10-09 12:58:43,337 [DEBUG] - Running 'ChocolateyScriptRunner' for paint.net v4.0.19 with packageScript 'C:\ProgramData\chocolatey\lib\paint.net\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\paint.net', installArguments: '', packageParameters: '',
2017-10-09 12:58:43,337 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\paint.net\tools\ChocolateyInstall.ps1'
2017-10-09 12:58:43,415 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\ProgramData\chocolatey\lib\paint.net\tools' -packageName 'paint.net' -fileFullPath 'C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.zip'
2017-10-09 12:58:43,415 [DEBUG] - Running Get-ProcessorBits -compare '32'
2017-10-09 12:58:43,447 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.zip to C:\ProgramData\chocolatey\lib\paint.net\tools...
2017-10-09 12:58:43,462 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2017-10-09 12:58:43,462 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\paint.net\tools" -y "C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.zip"]
2017-10-09 12:58:43,587 [INFO ] - VERBOSE: 7-Zip [32] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
2017-10-09 12:58:43,587 [INFO ] - VERBOSE:
2017-10-09 12:58:43,603 [INFO ] - VERBOSE: 1 file, 7210509 bytes (7042 KiB)
2017-10-09 12:58:43,603 [INFO ] - VERBOSE:
2017-10-09 12:58:43,618 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.zip
2017-10-09 12:58:43,618 [INFO ] - VERBOSE:
2017-10-09 12:58:43,618 [INFO ] - VERBOSE: Scanning the drive for archives:
2017-10-09 12:58:43,634 [INFO ] - VERBOSE: --
2017-10-09 12:58:43,634 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.zip
2017-10-09 12:58:43,634 [INFO ] - VERBOSE: Type = zip
2017-10-09 12:58:43,650 [INFO ] - VERBOSE: Physical Size = 7210509
2017-10-09 12:58:43,650 [INFO ] - VERBOSE:
2017-10-09 12:58:43,665 [INFO ] - VERBOSE: - paint.net.4.0.19.install.exe
2017-10-09 12:58:43,665 [INFO ] - VERBOSE:
2017-10-09 12:58:43,681 [INFO ] - VERBOSE: Size: 7237104
2017-10-09 12:58:43,681 [INFO ] - VERBOSE: Compressed: 7210509
2017-10-09 12:58:43,681 [INFO ] - VERBOSE: Everything is Ok
2017-10-09 12:58:43,712 [DEBUG] - $exitCode was passed null
2017-10-09 12:58:43,712 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\paint.net\tools" -y "C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.zip"] exited with '0'.
2017-10-09 12:58:43,728 [DEBUG] - 7z exit code: 0
2017-10-09 12:58:43,743 [INFO ] - C:\ProgramData\chocolatey\lib\paint.net\tools
2017-10-09 12:58:43,775 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/auto' -file 'C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.exe' -fileType 'exe' -validExitCodes '0 1641 3010' -packageName 'paint.net'
2017-10-09 12:58:43,790 [DEBUG] - Running Get-ProcessorBits -compare '32'
2017-10-09 12:58:43,790 [INFO ] - Installing paint.net...
2017-10-09 12:58:43,853 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1641 3010' -workingDirectory 'C:\ProgramData\chocolatey\lib\paint.net\tools' -statements '/auto ' -exeToRun 'C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.exe'
2017-10-09 12:58:43,868 [DEBUG] - Test-ProcessAdminRights: returning True
2017-10-09 12:58:43,884 [DEBUG] - Elevating permissions and running ["C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.exe" /auto ]. This may take a while, depending on the statements.
2017-10-09 12:59:18,677 [DEBUG] - Command ["C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.exe" /auto ] exited with '0'.
2017-10-09 12:59:18,683 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2017-10-09 12:59:18,687 [INFO ] - paint.net has been installed.
2017-10-09 12:59:18,724 [INFO ] - VERBOSE: Trying local and machine (x32 & x64) Uninstall keys
2017-10-09 12:59:18,739 [DEBUG] - Running 'Get-UninstallRegistryKey' for 'paint.net' with SoftwareName:'Paint.NET*'
2017-10-09 12:59:18,742 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2017-10-09 12:59:18,798 [DEBUG] - Registry uninstall keys on system: 74
2017-10-09 12:59:18,801 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2017-10-09 12:59:18,840 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'Paint.NET*'
2017-10-09 12:59:18,845 [INFO ] - VERBOSE: Trying Uninstall key property 'InstallLocation'
2017-10-09 12:59:18,854 [INFO ] - VERBOSE: Trying Uninstall key property 'UninstallString'
2017-10-09 12:59:18,869 [INFO ] - paint.net installed to 'MsiExec.exe '
2017-10-09 12:59:18,893 [ERROR] - ERROR: Path doesn't exist: MsiExec.exe \PaintDotNet.exe
2017-10-09 12:59:18,916 [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\paint.net\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2017-10-09 12:59:18,920 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2017-10-09 12:59:18,938 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2017-10-09 12:59:18,985 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\paint.net'
2017-10-09 12:59:18,989 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\paint.net.4.0.19.install.zip.txt'
with checksum 'D2FE20EF0655DDC365E71E2066BFEE2C'
2017-10-09 12:59:19,005 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\paint.net.nupkg'
with checksum '7E00B5AB2C899D9193DEF0C526DD152F'
2017-10-09 12:59:19,008 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\paint.net.nuspec'
with checksum '96F393CBED01DF2B6011EBEEE586C65A'
2017-10-09 12:59:19,011 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\legal\License.txt'
with checksum 'C779C2F76DB0606A195CAC2E6AEFB9C8'
2017-10-09 12:59:19,014 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\legal\VERIFICATION.txt'
with checksum '0CE4FA42BDC01DE10332B7E8D02B56DB'
2017-10-09 12:59:19,017 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\tools\ChocolateyInstall.ps1'
with checksum '90A0FCE05465B6FEBCDF0FDE61DCEB51'
2017-10-09 12:59:19,020 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\paint.net\tools\paint.net.4.0.19.install.exe.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2017-10-09 12:59:19,029 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\paint.net.4.0.19".
2017-10-09 12:59:19,058 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\paint.net.4.0.19\.arguments".
2017-10-09 12:59:19,061 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\paint.net.4.0.19\.version".
2017-10-09 12:59:19,063 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\paint.net.4.0.19\.sxs".
2017-10-09 12:59:19,066 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\paint.net.4.0.19\.pin".
2017-10-09 12:59:19,069 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-10-09 12:59:19,072 [ERROR] - The install of paint.net was NOT successful.
2017-10-09 12:59:19,081 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\paint.net\tools\ChocolateyInstall.ps1'.
See log for details.
2017-10-09 12:59:19,089 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2017-10-09 12:59:19,093 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\paint.net'
to 'C:\ProgramData\chocolatey\lib-bad\paint.net'
2017-10-09 12:59:21,102 [DEBUG] - Attempting to delete file "C:\Users\USERNAMEREMOVED\AppData\Local\NuGet\Cache\paint.net.4.0.19.nupkg".
2017-10-09 12:59:21,102 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2017-10-09 12:59:21,118 [INFO ] -
2017-10-09 12:59:21,118 [ERROR] - Failures
2017-10-09 12:59:21,133 [ERROR] - - paint.net (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\paint.net\tools\ChocolateyInstall.ps1'.
See log for details.
2017-10-09 12:59:21,133 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2017-10-09 12:59:21,133 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-10-09 12:59:21,149 [DEBUG] - Exiting with -1
PS C:\> gp 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F10AAD91-58DF-44EC-A647-810197141667}\'
AuthorizedCDFPrefix :
Comments : Installs paint.net
Contact : dotPDN LLC
DisplayVersion : 4.0.19
HelpLink : http://www.getpaint.net
HelpTelephone :
InstallDate : 20171009
InstallLocation :
InstallSource : C:\Program Files\paint.net\Staging\
ModifyPath : MsiExec.exe /X{F10AAD91-58DF-44EC-A647-810197141667}
NoModify : 1
Publisher : dotPDN LLC
Readme :
Size :
EstimatedSize : 29542
UninstallString : MsiExec.exe /X{F10AAD91-58DF-44EC-A647-810197141667}
URLInfoAbout : http://www.dotPDN.com
URLUpdateInfo :
VersionMajor : 4
VersionMinor : 0
WindowsInstaller : 1
Version : 67108883
Language : 1033
DisplayName : paint.net
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Uninstall\{F10AAD91-58DF-44EC-A647-810197141667}\
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Uninstall
PSChildName : {F10AAD91-58DF-44EC-A647-810197141667}
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment