Notices: This section not yet converted to new layout. Download stats are rolling back out.

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

Tor Browser Bundle

7.0.6

Package test results are passing.

This package was approved as a trusted package on 9/29/2017.

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 without needing to install any software. It 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 7.0.6

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

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

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
    . "$toolsDir\helpers.ps1"
    
    $data = GetDownloadInformation -toolsPath $toolsDir
    $destinationFolder = GetInstallDirectory -toolsPath $toolsDir
    
    $packageArgs = @{
      PackageName = 'tor-browser'
      FileFullPath = Join-Path $env:TEMP "tor-browserInstall.exe"
      Url = $data.URL
      Checksum = $data.Checksum
      ChecksumType = 'sha256'
    }
    
    Get-ChocolateyWebFile @packageArgs
    
    Write-Output "Installing $($packageArgs.PackageName) with language code: '$($data.Locale)'..."
    
    Start-Process -Wait $packageArgs.FileFullPath -ArgumentList '/S', "/D=$destinationFolder"
    
    Remove-Item  $packageArgs.FileFullPath -Force -ea 0
    
    # 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
    
    $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
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $desktop = [System.Environment]::GetFolderPath('Desktop')
    
    if (Test-Path "$desktop\Tor Browser.lnk") {
      Write-Host "Removing Desktop shortcut..."
      Remove-Item -Force -ea 0 "$desktop\Tor Browser.lnk"
    }
    
  • tools\helpers.ps1 Show
    function GetDownloadsData() {
      param($filePath)
    
      $data = Get-Content $filePath | ConvertFrom-Csv -Delimiter '|'
      return $data
    }
    
    function GetLocaleData() {
      param($downloadData)
    
      $availableLocales = $downloadData | select -expand Locale
    
      $pp = Get-PackageParameters
      $preferredLocale = if ($pp.Locale) { $pp.Locale } else { (Get-Culture).Name }
      $twoLetterLocale = (Get-Culture).TwoLetterISOLanguageName
      $fallbackLocale = 'en-US'
    
      $locales = $preferredLocale,$twoLetterLocale,$fallbackLocale
    
      foreach ($locale in $locales) {
        $localeMatch = $availableLocales | ? { $_ -eq $locale } | select -first 1
        if (!$localeMatch -and $locale -ne $null -and $locale.Count -eq 2) {
          $localeMatch = $availableLocales | ? { ($_ -split '-' | select -first 1) -eq $locale } | select -first 1
        }
        if ($localeMatch -and $locale -ne $null) { break }
      }
    
      return $downloadData | ? { $_.Locale -eq $locale } | select -first 1
    }
    
    function GetDownloadInformation() {
      param($toolsPath)
      $dlData = GetDownloadsData "$toolsPath\LanguageChecksums.csv"
      if (!$dlData) { throw "No URLs is available to download from!" }
      $locale = GetLocaleData $dlData
      return $locale
    }
    
    function GetInstallDirectory() {
      param($toolsPath)
    
      $pp = Get-PackageParameters
      if ($pp.InstallDir) { return $pp.InstallDir }
    
      $binRoot = Get-ToolsLocation
      $destinationFolder = Join-Path $binRoot "tor-browser"
    
      if (!(Test-Path $destinationFolder)) {
        $destinationFolder = Join-Path $toolsPath "tor-browser"
      } else {
        Write-Warning @(
          'Deprecated installation folder detected (binRoot). ' +
          'This package will continue to install tor-browser there ' +
          'unless you manually remove it from "' + $destinationFolder + '".'
        )
      }
    
      $desktopPath = [System.Environment]::GetFolderPath('Desktop')
      $oldDestinationFolder = Join-Path $desktopPath 'Tor-Browser'
      if ((Test-Path $oldDestinationFolder) -and
          ($oldDestinationFolder -ne $destinationFolder)) {
        $destinationFolder = $oldDestinationFolder
    
        Write-Warning @(
          'Deprecated installation fodler detected: Desktop/Tor-Browser. ' +
          'This package will continue to install tor-browser there unless you ' +
          'remove the deprecated installation folder. After your did that, reinstall ' +
          'this package again with the "--force" parameter. Then it will be installed ' +
          'to the package tools directory.'
        )
      }
    
      return $destinationFolder
    }
    
  • tools\LanguageChecksums.csv Show
    #TYPE Selected.System.String
    "Locale"|"Checksum"|"URL"
    "pl"|"9998b796c72af9d5002584d3079752c189b9aea23244b52803e3331c327cf810"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_pl.exe"
    "ru"|"804ade9f565fef8bfd9f5bf4b32b1be6cca584b9fd61eaf937152b0e57716981"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_ru.exe"
    "nl"|"b17e2891e848ae34657213cd5838492d8ae2a261b59462708819d91bb4786658"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_nl.exe"
    "fa"|"5f8e1a2471da0bf69f9252cf784c9caffb039dec55c0eb601848047d90d8a4d1"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_fa.exe"
    "zh-CN"|"fa29c8970f9caa1b3179524f77f4f19bc33730b631516e5d17bacea73fe6c7c9"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_zh-CN.exe"
    "en-US"|"af1b26a2d74b890284e9a2b7826a43bd96d3fe34ba2e54f6b384f3fb226797c8"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_en-US.exe"
    "it"|"1618883feb4d90a6aeb189d683c9750a5374d4c86c3654f741e60de002ad81a9"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_it.exe"
    "tr"|"1623a6e761f68044952303f512240471b7d0ab2eadab6216a482937996eec914"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_tr.exe"
    "ja"|"2072213d6467047062bdedd2f07d1bd04f62623272f9523fd7f4203d248769d6"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_ja.exe"
    "ar"|"3bfbcc9b83c285bae7606bc00c4f89289d509917383a671e153e56cee8b621a3"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_ar.exe"
    "vi"|"bd1a9de06780c39f42e6f7d7006e226634647afb225c0cf7012cd9e8a7cfd282"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_vi.exe"
    "de"|"ae758f9046d38b7123ae03c851ef6be2f7cc382cab7603e529976fc73e2a8c0b"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_de.exe"
    "fr"|"f888d1f529adc032159fdea6b1ade60ad232a229a6716c4ffe1f9f40be52de89"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_fr.exe"
    "pt-BR"|"22b0a3934ba48645d23d13f4af493c7076c344917586d1fe0d9d64693d0a4fc5"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_pt-BR.exe"
    "es-ES"|"4d73c2f977dc3ec6818e8ba3878af4027643310510b24d050605fda051753547"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_es-ES.exe"
    "ko"|"d3d0a9a3224e30a036bcd3e8c5fbac6a38a5dcc2d62545e51fd5b74d45ab0f02"|"https://www.torproject.org/dist/torbrowser/7.0.6/torbrowser-install-7.0.6_ko.exe"
    

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

Package Maintainer(s)

Software Author(s)

  • Tor Project

Tags

Release Notes

https://blog.torproject.org/category/tags/tor-browser

Version History

Version Downloads Last updated Status
Tor Browser Bundle 8.0.3 4172 Wednesday, October 24, 2018 approved
Tor Browser Bundle 8.0.2 2432 Wednesday, October 3, 2018 approved
Tor Browser Bundle 8.0.1 1375 Saturday, September 22, 2018 approved
Tor Browser Bundle 8.0 1852 Thursday, September 6, 2018 approved
Tor Browser Bundle 7.5.6 4140 Tuesday, June 26, 2018 approved
Tor Browser Bundle 7.5.5 1630 Saturday, June 9, 2018 approved
Tor Browser Bundle 7.5.4 2525 Wednesday, May 9, 2018 approved
Tor Browser Bundle 7.5.3 3193 Tuesday, March 27, 2018 approved
Tor Browser Bundle 7.5.2 1683 Saturday, March 17, 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