Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tcp-copytree v1.3.0.328 - Passed - Package Tests Results

tcp-copytree v1.3.0.328 - Passed - Package Test Results

  • https://chocolatey.org/packages/tcp-copytree/1.3.0.328
  • Tested 20 Jul 2020 11:57:36 +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-38-g3187e94
  • 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\tcp-copytree\tcp-copytree.nupkg" checksum="ABB1C800A748DF450890745C789AF3FB" />
<file path="C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nuspec" checksum="4A5B7444BEBF165DB4CDF2085F3AC30B" />
<file path="C:\ProgramData\chocolatey\lib\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt" checksum="825CE45F4958732366DD71392935F7DA" />
<file path="C:\ProgramData\chocolatey\lib\tcp-copytree\legal\License.txt" checksum="FF19B76E480C53BD741ACD3E0B653605" />
<file path="C:\ProgramData\chocolatey\lib\tcp-copytree\legal\VERIFICATION.txt" checksum="7F6DAE33A9AE13E7798159F475B916F9" />
<file path="C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1" checksum="3320D08AC7EC425D981CD55814910D54" />
<file path="C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1" checksum="F7C16346147BD0444D86D74E1057F40A" />
</files>
</fileSnapshot>
2020-07-20 11:56:33,539 3064 [DEBUG] - XmlConfiguration is now operational
2020-07-20 11:56:33,728 3064 [INFO ] - ============================================================
2020-07-20 11:56:34,414 3064 [INFO ] - Chocolatey v0.10.15
2020-07-20 11:56:34,445 3064 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-20 11:56:34,460 3064 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-20 11:56:34,460 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-20 11:56:34,492 3064 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install tcp-copytree --version 1.3.0.328 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-20 11:56:34,492 3064 [DEBUG] - Received arguments: install tcp-copytree --version 1.3.0.328 -fdvy --execution-timeout=5400 --allow-downgrade
2020-07-20 11:56:34,664 3064 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-20 11:56:34,680 3064 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-20 11:56:34,696 3064 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-20 11:56:34,867 3064 [DEBUG] - Performing validation checks.
2020-07-20 11:56:34,883 3064 [DEBUG] - Global Configuration Validation Checks:
2020-07-20 11:56:34,898 3064 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-20 11:56:34,898 3064 [DEBUG] - System State Validation Checks:
2020-07-20 11:56:34,914 3064 [DEBUG] - Reboot Requirement Checks:
2020-07-20 11:56:34,914 3064 [DEBUG] - - Pending Computer Rename = Checked
2020-07-20 11:56:34,929 3064 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-20 11:56:34,929 3064 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-20 11:56:34,929 3064 [DEBUG] - - Pending File Rename Operations = Checked
2020-07-20 11:56:34,929 3064 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-20 11:56:34,945 3064 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-20 11:56:34,945 3064 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-20 11:56:34,978 3064 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-20 11:56:34,978 3064 [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.
2020-07-20 11:56:35,023 3064 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='tcp-copytree'|Version='1.3.0.328'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='tcp-copytree'|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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-07-20 11:56:35,023 3064 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-07-20 11:56:35,040 3064 [INFO ] - Installing the following packages:
2020-07-20 11:56:35,055 3064 [INFO ] - tcp-copytree
2020-07-20 11:56:35,055 3064 [INFO ] - By installing you accept licenses for the packages.
2020-07-20 11:56:35,070 3064 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-20 11:56:35,087 3064 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-20 11:56:35,087 3064 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-20 11:56:35,087 3064 [DEBUG] - * 'ChocolateyLastPathUpdate'='132392058551881203' ('User')
2020-07-20 11:56:35,087 3064 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-20 11:56:35,087 3064 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-20 11:56:35,102 3064 [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')
2020-07-20 11:56:35,102 3064 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-20 11:56:35,102 3064 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-20 11:56:35,117 3064 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-20 11:56:35,117 3064 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-20 11:56:35,117 3064 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-20 11:56:35,117 3064 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-20 11:56:35,132 3064 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-20 11:56:35,132 3064 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-20 11:56:35,132 3064 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-20 11:56:35,132 3064 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-20 11:56:35,132 3064 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-20 11:56:35,149 3064 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-20 11:56:35,149 3064 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-20 11:56:35,149 3064 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-20 11:56:37,914 3064 [INFO ] - [NuGet] Attempting to resolve dependency 'tcps (= 0.3)'.
2020-07-20 11:56:40,429 3064 [INFO ] - [NuGet] Installing 'tcps 0.3'.
2020-07-20 11:56:40,461 3064 [DEBUG] - [NuGet] Added file 'doublecmd.ps1' to folder 'tcps\tools'.
2020-07-20 11:56:40,461 3064 [DEBUG] - [NuGet] Added file 'Ini.ps1' to folder 'tcps\tools'.
2020-07-20 11:56:40,461 3064 [DEBUG] - [NuGet] Added file 'tcps.ps1' to folder 'tcps\tools'.
2020-07-20 11:56:40,461 3064 [DEBUG] - [NuGet] Added file 'totalcmd.ps1' to folder 'tcps\tools'.
2020-07-20 11:56:40,476 3064 [DEBUG] - [NuGet] Added file 'tcps.nupkg' to folder 'tcps'.
2020-07-20 11:56:41,508 3064 [DEBUG] - [NuGet] Added file 'tcps.nuspec' to folder 'tcps'.
2020-07-20 11:56:41,508 3064 [INFO ] - [NuGet] Successfully installed 'tcps 0.3'.
2020-07-20 11:56:41,508 3064 [INFO ] -
tcps v0.3 (forced) [Approved]
2020-07-20 11:56:41,555 3064 [INFO ] - tcps package files install completed. Performing other installation steps.
2020-07-20 11:56:42,054 3064 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\tcps'
2020-07-20 11:56:42,054 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcps\tcps.nupkg'
with checksum 'C8A376C71BB7F05CAA7653FAB672EF94'
2020-07-20 11:56:42,070 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcps\tcps.nuspec'
with checksum '8576B73068FC426FCC0BC0A04CAB0848'
2020-07-20 11:56:42,070 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcps\tools\doublecmd.ps1'
with checksum '8FF1A63CA9B1703E25243B755AD45F75'
2020-07-20 11:56:42,070 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcps\tools\Ini.ps1'
with checksum '8DC6FE38DA7C05725817165C31F79FE0'
2020-07-20 11:56:42,070 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcps\tools\tcps.ps1'
with checksum '2E6F8504DA0B75A3E7E0B88122DB6F82'
2020-07-20 11:56:42,086 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcps\tools\totalcmd.ps1'
with checksum '4C01AFA0E730D27F1BF5B2F16DFEB64B'
2020-07-20 11:56:42,211 3064 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2020-07-20 11:56:42,321 3064 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\tcps.0.3".
2020-07-20 11:56:42,335 3064 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\tcps.0.3\.files'
2020-07-20 11:56:42,352 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcps.0.3\.extra".
2020-07-20 11:56:42,352 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcps.0.3\.version".
2020-07-20 11:56:42,368 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcps.0.3\.sxs".
2020-07-20 11:56:42,368 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcps.0.3\.pin".
2020-07-20 11:56:42,368 3064 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-07-20 11:56:42,383 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\tcps\.chocolateyPending".
2020-07-20 11:56:42,398 3064 [INFO ] - The install of tcps was successful.
2020-07-20 11:56:42,398 3064 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2020-07-20 11:56:42,398 3064 [INFO ] - [NuGet] Installing 'tcp-copytree 1.3.0.328'.
2020-07-20 11:56:42,415 3064 [DEBUG] - [NuGet] Added file 'License.txt' to folder 'tcp-copytree\legal'.
2020-07-20 11:56:42,415 3064 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'tcp-copytree\legal'.
2020-07-20 11:56:42,430 3064 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'tcp-copytree\tools'.
2020-07-20 11:56:42,430 3064 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'tcp-copytree\tools'.
2020-07-20 11:56:42,430 3064 [DEBUG] - [NuGet] Added file 'wcx_CopyTree_1.3.0.328a.7z' to folder 'tcp-copytree\tools'.
2020-07-20 11:56:42,445 3064 [DEBUG] - [NuGet] Added file 'tcp-copytree.nupkg' to folder 'tcp-copytree'.
2020-07-20 11:56:42,679 3064 [DEBUG] - [NuGet] Added file 'tcp-copytree.nuspec' to folder 'tcp-copytree'.
2020-07-20 11:56:42,679 3064 [INFO ] - [NuGet] Successfully installed 'tcp-copytree 1.3.0.328'.
2020-07-20 11:56:42,679 3064 [INFO ] -
tcp-copytree v1.3.0.328 (forced)
2020-07-20 11:56:42,679 3064 [INFO ] - tcp-copytree package files install completed. Performing other installation steps.
2020-07-20 11:56:42,742 3064 [DEBUG] - Setting installer args for tcp-copytree
2020-07-20 11:56:42,742 3064 [DEBUG] - Setting package parameters for tcp-copytree
2020-07-20 11:56:42,757 3064 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1':
2020-07-20 11:56:42,757 3064 [DEBUG] - $ErrorActionPreference = 'Stop'
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $Env:ChocolateyInstall\lib\tcps\tools\tcps.ps1
Install-TCPlugin CopyTree -ArchiveExt CopyTree
2020-07-20 11:56:42,976 3064 [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\tcp-copytree\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-07-20 11:56:42,992 3064 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-20 11:56:43,851 3064 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-20 11:56:44,336 3064 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-20 11:56:44,336 3064 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-20 11:56:44,336 3064 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-20 11:56:44,336 3064 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-20 11:56:44,352 3064 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-20 11:56:44,352 3064 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-20 11:56:44,352 3064 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-20 11:56:44,352 3064 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-20 11:56:44,367 3064 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-20 11:56:44,367 3064 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-20 11:56:44,367 3064 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-20 11:56:44,367 3064 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-20 11:56:44,383 3064 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-20 11:56:44,383 3064 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-20 11:56:44,383 3064 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-20 11:56:44,383 3064 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-20 11:56:44,399 3064 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-20 11:56:44,399 3064 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-20 11:56:44,399 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-20 11:56:44,399 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-20 11:56:44,414 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-20 11:56:44,414 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-20 11:56:44,414 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-20 11:56:44,414 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-20 11:56:44,429 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-20 11:56:44,429 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-20 11:56:44,429 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-20 11:56:44,429 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-20 11:56:44,445 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-20 11:56:44,445 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-20 11:56:44,445 3064 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-20 11:56:44,445 3064 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-20 11:56:44,461 3064 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-20 11:56:44,461 3064 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-20 11:56:44,461 3064 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-20 11:56:44,461 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-20 11:56:44,477 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-20 11:56:44,477 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-20 11:56:44,477 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-20 11:56:44,477 3064 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-20 11:56:44,492 3064 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-20 11:56:44,492 3064 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-20 11:56:44,492 3064 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-20 11:56:44,492 3064 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-20 11:56:44,507 3064 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-20 11:56:44,507 3064 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-20 11:56:44,507 3064 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-20 11:56:44,507 3064 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-20 11:56:44,507 3064 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-20 11:56:44,523 3064 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-20 11:56:44,523 3064 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-20 11:56:44,523 3064 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-20 11:56:44,523 3064 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-20 11:56:44,555 3064 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-20 11:56:44,555 3064 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-20 11:56:44,555 3064 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-20 11:56:44,555 3064 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-20 11:56:44,555 3064 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-20 11:56:44,570 3064 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-20 11:56:44,570 3064 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-20 11:56:44,570 3064 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-20 11:56:44,570 3064 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-20 11:56:44,585 3064 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-20 11:56:44,585 3064 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-20 11:56:44,585 3064 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-20 11:56:44,585 3064 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-20 11:56:44,601 3064 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-20 11:56:44,601 3064 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-20 11:56:44,601 3064 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-20 11:56:44,601 3064 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-20 11:56:44,618 3064 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-20 11:56:44,618 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-20 11:56:44,618 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-20 11:56:44,618 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-20 11:56:44,633 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-20 11:56:44,633 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-20 11:56:44,633 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-20 11:56:44,633 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-20 11:56:44,648 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-20 11:56:44,648 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-20 11:56:44,648 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-20 11:56:44,648 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-20 11:56:44,648 3064 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-20 11:56:44,665 3064 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-20 11:56:44,665 3064 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-20 11:56:44,665 3064 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-20 11:56:44,665 3064 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-20 11:56:44,680 3064 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-20 11:56:44,680 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-20 11:56:44,680 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-20 11:56:44,695 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-20 11:56:44,695 3064 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-20 11:56:44,695 3064 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-20 11:56:44,695 3064 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-20 11:56:44,695 3064 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-20 11:56:44,710 3064 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-20 11:56:44,710 3064 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-20 11:56:44,710 3064 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-20 11:56:44,710 3064 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-20 11:56:44,726 3064 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-20 11:56:44,726 3064 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-20 11:56:44,726 3064 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-20 11:56:44,726 3064 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-20 11:56:44,742 3064 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-20 11:56:44,742 3064 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-20 11:56:44,742 3064 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-20 11:56:44,757 3064 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-20 11:56:44,757 3064 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-20 11:56:44,757 3064 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-20 11:56:44,757 3064 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-20 11:56:44,773 3064 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-20 11:56:44,773 3064 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-20 11:56:44,773 3064 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-20 11:56:44,773 3064 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-20 11:56:44,790 3064 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-20 11:56:44,790 3064 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-20 11:56:44,790 3064 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-20 11:56:44,790 3064 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-20 11:56:44,804 3064 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-20 11:56:44,804 3064 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-20 11:56:44,804 3064 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-20 11:56:44,804 3064 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-20 11:56:44,820 3064 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-20 11:56:44,820 3064 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-20 11:56:44,820 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-20 11:56:44,820 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-20 11:56:44,835 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-20 11:56:44,835 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-20 11:56:44,835 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-20 11:56:44,835 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-20 11:56:44,851 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-20 11:56:44,851 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-20 11:56:44,851 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-20 11:56:44,851 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-20 11:56:44,867 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-20 11:56:44,867 3064 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-20 11:56:44,867 3064 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-20 11:56:44,867 3064 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-20 11:56:44,883 3064 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-20 11:56:44,883 3064 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-20 11:56:44,883 3064 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-20 11:56:44,883 3064 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-20 11:56:44,898 3064 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-20 11:56:44,898 3064 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-20 11:56:44,898 3064 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-20 11:56:44,898 3064 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-20 11:56:44,914 3064 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-20 11:56:44,914 3064 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-20 11:56:44,914 3064 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-20 11:56:44,914 3064 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-20 11:56:44,914 3064 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-20 11:56:44,929 3064 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-20 11:56:44,929 3064 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-20 11:56:44,929 3064 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-20 11:56:44,929 3064 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-20 11:56:44,929 3064 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-20 11:56:44,945 3064 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-20 11:56:44,945 3064 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-20 11:56:44,945 3064 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-20 11:56:45,164 3064 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-20 11:56:45,227 3064 [DEBUG] - Running 'ChocolateyScriptRunner' for tcp-copytree v1.3.0.328 with packageScript 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\tcp-copytree', installArguments: '', packageParameters: '',
2020-07-20 11:56:45,258 3064 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1'
2020-07-20 11:56:45,383 3064 [DEBUG] -
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
public class ProfileAPI {
[DllImport("kernel32.dll")]
public static extern bool WritePrivateProfileSection(
string lpAppName,
string lpString,
string lpFileName
);
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool WritePrivateProfileString(
string lpAppName,
string lpKeyName,
string lpString,
string lpFileName);
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern uint GetPrivateProfileSectionNames(
IntPtr lpReturnedString,
uint nSize,
string lpFileName);
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
static extern uint GetPrivateProfileSection(
string lpAppName,
IntPtr lpReturnedString,
uint nSize,
string lpFileName);
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern uint GetPrivateProfileString(
string lpAppName,
string lpKeyName,
string lpDefault,
StringBuilder lpReturnedString,
uint nSize,
string lpFileName);
public static string[] GetSectionNames(string iniFile) {
uint MAX_BUFFER = 32767;
IntPtr pReturnedString = Marshal.AllocCoTaskMem((int)MAX_BUFFER);
uint bytesReturned = GetPrivateProfileSectionNames(pReturnedString, MAX_BUFFER, iniFile);
if (bytesReturned == 0) {
Marshal.FreeCoTaskMem(pReturnedString);
return null;
}
string local = Marshal.PtrToStringAnsi(pReturnedString, (int)bytesReturned).ToString();
char[] c = new char[1];
c[0] = '\x0';
return local.Split(c, System.StringSplitOptions.RemoveEmptyEntries);
//Marshal.FreeCoTaskMem(pReturnedString);
//use of Substring below removes terminating null for split
//char[] c = local.ToCharArray();
//return MultistringToStringArray(ref c);
//return c;
//return local; //.Substring(0, local.Length - 1).Split('\0');
}
public static string[] GetSection(string iniFilePath, string sectionName) {
uint MAX_BUFFER = 32767;
IntPtr pReturnedString = Marshal.AllocCoTaskMem((int)MAX_BUFFER);
uint bytesReturned = GetPrivateProfileSection(sectionName, pReturnedString, MAX_BUFFER, iniFilePath);
if (bytesReturned == 0) {
Marshal.FreeCoTaskMem(pReturnedString);
return null;
}
string local = Marshal.PtrToStringAnsi(pReturnedString, (int)bytesReturned).ToString();
char[] c = new char[1] { '\x0' };
return local.Split(c, System.StringSplitOptions.RemoveEmptyEntries);
}
}
2020-07-20 11:56:45,633 3064 [DEBUG] - Running Get-ToolsLocation
2020-07-20 11:56:45,711 3064 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2020-07-20 11:56:45,883 3064 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2020-07-20 11:56:45,930 3064 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2020-07-20 11:56:46,414 3064 [DEBUG] - Running Update-SessionEnvironment
2020-07-20 11:56:46,431 3064 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-07-20 11:56:47,415 3064 [INFO ] - C:\tools\TCPlugins
2020-07-20 11:56:47,618 3064 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\tools\TCPlugins\CopyTree' -fileFullPath64 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z' -packageName 'tcp-copytree' -fileFullPath 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z'
2020-07-20 11:56:47,633 3064 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-07-20 11:56:47,679 3064 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z to C:\tools\TCPlugins\CopyTree...
2020-07-20 11:56:47,679 3064 [INFO ] -
2020-07-20 11:56:47,727 3064 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2020-07-20 11:56:47,804 3064 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\tools\TCPlugins\CopyTree" -y "C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z"]
2020-07-20 11:56:48,258 3064 [INFO ] - VERBOSE:
2020-07-20 11:56:48,258 3064 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2020-07-20 11:56:48,273 3064 [INFO ] - VERBOSE:
2020-07-20 11:56:48,289 3064 [INFO ] - VERBOSE: Scanning the drive for archives:
2020-07-20 11:56:48,289 3064 [INFO ] - VERBOSE: 1 file, 29754 bytes (30 KiB)
2020-07-20 11:56:48,289 3064 [INFO ] - VERBOSE:
2020-07-20 11:56:48,289 3064 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z
2020-07-20 11:56:48,304 3064 [INFO ] - VERBOSE: --
2020-07-20 11:56:48,304 3064 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z
2020-07-20 11:56:48,304 3064 [INFO ] - VERBOSE: Type = 7z
2020-07-20 11:56:48,304 3064 [INFO ] - VERBOSE: Physical Size = 29754
2020-07-20 11:56:48,320 3064 [INFO ] - VERBOSE: Headers Size = 475
2020-07-20 11:56:48,320 3064 [INFO ] - VERBOSE: Method = LZMA2:96k
2020-07-20 11:56:48,320 3064 [INFO ] - VERBOSE: Solid = +
2020-07-20 11:56:48,320 3064 [INFO ] - VERBOSE: Blocks = 1
2020-07-20 11:56:48,335 3064 [INFO ] - VERBOSE:
2020-07-20 11:56:48,335 3064 [INFO ] - VERBOSE: - Language
2020-07-20 11:56:48,351 3064 [INFO ] - VERBOSE: - Readme.txt
2020-07-20 11:56:48,351 3064 [INFO ] - VERBOSE: - pluginst.inf
2020-07-20 11:56:48,367 3064 [INFO ] - VERBOSE: - Language\Chinese Simplified.lng
2020-07-20 11:56:48,367 3064 [INFO ] - VERBOSE: - Language\Danish.lng
2020-07-20 11:56:48,367 3064 [INFO ] - VERBOSE: - Language\English.lng
2020-07-20 11:56:48,367 3064 [INFO ] - VERBOSE: - Language\French.lng
2020-07-20 11:56:48,382 3064 [INFO ] - VERBOSE: - Language\German.lng
2020-07-20 11:56:48,382 3064 [INFO ] - VERBOSE: - Language\Hungarian.lng
2020-07-20 11:56:48,382 3064 [INFO ] - VERBOSE: - Language\Polish.lng
2020-07-20 11:56:48,399 3064 [INFO ] - VERBOSE: - Language\Russian.lng
2020-07-20 11:56:48,399 3064 [INFO ] - VERBOSE: - Language\Spanish.lng
2020-07-20 11:56:48,399 3064 [INFO ] - VERBOSE: - CopyTree.wcx
2020-07-20 11:56:48,399 3064 [INFO ] - VERBOSE: - CopyTree.wcx64
2020-07-20 11:56:48,414 3064 [INFO ] - VERBOSE: Everything is Ok
2020-07-20 11:56:48,414 3064 [INFO ] - VERBOSE:
2020-07-20 11:56:48,414 3064 [INFO ] - VERBOSE: Folders: 1
2020-07-20 11:56:48,429 3064 [INFO ] - VERBOSE: Files: 13
2020-07-20 11:56:48,429 3064 [INFO ] - VERBOSE: Size: 73206
2020-07-20 11:56:48,429 3064 [INFO ] - VERBOSE: Compressed: 29754
2020-07-20 11:56:48,540 3064 [DEBUG] - $exitCode was passed null
2020-07-20 11:56:48,540 3064 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\tools\TCPlugins\CopyTree" -y "C:\ProgramData\chocolatey\lib\tcp-copytree\tools\wcx_CopyTree_1.3.0.328a.7z"] exited with '0'.
2020-07-20 11:56:48,570 3064 [DEBUG] - 7z exit code: 0
2020-07-20 11:56:48,570 3064 [INFO ] - C:\tools\TCPlugins\CopyTree
2020-07-20 11:56:48,618 3064 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-07-20 11:56:48,758 3064 [DEBUG] - ----------------------------------------------------------------------
2020-07-20 11:56:48,773 3064 [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\tcp-copytree\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-07-20 11:56:48,836 3064 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-20 11:56:48,898 3064 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-20 11:56:48,898 3064 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-07-20 11:56:48,898 3064 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-07-20 11:56:48,914 3064 [DEBUG] - * ChocolateyLastPathUpdate='132397198063694345' (User)
2020-07-20 11:56:48,914 3064 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2020-07-20 11:56:48,914 3064 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\tcp-copytree'
2020-07-20 11:56:48,914 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nupkg'
with checksum 'ABB1C800A748DF450890745C789AF3FB'
2020-07-20 11:56:48,929 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nuspec'
with checksum '4A5B7444BEBF165DB4CDF2085F3AC30B'
2020-07-20 11:56:48,929 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt'
with checksum '825CE45F4958732366DD71392935F7DA'
2020-07-20 11:56:48,929 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal\License.txt'
with checksum 'FF19B76E480C53BD741ACD3E0B653605'
2020-07-20 11:56:48,929 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal\VERIFICATION.txt'
with checksum '7F6DAE33A9AE13E7798159F475B916F9'
2020-07-20 11:56:48,929 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1'
with checksum '3320D08AC7EC425D981CD55814910D54'
2020-07-20 11:56:48,946 3064 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1'
with checksum 'F7C16346147BD0444D86D74E1057F40A'
2020-07-20 11:56:48,946 3064 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\tcp-copytree.1.3.0.328".
2020-07-20 11:56:48,961 3064 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\tcp-copytree.1.3.0.328\.files'
2020-07-20 11:56:48,961 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcp-copytree.1.3.0.328\.extra".
2020-07-20 11:56:48,961 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcp-copytree.1.3.0.328\.version".
2020-07-20 11:56:48,976 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcp-copytree.1.3.0.328\.sxs".
2020-07-20 11:56:48,976 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tcp-copytree.1.3.0.328\.pin".
2020-07-20 11:56:48,976 3064 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-07-20 11:56:48,993 3064 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\tcp-copytree\.chocolateyPending".
2020-07-20 11:56:48,993 3064 [INFO ] - The install of tcp-copytree was successful.
2020-07-20 11:56:48,993 3064 [INFO ] - Software installed to 'C:\tools\TCPlugins\CopyTree'
2020-07-20 11:56:49,008 3064 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\tcp-copytree.1.3.0.328.nupkg".
2020-07-20 11:56:49,040 3064 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-20 11:56:49,055 3064 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-20 11:56:49,101 3064 [DEBUG] - Exiting with 0
2020-07-20 11:57:24,431 1568 [DEBUG] - XmlConfiguration is now operational
2020-07-20 11:57:24,587 1568 [INFO ] - ============================================================
2020-07-20 11:57:25,179 1568 [INFO ] - Chocolatey v0.10.15
2020-07-20 11:57:25,242 1568 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-07-20 11:57:25,242 1568 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-07-20 11:57:25,257 1568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-07-20 11:57:25,274 1568 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall tcp-copytree --version 1.3.0.328 -dvy --execution-timeout=5400
2020-07-20 11:57:25,289 1568 [DEBUG] - Received arguments: uninstall tcp-copytree --version 1.3.0.328 -dvy --execution-timeout=5400
2020-07-20 11:57:25,414 1568 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-07-20 11:57:25,445 1568 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-07-20 11:57:25,461 1568 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-07-20 11:57:25,617 1568 [DEBUG] - Performing validation checks.
2020-07-20 11:57:25,617 1568 [DEBUG] - Global Configuration Validation Checks:
2020-07-20 11:57:25,634 1568 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-07-20 11:57:25,634 1568 [DEBUG] - System State Validation Checks:
2020-07-20 11:57:25,648 1568 [DEBUG] - Reboot Requirement Checks:
2020-07-20 11:57:25,648 1568 [DEBUG] - - Pending Computer Rename = Checked
2020-07-20 11:57:25,664 1568 [DEBUG] - - Pending Component Based Servicing = Checked
2020-07-20 11:57:25,679 1568 [DEBUG] - - Pending Windows Auto Update = Checked
2020-07-20 11:57:25,679 1568 [DEBUG] - - Pending File Rename Operations = Checked
2020-07-20 11:57:25,679 1568 [DEBUG] - - Pending Windows Package Installer = Checked
2020-07-20 11:57:25,696 1568 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-07-20 11:57:25,696 1568 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-07-20 11:57:25,711 1568 [DEBUG] - The source 'c:\cached-packages;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-07-20 11:57:25,711 1568 [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.
2020-07-20 11:57:25,742 1568 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='tcp-copytree'|Version='1.3.0.328'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='tcp-copytree'|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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-07-20 11:57:25,757 1568 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-07-20 11:57:25,804 1568 [INFO ] - Uninstalling the following packages:
2020-07-20 11:57:25,804 1568 [INFO ] - tcp-copytree
2020-07-20 11:57:25,821 1568 [DEBUG] - Current environment values (may contain sensitive data):
2020-07-20 11:57:25,821 1568 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-20 11:57:25,836 1568 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-07-20 11:57:25,836 1568 [DEBUG] - * 'ChocolateyLastPathUpdate'='132397198063694345' ('User')
2020-07-20 11:57:25,836 1568 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2020-07-20 11:57:25,836 1568 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-07-20 11:57:25,852 1568 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-07-20 11:57:25,852 1568 [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')
2020-07-20 11:57:25,852 1568 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-07-20 11:57:25,852 1568 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-07-20 11:57:25,867 1568 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-07-20 11:57:25,867 1568 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-07-20 11:57:25,867 1568 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-07-20 11:57:25,867 1568 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-07-20 11:57:25,884 1568 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-07-20 11:57:25,884 1568 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-07-20 11:57:25,884 1568 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-07-20 11:57:25,884 1568 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-07-20 11:57:25,898 1568 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-07-20 11:57:25,898 1568 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-07-20 11:57:25,898 1568 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-07-20 11:57:25,898 1568 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-07-20 11:57:26,134 1568 [DEBUG] - Running list with the following filter = ''
2020-07-20 11:57:26,134 1568 [DEBUG] - --- Start of List ---
2020-07-20 11:57:26,648 1568 [DEBUG] - tcp-copytree 1.3.0.328
2020-07-20 11:57:26,664 1568 [DEBUG] - --- End of List ---
2020-07-20 11:57:26,898 1568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-07-20 11:57:26,898 1568 [DEBUG] - Backing up existing tcp-copytree prior to operation.
2020-07-20 11:57:26,914 1568 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\tcp-copytree'
to 'C:\ProgramData\chocolatey\lib-bkp\tcp-copytree'
2020-07-20 11:57:28,929 1568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\tcp-copytree".
2020-07-20 11:57:28,929 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\tcp-copytree.nupkg"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nupkg".
2020-07-20 11:57:28,929 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\tcp-copytree.nuspec"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nuspec".
2020-07-20 11:57:28,945 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt".
2020-07-20 11:57:28,945 1568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\tcp-copytree\legal".
2020-07-20 11:57:28,945 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\legal\License.txt"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\legal\License.txt".
2020-07-20 11:57:28,962 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\legal\VERIFICATION.txt".
2020-07-20 11:57:28,962 1568 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\tcp-copytree\tools".
2020-07-20 11:57:28,962 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1".
2020-07-20 11:57:28,976 1568 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1".
2020-07-20 11:57:30,508 1568 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\tcp-copytree'
2020-07-20 11:57:30,508 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nupkg'
with checksum 'ABB1C800A748DF450890745C789AF3FB'
2020-07-20 11:57:30,508 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tcp-copytree.nuspec'
with checksum '4A5B7444BEBF165DB4CDF2085F3AC30B'
2020-07-20 11:57:30,523 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt'
with checksum '825CE45F4958732366DD71392935F7DA'
2020-07-20 11:57:30,523 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal\License.txt'
with checksum 'FF19B76E480C53BD741ACD3E0B653605'
2020-07-20 11:57:30,523 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal\VERIFICATION.txt'
with checksum '7F6DAE33A9AE13E7798159F475B916F9'
2020-07-20 11:57:30,523 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyInstall.ps1'
with checksum '3320D08AC7EC425D981CD55814910D54'
2020-07-20 11:57:30,523 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1'
with checksum 'F7C16346147BD0444D86D74E1057F40A'
2020-07-20 11:57:30,774 1568 [INFO ] - [NuGet] Uninstalling 'tcp-copytree 1.3.0.328'.
2020-07-20 11:57:30,789 1568 [INFO ] -
tcp-copytree v1.3.0.328
2020-07-20 11:57:30,867 1568 [DEBUG] - Setting installer args for tcp-copytree
2020-07-20 11:57:30,883 1568 [DEBUG] - Setting package parameters for tcp-copytree
2020-07-20 11:57:30,883 1568 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1':
2020-07-20 11:57:30,883 1568 [DEBUG] - $ErrorActionPreference = 'Stop'
. $Env:ChocolateyInstall\lib\tcps\tools\tcps.ps1
Uninstall-TCPlugin CopyTree
2020-07-20 11:57:30,930 1568 [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\tcp-copytree\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters ''']
2020-07-20 11:57:30,946 1568 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-07-20 11:57:31,461 1568 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-07-20 11:57:31,774 1568 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-20 11:57:31,790 1568 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-20 11:57:31,790 1568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-20 11:57:31,790 1568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-20 11:57:31,790 1568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-20 11:57:31,805 1568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-20 11:57:31,805 1568 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-20 11:57:31,805 1568 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-20 11:57:31,805 1568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-20 11:57:31,821 1568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-20 11:57:31,821 1568 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-20 11:57:31,821 1568 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-20 11:57:31,821 1568 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-20 11:57:31,836 1568 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-20 11:57:31,836 1568 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-20 11:57:31,836 1568 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-20 11:57:31,836 1568 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-20 11:57:31,852 1568 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-20 11:57:31,852 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-20 11:57:31,852 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-20 11:57:31,852 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-20 11:57:31,867 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-20 11:57:31,867 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-20 11:57:31,867 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-20 11:57:31,867 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-20 11:57:31,883 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-20 11:57:31,883 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-20 11:57:31,883 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-20 11:57:31,883 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-20 11:57:31,898 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-20 11:57:31,898 1568 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-20 11:57:31,898 1568 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-20 11:57:31,898 1568 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-20 11:57:31,914 1568 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-20 11:57:31,914 1568 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-20 11:57:31,914 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-20 11:57:31,914 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-20 11:57:31,929 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-20 11:57:31,929 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-20 11:57:31,929 1568 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-20 11:57:31,929 1568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-20 11:57:31,945 1568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-20 11:57:31,945 1568 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-20 11:57:31,945 1568 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-20 11:57:31,945 1568 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-20 11:57:31,961 1568 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-20 11:57:31,961 1568 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-20 11:57:31,961 1568 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-20 11:57:31,961 1568 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-20 11:57:31,976 1568 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-20 11:57:31,993 1568 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-20 11:57:31,993 1568 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-20 11:57:31,993 1568 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-20 11:57:32,024 1568 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-07-20 11:57:32,024 1568 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-07-20 11:57:32,024 1568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-07-20 11:57:32,024 1568 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-07-20 11:57:32,039 1568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-07-20 11:57:32,039 1568 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-07-20 11:57:32,039 1568 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-07-20 11:57:32,039 1568 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-07-20 11:57:32,054 1568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-07-20 11:57:32,054 1568 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-07-20 11:57:32,054 1568 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-07-20 11:57:32,054 1568 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-07-20 11:57:32,070 1568 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-07-20 11:57:32,070 1568 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-07-20 11:57:32,070 1568 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-07-20 11:57:32,086 1568 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-07-20 11:57:32,086 1568 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-07-20 11:57:32,086 1568 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-07-20 11:57:32,086 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-07-20 11:57:32,102 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-07-20 11:57:32,102 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-07-20 11:57:32,102 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-07-20 11:57:32,102 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-07-20 11:57:32,117 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-07-20 11:57:32,117 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-07-20 11:57:32,117 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-20 11:57:32,117 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-07-20 11:57:32,133 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-07-20 11:57:32,133 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-07-20 11:57:32,133 1568 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-07-20 11:57:32,148 1568 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-07-20 11:57:32,148 1568 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-07-20 11:57:32,148 1568 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-07-20 11:57:32,148 1568 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-07-20 11:57:32,165 1568 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-07-20 11:57:32,165 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-07-20 11:57:32,165 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-20 11:57:32,165 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-07-20 11:57:32,180 1568 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-07-20 11:57:32,180 1568 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-07-20 11:57:32,180 1568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-07-20 11:57:32,180 1568 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-07-20 11:57:32,195 1568 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-07-20 11:57:32,195 1568 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-07-20 11:57:32,195 1568 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-07-20 11:57:32,195 1568 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-07-20 11:57:32,211 1568 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-07-20 11:57:32,211 1568 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-07-20 11:57:32,211 1568 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-07-20 11:57:32,211 1568 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-07-20 11:57:32,226 1568 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-07-20 11:57:32,226 1568 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-07-20 11:57:32,226 1568 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-07-20 11:57:32,242 1568 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-07-20 11:57:32,242 1568 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-07-20 11:57:32,242 1568 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-07-20 11:57:32,242 1568 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-07-20 11:57:32,258 1568 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-07-20 11:57:32,258 1568 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-07-20 11:57:32,258 1568 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-07-20 11:57:32,258 1568 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-07-20 11:57:32,273 1568 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-07-20 11:57:32,273 1568 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-07-20 11:57:32,273 1568 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-07-20 11:57:32,273 1568 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-07-20 11:57:32,289 1568 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-07-20 11:57:32,289 1568 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-07-20 11:57:32,289 1568 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-07-20 11:57:32,289 1568 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-07-20 11:57:32,304 1568 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-07-20 11:57:32,304 1568 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-07-20 11:57:32,304 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-07-20 11:57:32,304 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-07-20 11:57:32,304 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-07-20 11:57:32,320 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-07-20 11:57:32,320 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-07-20 11:57:32,320 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-07-20 11:57:32,320 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-07-20 11:57:32,336 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-07-20 11:57:32,336 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-07-20 11:57:32,336 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-07-20 11:57:32,336 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-07-20 11:57:32,351 1568 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-07-20 11:57:32,351 1568 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-07-20 11:57:32,351 1568 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-07-20 11:57:32,351 1568 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-07-20 11:57:32,367 1568 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-07-20 11:57:32,367 1568 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-07-20 11:57:32,367 1568 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-07-20 11:57:32,367 1568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-07-20 11:57:32,383 1568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-07-20 11:57:32,383 1568 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-07-20 11:57:32,383 1568 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-07-20 11:57:32,383 1568 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-07-20 11:57:32,398 1568 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-07-20 11:57:32,398 1568 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-07-20 11:57:32,398 1568 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-07-20 11:57:32,398 1568 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-07-20 11:57:32,398 1568 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-07-20 11:57:32,414 1568 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-07-20 11:57:32,414 1568 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-07-20 11:57:32,414 1568 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-07-20 11:57:32,414 1568 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-07-20 11:57:32,430 1568 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-07-20 11:57:32,430 1568 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-07-20 11:57:32,509 1568 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-07-20 11:57:32,602 1568 [DEBUG] - ---------------------------Script Execution---------------------------
2020-07-20 11:57:32,617 1568 [DEBUG] - Running 'ChocolateyScriptRunner' for tcp-copytree v1.3.0.328 with packageScript 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\tcp-copytree', installArguments: '', packageParameters: '',
2020-07-20 11:57:32,648 1568 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools\chocolateyUninstall.ps1'
2020-07-20 11:57:32,728 1568 [DEBUG] -
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
public class ProfileAPI {
[DllImport("kernel32.dll")]
public static extern bool WritePrivateProfileSection(
string lpAppName,
string lpString,
string lpFileName
);
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool WritePrivateProfileString(
string lpAppName,
string lpKeyName,
string lpString,
string lpFileName);
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern uint GetPrivateProfileSectionNames(
IntPtr lpReturnedString,
uint nSize,
string lpFileName);
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
static extern uint GetPrivateProfileSection(
string lpAppName,
IntPtr lpReturnedString,
uint nSize,
string lpFileName);
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern uint GetPrivateProfileString(
string lpAppName,
string lpKeyName,
string lpDefault,
StringBuilder lpReturnedString,
uint nSize,
string lpFileName);
public static string[] GetSectionNames(string iniFile) {
uint MAX_BUFFER = 32767;
IntPtr pReturnedString = Marshal.AllocCoTaskMem((int)MAX_BUFFER);
uint bytesReturned = GetPrivateProfileSectionNames(pReturnedString, MAX_BUFFER, iniFile);
if (bytesReturned == 0) {
Marshal.FreeCoTaskMem(pReturnedString);
return null;
}
string local = Marshal.PtrToStringAnsi(pReturnedString, (int)bytesReturned).ToString();
char[] c = new char[1];
c[0] = '\x0';
return local.Split(c, System.StringSplitOptions.RemoveEmptyEntries);
//Marshal.FreeCoTaskMem(pReturnedString);
//use of Substring below removes terminating null for split
//char[] c = local.ToCharArray();
//return MultistringToStringArray(ref c);
//return c;
//return local; //.Substring(0, local.Length - 1).Split('\0');
}
public static string[] GetSection(string iniFilePath, string sectionName) {
uint MAX_BUFFER = 32767;
IntPtr pReturnedString = Marshal.AllocCoTaskMem((int)MAX_BUFFER);
uint bytesReturned = GetPrivateProfileSection(sectionName, pReturnedString, MAX_BUFFER, iniFilePath);
if (bytesReturned == 0) {
Marshal.FreeCoTaskMem(pReturnedString);
return null;
}
string local = Marshal.PtrToStringAnsi(pReturnedString, (int)bytesReturned).ToString();
char[] c = new char[1] { '\x0' };
return local.Split(c, System.StringSplitOptions.RemoveEmptyEntries);
}
}
2020-07-20 11:57:32,961 1568 [DEBUG] - Running Get-ToolsLocation
2020-07-20 11:57:33,258 1568 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-07-20 11:57:33,493 1568 [INFO ] - Removing plugin files: C:\tools\TCPlugins\CopyTree
2020-07-20 11:57:33,493 1568 [INFO ] -
2020-07-20 11:57:33,524 1568 [DEBUG] - ----------------------------------------------------------------------
2020-07-20 11:57:33,539 1568 [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\tcp-copytree\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-07-20 11:57:33,555 1568 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2020-07-20 11:57:33,570 1568 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-07-20 11:57:33,680 1568 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-07-20 11:57:33,712 1568 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\tcp-copytree".
2020-07-20 11:57:33,789 1568 [DEBUG] - [NuGet] Removed file 'License.txt' to folder 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal'.
2020-07-20 11:57:33,789 1568 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal'.
2020-07-20 11:57:33,807 1568 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\tcp-copytree\legal'.
2020-07-20 11:57:33,807 1568 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools'.
2020-07-20 11:57:33,820 1568 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools'.
2020-07-20 11:57:33,820 1568 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\tcp-copytree\tools'.
2020-07-20 11:57:33,820 1568 [DEBUG] - [NuGet] Removed file 'tcp-copytree.nuspec' to folder 'C:\ProgramData\chocolatey\lib\tcp-copytree'.
2020-07-20 11:57:33,840 1568 [DEBUG] - [NuGet] Removed file 'tcp-copytree.nupkg' to folder 'C:\ProgramData\chocolatey\lib\tcp-copytree'.
2020-07-20 11:57:33,883 1568 [DEBUG] - [NuGet] The directory is not empty.
2020-07-20 11:57:33,900 1568 [INFO ] - [NuGet] Successfully uninstalled 'tcp-copytree 1.3.0.328'.
2020-07-20 11:57:33,914 1568 [INFO ] - tcp-copytree has been successfully uninstalled.
2020-07-20 11:57:33,914 1568 [DEBUG] - Removing nupkg if it still exists.
2020-07-20 11:57:33,930 1568 [DEBUG] - Ensuring removal of installation files.
2020-07-20 11:57:33,961 1568 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt'
with checksum '825CE45F4958732366DD71392935F7DA'
2020-07-20 11:57:33,961 1568 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\tcp-copytree\wcx_CopyTree_1.3.0.328a.7z.txt".
2020-07-20 11:57:33,977 1568 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\tcp-copytree".
2020-07-20 11:57:33,977 1568 [DEBUG] - Ensuring removal of package cache files.
2020-07-20 11:57:34,040 1568 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-20 11:57:34,040 1568 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-07-20 11:57:34,072 1568 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment