Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 7, 2023 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/d66bbfeb2291faf6c63578d0561279ad to your computer and use it in GitHub Desktop.
Save choco-bot/d66bbfeb2291faf6c63578d0561279ad to your computer and use it in GitHub Desktop.
newrelic-dotnet v10.11.0 - 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-710145783-1464656620-2597784894-1000</user>
<keys>
<key installerType="Msi" displayName="New Relic .NET Agent (64-bit)" displayVersion="10.11.0.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8333B4B6-FF5C-495C-BF85-CC5DDD69D0C6}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{8333B4B6-FF5C-495C-BF85-CC5DDD69D0C6}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[New Relic]]></Publisher>
<InstallDate>20230607</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\]]></InstallSource>
<Language>1033</Language>
<Version>168493056</Version>
<VersionMajor>10</VersionMajor>
<VersionMinor>11</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\3e989.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

newrelic-dotnet v10.11.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/newrelic-dotnet/10.11.0
  • Tested 07 Jun 2023 20:46:04 +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 v1.0.1
  • Install was successful.
  • Uninstall failed (allowed). Note that the process may have hung, indicating a not completely silent uninstall. This is usually seen when the last entry in the log is calling the uninstall. This can also happen when a window pops up and needs to be closed to continue.
<?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\newrelic-dotnet\LICENSE.txt" checksum="4307ADFB48E9AF7D15224DB7286B4F40" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg" checksum="47A70ABCDFB1CD7674364F3550C95281" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec" checksum="443D622417802A84491B85EFFC4BC957" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x64.msi" checksum="6F2A54B751E2ECFE599F8DD87225B346" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x86.msi" checksum="766025AF1EFEC15940F17B8CBB0FAD1A" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1" checksum="93A7CD10148EB7CCC90B3A4A14CBD90B" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1" checksum="226F95EAE48340A8F87AEA8A3C91A045" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt" checksum="7A831FFDBECCD76BE40F18613B36FD7F" />
</files>
</fileSnapshot>
2023-06-07 20:45:06,973 3236 [DEBUG] - XmlConfiguration is now operational
2023-06-07 20:45:07,114 3236 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:07,114 3236 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:07,114 3236 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:07,114 3236 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:07,129 3236 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:07,129 3236 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-07 20:45:07,397 3236 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-07 20:45:07,397 3236 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-07 20:45:07,411 3236 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-07 20:45:07,411 3236 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-07 20:45:07,411 3236 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-07 20:45:07,411 3236 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-07 20:45:07,426 3236 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-07 20:45:07,426 3236 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-07 20:45:07,426 3236 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-07 20:45:07,426 3236 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-07 20:45:07,442 3236 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-07 20:45:07,442 3236 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-07 20:45:07,442 3236 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-07 20:45:07,442 3236 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-07 20:45:07,458 3236 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-07 20:45:07,458 3236 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-07 20:45:07,458 3236 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-07 20:45:07,473 3236 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-07 20:45:07,833 3236 [INFO ] - ============================================================
2023-06-07 20:45:08,286 3236 [INFO ] - Chocolatey v1.3.0
2023-06-07 20:45:08,395 3236 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-07 20:45:08,411 3236 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-07 20:45:08,411 3236 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-07 20:45:08,443 3236 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install newrelic-dotnet --version 10.11.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-07 20:45:08,458 3236 [DEBUG] - Received arguments: install newrelic-dotnet --version 10.11.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-07 20:45:08,630 3236 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-07 20:45:08,661 3236 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-07 20:45:08,676 3236 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-07 20:45:08,817 3236 [DEBUG] - Performing validation checks.
2023-06-07 20:45:08,833 3236 [DEBUG] - Global Configuration Validation Checks:
2023-06-07 20:45:08,833 3236 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-07 20:45:08,848 3236 [DEBUG] - System State Validation Checks:
2023-06-07 20:45:08,863 3236 [DEBUG] - Reboot Requirement Checks:
2023-06-07 20:45:08,879 3236 [DEBUG] - - Pending Computer Rename = Checked
2023-06-07 20:45:08,879 3236 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-07 20:45:08,895 3236 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-07 20:45:08,895 3236 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-07 20:45:08,911 3236 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-07 20:45:08,926 3236 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-07 20:45:08,942 3236 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-07 20:45:09,005 3236 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-07 20:45:09,020 3236 [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.
2023-06-07 20:45:09,083 3236 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.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'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='newrelic-dotnet'|Version='10.11.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='newrelic-dotnet'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IE5F0CGMTQG'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
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'|
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'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-07 20:45:09,114 3236 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-07 20:45:09,129 3236 [INFO ] - Installing the following packages:
2023-06-07 20:45:09,145 3236 [INFO ] - newrelic-dotnet
2023-06-07 20:45:09,161 3236 [INFO ] - By installing, you accept licenses for the packages.
2023-06-07 20:45:09,176 3236 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-07 20:45:09,192 3236 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-07 20:45:09,192 3236 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-07 20:45:09,207 3236 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-07 20:45:09,207 3236 [DEBUG] - * 'ChocolateyLastPathUpdate'='133306163122985128' ('User')
2023-06-07 20:45:09,223 3236 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-07 20:45:09,223 3236 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-07 20:45:09,223 3236 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-07 20:45:09,239 3236 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-07 20:45:09,239 3236 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-07 20:45:09,255 3236 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-07 20:45:09,270 3236 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-07 20:45:09,270 3236 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-07 20:45:09,270 3236 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-07 20:45:09,286 3236 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-07 20:45:09,286 3236 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-07 20:45:09,301 3236 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-07 20:45:09,301 3236 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-07 20:45:09,301 3236 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-07 20:45:09,317 3236 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-07 20:45:09,317 3236 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-07 20:45:13,193 3236 [INFO ] - [NuGet] Installing 'newrelic-dotnet 10.11.0'.
2023-06-07 20:45:13,223 3236 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'newrelic-dotnet'.
2023-06-07 20:45:13,255 3236 [DEBUG] - [NuGet] Added file 'NewRelicDotNetAgent_10.11.0_x64.msi' to folder 'newrelic-dotnet\binaries'.
2023-06-07 20:45:13,427 3236 [DEBUG] - [NuGet] Added file 'NewRelicDotNetAgent_10.11.0_x86.msi' to folder 'newrelic-dotnet\binaries'.
2023-06-07 20:45:13,442 3236 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'newrelic-dotnet\tools'.
2023-06-07 20:45:13,442 3236 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'newrelic-dotnet\tools'.
2023-06-07 20:45:13,442 3236 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'newrelic-dotnet\tools'.
2023-06-07 20:45:13,520 3236 [DEBUG] - [NuGet] Added file 'newrelic-dotnet.nupkg' to folder 'newrelic-dotnet'.
2023-06-07 20:45:13,989 3236 [DEBUG] - [NuGet] Added file 'newrelic-dotnet.nuspec' to folder 'newrelic-dotnet'.
2023-06-07 20:45:14,004 3236 [INFO ] - [NuGet] Successfully installed 'newrelic-dotnet 10.11.0'.
2023-06-07 20:45:14,004 3236 [INFO ] -
newrelic-dotnet v10.11.0 (forced)
2023-06-07 20:45:14,036 3236 [INFO ] - newrelic-dotnet package files install completed. Performing other installation steps.
2023-06-07 20:45:14,114 3236 [DEBUG] - Setting installer args for newrelic-dotnet
2023-06-07 20:45:14,130 3236 [DEBUG] - Setting package parameters for newrelic-dotnet
2023-06-07 20:45:14,130 3236 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1':
2023-06-07 20:45:14,145 3236 [DEBUG] - $package = 'newrelic-dotnet'
$launch_path = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$choco_params = @{
PackageName = $package;
FileType = 'msi';
SilentArgs = '/qb INSTALLLEVEL=50'
file = "$launch_path\..\binaries\NewRelicDotNetAgent_10.11.0_x86.msi";
file64 = "$launch_path\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi";
checksum = '1B38DEF4444FE27F10017293691C743BBED74ABB5255D755F6DEE72E0F8BA8C6'
checksumType = 'sha256'
checksum64 = 'CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA'
checksumType64 = 'sha256'
ValidExitCodes = @(0)
}
$restartiis = $false
if (![string]::IsNullOrEmpty($env:chocolateyPackageParameters))
{
if ($env:chocolateyPackageParameters.ToLower().Contains("restartiis") -or $env:chocolateyPackageParameters.ToLower().Contains("license_key"))
{
# Getting Parameters
$rawTxt = [regex]::escape($env:chocolateyPackageParameters)
$params = $($rawTxt -split ';' | ForEach-Object {
$temp= $_ -split '='
"{0}={1}" -f $temp[0].Substring(0,$temp[0].Length),$temp[1]
} | ConvertFrom-StringData)
if ($params.restartiis -eq 'true')
{
Write-Host "Found 'restartiis' parameter enabled."
$restartiis = $true
}
else
{
$restartiis = $false
}
if (![string]::IsNullOrEmpty($params.license_key))
{
# Passing License key
$choco_params['SilentArgs'] = $choco_params['SilentArgs'] + " NR_LICENSE_KEY=" + $params.license_key
}
else
{
Write-Warning "No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation."
}
}
else
{
Write-Warning "No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation."
}
}
else
{
Write-Warning "No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation."
}
try { #error handling is only necessary if you need to do anything in addition to/instead of the main helpers
if ($restartiis)
{
# Stop IIS before installing
$ServiceName = "W3SVC"
$service = Get-Service "$ServiceName" -ErrorAction SilentlyContinue
if ($service -ne $null)
{
Write-Host $($ServiceName + " service will be stopped")
Stop-Service $ServiceName
Write-Output "Sleeping for $sleep_timeout seconds"
$i = 0
while (!(Get-Service $ServiceName | Where-Object {$_.status -eq "stopped"}))
{
Write-Output "Waiting for ${ServiceName} to be stopped"
if ($i -gt $sleep_timeout)
{
throw "Can't wait for ${ServiceName} to be stopped. Took longer than ${sleep_timeout}s: Timeout"
}
Write-Output "[$i]"
Start-Sleep -s 1
$i++
}
Write-Output "${ServiceName} is stopped. Continue."
Install-ChocolateyPackage @choco_params
Write-Host "Configuring $ServiceName to autostart"
Set-Service $ServiceName -startuptype "auto"
Write-Host $("Starting "+$ServiceName+" service")
Start-Service $ServiceName
}
else
{
Write-Output "No ${ServiceName} service found. Nothing to restart. Continue."
Install-ChocolateyPackage @choco_params
}
}
else
{
Write-Warning "IIS will not be restarted. Please do so manually. In order to stop & start IIS automatically use parameter: -params 'restartiis=true'. "
Install-ChocolateyPackage @choco_params
}
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
2023-06-07 20:45:14,396 3236 [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\newrelic-dotnet\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-07 20:45:14,412 3236 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-07 20:45:15,161 3236 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-07 20:45:15,692 3236 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-07 20:45:15,692 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-07 20:45:15,708 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-07 20:45:15,708 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-07 20:45:15,723 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-07 20:45:15,723 3236 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-07 20:45:15,739 3236 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-07 20:45:15,739 3236 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-07 20:45:15,754 3236 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-07 20:45:15,754 3236 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-07 20:45:15,754 3236 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-07 20:45:15,770 3236 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-07 20:45:15,770 3236 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-07 20:45:15,785 3236 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-07 20:45:15,785 3236 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-07 20:45:15,801 3236 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-07 20:45:15,801 3236 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-07 20:45:15,817 3236 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-07 20:45:15,817 3236 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-07 20:45:15,833 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:15,833 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-07 20:45:15,848 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-07 20:45:15,848 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-07 20:45:15,864 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-07 20:45:15,879 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-07 20:45:15,879 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-07 20:45:15,896 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-07 20:45:15,911 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-07 20:45:15,911 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-07 20:45:15,911 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-07 20:45:15,926 3236 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-07 20:45:15,941 3236 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-07 20:45:15,941 3236 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-07 20:45:15,941 3236 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-07 20:45:15,957 3236 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-07 20:45:15,957 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-07 20:45:15,973 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:15,973 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-07 20:45:15,989 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-07 20:45:15,989 3236 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-07 20:45:16,005 3236 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-07 20:45:16,005 3236 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-07 20:45:16,020 3236 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-07 20:45:16,066 3236 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-07 20:45:16,082 3236 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-07 20:45:16,098 3236 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-07 20:45:16,114 3236 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-07 20:45:16,145 3236 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-07 20:45:16,176 3236 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-07 20:45:16,176 3236 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-07 20:45:16,224 3236 [DEBUG] - Loading community extensions
2023-06-07 20:45:16,255 3236 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-07 20:45:16,255 3236 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-07 20:45:16,381 3236 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-07 20:45:16,381 3236 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-07 20:45:16,395 3236 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-07 20:45:16,395 3236 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-07 20:45:16,411 3236 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-07 20:45:16,426 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-07 20:45:16,426 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-07 20:45:16,441 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-07 20:45:16,441 3236 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-07 20:45:16,457 3236 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-07 20:45:16,457 3236 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-07 20:45:16,457 3236 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-07 20:45:16,473 3236 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-07 20:45:16,473 3236 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-07 20:45:16,504 3236 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-07 20:45:16,504 3236 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-07 20:45:16,520 3236 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-07 20:45:16,520 3236 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-07 20:45:16,520 3236 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-07 20:45:16,536 3236 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-07 20:45:16,536 3236 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-07 20:45:16,551 3236 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-07 20:45:16,567 3236 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-07 20:45:16,567 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:16,582 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-07 20:45:16,598 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-07 20:45:16,598 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-07 20:45:16,614 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-07 20:45:16,629 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-07 20:45:16,629 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-07 20:45:16,629 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-07 20:45:16,645 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-07 20:45:16,661 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-07 20:45:16,661 3236 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-07 20:45:16,676 3236 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-07 20:45:16,676 3236 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-07 20:45:16,692 3236 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-07 20:45:16,692 3236 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-07 20:45:16,692 3236 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-07 20:45:16,707 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-07 20:45:16,707 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:16,723 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-07 20:45:16,723 3236 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-07 20:45:16,738 3236 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-07 20:45:16,738 3236 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-07 20:45:16,738 3236 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-07 20:45:16,754 3236 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-07 20:45:16,754 3236 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-07 20:45:16,770 3236 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-07 20:45:16,770 3236 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-07 20:45:16,786 3236 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-07 20:45:16,786 3236 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-07 20:45:16,801 3236 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-07 20:45:16,801 3236 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-07 20:45:16,816 3236 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-07 20:45:16,816 3236 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-07 20:45:16,833 3236 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-07 20:45:16,833 3236 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-07 20:45:16,848 3236 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-07 20:45:16,848 3236 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-07 20:45:16,865 3236 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-07 20:45:16,865 3236 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-07 20:45:16,879 3236 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-07 20:45:16,879 3236 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-07 20:45:16,895 3236 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-07 20:45:16,895 3236 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-07 20:45:16,911 3236 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-07 20:45:16,926 3236 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-07 20:45:16,926 3236 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-07 20:45:16,926 3236 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-07 20:45:16,942 3236 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-07 20:45:16,957 3236 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-07 20:45:16,957 3236 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-07 20:45:16,973 3236 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-07 20:45:16,973 3236 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-07 20:45:16,989 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:17,004 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-07 20:45:17,004 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-07 20:45:17,020 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-07 20:45:17,020 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-07 20:45:17,035 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-07 20:45:17,035 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-07 20:45:17,051 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-07 20:45:17,051 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-07 20:45:17,066 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-07 20:45:17,066 3236 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-07 20:45:17,082 3236 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-07 20:45:17,082 3236 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-07 20:45:17,098 3236 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-07 20:45:17,098 3236 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-07 20:45:17,113 3236 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-07 20:45:17,113 3236 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-07 20:45:17,129 3236 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-07 20:45:17,129 3236 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-07 20:45:17,129 3236 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:17,144 3236 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-07 20:45:17,144 3236 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-07 20:45:17,144 3236 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-07 20:45:17,160 3236 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-07 20:45:17,160 3236 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-07 20:45:17,176 3236 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-07 20:45:17,176 3236 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-07 20:45:17,192 3236 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-07 20:45:17,192 3236 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-07 20:45:17,207 3236 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-07 20:45:17,207 3236 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-07 20:45:17,207 3236 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-07 20:45:17,223 3236 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-07 20:45:17,317 3236 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-07 20:45:17,333 3236 [DEBUG] - Running 'ChocolateyScriptRunner' for newrelic-dotnet v10.11.0 with packageScript 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\newrelic-dotnet', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-07 20:45:17,396 3236 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1'
2023-06-07 20:45:17,459 3236 [WARN ] - WARNING: No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation.
2023-06-07 20:45:17,473 3236 [WARN ] - WARNING: IIS will not be restarted. Please do so manually. In order to stop & start IIS automatically use parameter: -params 'restartiis=true'.
2023-06-07 20:45:17,630 3236 [DEBUG] - Running Install-ChocolateyPackage -checksumType64 'sha256' -checksum '1B38DEF4444FE27F10017293691C743BBED74ABB5255D755F6DEE72E0F8BA8C6' -checksum64 'CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA' -packageName 'newrelic-dotnet' -checksumType 'sha256' -fileType 'msi' -file64 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi' -validExitCodes '0' -silentArgs '/qb INSTALLLEVEL=50' -file 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x86.msi'
2023-06-07 20:45:17,770 3236 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'newrelic-dotnet' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi' -url 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x86.msi' -url64bit 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi' -checksum '1B38DEF4444FE27F10017293691C743BBED74ABB5255D755F6DEE72E0F8BA8C6' -checksumType 'sha256' -checksum64 'CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-06-07 20:45:18,020 3236 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-06-07 20:45:18,067 3236 [DEBUG] - CPU is 64 bit
2023-06-07 20:45:18,098 3236 [DEBUG] - Setting url to 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi' and bitPackage to 64
2023-06-07 20:45:18,208 3236 [DEBUG] - Running Get-WebFileName -url 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi' -defaultName 'newrelic-dotnetInstall.msi'
2023-06-07 20:45:18,349 3236 [INFO ] - Attempt to use original download file name failed for 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi'.
2023-06-07 20:45:18,364 3236 [INFO ] - Copying newrelic-dotnet
from 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi'
2023-06-07 20:45:20,427 3236 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-06-07 20:45:20,443 3236 [DEBUG] - Verifying package provided checksum of 'CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi'.
2023-06-07 20:45:20,490 3236 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi' -checksum 'CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA' -checksumType 'sha256' -originalUrl 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.11.0_x64.msi'
2023-06-07 20:45:20,505 3236 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-06-07 20:45:20,520 3236 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi"]
2023-06-07 20:45:21,006 3236 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="CA9329B32FFB50DBADEF0657FD20BD309C2240744B444D2D7927F9B78A5292FA" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi"] exited with '0'.
2023-06-07 20:45:21,083 3236 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'newrelic-dotnet' -fileType 'msi' -silentArgs '/qb INSTALLLEVEL=50' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2023-06-07 20:45:21,083 3236 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-07 20:45:21,099 3236 [INFO ] - Installing newrelic-dotnet...
2023-06-07 20:45:21,286 3236 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi" /qb INSTALLLEVEL=50 ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-06-07 20:45:21,396 3236 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-07 20:45:21,443 3236 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi" /qb INSTALLLEVEL=50 ]. This may take a while, depending on the statements.
2023-06-07 20:45:28,068 3236 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.11.0\newrelic-dotnetInstall.msi" /qb INSTALLLEVEL=50 ] exited with '0'.
2023-06-07 20:45:28,100 3236 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-07 20:45:28,115 3236 [INFO ] - newrelic-dotnet has been installed.
2023-06-07 20:45:28,146 3236 [DEBUG] - ----------------------------------------------------------------------
2023-06-07 20:45:28,161 3236 [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\newrelic-dotnet\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-07 20:45:28,178 3236 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-07 20:45:28,271 3236 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-07 20:45:28,319 3236 [INFO ] - newrelic-dotnet may be able to be automatically uninstalled.
2023-06-07 20:45:28,334 3236 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-07 20:45:28,349 3236 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-06-07 20:45:28,349 3236 [DEBUG] - * NEWRELIC_INSTALL_PATH='C:\Program Files\New Relic\.NET Agent\' (Machine)
2023-06-07 20:45:28,349 3236 [DEBUG] - * COR_ENABLE_PROFILING='1' (Machine)
2023-06-07 20:45:28,364 3236 [DEBUG] - * COR_PROFILER='{71DA0A04-7777-4EC6-9643-7D28B46A8A41}' (Machine)
2023-06-07 20:45:28,364 3236 [DEBUG] - * CORECLR_PROFILER='{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' (Machine)
2023-06-07 20:45:28,380 3236 [DEBUG] - * CORECLR_NEWRELIC_HOME='C:\ProgramData\New Relic\.NET Agent\' (Machine)
2023-06-07 20:45:28,537 3236 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
2023-06-07 20:45:28,552 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\LICENSE.txt'
with checksum '4307ADFB48E9AF7D15224DB7286B4F40'
2023-06-07 20:45:28,662 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg'
with checksum '47A70ABCDFB1CD7674364F3550C95281'
2023-06-07 20:45:28,662 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec'
with checksum '443D622417802A84491B85EFFC4BC957'
2023-06-07 20:45:28,756 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x64.msi'
with checksum '6F2A54B751E2ECFE599F8DD87225B346'
2023-06-07 20:45:28,849 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x86.msi'
with checksum '766025AF1EFEC15940F17B8CBB0FAD1A'
2023-06-07 20:45:28,849 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1'
with checksum '93A7CD10148EB7CCC90B3A4A14CBD90B'
2023-06-07 20:45:28,865 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'
with checksum '226F95EAE48340A8F87AEA8A3C91A045'
2023-06-07 20:45:28,865 3236 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt'
with checksum '7A831FFDBECCD76BE40F18613B36FD7F'
2023-06-07 20:45:28,943 3236 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0".
2023-06-07 20:45:29,006 3236 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0\.registry'
2023-06-07 20:45:29,068 3236 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0\.files'
2023-06-07 20:45:29,083 3236 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0\.extra".
2023-06-07 20:45:29,083 3236 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0\.version".
2023-06-07 20:45:29,099 3236 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0\.sxs".
2023-06-07 20:45:29,099 3236 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.11.0\.pin".
2023-06-07 20:45:29,114 3236 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-07 20:45:29,130 3236 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\newrelic-dotnet\.chocolateyPending".
2023-06-07 20:45:29,146 3236 [INFO ] - The install of newrelic-dotnet was successful.
2023-06-07 20:45:29,146 3236 [INFO ] - Software installed as 'msi', install location is likely default.
2023-06-07 20:45:29,162 3236 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\newrelic-dotnet.10.11.0.nupkg".
2023-06-07 20:45:29,255 3236 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-07 20:45:29,255 3236 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-07 20:45:29,303 3236 [DEBUG] - Exiting with 0
2023-06-07 20:45:41,818 4684 [DEBUG] - XmlConfiguration is now operational
2023-06-07 20:45:41,990 4684 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:41,990 4684 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:42,006 4684 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:42,006 4684 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:42,006 4684 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-07 20:45:42,006 4684 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-07 20:45:42,287 4684 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-07 20:45:42,287 4684 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-07 20:45:42,302 4684 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-07 20:45:42,302 4684 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-07 20:45:42,302 4684 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-07 20:45:42,302 4684 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-07 20:45:42,318 4684 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-07 20:45:42,318 4684 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-07 20:45:42,318 4684 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-07 20:45:42,333 4684 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-07 20:45:42,333 4684 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-07 20:45:42,333 4684 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-07 20:45:42,349 4684 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-07 20:45:42,349 4684 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-07 20:45:42,349 4684 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-07 20:45:42,349 4684 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-07 20:45:42,365 4684 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-07 20:45:42,382 4684 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-07 20:45:42,693 4684 [INFO ] - ============================================================
2023-06-07 20:45:43,084 4684 [INFO ] - Chocolatey v1.3.0
2023-06-07 20:45:43,100 4684 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-07 20:45:43,115 4684 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-07 20:45:43,130 4684 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-07 20:45:43,163 4684 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall newrelic-dotnet --version 10.11.0 -dvy --execution-timeout=2700
2023-06-07 20:45:43,163 4684 [DEBUG] - Received arguments: uninstall newrelic-dotnet --version 10.11.0 -dvy --execution-timeout=2700
2023-06-07 20:45:43,350 4684 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-07 20:45:43,366 4684 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-07 20:45:43,398 4684 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-07 20:45:43,553 4684 [DEBUG] - Performing validation checks.
2023-06-07 20:45:43,568 4684 [DEBUG] - Global Configuration Validation Checks:
2023-06-07 20:45:43,568 4684 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-07 20:45:43,584 4684 [DEBUG] - System State Validation Checks:
2023-06-07 20:45:43,599 4684 [DEBUG] - Reboot Requirement Checks:
2023-06-07 20:45:43,599 4684 [DEBUG] - - Pending Computer Rename = Checked
2023-06-07 20:45:43,615 4684 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-07 20:45:43,631 4684 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-07 20:45:43,646 4684 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-07 20:45:43,646 4684 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-07 20:45:43,662 4684 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-07 20:45:43,677 4684 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-07 20:45:43,725 4684 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-07 20:45:43,740 4684 [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.
2023-06-07 20:45:43,787 4684 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.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'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='newrelic-dotnet'|Version='10.11.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='newrelic-dotnet'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IE5F0CGMTQG'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
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'|
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'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-07 20:45:43,803 4684 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-07 20:45:43,834 4684 [INFO ] - Uninstalling the following packages:
2023-06-07 20:45:43,850 4684 [INFO ] - newrelic-dotnet
2023-06-07 20:45:43,866 4684 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-07 20:45:43,881 4684 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-07 20:45:43,881 4684 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-07 20:45:43,896 4684 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-07 20:45:43,896 4684 [DEBUG] - * 'ChocolateyLastPathUpdate'='133306163122985128' ('User')
2023-06-07 20:45:43,896 4684 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-07 20:45:43,912 4684 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-07 20:45:43,912 4684 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-07 20:45:43,928 4684 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-07 20:45:43,928 4684 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-07 20:45:43,928 4684 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-07 20:45:43,944 4684 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-07 20:45:43,944 4684 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-07 20:45:43,958 4684 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-07 20:45:43,958 4684 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-07 20:45:43,974 4684 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-07 20:45:43,990 4684 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-07 20:45:43,990 4684 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-07 20:45:44,006 4684 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-07 20:45:44,006 4684 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-07 20:45:44,021 4684 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-07 20:45:44,021 4684 [DEBUG] - * 'NEWRELIC_INSTALL_PATH'='C:\Program Files\New Relic\.NET Agent\' ('Machine')
2023-06-07 20:45:44,021 4684 [DEBUG] - * 'COR_ENABLE_PROFILING'='1' ('Machine')
2023-06-07 20:45:44,054 4684 [DEBUG] - * 'COR_PROFILER'='{71DA0A04-7777-4EC6-9643-7D28B46A8A41}' ('Machine')
2023-06-07 20:45:44,054 4684 [DEBUG] - * 'CORECLR_PROFILER'='{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' ('Machine')
2023-06-07 20:45:44,069 4684 [DEBUG] - * 'CORECLR_NEWRELIC_HOME'='C:\ProgramData\New Relic\.NET Agent\' ('Machine')
2023-06-07 20:45:44,224 4684 [DEBUG] - Running list with the following filter = ''
2023-06-07 20:45:44,224 4684 [DEBUG] - --- Start of List ---
2023-06-07 20:45:44,662 4684 [DEBUG] - newrelic-dotnet 10.11.0
2023-06-07 20:45:44,677 4684 [DEBUG] - --- End of List ---
2023-06-07 20:45:45,006 4684 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-07 20:45:45,021 4684 [DEBUG] - Backing up existing newrelic-dotnet prior to operation.
2023-06-07 20:45:45,037 4684 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
to 'C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet'
2023-06-07 20:45:47,052 4684 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\newrelic-dotnet".
2023-06-07 20:45:47,069 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\LICENSE.txt".
2023-06-07 20:45:47,069 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\newrelic-dotnet.nupkg"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg".
2023-06-07 20:45:47,117 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\newrelic-dotnet.nuspec"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec".
2023-06-07 20:45:47,117 4684 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries".
2023-06-07 20:45:47,131 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x64.msi"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x64.msi".
2023-06-07 20:45:47,147 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x86.msi"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x86.msi".
2023-06-07 20:45:47,179 4684 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools".
2023-06-07 20:45:47,179 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1".
2023-06-07 20:45:47,194 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1".
2023-06-07 20:45:47,209 4684 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt".
2023-06-07 20:45:48,725 4684 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
2023-06-07 20:45:48,740 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\LICENSE.txt'
with checksum '4307ADFB48E9AF7D15224DB7286B4F40'
2023-06-07 20:45:48,867 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg'
with checksum '47A70ABCDFB1CD7674364F3550C95281'
2023-06-07 20:45:48,867 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec'
with checksum '443D622417802A84491B85EFFC4BC957'
2023-06-07 20:45:48,945 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x64.msi'
with checksum '6F2A54B751E2ECFE599F8DD87225B346'
2023-06-07 20:45:49,008 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.11.0_x86.msi'
with checksum '766025AF1EFEC15940F17B8CBB0FAD1A'
2023-06-07 20:45:49,022 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1'
with checksum '93A7CD10148EB7CCC90B3A4A14CBD90B'
2023-06-07 20:45:49,022 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'
with checksum '226F95EAE48340A8F87AEA8A3C91A045'
2023-06-07 20:45:49,022 4684 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt'
with checksum '7A831FFDBECCD76BE40F18613B36FD7F'
2023-06-07 20:45:49,849 4684 [INFO ] - [NuGet] Uninstalling 'newrelic-dotnet 10.11.0'.
2023-06-07 20:45:49,865 4684 [INFO ] -
newrelic-dotnet v10.11.0
2023-06-07 20:45:49,945 4684 [DEBUG] - Setting installer args for newrelic-dotnet
2023-06-07 20:45:49,961 4684 [DEBUG] - Setting package parameters for newrelic-dotnet
2023-06-07 20:45:49,961 4684 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1':
2023-06-07 20:45:49,974 4684 [DEBUG] - $package = 'newrelic-dotnet' # arbitrary name for the package, used in messages
$ProductCode_x86 = '{49A34D36-5BA3-48C9-8EBD-03354666AD1A}'
$ProductCode_x64 = '{8333B4B6-FF5C-495C-BF85-CC5DDD69D0C6}'
if( `
(Test-Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductCode_x86") -or `
(Test-Path "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$ProductCode_x86") `
){
try {
# http://stackoverflow.com/questions/450027/uninstalling-an-msi-file-from-the-command-line-without-using-msiexec
$msiArgs = "/X $ProductCode_x86 /qb"
Start-ChocolateyProcessAsAdmin "$msiArgs" 'msiexec'
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
}
if( `
(Test-Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductCode_x64") -or `
(Test-Path "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$ProductCode_x64") `
){
try {
# http://stackoverflow.com/questions/450027/uninstalling-an-msi-file-from-the-command-line-without-using-msiexec
$msiArgs = "/X $ProductCode_x64 /qb"
Start-ChocolateyProcessAsAdmin "$msiArgs" 'msiexec'
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
}
2023-06-07 20:45:50,037 4684 [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\newrelic-dotnet\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-07 20:45:50,053 4684 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-07 20:45:50,694 4684 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-07 20:45:51,241 4684 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-07 20:45:51,241 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-07 20:45:51,256 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-07 20:45:51,256 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-07 20:45:51,272 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-07 20:45:51,272 4684 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-07 20:45:51,287 4684 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-07 20:45:51,287 4684 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-07 20:45:51,303 4684 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-07 20:45:51,303 4684 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-07 20:45:51,318 4684 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-07 20:45:51,318 4684 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-07 20:45:51,334 4684 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-07 20:45:51,334 4684 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-07 20:45:51,350 4684 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-07 20:45:51,350 4684 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-07 20:45:51,382 4684 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-07 20:45:51,382 4684 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-07 20:45:51,397 4684 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-07 20:45:51,413 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:51,444 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-07 20:45:51,444 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-07 20:45:51,459 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-07 20:45:51,459 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-07 20:45:51,476 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-07 20:45:51,491 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-07 20:45:51,506 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-07 20:45:51,506 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-07 20:45:51,522 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-07 20:45:51,522 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-07 20:45:51,537 4684 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-07 20:45:51,553 4684 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-07 20:45:51,553 4684 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-07 20:45:51,553 4684 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-07 20:45:51,569 4684 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-07 20:45:51,569 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-07 20:45:51,584 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:51,599 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-07 20:45:51,599 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-07 20:45:51,599 4684 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-07 20:45:51,615 4684 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-07 20:45:51,630 4684 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-07 20:45:51,647 4684 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-07 20:45:51,647 4684 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-07 20:45:51,662 4684 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-07 20:45:51,678 4684 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-07 20:45:51,678 4684 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-07 20:45:51,693 4684 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-07 20:45:51,693 4684 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-07 20:45:51,709 4684 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-07 20:45:51,741 4684 [DEBUG] - Loading community extensions
2023-06-07 20:45:51,771 4684 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-07 20:45:51,788 4684 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-07 20:45:51,898 4684 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-07 20:45:51,913 4684 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-07 20:45:51,913 4684 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-07 20:45:51,928 4684 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-07 20:45:51,943 4684 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-07 20:45:51,943 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-07 20:45:51,959 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-07 20:45:51,959 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-07 20:45:51,959 4684 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-07 20:45:51,975 4684 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-07 20:45:51,990 4684 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-07 20:45:51,990 4684 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-07 20:45:51,990 4684 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-07 20:45:52,006 4684 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-07 20:45:52,022 4684 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-07 20:45:52,022 4684 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-07 20:45:52,037 4684 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-07 20:45:52,053 4684 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-07 20:45:52,069 4684 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-07 20:45:52,069 4684 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-07 20:45:52,084 4684 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-07 20:45:52,084 4684 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-07 20:45:52,100 4684 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-07 20:45:52,116 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:52,116 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-07 20:45:52,131 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-07 20:45:52,131 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-07 20:45:52,147 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-07 20:45:52,162 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-07 20:45:52,162 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-07 20:45:52,179 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-07 20:45:52,179 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-07 20:45:52,193 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-07 20:45:52,193 4684 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-07 20:45:52,209 4684 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-07 20:45:52,209 4684 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-07 20:45:52,224 4684 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-07 20:45:52,224 4684 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-07 20:45:52,240 4684 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-07 20:45:52,240 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-07 20:45:52,256 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:52,256 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-07 20:45:52,272 4684 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-07 20:45:52,287 4684 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-07 20:45:52,287 4684 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-07 20:45:52,302 4684 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-07 20:45:52,302 4684 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-07 20:45:52,318 4684 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-07 20:45:52,318 4684 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-07 20:45:52,318 4684 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-07 20:45:52,334 4684 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-07 20:45:52,334 4684 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-07 20:45:52,349 4684 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-07 20:45:52,349 4684 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-07 20:45:52,365 4684 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-07 20:45:52,365 4684 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-07 20:45:52,381 4684 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-07 20:45:52,381 4684 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-07 20:45:52,397 4684 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-07 20:45:52,397 4684 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-07 20:45:52,397 4684 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-07 20:45:52,412 4684 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-07 20:45:52,412 4684 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-07 20:45:52,428 4684 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-07 20:45:52,428 4684 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-07 20:45:52,444 4684 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-07 20:45:52,444 4684 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-07 20:45:52,459 4684 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-07 20:45:52,459 4684 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-07 20:45:52,474 4684 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-07 20:45:52,474 4684 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-07 20:45:52,490 4684 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-07 20:45:52,490 4684 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-07 20:45:52,506 4684 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-07 20:45:52,506 4684 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-07 20:45:52,521 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:52,521 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-07 20:45:52,537 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-07 20:45:52,537 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-07 20:45:52,553 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-07 20:45:52,568 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-07 20:45:52,568 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-07 20:45:52,586 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-07 20:45:52,586 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-07 20:45:52,600 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-07 20:45:52,615 4684 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-07 20:45:52,615 4684 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-07 20:45:52,630 4684 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-07 20:45:52,646 4684 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-07 20:45:52,646 4684 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-07 20:45:52,662 4684 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-07 20:45:52,662 4684 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-07 20:45:52,662 4684 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-07 20:45:52,678 4684 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-07 20:45:52,693 4684 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-07 20:45:52,693 4684 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-07 20:45:52,709 4684 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-07 20:45:52,709 4684 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-07 20:45:52,724 4684 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-07 20:45:52,724 4684 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-07 20:45:52,740 4684 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-07 20:45:52,740 4684 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-07 20:45:52,756 4684 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-07 20:45:52,756 4684 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-07 20:45:52,771 4684 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-07 20:45:52,771 4684 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-07 20:45:52,787 4684 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-07 20:45:52,803 4684 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-07 20:45:53,116 4684 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-07 20:45:53,131 4684 [DEBUG] - Running 'ChocolateyScriptRunner' for newrelic-dotnet v10.11.0 with packageScript 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\newrelic-dotnet', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-07 20:45:53,194 4684 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'
2023-06-07 20:45:53,491 4684 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '/X {8333B4B6-FF5C-495C-BF85-CC5DDD69D0C6} /qb' -exeToRun 'msiexec'
2023-06-07 20:45:53,569 4684 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-07 20:45:53,632 4684 [DEBUG] - Elevating permissions and running ["msiexec" /X {8333B4B6-FF5C-495C-BF85-CC5DDD69D0C6} /qb]. This may take a while, depending on the statements.
2023-06-07 20:46:00,787 4684 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /X {8333B4B6-FF5C-495C-BF85-CC5DDD69D0C6} /qb] exited with '0'.
2023-06-07 20:46:00,834 4684 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-06-07 20:46:00,834 4684 [INFO ] - 0
2023-06-07 20:46:02,631 4684 [ERROR] - ERROR: The term 'Write-ChocolateyFailure' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1: line 34
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 59
at <ScriptBlock>, <No file>: line 1
2023-06-07 20:46:02,694 4684 [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\newrelic-dotnet\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2023-06-07 20:46:02,726 4684 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-07 20:46:02,896 4684 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-07 20:46:02,896 4684 [ERROR] - newrelic-dotnet uninstall not successful.
2023-06-07 20:46:02,913 4684 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'.
See log for details.
2023-06-07 20:46:02,928 4684 [ERROR] - newrelic-dotnet not uninstalled. An error occurred during uninstall:
newrelic-dotnet uninstall not successful.
2023-06-07 20:46:02,944 4684 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-07 20:46:02,959 4684 [DEBUG] - The following values have been removed:
2023-06-07 20:46:02,959 4684 [DEBUG] - * NEWRELIC_INSTALL_PATH='C:\Program Files\New Relic\.NET Agent\' (Machine)
2023-06-07 20:46:02,975 4684 [DEBUG] - * COR_ENABLE_PROFILING='1' (Machine)
2023-06-07 20:46:02,975 4684 [DEBUG] - * COR_PROFILER='{71DA0A04-7777-4EC6-9643-7D28B46A8A41}' (Machine)
2023-06-07 20:46:02,990 4684 [DEBUG] - * CORECLR_PROFILER='{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' (Machine)
2023-06-07 20:46:02,990 4684 [DEBUG] - * CORECLR_NEWRELIC_HOME='C:\ProgramData\New Relic\.NET Agent\' (Machine)
2023-06-07 20:46:03,037 4684 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-07 20:46:03,037 4684 [INFO ] -
2023-06-07 20:46:03,053 4684 [ERROR] - Failures
2023-06-07 20:46:03,053 4684 [ERROR] - - newrelic-dotnet (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'.
See log for details.
2023-06-07 20:46:03,068 4684 [WARN ] -
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with `-n` to skip running a chocolateyUninstall script, additionally
adding `--skip-autouninstaller` to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
`$env:ChocolateyInstall\lib` and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.
2023-06-07 20:46:03,084 4684 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-07 20:46:03,132 4684 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment