Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 19, 2023 02:45
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/9eb67c6ddcd5472142e43a342c4abfa3 to your computer and use it in GitHub Desktop.
Save choco-bot/9eb67c6ddcd5472142e43a342c4abfa3 to your computer and use it in GitHub Desktop.
newrelic-dotnet v10.13.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-769293731-2782751995-1397210051-1000</user>
<keys>
<key installerType="Msi" displayName="New Relic .NET Agent (64-bit)" displayVersion="10.13.0.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B49EB88C-17DB-4758-8669-CD28FB6F94D6}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{B49EB88C-17DB-4758-8669-CD28FB6F94D6}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[New Relic]]></Publisher>
<InstallDate>20230719</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\]]></InstallSource>
<Language>1033</Language>
<Version>168624128</Version>
<VersionMajor>10</VersionMajor>
<VersionMinor>13</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\46234.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/newrelic-dotnet/10.13.0
  • Tested 19 Jul 2023 02:45:17 +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="5935C170E94C82664E54FD1622335339" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec" checksum="76ED14FEADA64155D31D2AE26EB68050" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x64.msi" checksum="603F319447E6D6C461A95B69B547032B" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x86.msi" checksum="E643EDB45B22D964235CC5C314E07D4D" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1" checksum="DCB9E76F24C3BE42E00DAB33FC232CA9" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1" checksum="9834E9A61973F5986516323979A7DC2D" />
<file path="C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt" checksum="7A831FFDBECCD76BE40F18613B36FD7F" />
</files>
</fileSnapshot>
2023-07-19 02:44:09,653 2356 [DEBUG] - XmlConfiguration is now operational
2023-07-19 02:44:09,810 2356 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,810 2356 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,825 2356 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,825 2356 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,825 2356 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,825 2356 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,841 2356 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,841 2356 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,841 2356 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:09,856 2356 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-19 02:44:10,716 2356 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,716 2356 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,716 2356 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,731 2356 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,731 2356 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,731 2356 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,731 2356 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,747 2356 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,747 2356 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,747 2356 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:10,778 2356 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-07-19 02:44:10,795 2356 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-19 02:44:10,795 2356 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-07-19 02:44:10,810 2356 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-19 02:44:10,810 2356 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-19 02:44:10,810 2356 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-19 02:44:10,825 2356 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-19 02:44:10,825 2356 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-19 02:44:10,825 2356 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-19 02:44:10,825 2356 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-19 02:44:10,840 2356 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-19 02:44:10,840 2356 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-19 02:44:10,840 2356 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-19 02:44:10,856 2356 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-19 02:44:10,856 2356 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-07-19 02:44:10,856 2356 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-19 02:44:10,856 2356 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-19 02:44:10,872 2356 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-07-19 02:44:10,872 2356 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-19 02:44:10,872 2356 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-19 02:44:11,169 2356 [INFO ] - ============================================================
2023-07-19 02:44:11,576 2356 [INFO ] - Chocolatey v2.1.0
2023-07-19 02:44:11,608 2356 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-19 02:44:11,622 2356 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-19 02:44:11,622 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-19 02:44:11,654 2356 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install newrelic-dotnet --version 10.13.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-19 02:44:11,654 2356 [DEBUG] - Received arguments: install newrelic-dotnet --version 10.13.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-19 02:44:11,825 2356 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-19 02:44:11,858 2356 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-19 02:44:11,888 2356 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-19 02:44:12,108 2356 [DEBUG] - Performing validation checks.
2023-07-19 02:44:12,123 2356 [DEBUG] - Global Configuration Validation Checks:
2023-07-19 02:44:12,123 2356 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-19 02:44:12,138 2356 [DEBUG] - System State Validation Checks:
2023-07-19 02:44:12,153 2356 [DEBUG] - Reboot Requirement Checks:
2023-07-19 02:44:12,169 2356 [DEBUG] - - Pending Computer Rename = Checked
2023-07-19 02:44:12,169 2356 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-19 02:44:12,184 2356 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-19 02:44:12,200 2356 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-19 02:44:12,216 2356 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-19 02:44:12,216 2356 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-19 02:44:12,231 2356 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-19 02:44:12,279 2356 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-19 02:44:12,294 2356 [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-07-19 02:44:12,341 2356 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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.13.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='newrelic-dotnet'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.1.0.0'|
Information.ChocolateyProductVersion='2.1.0'|
Information.FullName='choco, Version=2.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-T6H68F34GMG'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-07-19 02:44:12,372 2356 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-19 02:44:12,405 2356 [INFO ] - Installing the following packages:
2023-07-19 02:44:12,405 2356 [INFO ] - newrelic-dotnet
2023-07-19 02:44:12,419 2356 [INFO ] - By installing, you accept licenses for the packages.
2023-07-19 02:44:12,435 2356 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-19 02:44:12,435 2356 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-19 02:44:12,451 2356 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-19 02:44:12,451 2356 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-19 02:44:12,466 2356 [DEBUG] - * 'ChocolateyLastPathUpdate'='133341575109261284' ('User')
2023-07-19 02:44:12,466 2356 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-19 02:44:12,481 2356 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-19 02:44:12,481 2356 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-19 02:44:12,497 2356 [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-07-19 02:44:12,497 2356 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-19 02:44:12,513 2356 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-19 02:44:12,513 2356 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-19 02:44:12,529 2356 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-19 02:44:12,529 2356 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-19 02:44:12,544 2356 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-19 02:44:12,544 2356 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-19 02:44:12,577 2356 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-19 02:44:12,577 2356 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-19 02:44:12,591 2356 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-19 02:44:12,591 2356 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-19 02:44:12,607 2356 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-19 02:44:13,169 2356 [DEBUG] - Running list with the following filter = ''
2023-07-19 02:44:13,184 2356 [DEBUG] - --- Start of List ---
2023-07-19 02:44:13,232 2356 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-07-19 02:44:13,763 2356 [DEBUG] - chocolatey 2.1.0
2023-07-19 02:44:13,778 2356 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-07-19 02:44:13,841 2356 [DEBUG] - KB2919355 1.0.20160915
2023-07-19 02:44:13,859 2356 [DEBUG] - KB2919442 1.0.20160915
2023-07-19 02:44:13,872 2356 [DEBUG] - KB2999226 1.0.20181019
2023-07-19 02:44:13,887 2356 [DEBUG] - KB3035131 1.0.3
2023-07-19 02:44:13,905 2356 [DEBUG] - KB3118401 1.0.5
2023-07-19 02:44:13,919 2356 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-07-19 02:44:13,919 2356 [DEBUG] - --- End of List ---
2023-07-19 02:44:13,934 2356 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-07-19 02:44:14,810 2356 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-07-19 02:44:15,844 2356 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='newrelic-dotnet',Version='10.13.0')
2023-07-19 02:44:16,122 2356 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='newrelic-dotnet',Version='10.13.0') 247ms
2023-07-19 02:44:16,294 2356 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-07-19 02:44:17,107 2356 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-07-19 02:44:17,122 2356 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='newrelic-dotnet',Version='10.13.0')
2023-07-19 02:44:17,374 2356 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-07-19 02:44:17,388 2356 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-07-19 02:44:17,453 2356 [DEBUG] - Attempting to delete file "".
2023-07-19 02:44:17,513 2356 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/newrelic-dotnet/10.13.0
2023-07-19 02:44:18,278 2356 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/newrelic-dotnet/10.13.0 762ms
2023-07-19 02:44:18,357 2356 [INFO ] - [NuGet] Acquiring lock for the installation of newrelic-dotnet 10.13.0
2023-07-19 02:44:18,435 2356 [INFO ] - [NuGet] Acquired lock for the installation of newrelic-dotnet 10.13.0
2023-07-19 02:44:20,684 2356 [INFO ] - [NuGet] Installed newrelic-dotnet 10.13.0 from https://community.chocolatey.org/api/v2/ with content hash iXiXaP/9OK0nSFn1grCm6Orqqs0yPpR3Q6ZRxvABHVKSDhceBiCd3r1w1TlH/t4sZhNcHgngLbuCctYGwjVGNg==.
2023-07-19 02:44:20,780 2356 [INFO ] - [NuGet] Adding package 'newrelic-dotnet.10.13.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-07-19 02:44:21,013 2356 [INFO ] - [NuGet] Added package 'newrelic-dotnet.10.13.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-07-19 02:44:21,044 2356 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\newrelic-dotnet/10.13.0\newrelic-dotnet.10.13.0.nupkg".
2023-07-19 02:44:21,153 2356 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\newrelic-dotnet/10.13.0\.nupkg.metadata".
2023-07-19 02:44:21,169 2356 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\newrelic-dotnet/10.13.0\newrelic-dotnet.10.13.0.nupkg.sha512".
2023-07-19 02:44:21,185 2356 [INFO ] -
newrelic-dotnet v10.13.0 (forced)
2023-07-19 02:44:21,278 2356 [INFO ] - newrelic-dotnet package files install completed. Performing other installation steps.
2023-07-19 02:44:21,358 2356 [DEBUG] - Setting installer args for newrelic-dotnet
2023-07-19 02:44:21,358 2356 [DEBUG] - Setting package parameters for newrelic-dotnet
2023-07-19 02:44:21,372 2356 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1':
2023-07-19 02:44:21,387 2356 [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.13.0_x86.msi";
file64 = "$launch_path\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi";
checksum = 'A66A75309281CBC902E393EC391F0FBB849A7BA9F115E4F72C82A830EC2E5312'
checksumType = 'sha256'
checksum64 = '5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A'
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-07-19 02:44:21,497 2356 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-07-19 02:44:21,512 2356 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-19 02:44:22,263 2356 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-19 02:44:22,872 2356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-19 02:44:22,887 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-19 02:44:22,887 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-07-19 02:44:22,887 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-19 02:44:22,903 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-19 02:44:22,919 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-19 02:44:22,919 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-19 02:44:22,934 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-19 02:44:22,934 2356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-19 02:44:22,950 2356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-19 02:44:22,950 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-19 02:44:22,950 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-19 02:44:22,966 2356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-19 02:44:22,966 2356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-19 02:44:22,981 2356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-19 02:44:22,981 2356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-19 02:44:22,997 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-19 02:44:22,997 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-19 02:44:23,012 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-19 02:44:23,012 2356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-19 02:44:23,028 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-19 02:44:23,028 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-19 02:44:23,044 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-19 02:44:23,059 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-19 02:44:23,075 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-19 02:44:23,075 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-19 02:44:23,091 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-19 02:44:23,091 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-19 02:44:23,106 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-19 02:44:23,122 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-19 02:44:23,122 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-19 02:44:23,138 2356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-19 02:44:23,138 2356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-19 02:44:23,153 2356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-19 02:44:23,153 2356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-19 02:44:23,169 2356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-19 02:44:23,169 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-19 02:44:23,184 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-19 02:44:23,184 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-19 02:44:23,200 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-19 02:44:23,231 2356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-19 02:44:23,231 2356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-19 02:44:23,247 2356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-19 02:44:23,247 2356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-19 02:44:23,263 2356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-19 02:44:23,263 2356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-19 02:44:23,278 2356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-19 02:44:23,278 2356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-19 02:44:23,293 2356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-19 02:44:23,293 2356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-19 02:44:23,310 2356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-19 02:44:23,341 2356 [DEBUG] - Loading community extensions
2023-07-19 02:44:23,372 2356 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-19 02:44:23,388 2356 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-19 02:44:23,498 2356 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-19 02:44:23,512 2356 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-19 02:44:23,512 2356 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-19 02:44:23,528 2356 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-19 02:44:23,528 2356 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-19 02:44:23,544 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-19 02:44:23,544 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-07-19 02:44:23,560 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-19 02:44:23,560 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-19 02:44:23,575 2356 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-19 02:44:23,575 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-19 02:44:23,590 2356 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-19 02:44:23,606 2356 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-19 02:44:23,606 2356 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-19 02:44:23,622 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-19 02:44:23,642 2356 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-19 02:44:23,653 2356 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-19 02:44:23,653 2356 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-19 02:44:23,668 2356 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-19 02:44:23,668 2356 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-19 02:44:23,684 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-19 02:44:23,684 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-19 02:44:23,700 2356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-19 02:44:23,700 2356 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-19 02:44:23,715 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-19 02:44:23,715 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-19 02:44:23,731 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-19 02:44:23,731 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-19 02:44:23,747 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-19 02:44:23,747 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-19 02:44:23,762 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-19 02:44:23,762 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-19 02:44:23,778 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-19 02:44:23,778 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-19 02:44:23,795 2356 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-19 02:44:23,795 2356 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-19 02:44:23,810 2356 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-19 02:44:23,810 2356 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-19 02:44:23,825 2356 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-19 02:44:23,825 2356 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-19 02:44:23,841 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-19 02:44:23,841 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-19 02:44:23,856 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-19 02:44:23,856 2356 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-19 02:44:23,872 2356 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-19 02:44:23,872 2356 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-19 02:44:23,888 2356 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-19 02:44:23,888 2356 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-19 02:44:23,903 2356 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-19 02:44:23,903 2356 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-19 02:44:23,919 2356 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-19 02:44:23,919 2356 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-19 02:44:23,935 2356 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-19 02:44:23,950 2356 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-19 02:44:23,950 2356 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-19 02:44:23,982 2356 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-19 02:44:23,997 2356 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-19 02:44:23,997 2356 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-19 02:44:24,012 2356 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-19 02:44:24,029 2356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-07-19 02:44:24,029 2356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-19 02:44:24,044 2356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-19 02:44:24,044 2356 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-19 02:44:24,059 2356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-19 02:44:24,059 2356 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-19 02:44:24,075 2356 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-19 02:44:24,075 2356 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-19 02:44:24,090 2356 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-19 02:44:24,107 2356 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-19 02:44:24,107 2356 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-19 02:44:24,122 2356 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-19 02:44:24,122 2356 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-19 02:44:24,138 2356 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-19 02:44:24,138 2356 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-19 02:44:24,138 2356 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-19 02:44:24,153 2356 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-19 02:44:24,153 2356 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-19 02:44:24,169 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-19 02:44:24,169 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-19 02:44:24,185 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-19 02:44:24,185 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-19 02:44:24,200 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-19 02:44:24,200 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-19 02:44:24,216 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-19 02:44:24,216 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-19 02:44:24,232 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-19 02:44:24,232 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-19 02:44:24,247 2356 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-19 02:44:24,247 2356 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-19 02:44:24,262 2356 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-19 02:44:24,262 2356 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-19 02:44:24,278 2356 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-19 02:44:24,278 2356 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-19 02:44:24,278 2356 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-19 02:44:24,294 2356 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-19 02:44:24,309 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-19 02:44:24,387 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-19 02:44:24,403 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-19 02:44:24,419 2356 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-19 02:44:24,419 2356 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-19 02:44:24,419 2356 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-19 02:44:24,435 2356 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-19 02:44:24,450 2356 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-19 02:44:24,450 2356 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-19 02:44:24,465 2356 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-19 02:44:24,465 2356 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-19 02:44:24,465 2356 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-19 02:44:24,669 2356 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-19 02:44:24,669 2356 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-19 02:44:24,685 2356 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-19 02:44:24,826 2356 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-19 02:44:24,841 2356 [DEBUG] - Running 'ChocolateyScriptRunner' for newrelic-dotnet v10.13.0 with packageScript 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\newrelic-dotnet', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-19 02:44:24,903 2356 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1'
2023-07-19 02:44:24,965 2356 [WARN ] - WARNING: No New Relic license key specified. Please use -params 'license_key=<newrelic_key>' or alternatively specify it manually after installation.
2023-07-19 02:44:24,981 2356 [WARN ] - WARNING: IIS will not be restarted. Please do so manually. In order to stop & start IIS automatically use parameter: -params 'restartiis=true'.
2023-07-19 02:44:25,153 2356 [DEBUG] - Running Install-ChocolateyPackage -checksumType64 'sha256' -checksum 'A66A75309281CBC902E393EC391F0FBB849A7BA9F115E4F72C82A830EC2E5312' -checksum64 '5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A' -packageName 'newrelic-dotnet' -checksumType 'sha256' -fileType 'msi' -file64 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi' -validExitCodes '0' -silentArgs '/qb INSTALLLEVEL=50' -file 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x86.msi'
2023-07-19 02:44:25,325 2356 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'newrelic-dotnet' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi' -url 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x86.msi' -url64bit 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi' -checksum 'A66A75309281CBC902E393EC391F0FBB849A7BA9F115E4F72C82A830EC2E5312' -checksumType 'sha256' -checksum64 '5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-07-19 02:44:25,388 2356 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-07-19 02:44:25,528 2356 [DEBUG] - CPU is 64 bit
2023-07-19 02:44:25,559 2356 [DEBUG] - Setting url to 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi' and bitPackage to 64
2023-07-19 02:44:25,655 2356 [DEBUG] - Running Get-WebFileName -url 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi' -defaultName 'newrelic-dotnetInstall.msi'
2023-07-19 02:44:25,903 2356 [INFO ] - Attempt to use original download file name failed for 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi'.
2023-07-19 02:44:25,919 2356 [INFO ] - Copying newrelic-dotnet
from 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi'
2023-07-19 02:44:28,013 2356 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-07-19 02:44:28,028 2356 [DEBUG] - Verifying package provided checksum of '5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi'.
2023-07-19 02:44:28,154 2356 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi' -checksum '5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A' -checksumType 'sha256' -originalUrl 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\..\binaries\NewRelicDotNetAgent_10.13.0_x64.msi'
2023-07-19 02:44:28,185 2356 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-07-19 02:44:28,200 2356 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi"]
2023-07-19 02:44:29,404 2356 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="5B37B9736B32B0D32466115066BC43EB5D1D59C08749E5BB5A04A1431B31907A" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi"] exited with '0'.
2023-07-19 02:44:29,497 2356 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'newrelic-dotnet' -fileType 'msi' -silentArgs '/qb INSTALLLEVEL=50' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2023-07-19 02:44:29,513 2356 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-19 02:44:29,528 2356 [INFO ] - Installing newrelic-dotnet...
2023-07-19 02:44:29,684 2356 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi" /qb INSTALLLEVEL=50 ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-07-19 02:44:29,779 2356 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-19 02:44:29,809 2356 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi" /qb INSTALLLEVEL=50 ]. This may take a while, depending on the statements.
2023-07-19 02:44:36,576 2356 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\newrelic-dotnet\10.13.0\newrelic-dotnetInstall.msi" /qb INSTALLLEVEL=50 ] exited with '0'.
2023-07-19 02:44:36,606 2356 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-19 02:44:36,622 2356 [INFO ] - newrelic-dotnet has been installed.
2023-07-19 02:44:36,638 2356 [DEBUG] - ----------------------------------------------------------------------
2023-07-19 02:44:36,653 2356 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-07-19 02:44:36,668 2356 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-19 02:44:36,779 2356 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-19 02:44:36,827 2356 [INFO ] - newrelic-dotnet may be able to be automatically uninstalled.
2023-07-19 02:44:36,841 2356 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-19 02:44:36,856 2356 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-19 02:44:36,856 2356 [DEBUG] - * NEWRELIC_INSTALL_PATH='C:\Program Files\New Relic\.NET Agent\' (Machine)
2023-07-19 02:44:36,872 2356 [DEBUG] - * COR_ENABLE_PROFILING='1' (Machine)
2023-07-19 02:44:36,872 2356 [DEBUG] - * COR_PROFILER='{71DA0A04-7777-4EC6-9643-7D28B46A8A41}' (Machine)
2023-07-19 02:44:36,888 2356 [DEBUG] - * CORECLR_PROFILER='{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' (Machine)
2023-07-19 02:44:36,888 2356 [DEBUG] - * CORECLR_NEWRELIC_HOME='C:\ProgramData\New Relic\.NET Agent\' (Machine)
2023-07-19 02:44:37,060 2356 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
2023-07-19 02:44:37,075 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\LICENSE.txt'
with checksum '4307ADFB48E9AF7D15224DB7286B4F40'
2023-07-19 02:44:37,169 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg'
with checksum '5935C170E94C82664E54FD1622335339'
2023-07-19 02:44:37,185 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec'
with checksum '76ED14FEADA64155D31D2AE26EB68050'
2023-07-19 02:44:37,279 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x64.msi'
with checksum '603F319447E6D6C461A95B69B547032B'
2023-07-19 02:44:37,358 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x86.msi'
with checksum 'E643EDB45B22D964235CC5C314E07D4D'
2023-07-19 02:44:37,372 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1'
with checksum 'DCB9E76F24C3BE42E00DAB33FC232CA9'
2023-07-19 02:44:37,372 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'
with checksum '9834E9A61973F5986516323979A7DC2D'
2023-07-19 02:44:37,388 2356 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt'
with checksum '7A831FFDBECCD76BE40F18613B36FD7F'
2023-07-19 02:44:37,466 2356 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0".
2023-07-19 02:44:37,544 2356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0\.registry'
2023-07-19 02:44:37,591 2356 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0\.files'
2023-07-19 02:44:37,606 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0\.extra".
2023-07-19 02:44:37,621 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0\.version".
2023-07-19 02:44:37,621 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0\.sxs".
2023-07-19 02:44:37,637 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\newrelic-dotnet.10.13.0\.pin".
2023-07-19 02:44:37,653 2356 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-19 02:44:37,653 2356 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\newrelic-dotnet\.chocolateyPending".
2023-07-19 02:44:37,669 2356 [INFO ] - The install of newrelic-dotnet was successful.
2023-07-19 02:44:37,684 2356 [INFO ] - Software installed as 'msi', install location is likely default.
2023-07-19 02:44:37,716 2356 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-19 02:44:37,731 2356 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-19 02:44:37,747 2356 [DEBUG] - Exiting with 0
2023-07-19 02:44:50,528 2140 [DEBUG] - XmlConfiguration is now operational
2023-07-19 02:44:50,700 2140 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,700 2140 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,700 2140 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,700 2140 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,715 2140 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,715 2140 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,715 2140 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,731 2140 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,731 2140 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-19 02:44:50,731 2140 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-19 02:44:51,639 2140 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,639 2140 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,655 2140 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,655 2140 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,668 2140 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,668 2140 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,668 2140 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,668 2140 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,684 2140 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,684 2140 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-07-19 02:44:51,716 2140 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-07-19 02:44:51,716 2140 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-19 02:44:51,731 2140 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-07-19 02:44:51,731 2140 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-19 02:44:51,731 2140 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-19 02:44:51,747 2140 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-19 02:44:51,747 2140 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-19 02:44:51,747 2140 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-19 02:44:51,762 2140 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-19 02:44:51,762 2140 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-19 02:44:51,762 2140 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-19 02:44:51,778 2140 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-19 02:44:51,778 2140 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-19 02:44:51,778 2140 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-19 02:44:51,794 2140 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-07-19 02:44:51,794 2140 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-19 02:44:51,794 2140 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-19 02:44:51,794 2140 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-07-19 02:44:51,809 2140 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-19 02:44:51,824 2140 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-19 02:44:52,122 2140 [INFO ] - ============================================================
2023-07-19 02:44:52,529 2140 [INFO ] - Chocolatey v2.1.0
2023-07-19 02:44:52,559 2140 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-19 02:44:52,575 2140 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-19 02:44:52,575 2140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-19 02:44:52,607 2140 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall newrelic-dotnet --version 10.13.0 -dvy --execution-timeout=2700
2023-07-19 02:44:52,622 2140 [DEBUG] - Received arguments: uninstall newrelic-dotnet --version 10.13.0 -dvy --execution-timeout=2700
2023-07-19 02:44:52,794 2140 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-19 02:44:52,825 2140 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-19 02:44:52,857 2140 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-19 02:44:53,091 2140 [DEBUG] - Performing validation checks.
2023-07-19 02:44:53,107 2140 [DEBUG] - Global Configuration Validation Checks:
2023-07-19 02:44:53,107 2140 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-19 02:44:53,121 2140 [DEBUG] - System State Validation Checks:
2023-07-19 02:44:53,138 2140 [DEBUG] - Reboot Requirement Checks:
2023-07-19 02:44:53,153 2140 [DEBUG] - - Pending Computer Rename = Checked
2023-07-19 02:44:53,170 2140 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-19 02:44:53,170 2140 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-19 02:44:53,185 2140 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-19 02:44:53,200 2140 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-19 02:44:53,200 2140 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-19 02:44:53,232 2140 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-19 02:44:53,278 2140 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-19 02:44:53,278 2140 [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-07-19 02:44:53,325 2140 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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.13.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='newrelic-dotnet'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.1.0.0'|
Information.ChocolateyProductVersion='2.1.0'|
Information.FullName='choco, Version=2.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-T6H68F34GMG'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-07-19 02:44:53,357 2140 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-19 02:44:53,387 2140 [INFO ] - Uninstalling the following packages:
2023-07-19 02:44:53,403 2140 [INFO ] - newrelic-dotnet
2023-07-19 02:44:53,436 2140 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-19 02:44:53,451 2140 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-19 02:44:53,465 2140 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-19 02:44:53,465 2140 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-19 02:44:53,481 2140 [DEBUG] - * 'ChocolateyLastPathUpdate'='133341575109261284' ('User')
2023-07-19 02:44:53,481 2140 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-19 02:44:53,497 2140 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-19 02:44:53,497 2140 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-19 02:44:53,544 2140 [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-07-19 02:44:53,544 2140 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-19 02:44:53,559 2140 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-19 02:44:53,559 2140 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-19 02:44:53,574 2140 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-19 02:44:53,574 2140 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-19 02:44:53,590 2140 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-19 02:44:53,590 2140 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-19 02:44:53,606 2140 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-19 02:44:53,606 2140 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-19 02:44:53,622 2140 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-19 02:44:53,622 2140 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-19 02:44:53,637 2140 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-19 02:44:53,637 2140 [DEBUG] - * 'NEWRELIC_INSTALL_PATH'='C:\Program Files\New Relic\.NET Agent\' ('Machine')
2023-07-19 02:44:53,653 2140 [DEBUG] - * 'COR_ENABLE_PROFILING'='1' ('Machine')
2023-07-19 02:44:53,684 2140 [DEBUG] - * 'COR_PROFILER'='{71DA0A04-7777-4EC6-9643-7D28B46A8A41}' ('Machine')
2023-07-19 02:44:53,684 2140 [DEBUG] - * 'CORECLR_PROFILER'='{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' ('Machine')
2023-07-19 02:44:53,684 2140 [DEBUG] - * 'CORECLR_NEWRELIC_HOME'='C:\ProgramData\New Relic\.NET Agent\' ('Machine')
2023-07-19 02:44:53,934 2140 [DEBUG] - Running list with the following filter = ''
2023-07-19 02:44:53,949 2140 [DEBUG] - --- Start of List ---
2023-07-19 02:44:54,216 2140 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-07-19 02:44:54,747 2140 [DEBUG] - chocolatey 2.1.0
2023-07-19 02:44:54,762 2140 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-07-19 02:44:54,779 2140 [DEBUG] - KB2919355 1.0.20160915
2023-07-19 02:44:54,794 2140 [DEBUG] - KB2919442 1.0.20160915
2023-07-19 02:44:54,809 2140 [DEBUG] - KB2999226 1.0.20181019
2023-07-19 02:44:54,809 2140 [DEBUG] - KB3035131 1.0.3
2023-07-19 02:44:54,840 2140 [DEBUG] - KB3118401 1.0.5
2023-07-19 02:44:54,981 2140 [DEBUG] - newrelic-dotnet 10.13.0
2023-07-19 02:44:54,981 2140 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-07-19 02:44:54,996 2140 [DEBUG] - --- End of List ---
2023-07-19 02:44:55,013 2140 [DEBUG] - Running list with the following filter = ''
2023-07-19 02:44:55,013 2140 [DEBUG] - --- Start of List ---
2023-07-19 02:44:55,060 2140 [DEBUG] - chocolatey 2.1.0
2023-07-19 02:44:55,075 2140 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-07-19 02:44:55,075 2140 [DEBUG] - KB2919355 1.0.20160915
2023-07-19 02:44:55,106 2140 [DEBUG] - KB2919442 1.0.20160915
2023-07-19 02:44:55,106 2140 [DEBUG] - KB2999226 1.0.20181019
2023-07-19 02:44:55,123 2140 [DEBUG] - KB3035131 1.0.3
2023-07-19 02:44:55,137 2140 [DEBUG] - KB3118401 1.0.5
2023-07-19 02:44:55,184 2140 [DEBUG] - newrelic-dotnet 10.13.0
2023-07-19 02:44:55,184 2140 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-07-19 02:44:55,200 2140 [DEBUG] - --- End of List ---
2023-07-19 02:44:55,265 2140 [DEBUG] - Running list with the following filter = ''
2023-07-19 02:44:55,279 2140 [DEBUG] - --- Start of List ---
2023-07-19 02:44:55,326 2140 [DEBUG] - chocolatey 2.1.0
2023-07-19 02:44:55,342 2140 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-07-19 02:44:55,372 2140 [DEBUG] - KB2919355 1.0.20160915
2023-07-19 02:44:55,421 2140 [DEBUG] - KB2919442 1.0.20160915
2023-07-19 02:44:55,434 2140 [DEBUG] - KB2999226 1.0.20181019
2023-07-19 02:44:55,434 2140 [DEBUG] - KB3035131 1.0.3
2023-07-19 02:44:55,450 2140 [DEBUG] - KB3118401 1.0.5
2023-07-19 02:44:55,496 2140 [DEBUG] - newrelic-dotnet 10.13.0
2023-07-19 02:44:55,496 2140 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-07-19 02:44:55,512 2140 [DEBUG] - --- End of List ---
2023-07-19 02:44:55,591 2140 [INFO ] -
newrelic-dotnet v10.13.0
2023-07-19 02:44:55,637 2140 [DEBUG] - Running beforeModify step for 'newrelic-dotnet'
2023-07-19 02:44:55,669 2140 [DEBUG] - Backing up package files for 'newrelic-dotnet'
2023-07-19 02:44:55,841 2140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet".
2023-07-19 02:44:55,857 2140 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\newrelic-dotnet to C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0
2023-07-19 02:44:55,871 2140 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
to 'C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0'
2023-07-19 02:44:57,887 2140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\newrelic-dotnet".
2023-07-19 02:44:57,904 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\LICENSE.txt".
2023-07-19 02:44:57,904 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\newrelic-dotnet.nupkg"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg".
2023-07-19 02:44:57,971 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\newrelic-dotnet.nuspec"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec".
2023-07-19 02:44:57,983 2140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries".
2023-07-19 02:44:57,996 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\binaries\NewRelicDotNetAgent_10.13.0_x64.msi"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x64.msi".
2023-07-19 02:44:58,047 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\binaries\NewRelicDotNetAgent_10.13.0_x86.msi"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x86.msi".
2023-07-19 02:44:58,079 2140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools".
2023-07-19 02:44:58,093 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1".
2023-07-19 02:44:58,106 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1".
2023-07-19 02:44:58,106 2140 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt".
2023-07-19 02:44:59,637 2140 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
2023-07-19 02:44:59,653 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\LICENSE.txt'
with checksum '4307ADFB48E9AF7D15224DB7286B4F40'
2023-07-19 02:44:59,779 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nupkg'
with checksum '5935C170E94C82664E54FD1622335339'
2023-07-19 02:44:59,779 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\newrelic-dotnet.nuspec'
with checksum '76ED14FEADA64155D31D2AE26EB68050'
2023-07-19 02:45:00,044 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x64.msi'
with checksum '603F319447E6D6C461A95B69B547032B'
2023-07-19 02:45:00,122 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\binaries\NewRelicDotNetAgent_10.13.0_x86.msi'
with checksum 'E643EDB45B22D964235CC5C314E07D4D'
2023-07-19 02:45:00,139 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyInstall.ps1'
with checksum 'DCB9E76F24C3BE42E00DAB33FC232CA9'
2023-07-19 02:45:00,139 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'
with checksum '9834E9A61973F5986516323979A7DC2D'
2023-07-19 02:45:00,153 2140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\VERIFICATION.txt'
with checksum '7A831FFDBECCD76BE40F18613B36FD7F'
2023-07-19 02:45:00,373 2140 [DEBUG] - Setting installer args for newrelic-dotnet
2023-07-19 02:45:00,388 2140 [DEBUG] - Setting package parameters for newrelic-dotnet
2023-07-19 02:45:00,388 2140 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1':
2023-07-19 02:45:00,403 2140 [DEBUG] - $package = 'newrelic-dotnet' # arbitrary name for the package, used in messages
$ProductCode_x86 = '{83486939-D816-4386-9C16-7CCED756F366}'
$ProductCode_x64 = '{B49EB88C-17DB-4758-8669-CD28FB6F94D6}'
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-07-19 02:45:00,467 2140 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-07-19 02:45:00,498 2140 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-19 02:45:01,231 2140 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-19 02:45:01,778 2140 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-19 02:45:01,778 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-19 02:45:01,794 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-07-19 02:45:01,809 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-19 02:45:01,809 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-19 02:45:01,825 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-19 02:45:01,825 2140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-19 02:45:01,841 2140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-19 02:45:01,856 2140 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-19 02:45:01,856 2140 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-19 02:45:01,872 2140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-19 02:45:01,888 2140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-19 02:45:01,888 2140 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-19 02:45:01,903 2140 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-19 02:45:01,919 2140 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-19 02:45:01,919 2140 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-19 02:45:01,934 2140 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-19 02:45:01,934 2140 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-19 02:45:01,950 2140 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-19 02:45:01,950 2140 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-19 02:45:01,965 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-19 02:45:01,981 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-19 02:45:01,981 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-19 02:45:01,996 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-19 02:45:02,012 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-19 02:45:02,012 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-19 02:45:02,028 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-19 02:45:02,028 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-19 02:45:02,043 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-19 02:45:02,043 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-19 02:45:02,059 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-19 02:45:02,059 2140 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-19 02:45:02,075 2140 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-19 02:45:02,090 2140 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-19 02:45:02,090 2140 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-19 02:45:02,106 2140 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-19 02:45:02,106 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-19 02:45:02,122 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-19 02:45:02,122 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-19 02:45:02,137 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-19 02:45:02,137 2140 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-19 02:45:02,153 2140 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-19 02:45:02,169 2140 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-19 02:45:02,169 2140 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-19 02:45:02,185 2140 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-19 02:45:02,185 2140 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-19 02:45:02,200 2140 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-19 02:45:02,215 2140 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-19 02:45:02,215 2140 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-19 02:45:02,231 2140 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-19 02:45:02,247 2140 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-19 02:45:02,294 2140 [DEBUG] - Loading community extensions
2023-07-19 02:45:02,371 2140 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-19 02:45:02,418 2140 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-19 02:45:02,543 2140 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-19 02:45:02,543 2140 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-19 02:45:02,559 2140 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-19 02:45:02,574 2140 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-19 02:45:02,574 2140 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-19 02:45:02,590 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-19 02:45:02,590 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-07-19 02:45:02,607 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-19 02:45:02,621 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-19 02:45:02,621 2140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-19 02:45:02,637 2140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-19 02:45:02,637 2140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-19 02:45:02,653 2140 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-19 02:45:02,653 2140 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-19 02:45:02,669 2140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-19 02:45:02,669 2140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-19 02:45:02,684 2140 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-19 02:45:02,684 2140 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-19 02:45:02,700 2140 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-19 02:45:02,700 2140 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-19 02:45:02,715 2140 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-19 02:45:02,715 2140 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-19 02:45:02,731 2140 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-19 02:45:02,731 2140 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-19 02:45:02,746 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-19 02:45:02,746 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-19 02:45:02,762 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-19 02:45:02,762 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-19 02:45:02,778 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-19 02:45:02,778 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-19 02:45:02,793 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-19 02:45:02,793 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-19 02:45:02,809 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-19 02:45:02,809 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-19 02:45:02,825 2140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-19 02:45:02,840 2140 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-19 02:45:02,840 2140 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-19 02:45:02,856 2140 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-19 02:45:02,856 2140 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-19 02:45:02,872 2140 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-19 02:45:02,887 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-19 02:45:02,903 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-19 02:45:02,918 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-19 02:45:02,918 2140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-19 02:45:02,934 2140 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-19 02:45:02,934 2140 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-19 02:45:02,950 2140 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-19 02:45:02,950 2140 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-19 02:45:02,965 2140 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-19 02:45:02,965 2140 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-19 02:45:02,981 2140 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-19 02:45:02,996 2140 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-19 02:45:02,996 2140 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-19 02:45:03,012 2140 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-19 02:45:03,028 2140 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-19 02:45:03,028 2140 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-19 02:45:03,043 2140 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-19 02:45:03,043 2140 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-19 02:45:03,059 2140 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-19 02:45:03,059 2140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-07-19 02:45:03,075 2140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-19 02:45:03,090 2140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-19 02:45:03,090 2140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-19 02:45:03,106 2140 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-19 02:45:03,106 2140 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-19 02:45:03,122 2140 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-19 02:45:03,122 2140 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-19 02:45:03,137 2140 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-19 02:45:03,153 2140 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-19 02:45:03,153 2140 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-19 02:45:03,169 2140 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-19 02:45:03,169 2140 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-19 02:45:03,184 2140 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-19 02:45:03,184 2140 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-19 02:45:03,200 2140 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-19 02:45:03,217 2140 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-19 02:45:03,231 2140 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-19 02:45:03,231 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-19 02:45:03,246 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-19 02:45:03,262 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-19 02:45:03,277 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-19 02:45:03,277 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-19 02:45:03,293 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-19 02:45:03,293 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-19 02:45:03,310 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-19 02:45:03,310 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-19 02:45:03,325 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-19 02:45:03,325 2140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-19 02:45:03,340 2140 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-19 02:45:03,340 2140 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-19 02:45:03,356 2140 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-19 02:45:03,356 2140 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-19 02:45:03,372 2140 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-19 02:45:03,387 2140 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-19 02:45:03,387 2140 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-19 02:45:03,403 2140 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-19 02:45:03,418 2140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-19 02:45:03,418 2140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-19 02:45:03,434 2140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-19 02:45:03,481 2140 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-19 02:45:03,496 2140 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-19 02:45:03,496 2140 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-19 02:45:03,512 2140 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-19 02:45:03,512 2140 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-19 02:45:03,528 2140 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-19 02:45:03,528 2140 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-19 02:45:03,544 2140 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-19 02:45:03,544 2140 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-19 02:45:03,559 2140 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-19 02:45:03,559 2140 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-19 02:45:03,669 2140 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-19 02:45:03,684 2140 [DEBUG] - Running 'ChocolateyScriptRunner' for newrelic-dotnet v10.13.0 with packageScript 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\newrelic-dotnet', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-19 02:45:03,762 2140 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'
2023-07-19 02:45:04,076 2140 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '/X {B49EB88C-17DB-4758-8669-CD28FB6F94D6} /qb' -exeToRun 'msiexec'
2023-07-19 02:45:04,168 2140 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-19 02:45:04,200 2140 [DEBUG] - Elevating permissions and running ["msiexec" /X {B49EB88C-17DB-4758-8669-CD28FB6F94D6} /qb]. This may take a while, depending on the statements.
2023-07-19 02:45:10,622 2140 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /X {B49EB88C-17DB-4758-8669-CD28FB6F94D6} /qb] exited with '0'.
2023-07-19 02:45:10,669 2140 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-19 02:45:10,684 2140 [INFO ] - 0
2023-07-19 02:45:12,577 2140 [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 63
at <ScriptBlock>, <No file>: line 1
2023-07-19 02:45:12,607 2140 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-07-19 02:45:12,621 2140 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-19 02:45:12,778 2140 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-19 02:45:12,778 2140 [ERROR] - newrelic-dotnet uninstall not successful.
2023-07-19 02:45:12,794 2140 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'.
See log for details.
2023-07-19 02:45:12,809 2140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2023-07-19 02:45:12,809 2140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\newrelic-dotnet".
2023-07-19 02:45:12,825 2140 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\newrelic-dotnet to C:\ProgramData\chocolatey\lib-bad\newrelic-dotnet\10.13.0
2023-07-19 02:45:12,825 2140 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
to 'C:\ProgramData\chocolatey\lib-bad\newrelic-dotnet\10.13.0'
2023-07-19 02:45:15,137 2140 [DEBUG] - Attempting rollback
2023-07-19 02:45:15,137 2140 [DEBUG] - Moving C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0 to C:\ProgramData\chocolatey\lib\newrelic-dotnet
2023-07-19 02:45:15,154 2140 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet\10.13.0'
to 'C:\ProgramData\chocolatey\lib\newrelic-dotnet'
2023-07-19 02:45:17,185 2140 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\newrelic-dotnet".
2023-07-19 02:45:17,200 2140 [ERROR] - newrelic-dotnet not uninstalled. An error occurred during uninstall:
newrelic-dotnet uninstall not successful.
2023-07-19 02:45:17,231 2140 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-19 02:45:17,231 2140 [DEBUG] - The following values have been removed:
2023-07-19 02:45:17,251 2140 [DEBUG] - * NEWRELIC_INSTALL_PATH='C:\Program Files\New Relic\.NET Agent\' (Machine)
2023-07-19 02:45:17,251 2140 [DEBUG] - * COR_ENABLE_PROFILING='1' (Machine)
2023-07-19 02:45:17,262 2140 [DEBUG] - * COR_PROFILER='{71DA0A04-7777-4EC6-9643-7D28B46A8A41}' (Machine)
2023-07-19 02:45:17,262 2140 [DEBUG] - * CORECLR_PROFILER='{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' (Machine)
2023-07-19 02:45:17,278 2140 [DEBUG] - * CORECLR_NEWRELIC_HOME='C:\ProgramData\New Relic\.NET Agent\' (Machine)
2023-07-19 02:45:17,310 2140 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-19 02:45:17,325 2140 [INFO ] -
2023-07-19 02:45:17,325 2140 [ERROR] - Failures
2023-07-19 02:45:17,340 2140 [ERROR] - - newrelic-dotnet (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\newrelic-dotnet\tools\chocolateyUninstall.ps1'.
See log for details.
2023-07-19 02:45:17,340 2140 [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-07-19 02:45:17,356 2140 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2023-07-19 02:45:17,372 2140 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-19 02:45:17,388 2140 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment