Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ChocolateyGUI v0.13.2 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="ChocolateyGUI 0.13.2.0" displayVersion="0.13.2.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EA8711B7-EF11-467D-9871-B9AEDD7D2DA0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{EA8711B7-EF11-467D-9871-B9AEDD7D2DA0}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Chocolatey]]></Publisher>
<InstallDate>20170311</InstallDate>
<InstallSource><![CDATA[C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\]]></InstallSource>
<Language>1033</Language>
<Version>851970</Version>
<VersionMajor>0</VersionMajor>
<VersionMinor>13</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\7d8dc.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

ChocolateyGUI v0.13.2 - Passed - Package Test Results

  • https://chocolatey.org/packages/ChocolateyGUI/0.13.2
  • Tested 11 Mar 2017 01:00:53 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-24-g5b02947
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nupkg" checksum="E3DAA9D797B59D1AE7F49521F07A6662" />
<file path="C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nuspec" checksum="62B8C0B70ECB735E6799C1C2E853EA88" />
<file path="C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" checksum="F9EDE0C948B4336F236348328A55C044" />
<file path="C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore" checksum="BEA07E6D2B8DCE396FE21BAA61B34956" />
<file path="C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1" checksum="4E921B961151054BD23CCEBC84B3A3FA" />
<file path="C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1" checksum="1188CF83AE46FD596BBB0D3F210A8D81" />
</files>
</fileSnapshot>
2017-03-11 00:56:40,025 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-11 00:56:40,025 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-11 00:56:40,119 [DEBUG] - XmlConfiguration is now operational
2017-03-11 00:56:40,824 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.update".
2017-03-11 00:56:40,853 [INFO ] - ============================================================
2017-03-11 00:56:40,869 [INFO ] - Chocolatey v0.10.3
2017-03-11 00:56:40,900 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2017-03-11 00:56:40,916 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-11 00:56:40,916 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-11 00:56:40,947 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install ChocolateyGUI --version 0.13.2 -fdvy --execution-timeout=2700 --allow-downgrade
2017-03-11 00:56:40,947 [DEBUG] - Received arguments: install ChocolateyGUI --version 0.13.2 -fdvy --execution-timeout=2700 --allow-downgrade
2017-03-11 00:56:41,119 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-11 00:56:41,135 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-11 00:56:41,182 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-11 00:56:41,369 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2017-03-11 00:56:41,369 [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-11 00:56:41,416 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Force='True'|Noop='False'|
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='ChocolateyGUI'|Version='0.13.2'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='ChocolateyGUI'|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.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.3.0'|
Information.ChocolateyProductVersion='0.10.3'|
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
2017-03-11 00:56:41,432 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2017-03-11 00:56:41,447 [INFO ] - Installing the following packages:
2017-03-11 00:56:41,463 [INFO ] - ChocolateyGUI
2017-03-11 00:56:41,463 [INFO ] - By installing you accept licenses for the packages.
2017-03-11 00:56:41,494 [DEBUG] - Current environment values (may contain sensitive data):
2017-03-11 00:56:41,494 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2017-03-11 00:56:41,494 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2017-03-11 00:56:41,494 [DEBUG] - * 'ChocolateyLastPathUpdate'='Tue Mar 7 18:04:31 2017' ('User')
2017-03-11 00:56:41,510 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2017-03-11 00:56:41,510 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2017-03-11 00:56:41,510 [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-11 00:56:41,510 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2017-03-11 00:56:41,525 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2017-03-11 00:56:41,525 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2017-03-11 00:56:41,525 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2017-03-11 00:56:41,525 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2017-03-11 00:56:41,541 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2017-03-11 00:56:41,541 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2017-03-11 00:56:41,541 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2017-03-11 00:56:41,541 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2017-03-11 00:56:41,557 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2017-03-11 00:56:41,557 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2017-03-11 00:56:41,557 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2017-03-11 00:56:41,557 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2017-03-11 00:56:41,557 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2017-03-11 00:56:45,869 [INFO ] - [NuGet] Attempting to resolve dependency 'PowerShell'.
2017-03-11 00:56:49,494 [INFO ] - [NuGet] Installing 'PowerShell 5.1.14409.20170301'.
2017-03-11 00:56:49,526 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'PowerShell\tools'.
2017-03-11 00:56:49,541 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PowerShell\tools'.
2017-03-11 00:56:49,729 [DEBUG] - [NuGet] Added file 'PowerShell.nuspec' to folder 'PowerShell'.
2017-03-11 00:56:49,745 [DEBUG] - [NuGet] Added file 'PowerShell.nupkg' to folder 'PowerShell'.
2017-03-11 00:56:49,745 [INFO ] - [NuGet] Successfully installed 'PowerShell 5.1.14409.20170301'.
2017-03-11 00:56:49,760 [INFO ] -
PowerShell v5.1.14409.20170301 (forced) [Approved]
2017-03-11 00:56:49,807 [INFO ] - powershell package files install completed. Performing other installation steps.
2017-03-11 00:56:49,995 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2017-03-11 00:56:50,026 [DEBUG] - <#
See http://technet.microsoft.com/en-us/library/hh847769.aspx and http://technet.microsoft.com/en-us/library/hh847837.aspx
Windows PowerShell 5.0 runs on the following versions of Windows.
Windows 10, installed by default
Windows Server 2012 R2, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 8.1, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 and THEN WMF 5.0 (as of 5.0.10105)
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 5.0 (as of 5.0.10105)
Previous Windows versions - 5.0 is not supported.
Windows PowerShell 4.0 runs on the following versions of Windows.
Windows 8.1, installed by default
Windows Server 2012 R2, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows PowerShell 3.0 runs on the following versions of Windows.
Windows 8, installed by default
Windows Server 2012, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 with Service Pack 2, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
#>
[string]$packageName="PowerShell"
[string]$installerType="msu"
[string]$ThisPackagePSHVersion = '5.1.14409.1005'
[string]$silentArgs="/quiet /norestart /log:`"$env:TEMP\PowerShell.Install.evtx`""
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
[string]$urlWin81x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu'
[string]$urlWin81x86checksum = 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817'
[string]$urlWin2k12R2andWin81x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
[string]$urlWin2k12R2andWin81x64checksum = 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0'
[string]$urlWin7x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7-KB3191566-x86.zip'
[string]$urlWin7x86checksum = 'EB7E2C4CE2C6CB24206474A6CB8610D9F4BD3A9301F1CD8963B4FF64E529F563'
[string]$urlWin2k8R2andWin7x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7AndW2K8R2-KB3191566-x64.zip'
[string]$urlWin2k8R2andWin7x64checksum = 'F383C34AA65332662A17D95409A2DDEDADCEDA74427E35D05024CD0A6A2FA647'
[string]$urlWin2012 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/W2K12-KB3191565-x64.msu'
[string]$urlWin2012checksum = '4A1385642C1F08E3BE7BC70F4A9D74954E239317F50D1A7F60AA444D759D4F49'
[string]$ChecksumType = 'sha256'
[string[]] $validExitCodes = @(0, 3010) # 2359302 occurs if the package is already installed
$osversionLookup = @{
"5.1.2600" = "XP";
"5.1.3790" = "2003";
"6.0.6001" = "Vista/2008";
"6.1.7600" = "Win7/2008R2";
"6.1.7601" = "Win7 SP1/2008R2 SP1"; # SP1 or later.
"6.2.9200" = "Win8/2012";
"6.3.9600" = "Win8.1/2012R2";
"10.0.*" = "Windows 10/Server 2016"
}
function Install-PowerShell5([string]$urlx86, [string]$urlx64 = $null, [string]$checksumx86 = $null,[string]$checksumx64 = $null) {
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -ge 378389) {
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" -url $urlx86 -url64 $urlx64 -checksum $checksumx86 -ChecksumType $ChecksumType -checksum64 $checksumx64 -ChecksumType64 $ChecksumType -validExitCodes $validExitCodes
Write-Warning "$packageName requires a reboot to complete the installation."
}
else {
throw ".NET Framework 4.5.1 or later required. Use package named `"dotnet4.5.1`"."
}
}
$os = Get-WmiObject Win32_OperatingSystem
$osVersion = $os.version
$ProductName = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'ProductName').ProductName
$EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
#This will show us if we are running on Nano Server (Kernel version alone won't show this)
Write-Output "Running on: $ProductName, ($EditionId), Windows Kernel: $osVersion"
If ((get-service wuauserv).starttype -ieq 'Disabled')
{
Throw "Windows Update Service is disabled - PowerShell updates are distributed as windows updates and so require the service. Consider temporarily enabling it before calling this package and disabling again afterward."
}
try
{
if ($PSVersionTable -and ($PSVersionTable.PSVersion -ge [Version]$ThisPackagePSHVersion)) {
Write-Warning "PowerShell version, $($PSVersionTable.PSVersion), is already installed."
}
else {
#The following should not occur as PowerShell 5 is already installed
if( ([version]$osVersion).Major -eq "10" ) {
$osVersion = "$(([version]$osVersion).Major).$(([version]$osVersion).Minor).*"
}
Write-Output "Installing for OS: $($osversionLookup[$osVersion])"
switch ($osversionLookup[$osVersion]) {
"Vista/2008" {
Write-Warning "PowerShell 3 is the highest supported on Windows $($osversionLookup[$osVersion])."
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7/2008R2" {
Write-Warning "PowerShell $ThisPackagePSHVersion Requires SP1 for Windows $($osversionLookup[$osVersion])."
Write-Warning "Update to SP1 and re-run this package to install WMF/PowerShell 5"
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7 SP1/2008R2 SP1" {
#Special Procedures for WMF 5.1
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -lt 378758)
{
throw ".NET Framework 4.5.1 or later required. Use package named `"dotnet4.5.1`"."
}
Else
{
If ($PSVersionTable.PSVersion.Major -eq 3)
{
Write-Warning "Found WMF 3 On Win 7 or Server 2008 R2"
If (!(test-path env:ChocolateyForce))
{
Throw "This package will not install WMF 5.1 over 3.0 on Windows 7 or Server 2008 R2 Unless you use the -Force switch on the package command line."
}
Else
{
Write-Host " "
Write-Host " ***********************************************************************************************"
Write-Host " * This machine is running Windows or Server 2008 R2 with WMF 3 installed and *"
Write-Host " * -Force was used, Experimental PSModulePath Backup and Attempted Restore Will Be Performed *"
Write-Host " * What will be done: *"
Write-Host " * 1) The custom parts of the PSModulePath backed up to BackupPSModulePath *"
Write-Host " * 2) A fix up script that appends those values to the PSModulePath is written to: *"
Write-Host " * %WINDIR%\Temp\psmodulepathfixup.ps1 *"
Write-Host " * 3) A scheduled task is setup for the next reboot that runs the fix up script *"
Write-Host " * *"
Write-Host " * If you find that #3 does not work correctly, then you can use #1 or #2 with some of your *"
Write-Host " * own automation to recover from the situation *"
Write-Host " ***********************************************************************************************"
Write-Host " "
$StandardPathsToFilterOut = @('%ProgramFiles%\WindowsPowerShell\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules\')
[string[]]$currentpsmodulepath = (get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue("PsModulePath","Default",[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames).split(';')
$FilteredList = ($CurrentPSModulePath | Where {$StandardPathsToFilterOut -inotcontains $_}) -join ';'
Write-host "PSModulePath contains the following values that are not in the PSH 5 default values: $FilteredList, backing them up to BackupPSModulePath Environment Variable"
If ($FilteredList) {New-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'BackupPsModulePath' -PropertyType 'ExpandString' -value "$FilteredList" | out-null}
$WMF5Over3WasForced = $True
}
}
Install-ChocolateyZipPackage -PackageName "$packagename" -unziplocation "$toolsdir" -url "$urlWin7x86" -checksum "$urlWin7x86checksum" -checksumtype "$ChecksumType" -url64bit "$urlWin2k8R2andWin7x64" -checksum64 "$urlWin2k8R2andWin7x64checksum" -checksumtype64 "$ChecksumType"
$x64MSUName = "$toolsdir\$(($urlWin2k8R2andWin7x64.split('/') | select -last 1).replace('.zip','.msu'))"
$x86MSUName = "$toolsdir\$(($urlwin7x86.split('/') | select -last 1).replace('.zip','.msu'))"
Write-Host "64-bit file: $x64MSUName"
Install-ChocolateyPackage "$packageName" 'MSU' "$SilentArgs" -url $x86MSUName -url64 $x64MSUName -validExitCodes $validExitCodes
If ($WMF5Over3WasForced)
{
If (!$FilteredList)
{
Write-Host "PSModulePath does not contain any customized paths that need to be preserved."
}
Else
{
$scriptlocation = "$env:windir\temp\psmodulepathfixup.ps1"
$code = "set-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'PsModulePath' -value `$((get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue('PsModulePath','Default',[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames)" + "+`';$(invoke-expression -command '(get-variable FilteredList).value')`'" + ')'
$code | out-file $scriptlocation
"start-sleep -s 2" | out-file $scriptlocation -append
"schtasks.exe /delete /f /tn `"PSModulePathFixUp`"" | out-file $scriptlocation -append
schtasks.exe /create /tn "PSModulePathFixUp" /ru SYSTEM /Sc ONSTART /tr "powershell.exe -file $scriptlocation"
Write-Host "`"$scriptlocation`" is scheduled to run on reboot."
Write-Warning "ATTENTION: This Computer Must Be Restarted."
}
}
}
}
"Win8/2012" {
if($os.ProductType -gt 1) {
#Windows 2012
Install-PowerShell5 -urlx86 "$urlWin2012" -checksumx86 $urlWin2012checksum
}
else {
#Windows 8
Write-Verbose "Windows 8 (not 8.1) is not supported"
throw "$packageName not supported on Windows 8. You must upgrade to Windows 8.1 to install WMF/PowerShell 5.0."
}
}
"Win8.1/2012R2" {
Install-PowerShell5 -urlx86 "$urlWin81x86" -checksumx86 $urlWin81x86checksum -urlx64 "$urlWin2k12R2andWin81x64" -checksumx64 $urlWin2k12R2andWin81x64checksum -checksumtype "$ChecksumType" -checksumtype64 "$ChecksumType"
}
"Windows 10/Server 2016" {
#Should never be reached.
Write-Warning "Windows 10 / Server 2016 has WMF/PowerShell 5 pre-installed which is maintained by Windows Updates."
}
default {
# Windows XP, Windows 2003, Windows Vista, or unknown?
throw "$packageName $ThisPackagePSHVersion is not supported on $ProductName, ($EditionId), Windows Kernel: $osVersion"
}
}
}
}
catch {
Throw $_.Exception
}
2017-03-11 00:56:50,260 [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\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2017-03-11 00:56:50,275 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2017-03-11 00:56:53,166 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2017-03-11 00:56:53,557 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-11 00:56:53,557 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-11 00:56:53,557 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-11 00:56:53,572 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-11 00:56:53,572 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-11 00:56:53,572 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-11 00:56:53,588 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-11 00:56:53,588 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-11 00:56:53,588 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-11 00:56:53,603 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-11 00:56:53,603 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-11 00:56:53,603 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-11 00:56:53,619 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-11 00:56:53,619 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-11 00:56:53,619 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-11 00:56:53,635 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-11 00:56:53,635 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-11 00:56:53,635 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-11 00:56:53,650 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-11 00:56:53,650 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-11 00:56:53,650 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-11 00:56:53,666 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-11 00:56:53,666 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-11 00:56:53,666 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-11 00:56:53,681 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-11 00:56:53,681 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-11 00:56:53,681 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-11 00:56:53,697 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-11 00:56:53,697 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-11 00:56:53,697 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-11 00:56:53,713 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-11 00:56:53,713 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-11 00:56:53,728 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-11 00:56:53,728 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-11 00:56:53,728 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-11 00:56:53,744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-11 00:56:53,744 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-11 00:56:53,744 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-11 00:56:53,760 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-11 00:56:53,760 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-11 00:56:53,760 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-11 00:56:53,775 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-11 00:56:53,775 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-11 00:56:53,791 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-11 00:56:53,791 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-11 00:56:53,791 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-11 00:56:53,807 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-11 00:56:53,807 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-11 00:56:53,807 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-11 00:56:53,822 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-11 00:56:53,822 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-11 00:56:53,838 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-03-11 00:56:53,838 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-03-11 00:56:53,838 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-03-11 00:56:53,854 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-03-11 00:56:53,854 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-03-11 00:56:53,854 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-03-11 00:56:53,869 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-03-11 00:56:53,869 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-03-11 00:56:53,869 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-03-11 00:56:53,885 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-03-11 00:56:53,885 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-11 00:56:53,900 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-03-11 00:56:53,900 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-03-11 00:56:53,900 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-03-11 00:56:53,916 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-03-11 00:56:53,916 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-03-11 00:56:53,932 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-03-11 00:56:53,932 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-03-11 00:56:53,932 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-03-11 00:56:53,947 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-03-11 00:56:53,947 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-03-11 00:56:53,947 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-03-11 00:56:53,963 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-03-11 00:56:53,963 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-11 00:56:53,963 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-03-11 00:56:53,978 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-03-11 00:56:53,978 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-03-11 00:56:53,978 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-03-11 00:56:53,994 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-03-11 00:56:53,994 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-03-11 00:56:53,994 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-03-11 00:56:54,010 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-03-11 00:56:54,010 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-03-11 00:56:54,010 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-03-11 00:56:54,025 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-11 00:56:54,025 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-03-11 00:56:54,025 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-03-11 00:56:54,025 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-03-11 00:56:54,041 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-03-11 00:56:54,041 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-03-11 00:56:54,056 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-03-11 00:56:54,056 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-03-11 00:56:54,056 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-03-11 00:56:54,072 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-03-11 00:56:54,072 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-03-11 00:56:54,072 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-03-11 00:56:54,088 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-03-11 00:56:54,088 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-03-11 00:56:54,088 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-03-11 00:56:54,103 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-03-11 00:56:54,103 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-03-11 00:56:54,291 [DEBUG] - Running 'ChocolateyScriptRunner' for PowerShell v5.1.14409.20170301 with packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PowerShell', installArguments: '', packageParameters: '',
2017-03-11 00:56:54,338 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2017-03-11 00:56:55,588 [INFO ] - Running on: Windows Server 2012 R2 Datacenter, (ServerDatacenter), Windows Kernel: 6.3.9600
2017-03-11 00:56:55,760 [INFO ] - Installing for OS: Win8.1/2012R2
2017-03-11 00:56:56,010 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -validExitCodes '0 3010' -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell.Install.evtx"'
2017-03-11 00:56:56,214 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\PowerShellInstall.msu' -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2017-03-11 00:56:56,260 [DEBUG] - Running Get-ProcessorBits -compare '64'
2017-03-11 00:56:56,291 [DEBUG] - CPU is 64 bit
2017-03-11 00:56:56,307 [DEBUG] - Setting url to 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' and bitPackage to 64
2017-03-11 00:56:56,494 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -defaultName 'PowerShellInstall.msu'
2017-03-11 00:56:57,166 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2017-03-11 00:56:57,181 [DEBUG] - File name determined from url is 'Win8.1AndW2K12R2-KB3191564-x64.msu'
2017-03-11 00:56:57,260 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -ErrorAction 'Stop'
2017-03-11 00:56:57,275 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2017-03-11 00:56:57,275 [DEBUG] - Request Headers:
2017-03-11 00:56:57,307 [DEBUG] - 'Accept':'*/*'
2017-03-11 00:56:57,307 [DEBUG] - 'User-Agent':'chocolatey command line'
2017-03-11 00:56:57,416 [DEBUG] - Response Headers:
2017-03-11 00:56:57,447 [DEBUG] - 'Content-Disposition':'attachment'
2017-03-11 00:56:57,447 [DEBUG] - 'Connection':'keep-alive'
2017-03-11 00:56:57,447 [DEBUG] - 'Accept-Ranges':'bytes'
2017-03-11 00:56:57,447 [DEBUG] - 'Content-Length':'19878906'
2017-03-11 00:56:57,463 [DEBUG] - 'Content-Type':'application/octet-stream'
2017-03-11 00:56:57,463 [DEBUG] - 'Date':'Sat, 11 Mar 2017 00:56:57 GMT'
2017-03-11 00:56:57,463 [DEBUG] - 'ETag':'"525c43fbdb52d21:0"'
2017-03-11 00:56:57,463 [DEBUG] - 'Last-Modified':'Sat, 10 Dec 2016 11:53:11 GMT'
2017-03-11 00:56:57,478 [DEBUG] - 'Server':'Microsoft-IIS/8.5'
2017-03-11 00:56:57,510 [INFO ] - Downloading PowerShell 64 bit
from 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2017-03-11 00:56:57,525 [INFO ] -
2017-03-11 00:56:57,572 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu' -options 'System.Collections.Hashtable'
2017-03-11 00:56:57,588 [DEBUG] - Setting request timeout to 30000
2017-03-11 00:56:57,588 [DEBUG] - Setting read/write timeout to 2700000
2017-03-11 00:56:57,588 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2017-03-11 00:56:58,135 [DEBUG] - Downloading https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu to C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu
2017-03-11 00:57:00,932 [INFO ] -
2017-03-11 00:57:00,932 [INFO ] - Download of Win8.1AndW2K12R2-KB3191564-x64.msu (18.96 MB) completed.
2017-03-11 00:57:00,932 [INFO ] -
2017-03-11 00:57:06,197 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2017-03-11 00:57:06,197 [DEBUG] - Verifying package provided checksum of 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu'.
2017-03-11 00:57:06,228 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2017-03-11 00:57:06,260 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2017-03-11 00:57:06,260 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu"]
2017-03-11 00:57:07,291 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu"] exited with '0'.
2017-03-11 00:57:07,353 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell.Install.evtx"' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu' -validExitCodes '0 3010' -useOnlyPackageSilentArguments 'False'
2017-03-11 00:57:07,353 [INFO ] - Installing PowerShell...
2017-03-11 00:57:07,353 [INFO ] -
2017-03-11 00:57:07,948 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2017-03-11 00:57:08,025 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301' -statements 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell.Install.evtx" ' -exeToRun 'C:\Windows\System32\wusa.exe'
2017-03-11 00:57:08,041 [DEBUG] - Elevating Permissions and running ["C:\Windows\System32\wusa.exe" C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell.Install.evtx" ]. This may take a while, depending on the statements.
2017-03-11 00:57:09,088 [DEBUG] - Setting RunAs for elevation
2017-03-11 00:59:56,213 [DEBUG] - Command ["C:\Windows\System32\wusa.exe" C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20170301\Win8.1AndW2K12R2-KB3191564-x64.msu /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell.Install.evtx" ] exited with '3010'.
2017-03-11 00:59:56,244 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2017-03-11 00:59:56,260 [INFO ] - PowerShell has been installed.
2017-03-11 00:59:56,275 [INFO ] -
2017-03-11 00:59:56,291 [WARN ] - WARNING: PowerShell requires a reboot to complete the installation.
2017-03-11 00:59:56,603 [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\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '3010'.
2017-03-11 00:59:56,636 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2017-03-11 00:59:56,666 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2017-03-11 00:59:57,494 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2017-03-11 00:59:57,494 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'D5EC8782A19F404C74ABD74041EA1FB1'
2017-03-11 00:59:57,511 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nuspec'
with checksum '54DBB33B60B969EEE83167CE4877F276'
2017-03-11 00:59:57,511 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum 'DC7575034D442CDDCC0249D65D0AC756'
2017-03-11 00:59:57,511 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2017-03-11 00:59:57,588 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2017-03-11 00:59:57,994 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20170301".
2017-03-11 00:59:58,119 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20170301\.files.update"
to "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20170301\.files".
2017-03-11 00:59:58,135 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20170301\.files.update".
2017-03-11 00:59:58,150 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20170301\.sxs".
2017-03-11 00:59:58,150 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20170301\.pin".
2017-03-11 00:59:58,166 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-03-11 00:59:58,182 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2017-03-11 00:59:58,182 [INFO ] - The install of powershell was successful.
2017-03-11 00:59:58,197 [INFO ] - Software installed as 'msu', install location is likely default.
2017-03-11 00:59:58,197 [INFO ] - [NuGet] Installing 'ChocolateyGUI 0.13.2'.
2017-03-11 00:59:58,213 [DEBUG] - [NuGet] Added file 'ChocolateyGUI.msi' to folder 'ChocolateyGUI\tools'.
2017-03-11 00:59:58,213 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'ChocolateyGUI\tools'.
2017-03-11 00:59:58,228 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'ChocolateyGUI\tools'.
2017-03-11 00:59:58,245 [DEBUG] - [NuGet] Added file 'ChocolateyGUI.nuspec' to folder 'ChocolateyGUI'.
2017-03-11 00:59:58,245 [DEBUG] - [NuGet] Added file 'ChocolateyGUI.nupkg' to folder 'ChocolateyGUI'.
2017-03-11 00:59:58,260 [INFO ] - [NuGet] Successfully installed 'ChocolateyGUI 0.13.2'.
2017-03-11 00:59:58,260 [INFO ] -
ChocolateyGUI v0.13.2 (forced) [Approved]
2017-03-11 00:59:58,275 [INFO ] - chocolateygui package files install completed. Performing other installation steps.
2017-03-11 00:59:58,275 [DEBUG] - Setting installer args for ChocolateyGUI
2017-03-11 00:59:58,291 [DEBUG] - Setting package parameters for ChocolateyGUI
2017-03-11 00:59:58,291 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1':
2017-03-11 00:59:58,291 [DEBUG] - $packageName = 'ChocolateyGUI'
$fileType = 'msi'
$silentArgs = '/quiet'
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
$fileFullPath = Join-Path $scriptPath 'ChocolateyGUI.msi'
try {
Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath
} catch {
Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}
2017-03-11 00:59:58,291 [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\ChocolateyGUI\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2017-03-11 00:59:58,307 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2017-03-11 00:59:58,322 [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-11 00:59:58,322 [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-11 00:59:58,338 [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-11 00:59:58,338 [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-11 00:59:58,510 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2017-03-11 00:59:58,620 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-11 00:59:58,620 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-11 00:59:58,635 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-11 00:59:58,635 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-11 00:59:58,635 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-11 00:59:58,650 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-11 00:59:58,650 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-11 00:59:58,650 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-11 00:59:58,666 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-11 00:59:58,666 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-11 00:59:58,666 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-11 00:59:58,682 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-11 00:59:58,682 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-11 00:59:58,682 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-11 00:59:58,697 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-11 00:59:58,697 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-11 00:59:58,697 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-11 00:59:58,713 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-11 00:59:58,713 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-11 00:59:58,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-11 00:59:58,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-11 00:59:58,728 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-11 00:59:58,744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-11 00:59:58,744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-11 00:59:58,744 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-11 00:59:58,760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-11 00:59:58,760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-11 00:59:58,760 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-11 00:59:58,775 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-11 00:59:58,775 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-11 00:59:58,775 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-11 00:59:58,791 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-11 00:59:58,791 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-11 00:59:58,806 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-11 00:59:58,806 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-11 00:59:58,806 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-11 00:59:58,822 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-11 00:59:58,822 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-11 00:59:58,822 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-11 00:59:58,838 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-11 00:59:58,838 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-11 00:59:58,853 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-11 00:59:58,853 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-11 00:59:58,853 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-11 00:59:58,900 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-11 00:59:58,916 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-11 00:59:58,916 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-11 00:59:58,916 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-11 00:59:58,932 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-11 00:59:58,932 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-11 00:59:58,932 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-11 00:59:58,947 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-03-11 00:59:58,947 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-03-11 00:59:58,947 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-03-11 00:59:58,963 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-03-11 00:59:58,963 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-03-11 00:59:58,963 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-03-11 00:59:58,978 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-03-11 00:59:58,978 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-03-11 00:59:58,978 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-03-11 00:59:58,994 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-03-11 00:59:58,994 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-11 00:59:58,994 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-03-11 00:59:59,010 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-03-11 00:59:59,010 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-03-11 00:59:59,010 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-03-11 00:59:59,025 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-03-11 00:59:59,025 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-03-11 00:59:59,025 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-03-11 00:59:59,041 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-03-11 00:59:59,041 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-03-11 00:59:59,041 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-03-11 00:59:59,056 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-03-11 00:59:59,056 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-03-11 00:59:59,056 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-11 00:59:59,072 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-03-11 00:59:59,072 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-03-11 00:59:59,072 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-03-11 00:59:59,088 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-03-11 00:59:59,088 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-03-11 00:59:59,088 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-03-11 00:59:59,103 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-03-11 00:59:59,103 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-03-11 00:59:59,103 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-03-11 00:59:59,119 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-03-11 00:59:59,119 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-11 00:59:59,119 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-03-11 00:59:59,135 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-03-11 00:59:59,135 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-03-11 00:59:59,135 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-03-11 00:59:59,150 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-03-11 00:59:59,150 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-03-11 00:59:59,166 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-03-11 00:59:59,166 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-03-11 00:59:59,166 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-03-11 00:59:59,181 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-03-11 00:59:59,181 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-03-11 00:59:59,181 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-03-11 00:59:59,197 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-03-11 00:59:59,197 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-03-11 00:59:59,197 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-03-11 00:59:59,213 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-03-11 00:59:59,213 [DEBUG] - Running 'ChocolateyScriptRunner' for ChocolateyGUI v0.13.2 with packageScript 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ChocolateyGUI', installArguments: '', packageParameters: '',
2017-03-11 00:59:59,228 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'
2017-03-11 00:59:59,291 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'ChocolateyGUI' -fileType 'msi' -silentArgs '/quiet' -file 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi'
2017-03-11 00:59:59,291 [INFO ] - Installing ChocolateyGUI...
2017-03-11 00:59:59,291 [INFO ] -
2017-03-11 00:59:59,306 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools' -statements '/i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2017-03-11 00:59:59,322 [DEBUG] - Elevating Permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /quiet ]. This may take a while, depending on the statements.
2017-03-11 00:59:59,338 [DEBUG] - Setting RunAs for elevation
2017-03-11 01:00:05,088 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi" /quiet ] exited with '0'.
2017-03-11 01:00:05,088 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2017-03-11 01:00:05,088 [INFO ] - ChocolateyGUI has been installed.
2017-03-11 01:00:05,103 [INFO ] -
2017-03-11 01:00:05,103 [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\ChocolateyGUI\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2017-03-11 01:00:05,119 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2017-03-11 01:00:05,150 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2017-03-11 01:00:05,150 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ChocolateyGUI'
2017-03-11 01:00:05,182 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nupkg'
with checksum 'E3DAA9D797B59D1AE7F49521F07A6662'
2017-03-11 01:00:05,182 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nuspec'
with checksum '62B8C0B70ECB735E6799C1C2E853EA88'
2017-03-11 01:00:05,214 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi'
with checksum 'F9EDE0C948B4336F236348328A55C044'
2017-03-11 01:00:05,214 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2017-03-11 01:00:05,214 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'
with checksum '4E921B961151054BD23CCEBC84B3A3FA'
2017-03-11 01:00:05,228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1'
with checksum '1188CF83AE46FD596BBB0D3F210A8D81'
2017-03-11 01:00:05,228 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2".
2017-03-11 01:00:05,557 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.registry.update"
to "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.registry".
2017-03-11 01:00:05,557 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.registry.update".
2017-03-11 01:00:05,682 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.files.update"
to "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.files".
2017-03-11 01:00:05,697 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.files.update".
2017-03-11 01:00:05,697 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.sxs".
2017-03-11 01:00:05,713 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2\.pin".
2017-03-11 01:00:05,713 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2017-03-11 01:00:05,713 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ChocolateyGUI\.chocolateyPending".
2017-03-11 01:00:05,728 [INFO ] - The install of chocolateygui was successful.
2017-03-11 01:00:05,728 [INFO ] - Software installed as 'msi', install location is likely default.
2017-03-11 01:00:05,728 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\ChocolateyGUI.0.13.2.nupkg".
2017-03-11 01:00:05,947 [WARN ] -
Chocolatey installed 2/2 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2017-03-11 01:00:05,963 [INFO ] -
2017-03-11 01:00:05,963 [WARN ] - Packages requiring reboot:
2017-03-11 01:00:05,978 [WARN ] - - powershell (exit code 3010)
2017-03-11 01:00:05,978 [WARN ] -
The recent package changes indicate a reboot is necessary.
Please reboot at your earliest convenience.
2017-03-11 01:00:05,994 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-11 01:00:06,041 [DEBUG] - Exiting with 3010
2017-03-11 01:00:38,010 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-11 01:00:38,010 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-03-11 01:00:38,089 [DEBUG] - XmlConfiguration is now operational
2017-03-11 01:00:38,652 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.update".
2017-03-11 01:00:38,666 [INFO ] - ============================================================
2017-03-11 01:00:38,681 [INFO ] - Chocolatey v0.10.3
2017-03-11 01:00:38,697 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2017-03-11 01:00:38,713 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-03-11 01:00:38,713 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-03-11 01:00:38,728 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall ChocolateyGUI --version 0.13.2 -dvy --execution-timeout=2700
2017-03-11 01:00:38,728 [DEBUG] - Received arguments: uninstall ChocolateyGUI --version 0.13.2 -dvy --execution-timeout=2700
2017-03-11 01:00:38,869 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2017-03-11 01:00:38,900 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2017-03-11 01:00:38,932 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2017-03-11 01:00:39,103 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2017-03-11 01:00:39,119 [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-11 01:00:39,166 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Force='False'|Noop='False'|
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='ChocolateyGUI'|Version='0.13.2'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='ChocolateyGUI'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.3.0'|
Information.ChocolateyProductVersion='0.10.3'|
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
2017-03-11 01:00:39,166 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2017-03-11 01:00:39,181 [INFO ] - Uninstalling the following packages:
2017-03-11 01:00:39,197 [INFO ] - ChocolateyGUI
2017-03-11 01:00:39,213 [DEBUG] - Current environment values (may contain sensitive data):
2017-03-11 01:00:39,228 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2017-03-11 01:00:39,228 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2017-03-11 01:00:39,228 [DEBUG] - * 'ChocolateyLastPathUpdate'='Tue Mar 7 18:04:31 2017' ('User')
2017-03-11 01:00:39,228 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2017-03-11 01:00:39,228 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2017-03-11 01:00:39,244 [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-11 01:00:39,244 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2017-03-11 01:00:39,244 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2017-03-11 01:00:39,244 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2017-03-11 01:00:39,244 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2017-03-11 01:00:39,260 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2017-03-11 01:00:39,260 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2017-03-11 01:00:39,260 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2017-03-11 01:00:39,260 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2017-03-11 01:00:39,260 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2017-03-11 01:00:39,275 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2017-03-11 01:00:39,275 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2017-03-11 01:00:39,275 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2017-03-11 01:00:39,275 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2017-03-11 01:00:39,275 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2017-03-11 01:00:39,494 [DEBUG] - Running list with the following filter = ''
2017-03-11 01:00:39,494 [DEBUG] - --- Start of List ---
2017-03-11 01:00:39,869 [DEBUG] - ChocolateyGUI 0.13.2
2017-03-11 01:00:39,885 [DEBUG] - --- End of List ---
2017-03-11 01:00:40,353 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2017-03-11 01:00:40,369 [DEBUG] - Backing up existing ChocolateyGUI prior to operation.
2017-03-11 01:00:40,385 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ChocolateyGUI'
to 'C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI'
2017-03-11 01:00:42,400 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ChocolateyGUI".
2017-03-11 01:00:42,400 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI\ChocolateyGUI.nupkg"
to "C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nupkg".
2017-03-11 01:00:42,416 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI\ChocolateyGUI.nuspec"
to "C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nuspec".
2017-03-11 01:00:42,416 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools".
2017-03-11 01:00:42,432 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI\tools\ChocolateyGUI.msi"
to "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi".
2017-03-11 01:00:42,432 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore"
to "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore".
2017-03-11 01:00:42,449 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1".
2017-03-11 01:00:42,449 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ChocolateyGUI\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1".
2017-03-11 01:00:43,980 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ChocolateyGUI'
2017-03-11 01:00:43,994 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nupkg'
with checksum 'E3DAA9D797B59D1AE7F49521F07A6662'
2017-03-11 01:00:44,010 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nuspec'
with checksum '62B8C0B70ECB735E6799C1C2E853EA88'
2017-03-11 01:00:44,025 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi'
with checksum 'F9EDE0C948B4336F236348328A55C044'
2017-03-11 01:00:44,041 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2017-03-11 01:00:44,041 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyInstall.ps1'
with checksum '4E921B961151054BD23CCEBC84B3A3FA'
2017-03-11 01:00:44,041 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1'
with checksum '1188CF83AE46FD596BBB0D3F210A8D81'
2017-03-11 01:00:44,416 [INFO ] - [NuGet] Uninstalling 'ChocolateyGUI 0.13.2'.
2017-03-11 01:00:44,448 [INFO ] -
ChocolateyGUI v0.13.2
2017-03-11 01:00:44,525 [DEBUG] - Setting installer args for ChocolateyGUI
2017-03-11 01:00:44,588 [DEBUG] - Setting package parameters for ChocolateyGUI
2017-03-11 01:00:44,588 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1':
2017-03-11 01:00:44,620 [DEBUG] - $packageName = "ChocolateyGUI";
$fileType = 'msi';
$silentArgs = '/qr /norestart'
$validExitCodes = @(0)
try {
$packageGuid = Get-ChildItem HKLM:\SOFTWARE\Classes\Installer\Products |
Get-ItemProperty -Name 'ProductName' |
? { $_.ProductName -like $packageName + "*"} |
Select -ExpandProperty PSChildName -First 1
$properties = Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\$packageGuid\InstallProperties
$file = $properties.LocalPackage
# Would like to use the following, but looks like there is a bug in this method when uninstalling MSI's
# Uninstall-ChocolateyPackage $packageName $fileType $silentArgs $file -validExitCodes $validExitCodes
# Use this instead
$msiArgs = "/x $file $silentArgs";
Start-ChocolateyProcessAsAdmin "$msiArgs" 'msiexec' -validExitCodes $validExitCodes
Write-ChocolateySuccess $package
}
catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2017-03-11 01:00:44,697 [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\ChocolateyGUI\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2017-03-11 01:00:44,697 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2017-03-11 01:00:45,338 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2017-03-11 01:00:45,728 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-03-11 01:00:45,728 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-03-11 01:00:45,744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-03-11 01:00:45,744 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-03-11 01:00:45,744 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-03-11 01:00:45,760 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-03-11 01:00:45,760 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-03-11 01:00:45,760 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-03-11 01:00:45,775 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-03-11 01:00:45,775 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-03-11 01:00:45,775 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-03-11 01:00:45,791 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-03-11 01:00:45,791 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-03-11 01:00:45,791 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-03-11 01:00:45,807 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-03-11 01:00:45,807 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-03-11 01:00:45,822 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-03-11 01:00:45,822 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-03-11 01:00:45,822 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-03-11 01:00:45,838 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-03-11 01:00:45,838 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-03-11 01:00:45,838 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-03-11 01:00:45,853 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-03-11 01:00:45,853 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-11 01:00:45,869 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-03-11 01:00:45,869 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-03-11 01:00:45,869 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-03-11 01:00:45,885 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-03-11 01:00:45,885 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-03-11 01:00:45,900 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-03-11 01:00:45,900 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-03-11 01:00:45,916 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-03-11 01:00:45,916 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-03-11 01:00:45,916 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-03-11 01:00:45,931 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-11 01:00:45,931 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-03-11 01:00:45,931 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-03-11 01:00:45,947 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-03-11 01:00:45,947 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-03-11 01:00:45,947 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-03-11 01:00:45,963 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-03-11 01:00:45,963 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-03-11 01:00:45,963 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-03-11 01:00:45,978 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-03-11 01:00:45,978 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-03-11 01:00:45,978 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-03-11 01:00:45,994 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-03-11 01:00:45,994 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-03-11 01:00:45,994 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-03-11 01:00:46,010 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-03-11 01:00:46,010 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-03-11 01:00:46,010 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-03-11 01:00:46,025 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-03-11 01:00:46,025 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-03-11 01:00:46,025 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-03-11 01:00:46,041 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-03-11 01:00:46,041 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-03-11 01:00:46,041 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-03-11 01:00:46,056 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-03-11 01:00:46,056 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-03-11 01:00:46,072 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-03-11 01:00:46,072 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-03-11 01:00:46,072 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-03-11 01:00:46,088 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-03-11 01:00:46,088 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-03-11 01:00:46,088 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-03-11 01:00:46,103 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-03-11 01:00:46,103 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-03-11 01:00:46,103 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-03-11 01:00:46,119 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-03-11 01:00:46,119 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-03-11 01:00:46,119 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-03-11 01:00:46,135 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-03-11 01:00:46,135 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-03-11 01:00:46,150 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-03-11 01:00:46,150 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-03-11 01:00:46,150 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-03-11 01:00:46,166 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-03-11 01:00:46,166 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-03-11 01:00:46,166 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-03-11 01:00:46,181 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-03-11 01:00:46,181 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-03-11 01:00:46,181 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-03-11 01:00:46,197 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-03-11 01:00:46,197 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-03-11 01:00:46,197 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-03-11 01:00:46,213 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-03-11 01:00:46,213 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-03-11 01:00:46,213 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-03-11 01:00:46,228 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-03-11 01:00:46,228 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-03-11 01:00:46,228 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-03-11 01:00:46,244 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-03-11 01:00:46,244 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-03-11 01:00:46,244 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-03-11 01:00:46,260 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-03-11 01:00:46,260 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-03-11 01:00:46,275 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-03-11 01:00:46,275 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-03-11 01:00:46,275 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-03-11 01:00:46,291 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-03-11 01:00:46,291 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-03-11 01:00:46,416 [DEBUG] - Running 'ChocolateyScriptRunner' for ChocolateyGUI v0.13.2 with packageScript 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ChocolateyGUI', installArguments: '', packageParameters: '',
2017-03-11 01:00:46,463 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\chocolateyUninstall.ps1'
2017-03-11 01:00:47,041 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements '/x C:\Windows\Installer\7d8dc.msi /qr /norestart' -exeToRun 'msiexec'
2017-03-11 01:00:47,072 [DEBUG] - Elevating Permissions and running ["msiexec" /x C:\Windows\Installer\7d8dc.msi /qr /norestart]. This may take a while, depending on the statements.
2017-03-11 01:00:47,244 [DEBUG] - Setting RunAs for elevation
2017-03-11 01:00:49,198 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /x C:\Windows\Installer\7d8dc.msi /qr /norestart] exited with '0'.
2017-03-11 01:00:49,228 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2017-03-11 01:00:49,245 [INFO ] - 0
2017-03-11 01:00:49,260 [DEBUG] - Running Write-ChocolateySuccess -packageName ''
2017-03-11 01:00:49,276 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2017-03-11 01:00:49,307 [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\ChocolateyGUI\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2017-03-11 01:00:49,385 [INFO ] - Running auto uninstaller...
2017-03-11 01:00:49,385 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2017-03-11 01:00:51,416 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{EA8711B7-EF11-467D-9871-B9AEDD7D2DA0}'
2017-03-11 01:00:51,510 [INFO ] - Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
2017-03-11 01:00:51,510 [DEBUG] - Searched for install path '' - found? False
2017-03-11 01:00:51,525 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EA8711B7-EF11-467D-9871-B9AEDD7D2DA0}' value 'InstallLocation' - found? False
2017-03-11 01:00:51,542 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2017-03-11 01:00:51,588 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2017-03-11 01:00:51,603 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\.chocolatey\ChocolateyGUI.0.13.2".
2017-03-11 01:00:51,635 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\chocolateygui".
2017-03-11 01:00:51,729 [DEBUG] - [NuGet] Removed file 'ChocolateyGUI.msi' to folder 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools'.
2017-03-11 01:00:51,729 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools'.
2017-03-11 01:00:51,744 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools'.
2017-03-11 01:00:51,744 [DEBUG] - [NuGet] Removed file 'ChocolateyGUI.nuspec' to folder 'C:\ProgramData\chocolatey\lib\ChocolateyGUI'.
2017-03-11 01:00:51,760 [DEBUG] - [NuGet] Removed file 'ChocolateyGUI.nupkg' to folder 'C:\ProgramData\chocolatey\lib\ChocolateyGUI'.
2017-03-11 01:00:52,275 [WARN ] - [NuGet] The directory is not empty.
2017-03-11 01:00:52,275 [INFO ] - [NuGet] Successfully uninstalled 'ChocolateyGUI 0.13.2'.
2017-03-11 01:00:52,291 [INFO ] - ChocolateyGUI has been successfully uninstalled.
2017-03-11 01:00:52,306 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ChocolateyGUI\ChocolateyGUI.nupkg".
2017-03-11 01:00:52,322 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore'
with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
2017-03-11 01:00:52,322 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ChocolateyGUI\tools\ChocolateyGUI.msi.ignore".
2017-03-11 01:00:52,322 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\ChocolateyGUI".
2017-03-11 01:00:52,400 [WARN ] -
Chocolatey uninstalled 1/1 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2017-03-11 01:00:52,400 [WARN ] -
You use Chocolatey? You are amazing! Are you ready to take the next
step and look even smarter with more awesome features?
https://chocolatey.org/compare
2017-03-11 01:00:52,416 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2017-03-11 01:00:52,447 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment