chocolatey-community / chocolatey-packages

Chocolatey Community Maintainers Team Packages - packages that are managed and maintained by core community team for community package repository (https://community.chocolatey.org/packages)
https://community.chocolatey.org/profiles/chocolatey-community
Apache License 2.0
447 stars 377 forks source link

(tor-browser) InstallDir param results in wrong shortcut #2145

Closed Destroy666x closed 1 year ago

Destroy666x commented 1 year ago

Chocolatey Version

Other (note in the comments)

Chocolatey License

None

Package Version

12.0.3

Current Behaviour

If you use InstallDir param then: The desktop shortcut isn't linked to a valid executable. This warning is in the console for install command: WARNING: 'C:\ProgramData\chocolatey\lib\tor-browser\tools\tor-browser\Browser\firefox.exe' does not exist. If it is not created the shortcut will not be valid.

Expected Behaviour

The desktop shortcut should link to proper executable.

Steps To Reproduce

  1. Run choco install tor-browser -y -f --params "'/InstallDir:C:\Program Files\Tor Browser'"
  2. Try to open shortcut created on desktop

Environment

- Operating System: Windows 10
- PowerShell Version: 5.1.19041.2364
- Shell: CMD

Chocolatey Log

2023-02-17 13:50:43,879 72836 [DEBUG] - XmlConfiguration is now operational
2023-02-17 13:50:43,928 72836 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-02-17 13:50:43,929 72836 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-02-17 13:50:43,930 72836 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-02-17 13:50:43,930 72836 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-02-17 13:50:43,931 72836 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-02-17 13:50:43,932 72836 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-02-17 13:50:44,069 72836 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-02-17 13:50:44,073 72836 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-02-17 13:50:44,073 72836 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-02-17 13:50:44,074 72836 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-02-17 13:50:44,075 72836 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-02-17 13:50:44,076 72836 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-02-17 13:50:44,077 72836 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-02-17 13:50:44,077 72836 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-02-17 13:50:44,079 72836 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-02-17 13:50:44,080 72836 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-02-17 13:50:44,081 72836 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-02-17 13:50:44,082 72836 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-02-17 13:50:44,082 72836 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-02-17 13:50:44,083 72836 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-02-17 13:50:44,084 72836 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-02-17 13:50:44,085 72836 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-02-17 13:50:44,086 72836 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-02-17 13:50:44,087 72836 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-02-17 13:50:44,195 72836 [INFO ] - ============================================================
2023-02-17 13:50:44,642 72836 [INFO ] - Chocolatey v1.3.0
2023-02-17 13:50:44,651 72836 [DEBUG] - Chocolatey is running on Windows v 10.0.19045.0
2023-02-17 13:50:44,653 72836 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-02-17 13:50:44,654 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-02-17 13:50:44,663 72836 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install tor-browser -y -f --params "'/InstallDir:D:\Test\Tor Browser'"
2023-02-17 13:50:44,664 72836 [DEBUG] - Received arguments: install tor-browser -y -f --params '/InstallDir:D:\Test\Tor Browser'
2023-02-17 13:50:44,713 72836 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-02-17 13:50:44,721 72836 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-02-17 13:50:44,728 72836 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-02-17 13:50:44,771 72836 [DEBUG] - Performing validation checks.
2023-02-17 13:50:44,776 72836 [DEBUG] - Global Configuration Validation Checks:
2023-02-17 13:50:44,778 72836 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2023-02-17 13:50:44,781 72836 [DEBUG] - System State Validation Checks:
2023-02-17 13:50:44,784 72836 [DEBUG] -  Reboot Requirement Checks:
2023-02-17 13:50:44,787 72836 [DEBUG] -  - Pending Computer Rename = Checked
2023-02-17 13:50:44,789 72836 [DEBUG] -  - Pending Component Based Servicing = Checked
2023-02-17 13:50:44,791 72836 [DEBUG] -  - Pending Windows Auto Update = Checked
2023-02-17 13:50:44,793 72836 [DEBUG] -  - Pending File Rename Operations = Ignored
2023-02-17 13:50:44,794 72836 [DEBUG] -  - Pending Windows Package Installer = Checked
2023-02-17 13:50:44,795 72836 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2023-02-17 13:50:44,798 72836 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-02-17 13:50:44,819 72836 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-02-17 13:50:44,820 72836 [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-02-17 13:50:44,831 72836 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Destr\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://community.chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
DisableCompatibilityChecks='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='tor-browser'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='tor-browser'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
PackageParameters='/InstallDir:D:\Test\Tor Browser'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19045.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='Destr'|
Information.UserDomainName='GEJMINGKOMBAJN'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='True'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-02-17 13:50:44,832 72836 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-02-17 13:50:44,837 72836 [INFO ] - Installing the following packages:
2023-02-17 13:50:44,838 72836 [INFO ] - tor-browser
2023-02-17 13:50:44,840 72836 [INFO ] - By installing, you accept licenses for the packages.
2023-02-17 13:50:44,996 72836 [DEBUG] - Using 'https://community.chocolatey.org/api/v2/'.
2023-02-17 13:50:45,389 72836 [DEBUG] - - Supports prereleases? 'True'.
2023-02-17 13:50:45,390 72836 [DEBUG] - - Is ServiceBased? 'True'.
2023-02-17 13:50:45,689 72836 [DEBUG] - Package 'tor-browser' found on source 'https://community.chocolatey.org/api/v2/'
2023-02-17 13:50:45,798 72836 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension (? 1.3.3)'.
2023-02-17 13:50:45,993 72836 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-compatibility.extension (? 1.0.0)'.
2023-02-17 13:50:47,229 72836 [INFO ] - [NuGet] Installing 'tor-browser 12.0.3'.
2023-02-17 13:50:47,234 72836 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'tor-browser\tools'.
2023-02-17 13:50:47,236 72836 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'tor-browser\tools'.
2023-02-17 13:50:47,238 72836 [DEBUG] - [NuGet] Added file 'helpers.ps1' to folder 'tor-browser\tools'.
2023-02-17 13:50:47,241 72836 [DEBUG] - [NuGet] Added file 'tor-browser.nupkg' to folder 'tor-browser'.
2023-02-17 13:50:47,503 72836 [DEBUG] - [NuGet] Added file 'tor-browser.nuspec' to folder 'tor-browser'.
2023-02-17 13:50:47,504 72836 [INFO ] - [NuGet] Successfully installed 'tor-browser 12.0.3'.
2023-02-17 13:50:47,506 72836 [INFO ] - 
tor-browser v12.0.3 (forced) [Approved]
2023-02-17 13:50:47,518 72836 [INFO ] - tor-browser package files install completed. Performing other installation steps.
2023-02-17 13:50:47,774 72836 [DEBUG] - Setting installer args for tor-browser
2023-02-17 13:50:47,775 72836 [DEBUG] - Setting package parameters for tor-browser
2023-02-17 13:50:47,778 72836 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyInstall.ps1':
2023-02-17 13:50:47,786 72836 [DEBUG] - $ErrorActionPreference = 'Stop'

$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
. "$toolsDir\helpers.ps1"

$destinationFolder = GetInstallDirectory -toolsPath $toolsDir

$packageArgs = @{
  PackageName  = 'tor-browser'
  FileType     = 'exe'
  Url          = 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-12.0.3_ALL.exe'
  Url64        = 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe'
  Checksum     = '8cf1dafe65efe4a9a732191ab5fa962ae75513694cc802b462abf0ae40f64a3a'
  Checksum64   = '94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c'
  ChecksumType = 'sha256'
  SilentArgs   = "/S","/D=$destinationFolder"
}

Install-ChocolateyPackage @packageArgs

# Create .ignore files for exe’s
Get-ChildItem -Path $destinationFolder -Recurse | Where-Object {
  $_.Extension -eq '.exe' } | ForEach-Object {
  New-Item $($_.FullName + '.ignore') -Force -ItemType file
  # Suppress output of New-Item
} | Out-Null

$desktop = [System.Environment]::GetFolderPath('Desktop')

Install-ChocolateyShortcut `
  -ShortcutFilePath "$desktop\Tor Browser.lnk" `
  -TargetPath "$toolsDir\tor-browser\Browser\firefox.exe" `
  -WorkingDirectory "$toolsDir\tor-browser\Browser"

# set NTFS modify file permissions to $toolsDir\tor-browser\ for user account that installed the package
$WhoAmI = whoami
$Acl = Get-Acl "$toolsDir\tor-browser"
$Ar = New-Object  system.security.accesscontrol.filesystemaccessrule($WhoAmI, "Modify", 'ContainerInherit,ObjectInherit', 'None', "Allow")
$Acl.SetAccessRule($Ar)
Set-Acl "$toolsDir\tor-browser" $Acl

2023-02-17 13:50:47,800 72836 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '/InstallDir:D:\Test\Tor Browser' -preRunHookScripts $null -postRunHookScripts $null']
2023-02-17 13:50:47,805 72836 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=pl-PL, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-02-17 13:50:48,059 72836 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.2364' and CLR Version is '4.0.30319.42000'.
2023-02-17 13:50:48,855 72836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-02-17 13:50:48,856 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-02-17 13:50:48,857 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-02-17 13:50:48,858 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-02-17 13:50:48,859 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-02-17 13:50:48,861 72836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-02-17 13:50:48,862 72836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-02-17 13:50:48,863 72836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-02-17 13:50:48,864 72836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-02-17 13:50:48,865 72836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-02-17 13:50:48,866 72836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-02-17 13:50:48,866 72836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-02-17 13:50:48,868 72836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-02-17 13:50:48,869 72836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-02-17 13:50:48,870 72836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-02-17 13:50:48,871 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-02-17 13:50:48,872 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-02-17 13:50:48,872 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-02-17 13:50:48,873 72836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-02-17 13:50:48,874 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-02-17 13:50:48,874 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-02-17 13:50:48,875 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-02-17 13:50:48,876 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-02-17 13:50:48,876 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-02-17 13:50:48,878 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-02-17 13:50:48,879 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-02-17 13:50:48,880 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-02-17 13:50:48,881 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-02-17 13:50:48,881 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-02-17 13:50:48,882 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-02-17 13:50:48,883 72836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-02-17 13:50:48,884 72836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-02-17 13:50:48,885 72836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-02-17 13:50:48,886 72836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-02-17 13:50:48,887 72836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-02-17 13:50:48,888 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-02-17 13:50:48,889 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-02-17 13:50:48,890 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-02-17 13:50:48,890 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-02-17 13:50:48,891 72836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-02-17 13:50:48,892 72836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-02-17 13:50:48,893 72836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-02-17 13:50:48,894 72836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-02-17 13:50:48,896 72836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-02-17 13:50:48,897 72836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-02-17 13:50:48,897 72836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-02-17 13:50:48,898 72836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-02-17 13:50:48,899 72836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-02-17 13:50:48,900 72836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-02-17 13:50:48,901 72836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-02-17 13:50:48,912 72836 [DEBUG] - Loading community extensions
2023-02-17 13:50:48,920 72836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
2023-02-17 13:50:48,922 72836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
2023-02-17 13:50:48,965 72836 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export.
2023-02-17 13:50:48,967 72836 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export.
2023-02-17 13:50:48,969 72836 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
2023-02-17 13:50:48,973 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-02-17 13:50:48,974 72836 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility
2023-02-17 13:50:48,978 72836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-02-17 13:50:48,979 72836 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility
2023-02-17 13:50:48,984 72836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-02-17 13:50:48,985 72836 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility
2023-02-17 13:50:48,988 72836 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-02-17 13:50:48,989 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-02-17 13:50:48,990 72836 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-02-17 13:50:48,990 72836 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-02-17 13:50:48,991 72836 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-02-17 13:50:48,993 72836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2023-02-17 13:50:48,995 72836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2023-02-17 13:50:49,080 72836 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-02-17 13:50:49,081 72836 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-02-17 13:50:49,082 72836 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-02-17 13:50:49,083 72836 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-02-17 13:50:49,084 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-02-17 13:50:49,086 72836 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-02-17 13:50:49,087 72836 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-02-17 13:50:49,089 72836 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-02-17 13:50:49,090 72836 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-02-17 13:50:49,090 72836 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-02-17 13:50:49,091 72836 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-02-17 13:50:49,092 72836 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-02-17 13:50:49,092 72836 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-02-17 13:50:49,094 72836 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-02-17 13:50:49,095 72836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2023-02-17 13:50:49,097 72836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2023-02-17 13:50:49,149 72836 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2023-02-17 13:50:49,150 72836 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2023-02-17 13:50:49,150 72836 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2023-02-17 13:50:49,151 72836 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2023-02-17 13:50:49,152 72836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-misc-helpers\chocolatey-misc-helpers.psm1'
2023-02-17 13:50:49,153 72836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-misc-helpers\chocolatey-misc-helpers.psm1'.
2023-02-17 13:50:49,205 72836 [INFO ] - VERBOSE: Exporting function 'Enable-AutoPin'.
2023-02-17 13:50:49,206 72836 [INFO ] - VERBOSE: Exporting function 'Show-Patreon'.
2023-02-17 13:50:49,207 72836 [INFO ] - VERBOSE: Exporting function 'Show-PayPal'.
2023-02-17 13:50:49,208 72836 [INFO ] - VERBOSE: Exporting function 'Show-ToastMessage'.
2023-02-17 13:50:49,208 72836 [INFO ] - VERBOSE: Exporting function 'Start-CheckandStop'.
2023-02-17 13:50:49,209 72836 [INFO ] - VERBOSE: Exporting function 'Start-CheckandThrow'.
2023-02-17 13:50:49,210 72836 [INFO ] - VERBOSE: Exporting function 'Start-WaitandStop'.
2023-02-17 13:50:49,211 72836 [INFO ] - VERBOSE: Exporting function 'Start-WaitandStopActual'.
2023-02-17 13:50:49,212 72836 [INFO ] - VERBOSE: Exporting function 'Test-Dependency'.
2023-02-17 13:50:49,213 72836 [INFO ] - VERBOSE: Exporting function 'Test-URL'.
2023-02-17 13:50:49,214 72836 [INFO ] - VERBOSE: Importing function 'Enable-AutoPin'.
2023-02-17 13:50:49,215 72836 [INFO ] - VERBOSE: Importing function 'Show-Patreon'.
2023-02-17 13:50:49,216 72836 [INFO ] - VERBOSE: Importing function 'Show-PayPal'.
2023-02-17 13:50:49,217 72836 [INFO ] - VERBOSE: Importing function 'Show-ToastMessage'.
2023-02-17 13:50:49,218 72836 [INFO ] - VERBOSE: Importing function 'Start-CheckandStop'.
2023-02-17 13:50:49,219 72836 [INFO ] - VERBOSE: Importing function 'Start-CheckandThrow'.
2023-02-17 13:50:49,219 72836 [INFO ] - VERBOSE: Importing function 'Start-WaitandStop'.
2023-02-17 13:50:49,220 72836 [INFO ] - VERBOSE: Importing function 'Start-WaitandStopActual'.
2023-02-17 13:50:49,220 72836 [INFO ] - VERBOSE: Importing function 'Test-Dependency'.
2023-02-17 13:50:49,221 72836 [INFO ] - VERBOSE: Importing function 'Test-URL'.
2023-02-17 13:50:49,222 72836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'
2023-02-17 13:50:49,223 72836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'.
2023-02-17 13:50:49,539 72836 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioComponent'.
2023-02-17 13:50:49,540 72836 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
2023-02-17 13:50:49,540 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
2023-02-17 13:50:49,541 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
2023-02-17 13:50:49,541 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstance'.
2023-02-17 13:50:49,542 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
2023-02-17 13:50:49,543 72836 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudio'.
2023-02-17 13:50:49,544 72836 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
2023-02-17 13:50:49,544 72836 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
2023-02-17 13:50:49,545 72836 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
2023-02-17 13:50:49,546 72836 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
2023-02-17 13:50:49,547 72836 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
2023-02-17 13:50:49,547 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudio'.
2023-02-17 13:50:49,548 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
2023-02-17 13:50:49,549 72836 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2023-02-17 13:50:49,549 72836 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2023-02-17 13:50:49,550 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2023-02-17 13:50:49,550 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2023-02-17 13:50:49,551 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2023-02-17 13:50:49,551 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2023-02-17 13:50:49,552 72836 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2023-02-17 13:50:49,553 72836 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2023-02-17 13:50:49,554 72836 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2023-02-17 13:50:49,554 72836 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2023-02-17 13:50:49,555 72836 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2023-02-17 13:50:49,555 72836 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2023-02-17 13:50:49,556 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2023-02-17 13:50:49,556 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2023-02-17 13:50:49,558 72836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-02-17 13:50:49,558 72836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-02-17 13:50:49,658 72836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-02-17 13:50:49,659 72836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-02-17 13:50:49,660 72836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-02-17 13:50:49,661 72836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-02-17 13:50:49,662 72836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-02-17 13:50:49,663 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-02-17 13:50:49,664 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-02-17 13:50:49,665 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-02-17 13:50:49,666 72836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-02-17 13:50:49,667 72836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-02-17 13:50:49,667 72836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-02-17 13:50:49,668 72836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-02-17 13:50:49,669 72836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-02-17 13:50:49,670 72836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-02-17 13:50:49,671 72836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-02-17 13:50:49,671 72836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-02-17 13:50:49,672 72836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-02-17 13:50:49,673 72836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-02-17 13:50:49,673 72836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-02-17 13:50:49,674 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-02-17 13:50:49,674 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-02-17 13:50:49,675 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-02-17 13:50:49,676 72836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-02-17 13:50:49,678 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-02-17 13:50:49,679 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-02-17 13:50:49,680 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-02-17 13:50:49,680 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-02-17 13:50:49,681 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-02-17 13:50:49,681 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-02-17 13:50:49,682 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-02-17 13:50:49,683 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-02-17 13:50:49,683 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-02-17 13:50:49,684 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-02-17 13:50:49,686 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-02-17 13:50:49,687 72836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-02-17 13:50:49,687 72836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-02-17 13:50:49,688 72836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-02-17 13:50:49,689 72836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-02-17 13:50:49,690 72836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-02-17 13:50:49,691 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-02-17 13:50:49,692 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-02-17 13:50:49,693 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-02-17 13:50:49,695 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-02-17 13:50:49,695 72836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-02-17 13:50:49,696 72836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-02-17 13:50:49,698 72836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2023-02-17 13:50:49,698 72836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2023-02-17 13:50:49,699 72836 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2023-02-17 13:50:49,699 72836 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2023-02-17 13:50:49,700 72836 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2023-02-17 13:50:49,700 72836 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2023-02-17 13:50:49,702 72836 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2023-02-17 13:50:49,702 72836 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2023-02-17 13:50:49,703 72836 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2023-02-17 13:50:49,704 72836 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2023-02-17 13:50:49,704 72836 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2023-02-17 13:50:49,705 72836 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2023-02-17 13:50:49,705 72836 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2023-02-17 13:50:49,706 72836 [INFO ] - VERBOSE: Exporting function 'Enable-AutoPin'.
2023-02-17 13:50:49,706 72836 [INFO ] - VERBOSE: Exporting function 'Show-Patreon'.
2023-02-17 13:50:49,707 72836 [INFO ] - VERBOSE: Exporting function 'Show-PayPal'.
2023-02-17 13:50:49,708 72836 [INFO ] - VERBOSE: Exporting function 'Show-ToastMessage'.
2023-02-17 13:50:49,709 72836 [INFO ] - VERBOSE: Exporting function 'Start-CheckandStop'.
2023-02-17 13:50:49,710 72836 [INFO ] - VERBOSE: Exporting function 'Start-CheckandThrow'.
2023-02-17 13:50:49,710 72836 [INFO ] - VERBOSE: Exporting function 'Start-WaitandStop'.
2023-02-17 13:50:49,711 72836 [INFO ] - VERBOSE: Exporting function 'Start-WaitandStopActual'.
2023-02-17 13:50:49,712 72836 [INFO ] - VERBOSE: Exporting function 'Test-Dependency'.
2023-02-17 13:50:49,712 72836 [INFO ] - VERBOSE: Exporting function 'Test-URL'.
2023-02-17 13:50:49,713 72836 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioComponent'.
2023-02-17 13:50:49,713 72836 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
2023-02-17 13:50:49,714 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
2023-02-17 13:50:49,714 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
2023-02-17 13:50:49,715 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstance'.
2023-02-17 13:50:49,716 72836 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
2023-02-17 13:50:49,716 72836 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudio'.
2023-02-17 13:50:49,717 72836 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
2023-02-17 13:50:49,717 72836 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
2023-02-17 13:50:49,718 72836 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
2023-02-17 13:50:49,719 72836 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
2023-02-17 13:50:49,720 72836 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
2023-02-17 13:50:49,720 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudio'.
2023-02-17 13:50:49,721 72836 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
2023-02-17 13:50:49,721 72836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-02-17 13:50:49,722 72836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-02-17 13:50:49,723 72836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-02-17 13:50:49,723 72836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-02-17 13:50:49,724 72836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-02-17 13:50:49,725 72836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-02-17 13:50:49,725 72836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-02-17 13:50:49,726 72836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-02-17 13:50:49,727 72836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-02-17 13:50:49,727 72836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-02-17 13:50:49,728 72836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-02-17 13:50:49,729 72836 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2023-02-17 13:50:49,730 72836 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2023-02-17 13:50:49,730 72836 [INFO ] - VERBOSE: Importing function 'Enable-AutoPin'.
2023-02-17 13:50:49,731 72836 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-02-17 13:50:49,731 72836 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2023-02-17 13:50:49,732 72836 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2023-02-17 13:50:49,732 72836 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-02-17 13:50:49,733 72836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-02-17 13:50:49,733 72836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-02-17 13:50:49,734 72836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-02-17 13:50:49,735 72836 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2023-02-17 13:50:49,735 72836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-02-17 13:50:49,736 72836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-02-17 13:50:49,736 72836 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-02-17 13:50:49,737 72836 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-02-17 13:50:49,738 72836 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2023-02-17 13:50:49,738 72836 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-02-17 13:50:49,739 72836 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-02-17 13:50:49,740 72836 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-02-17 13:50:49,740 72836 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-02-17 13:50:49,741 72836 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-02-17 13:50:49,742 72836 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-02-17 13:50:49,743 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2023-02-17 13:50:49,744 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2023-02-17 13:50:49,744 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2023-02-17 13:50:49,745 72836 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2023-02-17 13:50:49,746 72836 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2023-02-17 13:50:49,746 72836 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-02-17 13:50:49,747 72836 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-02-17 13:50:49,748 72836 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-02-17 13:50:49,748 72836 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-02-17 13:50:49,749 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2023-02-17 13:50:49,749 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-02-17 13:50:49,750 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-02-17 13:50:49,750 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-02-17 13:50:49,751 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-02-17 13:50:49,752 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-02-17 13:50:49,752 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-02-17 13:50:49,753 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-02-17 13:50:49,753 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-02-17 13:50:49,754 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-02-17 13:50:49,754 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-02-17 13:50:49,755 72836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-02-17 13:50:49,756 72836 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2023-02-17 13:50:49,757 72836 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2023-02-17 13:50:49,758 72836 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2023-02-17 13:50:49,759 72836 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2023-02-17 13:50:49,760 72836 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2023-02-17 13:50:49,761 72836 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-02-17 13:50:49,761 72836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-02-17 13:50:49,762 72836 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2023-02-17 13:50:49,763 72836 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2023-02-17 13:50:49,763 72836 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2023-02-17 13:50:49,764 72836 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2023-02-17 13:50:49,764 72836 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2023-02-17 13:50:49,765 72836 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-02-17 13:50:49,765 72836 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-02-17 13:50:49,766 72836 [INFO ] - VERBOSE: Importing function 'Show-Patreon'.
2023-02-17 13:50:49,767 72836 [INFO ] - VERBOSE: Importing function 'Show-PayPal'.
2023-02-17 13:50:49,767 72836 [INFO ] - VERBOSE: Importing function 'Show-ToastMessage'.
2023-02-17 13:50:49,768 72836 [INFO ] - VERBOSE: Importing function 'Start-CheckandStop'.
2023-02-17 13:50:49,769 72836 [INFO ] - VERBOSE: Importing function 'Start-CheckandThrow'.
2023-02-17 13:50:49,769 72836 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-02-17 13:50:49,770 72836 [INFO ] - VERBOSE: Importing function 'Start-WaitandStop'.
2023-02-17 13:50:49,771 72836 [INFO ] - VERBOSE: Importing function 'Start-WaitandStopActual'.
2023-02-17 13:50:49,771 72836 [INFO ] - VERBOSE: Importing function 'Test-Dependency'.
2023-02-17 13:50:49,772 72836 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-02-17 13:50:49,773 72836 [INFO ] - VERBOSE: Importing function 'Test-URL'.
2023-02-17 13:50:49,774 72836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-02-17 13:50:49,774 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-02-17 13:50:49,775 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-02-17 13:50:49,776 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-02-17 13:50:49,777 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-02-17 13:50:49,777 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2023-02-17 13:50:49,778 72836 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2023-02-17 13:50:49,779 72836 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-02-17 13:50:49,780 72836 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2023-02-17 13:50:49,780 72836 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2023-02-17 13:50:49,781 72836 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2023-02-17 13:50:49,782 72836 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-02-17 13:50:49,783 72836 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-02-17 13:50:49,783 72836 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-02-17 13:50:49,784 72836 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-02-17 13:50:49,785 72836 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-02-17 13:50:49,786 72836 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-02-17 13:50:49,786 72836 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-02-17 13:50:49,787 72836 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-02-17 13:50:49,788 72836 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-02-17 13:50:49,789 72836 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-02-17 13:50:49,837 72836 [DEBUG] - ---------------------------Script Execution---------------------------
2023-02-17 13:50:49,840 72836 [DEBUG] - Running 'ChocolateyScriptRunner' for tor-browser v12.0.3 with packageScript 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\tor-browser', installArguments: '', packageParameters: '/InstallDir:D:\Test\Tor Browser', preRunHookScripts: '', postRunHookScripts: '',
2023-02-17 13:50:49,852 72836 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyInstall.ps1'
2023-02-17 13:50:49,886 72836 [DEBUG] - Running Get-PackageParameters 
2023-02-17 13:50:49,889 72836 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-02-17 13:50:49,906 72836 [DEBUG] - Adding package param 'InstallDir'='D:\Test\Tor Browser'
2023-02-17 13:50:49,937 72836 [DEBUG] - Running Install-ChocolateyPackage -silentArgs '/S /D=D:\Test\Tor Browser' -checksum64 '94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c' -checksumType 'sha256' -url 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-12.0.3_ALL.exe' -checksum '8cf1dafe65efe4a9a732191ab5fa962ae75513694cc802b462abf0ae40f64a3a' -url64bit 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' -packageName 'tor-browser' -fileType 'exe' 
2023-02-17 13:50:49,982 72836 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'tor-browser' -fileFullPath 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\tor-browserInstall.exe' -url 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-12.0.3_ALL.exe' -url64bit 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' -checksum '8cf1dafe65efe4a9a732191ab5fa962ae75513694cc802b462abf0ae40f64a3a' -checksumType 'sha256' -checksum64 '94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' 
2023-02-17 13:50:49,995 72836 [DEBUG] - Running Get-OSArchitectureWidth -compare '64' 
2023-02-17 13:50:50,002 72836 [DEBUG] - CPU is 64 bit
2023-02-17 13:50:50,005 72836 [DEBUG] - Setting url to 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' and bitPackage to 64
2023-02-17 13:50:50,030 72836 [DEBUG] - Running Get-WebFileName -url 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' -defaultName 'tor-browserInstall.exe' 
2023-02-17 13:50:50,721 72836 [DEBUG] - Using response url to determine file name. 'https://dist.torproject.org/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe'
2023-02-17 13:50:50,729 72836 [DEBUG] - File name determined from url is 'torbrowser-install-win64-12.0.3_ALL.exe'
2023-02-17 13:50:50,748 72836 [DEBUG] - Running Get-WebHeaders -url 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' -ErrorAction 'Stop' 
2023-02-17 13:50:50,752 72836 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-02-17 13:50:50,754 72836 [DEBUG] - Request Headers:
2023-02-17 13:50:50,760 72836 [DEBUG] -   'Accept':'*/*'
2023-02-17 13:50:50,762 72836 [DEBUG] -   'User-Agent':'chocolatey command line'
2023-02-17 13:50:51,049 72836 [DEBUG] - Response Headers:
2023-02-17 13:50:51,053 72836 [DEBUG] -   'X-Content-Type-Options':'nosniff'
2023-02-17 13:50:51,053 72836 [DEBUG] -   'X-Frame-Options':'sameorigin'
2023-02-17 13:50:51,055 72836 [DEBUG] -   'X-Xss-Protection':'1'
2023-02-17 13:50:51,056 72836 [DEBUG] -   'Referrer-Policy':'no-referrer'
2023-02-17 13:50:51,056 72836 [DEBUG] -   'Strict-Transport-Security':'max-age=15768000; preload'
2023-02-17 13:50:51,058 72836 [DEBUG] -   'Content-Security-Policy':'default-src 'self';'
2023-02-17 13:50:51,059 72836 [DEBUG] -   'Onion-Location':'http://scpalcwstkydpa3y7dbpkjs2dtr7zvtvdbyj3dqwkucfrwyixcl5ptqd.onion/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe'
2023-02-17 13:50:51,060 72836 [DEBUG] -   'Accept-Ranges':'bytes'
2023-02-17 13:50:51,061 72836 [DEBUG] -   'Content-Length':'95880568'
2023-02-17 13:50:51,062 72836 [DEBUG] -   'Cache-Control':'max-age=3600'
2023-02-17 13:50:51,063 72836 [DEBUG] -   'Content-Type':'application/x-msdos-program'
2023-02-17 13:50:51,064 72836 [DEBUG] -   'Date':'Fri, 17 Feb 2023 12:50:51 GMT'
2023-02-17 13:50:51,065 72836 [DEBUG] -   'Expires':'Fri, 17 Feb 2023 13:50:51 GMT'
2023-02-17 13:50:51,066 72836 [DEBUG] -   'ETag':'"5b70578-5f4c3d1b71eb4"'
2023-02-17 13:50:51,067 72836 [DEBUG] -   'Last-Modified':'Wed, 15 Feb 2023 21:32:37 GMT'
2023-02-17 13:50:51,068 72836 [DEBUG] -   'Server':'Apache'
2023-02-17 13:50:51,075 72836 [INFO ] - Downloading tor-browser 64 bit
  from 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe'
2023-02-17 13:50:51,092 72836 [DEBUG] - Running Get-WebFile -url 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' -fileName 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe' -options 'System.Collections.Hashtable' 
2023-02-17 13:50:51,095 72836 [DEBUG] - Setting request timeout to  30000
2023-02-17 13:50:51,096 72836 [DEBUG] - Setting read/write timeout to  2700000
2023-02-17 13:50:51,097 72836 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-02-17 13:50:51,459 72836 [DEBUG] - Downloading https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe to C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe
2023-02-17 13:51:08,015 72836 [INFO ] - 
2023-02-17 13:51:08,016 72836 [INFO ] - Download of torbrowser-install-win64-12.0.3_ALL.exe (91.44 MB) completed.
2023-02-17 13:51:11,046 72836 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-02-17 13:51:11,049 72836 [DEBUG] - Verifying package provided checksum of '94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c' for 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe'.
2023-02-17 13:51:11,057 72836 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe' -checksum '94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c' -checksumType 'sha256' -originalUrl 'https://www.torproject.org/dist/torbrowser/12.0.3/torbrowser-install-win64-12.0.3_ALL.exe' 
2023-02-17 13:51:11,063 72836 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-02-17 13:51:11,064 72836 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c" -t="sha256" -f="C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe"]
2023-02-17 13:51:11,797 72836 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="94c66cde8a8f6744971553deba450b3e2bf2ad17f0d3129853591a050801a58c" -t="sha256" -f="C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe"] exited with '0'.
2023-02-17 13:51:11,830 72836 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'tor-browser' -fileType 'exe' -silentArgs '/S /D=D:\Test\Tor Browser' -file 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False' 
2023-02-17 13:51:11,832 72836 [DEBUG] - Running Get-OSArchitectureWidth -compare '32' 
2023-02-17 13:51:11,835 72836 [INFO ] - Installing tor-browser...
2023-02-17 13:51:11,865 72836 [DEBUG] - Error ensuring directories exist -  Exception calling "GetDirectoryName" with "1" argument(s): "The path is not of a legal form."
2023-02-17 13:51:11,906 72836 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3' -statements '/S /D=D:\Test\Tor Browser ' -exeToRun 'C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe' 
2023-02-17 13:51:11,936 72836 [DEBUG] - Test-ProcessAdminRights: returning True
2023-02-17 13:51:11,947 72836 [DEBUG] - Elevating permissions and running ["C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe" /S /D=D:\Test\Tor Browser ]. This may take a while, depending on the statements.
2023-02-17 13:51:25,646 72836 [DEBUG] - Command ["C:\Users\Destr\AppData\Local\Temp\chocolatey\tor-browser\12.0.3\torbrowser-install-win64-12.0.3_ALL.exe" /S /D=D:\Test\Tor Browser ] exited with '0'.
2023-02-17 13:51:25,656 72836 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-02-17 13:51:25,659 72836 [INFO ] - tor-browser has been installed.
2023-02-17 13:51:25,818 72836 [DEBUG] - Running Install-ChocolateyShortcut -shortcutFilePath 'C:\Users\Destr\OneDrive\Desktop\Tor Browser.lnk' -targetPath 'C:\ProgramData\chocolatey\lib\tor-browser\tools\tor-browser\Browser\firefox.exe' -workingDirectory 'C:\ProgramData\chocolatey\lib\tor-browser\tools\tor-browser\Browser' 
2023-02-17 13:51:25,825 72836 [WARN ] - WARNING: 'C:\ProgramData\chocolatey\lib\tor-browser\tools\tor-browser\Browser\firefox.exe' does not exist. If it is not created the shortcut will not be valid.
2023-02-17 13:51:25,831 72836 [DEBUG] - Creating Shortcut...
2023-02-17 13:51:25,896 72836 [DEBUG] - Shortcut created.
2023-02-17 13:51:25,948 72836 [DEBUG] - ----------------------------------------------------------------------
2023-02-17 13:51:25,952 72836 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '/InstallDir:D:\Test\Tor Browser' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-02-17 13:51:25,955 72836 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-02-17 13:51:25,996 72836 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-02-17 13:51:26,312 72836 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\tor-browser'
2023-02-17 13:51:26,314 72836 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tor-browser\tor-browser.nupkg'
  with checksum 'BA45D3C03AE290DB58DD62FEAB580A4E'
2023-02-17 13:51:26,316 72836 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tor-browser\tor-browser.nuspec'
  with checksum '1E669AE53C2A13944BBCB67E871FCC00'
2023-02-17 13:51:26,317 72836 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyInstall.ps1'
  with checksum '9DC8AF6D3643978C32DE87B18786AD23'
2023-02-17 13:51:26,318 72836 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tor-browser\tools\chocolateyUninstall.ps1'
  with checksum 'EB2F979FCED14228C8FA9F43C716D122'
2023-02-17 13:51:26,319 72836 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\tor-browser\tools\helpers.ps1'
  with checksum '9C29EC3DF32F4CA8F9C2E3A0C4637125'
2023-02-17 13:51:26,350 72836 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files"
 with "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files.72836.update".
 Backup placed at "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files.backup".
2023-02-17 13:51:26,353 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files.backup".
2023-02-17 13:51:26,357 72836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files.72836.update"
 to "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files".
2023-02-17 13:51:26,360 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.files.72836.update".
2023-02-17 13:51:26,361 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.arguments".
2023-02-17 13:51:26,362 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.extra".
2023-02-17 13:51:26,363 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.version".
2023-02-17 13:51:26,364 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.sxs".
2023-02-17 13:51:26,365 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\tor-browser.12.0.3\.pin".
2023-02-17 13:51:26,368 72836 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-02-17 13:51:26,370 72836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\tor-browser\.chocolateyPending".
2023-02-17 13:51:26,374 72836 [INFO ] -  The install of tor-browser was successful.
2023-02-17 13:51:26,376 72836 [INFO ] -   Software installed as 'exe', install location is likely default.
2023-02-17 13:51:26,380 72836 [DEBUG] - Attempting to delete file "C:\Users\Destr\AppData\Local\NuGet\Cache\tor-browser.12.0.3.nupkg".
2023-02-17 13:51:26,397 72836 [WARN ] - 
Chocolatey installed 1/1 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-02-17 13:51:26,400 72836 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-02-17 13:51:26,435 72836 [DEBUG] - Exiting with 0

Anything else?

Choco version : 1.3.0 (unavailable in your select box)

pauby commented 1 year ago

I've marked this as Up For Grabs. PR's are welcome.

pauby commented 1 year ago

Choco version : 1.3.0 (unavailable in your select box)

Thsi was fixed at https://github.com/chocolatey-community/chocolatey-packages/commit/6ced44c09c185ff1f0a698317cab2aa6859cf42a

pauby commented 1 year ago

@Destroy666x can you submit a PR for this issue?

Destroy666x commented 1 year ago

I'll take a look tomorrow if I'll have time.

github-actions[bot] commented 1 year ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue will be closed in 14 days if it continues to be inactive.

github-actions[bot] commented 1 year ago

Dear contributor,

As this issue seems to have been inactive for quite some time now, I've automatically closed it. If you feel this is a valid issue, please feel free to re-open the issue if/when a pull request has been added. Thank you for your contribution.