Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

52,607

Downloads of v 290.3.5.7:

1,520

Last Update:

30 Mar 2024

Package Maintainer(s):

Software Author(s):

  • London Trust Media
  • Inc.

Tags:

admin vpn tor security privacy multi-platform

Private Internet Access

  • 1
  • 2
  • 3

290.3.5.7 | Updated: 30 Mar 2024

Downloads:

52,607

Downloads of v 290.3.5.7:

1,520

Maintainer(s):

Software Author(s):

  • London Trust Media
  • Inc.

Private Internet Access 290.3.5.7

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Private Internet Access, run the following command from the command line or from PowerShell:

>

To upgrade Private Internet Access, run the following command from the command line or from PowerShell:

>

To uninstall Private Internet Access, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade pia -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade pia -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install pia
  win_chocolatey:
    name: pia
    version: '290.3.5.7'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'pia' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '290.3.5.7'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller pia
{
    Name     = "pia"
    Version  = "290.3.5.7"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'pia':
  ensure   => '290.3.5.7',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 22 May 2024.

Description

Why should I use PIA?

  • Protect Your Privacy and Identity
  • Unblock Censorship Filters
  • Connect Through Our VPN Tunnel in Seconds!

tools\.skipAutoUninstall
 
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir       = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$ahkExe         = 'AutoHotKey'
$ahkFile        = Join-Path $toolsDir "piaInstall.ahk"

Start-Process $ahkExe $ahkFile

$url = 'https://installers.privateinternetaccess.com/download/pia-windows-x86-3.5.7-08120.exe'
$checksum = '692ee6963d59f486e7396a1b94fffeb0fb568281727a3a35d5bec8f026feedb7'
$url64 = 'https://installers.privateinternetaccess.com/download/pia-windows-x64-3.5.7-08120.exe'
$checksum64 = '013a8235cb3126ea004c16a48671cb3045f81031864f2af56bb9e50a6737ea28'

#$packageArgs = @{
#  packageName    = 'pia'
#  fileType       = 'exe'
#  url            = 'https://installers.privateinternetaccess.com/download/pia-windows-x86-3.3.1-06924.exe'
#  checksum       = '4bc9bfaeeb63870406d4ce403190a4f9fafeadefad2338a45ac235810f423bd0'
#  checksumType   = 'sha256'
#  silentArgs     = ''
#  validExitCodes = @(0)
#  softwareName   = 'pia*'
#  url64          = 'https://installers.privateinternetaccess.com/download/pia-windows-x64-3.3.1-06924.exe'
#  checksum64     = '5a9d98995f8c388eee2b92d5fb15c8d346c2cb1ef9b9c12922d2bd5bfc57b175'
#  checksumType64 = 'sha256'
#}
#Install-ChocolateyPackage @packageArgs

Get-ChocolateyWebFile -PackageName "$env:ChocolateyPackageName" -FileFullPath "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)\thefile.exe" -Url $url -Checksum $checksum -ChecksumType 'SHA256' -Url64 $url64 -Checksum64 $checksum64 -ChecksumType64 'sha256' -GetOriginalFileName

Start-Process -FilePath (Get-Childitem -Path $toolsDir -Filter "*.exe").fullname
Start-Sleep -Seconds 20

Remove-Item -ea 0 -Force -Path $toolsDir\*.exe

Start-Sleep -Seconds 60
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

#$UninstallArgs = @{
#    PackageName = $env:ChocolateyPackageName
#    FileType    = 'exe'
#    File        = Join-Path $env:ProgramFiles "Private Internet Access\uninstall.exe"
#    SilentArgs  = '/qn'
#}
#Uninstall-ChocolateyPackage @UninstallArgs

$File = Join-Path $env:ProgramFiles "Private Internet Access\uninstall.exe"
Start-Process -FilePath $File -ArgumentList "/qn"
Start-Sleep -Seconds 30
tools\piaInstall.ahk
#Requires AutoHotkey v2.0
; default environment
DetectHiddenWindows False
SetKeyDelay 100

; modified environment
#NoTrayIcon
DetectHiddenText False
SetTitleMatchMode 2


Loop 1000 {
  Sleep(2000)
  If WinExist("Replace existing version?")
  {
  WinActivate
  Send "{y}"
  }

Sleep(20000)

If WinExist("Windows Security")
  {
  WinActivate
  Send "{i}"
  }

Sleep(20000)

If WinExist("Error")
  {
  WinActivate
  Send "{c}"
  }

Sleep(40000)

If WinExist("Private Internet Access")
  {
  Run A_ComSpec ' /c "taskkill /F /T /IM pia-service.exe" '
  Run A_ComSpec ' /c "taskkill /F /T /IM pia-client.exe" '
  ExitApp
  }
}

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Private Internet Access 290.3.5.6 454 Saturday, March 23, 2024 Approved
Private Internet Access 290.3.5.5 360 Monday, March 18, 2024 Approved
Private Internet Access 290.3.5.3 1634 Saturday, December 23, 2023 Approved
Private Internet Access 290.3.5.2 819 Saturday, December 2, 2023 Approved
Private Internet Access 290.3.5.1 1120 Saturday, October 21, 2023 Approved
Private Internet Access 290.3.5 814 Saturday, September 30, 2023 Approved
Private Internet Access 290.3.3.120230717 551 Thursday, September 21, 2023 Approved
Private Internet Access 290.3.3.120230717-preview03 49 Saturday, August 26, 2023 Approved
Private Internet Access 290.3.3.120230717-preview02 43 Sunday, July 30, 2023 Exempted
Private Internet Access 290.3.3.120230717-preview01 48 Monday, July 17, 2023 Exempted
Private Internet Access 290.3.3.1 5088 Friday, April 8, 2022 Approved
Private Internet Access 290.3.3 1178 Friday, February 25, 2022 Approved
Private Internet Access 290.3.2 1825 Thursday, December 16, 2021 Approved
Private Internet Access 290.3.1.2 937 Sunday, November 28, 2021 Approved
Private Internet Access 290.3.1.1 630 Friday, November 19, 2021 Approved
Private Internet Access 290.3.1 1029 Friday, October 15, 2021 Approved
Private Internet Access 290.3.0.1 2002 Tuesday, August 31, 2021 Approved
Private Internet Access 290.3.0 385 Friday, August 27, 2021 Approved
Private Internet Access 290.2.10 1100 Monday, July 19, 2021 Approved
Private Internet Access 290.0 1503 Friday, May 7, 2021 Approved
Private Internet Access 281.0 847 Thursday, April 15, 2021 Approved
Private Internet Access 271.0 2072 Thursday, March 11, 2021 Approved
Private Internet Access 270.0 1372 Monday, March 1, 2021 Approved
Private Internet Access 261.0 1957 Thursday, December 17, 2020 Approved
Private Internet Access 260.0 886 Thursday, December 3, 2020 Approved
Private Internet Access 251.0 442 Monday, November 30, 2020 Approved
Private Internet Access 250.0 1588 Tuesday, November 24, 2020 Approved
Private Internet Access 230.0 1526 Saturday, August 22, 2020 Approved
Private Internet Access 222.0 1199 Thursday, July 16, 2020 Approved
Private Internet Access 221.0 167 Thursday, July 9, 2020 Approved
Private Internet Access 210.0 1190 Friday, May 29, 2020 Approved
Private Internet Access 202.0 914 Friday, May 1, 2020 Approved
Private Internet Access 201.0 839 Thursday, April 9, 2020 Approved
Private Internet Access 200.0 544 Thursday, April 2, 2020 Approved
Private Internet Access 180.0 1132 Friday, February 14, 2020 Approved
Private Internet Access 170.0 1148 Thursday, December 12, 2019 Approved
Private Internet Access 161.0 483 Thursday, December 5, 2019 Approved
Private Internet Access 160.0 594 Thursday, November 21, 2019 Approved
Private Internet Access 151.0 1007 Thursday, October 10, 2019 Approved
Private Internet Access 140.0 833 Thursday, September 5, 2019 Approved
Private Internet Access 133.0 896 Friday, July 19, 2019 Approved
Private Internet Access 132.0 456 Friday, July 12, 2019 Approved
Private Internet Access 121.02688 794 Wednesday, June 5, 2019 Approved
Private Internet Access 120.02681 334 Sunday, June 2, 2019 Approved
Private Internet Access 111.02545 1388 Monday, March 11, 2019 Approved
Private Internet Access 82.0 1034 Monday, January 21, 2019 Approved
Private Internet Access 81.0 1403 Friday, June 22, 2018 Approved
Private Internet Access 80.0 553 Friday, May 25, 2018 Approved
Private Internet Access 79.0 554 Thursday, April 26, 2018 Approved
Private Internet Access 78.0 557 Saturday, March 31, 2018 Approved
Private Internet Access 75.0 544 Thursday, December 28, 2017 Approved
Private Internet Access 2.10 89 Saturday, July 17, 2021 Approved
Discussion for the Private Internet Access Package

Ground Rules:

  • This discussion is only about Private Internet Access and the Private Internet Access 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 Private Internet Access, 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