Downloads:

7,329

Downloads of v 151.0:

332

Last Update:

10/10/2019

Package Maintainer(s):

Software Author(s):

  • London Trust Media
  • Inc.

Tags:

admin vpn tor security privacy multi-platform

Private Internet Access

151.0 | Updated: 10/10/2019

Downloads:

7,329

Downloads of v 151.0:

332

Maintainer(s):

Software Author(s):

  • London Trust Media
  • Inc.

Private Internet Access 151.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade pia -y --source="'STEP 3 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="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure pia installed
  win_chocolatey:
    name: pia
    state: present
    version: 151.0
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'pia' do
  action    :install
  version  '151.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: pia,
    Version: 151.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller pia
{
   Name     = 'pia'
   Ensure   = 'Present'
   Version  = '151.0'
   Source   = 'STEP 3 URL'
}

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


package { 'pia':
  provider => 'chocolatey',
  ensure   => '151.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install pia version="151.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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

This package was approved as a trusted package on 10/10/2019.

Description

Why should I use PIA?

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

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

$packageName    = 'pia'
$installerType  = 'exe'
$url            = 'https://installers.privateinternetaccess.com/download/pia-windows-x86-1.5.1-03605.exe'
$checksum       = '2ff74cb87cdf3327caad5ca8af095cecf83deb8055eded91d0f6ef9ae06ebc6b'
$checksumType   = 'sha256'
$url64          = 'https://installers.privateinternetaccess.com/download/pia-windows-x64-1.5.1-03605.exe'
$checksum64     = 'd5a666067aacb52c4e3c0a3e480e77014d77c34838e9eaee5b160cc28e8d7c4e'
$checksumType64 = 'sha256'
$toolsDir       = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$silentArgs     = ''
$validExitCodes = @(0)
$ahkExe         = 'AutoHotKey'
$ahkFile        = Join-Path $toolsDir "piaInstall.ahk"

Start-Process $ahkExe $ahkFile

$packageArgs = @{
  packageName    = $packageName
  fileType       = $installerType
  url            = $url
  silentArgs     = $silentArgs
  validExitCodes = $validExitCodes
  softwareName   = 'pia*'
  checksum       = $checksum
  checksumType   = $checksumType
  url64          = $url64
  checksum64     = $checksum64
  checksumType64 = $checksumType64
}

Install-ChocolateyPackage @packageArgs
tools\piaInstall.ahk
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#NoTrayIcon
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
SetTitleMatchMode, 2 ; A window's title can contain WinTitle anywhere inside it to be a match. 


Loop, 10000
{
sleep 10000
IfWinExist, Replace existing version?
  {
  WinActivate
  Send {y}
  }

sleep 50000

IfWinExist, Windows Security
  {
  WinActivate
  Send {i}
  }

sleep 100000

IfWinExist, Private Internet Access
  {
  Run, %comspec% /c "taskkill /F /T /IM pia-service.exe"
  Run, %comspec% /c "taskkill /F /T /IM pia-client.exe"
  ExitApp
  }
}

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.

Version Downloads Last Updated Status
Private Internet Access 140.0 641 Thursday, September 5, 2019 Approved
Private Internet Access 133.0 722 Friday, July 19, 2019 Approved
Private Internet Access 132.0 268 Friday, July 12, 2019 Approved
Private Internet Access 121.02688 623 Wednesday, June 5, 2019 Approved
Private Internet Access 120.02681 159 Sunday, June 2, 2019 Approved
Private Internet Access 111.02545 1217 Monday, March 11, 2019 Approved
Private Internet Access 82.0 831 Monday, January 21, 2019 Approved
Private Internet Access 81.0 1205 Friday, June 22, 2018 Approved
Private Internet Access 80.0 359 Friday, May 25, 2018 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