Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

This is not the latest version of Tor Browser Bundle available.

Tor Browser Bundle

5.0.1

There are no package test results for this package

This package was approved as a trusted package on 8/18/2015.

The Tor software protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, it prevents the sites you visit from learning your physical location, and it lets you access sites which are blocked.

The Tor Browser Bundle lets you use Tor on Windows, Mac OS X, or Linux without needing to install any software. It can run off a USB flash drive, comes with a pre-configured web browser to protect your anonymity, and is self-contained.

This package puts the Tor Browser Bundle into $env:ChocolateyBinRoot\tor-browser.

To install Tor Browser Bundle, run the following command from the command line or from PowerShell:

C:\> choco install tor-browser --version 5.0.1

To upgrade Tor Browser Bundle, run the following command from the command line or from PowerShell:

C:\> choco upgrade tor-browser --version 5.0.1

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'tor-browser'
    $installerType = 'exe'
    $installArgs = '/S'
    
    # binRoot is only for compatibility reasons.
    # will be removed from future releases
    $binRoot = Get-BinRoot
    $destinationFolder = Join-Path $binRoot 'tor-browser'
    
    $toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
    
    if (!(Test-Path $destinationFolder)) {
      $destinationFolder =  Join-Path $toolsDir 'tor-browser'
    } else {
      Write-Host $(
        'Deprecated installation folder detected (binRoot). ' +
        'This package will continue to install tor-browser there ' +
        'unless you manuall remove if from "' + $destinationFolder + '".'
      )
    }
    
    $pathDownloadedInstaller = Join-Path $env:TEMP 'tor-browserInstall.exe'
    
    $desktopPath = $([Environment]::GetFolderPath('Desktop'))
    $oldDestinationFolder = Join-Path $desktopPath 'Tor Browser'
    
    if ((Test-Path $oldDestinationFolder) -and
      ($oldDestinationFolder -ne $destinationFolder)) {
    
      $destinationFolder = $oldDestinationFolder
    
    Write-Output @"
    Warning: Deprecated installation folder detected: Desktop/Tor Browser.
    This package will continue to install tor-browser there unless you
    remove the deprecated installation folder. After you did that, reinstall
    this package again with the “-force” parameter. Then it will use
    %ChocolateyBinRoot%\tor-browser.
    "@
    }
    
    
    $language = (Get-Culture).Name -replace '-[a-z]{2}', '' # get language code
    #$language = 'xx' # Language override for testing
    
    $table = @{
      'en' = 'en-US';
      'ar' = 'ar';
      'de' = 'de';
      'es' = 'es-ES';
      'fa' = 'fa';
      'fr' = 'fr';
      'it' = 'it';
      'ko' = 'ko';
      'nl' = 'nl';
      'pl' = 'pl';
      'pt' = 'pt-PT';
      'ru' = 'ru';
      'tr' = 'tr';
      'vi' = 'vi';
      'zh' = 'zh-CN';
    }
    
    $langcode = $table[$language]
    # English = fallback language
    if ($langcode -eq $null) {$langcode = 'en-US'}
    
    # DownloadUrlx64 gets “misused” here as variable for the real version with  hyphen
    $url = "https://www.torproject.org/dist/torbrowser/5.0.1/torbrowser-install-5.0.1_${langcode}.exe"
    
    Get-ChocolateyWebFile $packageName $pathDownloadedInstaller $url
    
    Start-Process -Wait $pathDownloadedInstaller -ArgumentList '/S', "/D=$destinationFolder"
    
    Remove-Item $pathDownloadedInstaller
    
    
    # Create .ignore files for exe’s
    Get-ChildItem -Path $destinationFolder -Recurse | Where {
      $_.Extension -eq '.exe'} | % {
      New-Item $($_.FullName + '.ignore') -Force -ItemType file
    # Suppress output of New-Item
    } | Out-Null
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Tor Project

Tags

Version History

Version Downloads Last updated Status
Tor Browser Bundle 8.0.1 1362 Saturday, September 22, 2018 approved
Tor Browser Bundle 8.0 1846 Thursday, September 6, 2018 approved
Tor Browser Bundle 7.5.6 4122 Tuesday, June 26, 2018 approved
Tor Browser Bundle 7.5.5 1620 Saturday, June 9, 2018 approved
Tor Browser Bundle 7.5.4 2516 Wednesday, May 9, 2018 approved
Tor Browser Bundle 7.5.3 3185 Tuesday, March 27, 2018 approved
Tor Browser Bundle 7.5.2 1669 Saturday, March 17, 2018 approved
Tor Browser Bundle 7.5.1 686 Tuesday, March 13, 2018 approved
Tor Browser Bundle 7.5 2019 Wednesday, January 24, 2018 approved
Show More

Discussion for the Tor Browser Bundle Package

Ground rules:

  • This discussion is only about Tor Browser Bundle and the Tor Browser Bundle package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Tor Browser Bundle, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok