Downloads:

16,634

Downloads of v 4.8.2:

75

Last Update:

11 Nov 2021

Package Maintainer(s):

Software Author(s):

  • TorGuard.net

Tags:

torguard-client admin vpn networking

TorGuard VPN Client (Install)

  • 1
  • 2
  • 3

4.8.2 | Updated: 11 Nov 2021

Downloads:

16,634

Downloads of v 4.8.2:

75

Maintainer(s):

Software Author(s):

  • TorGuard.net

  • 1
  • 2
  • 3
TorGuard VPN Client (Install) 4.8.2

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

This is failing automated testing due to a window popping up that api-ms-crt-runtime-l1-1-0.dll is missing. I've added kb2999226 as a dependency to fix this problem but I believe this requires a reboot so this pkg needs an exemption.

Details

Scan Testing Successful:

No detections found in any package files

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

To install TorGuard VPN Client (Install), run the following command from the command line or from PowerShell:

>

To upgrade TorGuard VPN Client (Install), run the following command from the command line or from PowerShell:

>

To uninstall TorGuard VPN Client (Install), 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 torguard-client -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 torguard-client -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 torguard-client
  win_chocolatey:
    name: torguard-client
    version: '4.8.2'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'torguard-client' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.8.2'
end

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


cChocoPackageInstaller torguard-client
{
    Name     = "torguard-client"
    Version  = "4.8.2"
    Source   = "INTERNAL REPO URL"
}

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


package { 'torguard-client':
  ensure   => '4.8.2',
  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.

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

This package was approved as a trusted package on 11 Nov 2021.

Description

Torguard VPN Client

Every internet connection, regardless of personal or public wifi, binds you to the "terms and conditions" of that provider. Many times, these terms of usage are vague, leaving the safety of your personal data to be determined by a policy you probably don’t have access to. One doesn't have to be doing anything illegal either – there are many documented cases in which personal freedoms have been violated by ISP’s, website owners, and search engines. At TorGuard VPN, we believe every law abiding citizen has the right to encrypt and protect their personal data online.
Big businesses wouldn’t think of risking company secrets on an unsecured connection, so why should you?

TorGuard VPN service protects your online identity by providing you an anonymous IP address to hide behind. By using an encrypted VPN tunnel, this makes it impossible for your personal IP address or internet usage to be captured. Not even an external ISP, website, or search engine will be able to determine your real IP address. TorGuard anonymous VPN provides access to 1600+ Servers in over 50+ countries with just the click of a button. Take back your online privacy today and surf the web in complete privacy.

Notes

This software requires a subscription to the TorGuard VPN Service in order to work.

Maintainer's Note

I produce and maintain Chocolatey packages in my spare time, for free. If you use my packages, and appreciate the time and effort I put into making and maintaining them, please consider making a small donation. Thank-you!


tools\chocolateyinstall.ahk
#NoEnv
#NoTrayIcon
SendMode Input
DetectHiddenText, off
DetectHiddenWindows, off
SetTitleMatchMode, 2   ;contains

winTitle = Windows Security ahk_class #32770
winTitle2 = Microsoft Visual C++ ahk_class WixStdBA
winTitle3 = Microsoft Visual C++ ahk_class #32770

Loop
{
    IfWinExist, %winTitle%
    {
        WinActivate
        ControlClick, Install, %winTitle%
    }
    IfWinExist, %winTitle2%
    {
        ControlClick, Close, %winTitle2% 
        WinWait, %winTitle3%
        WinActivate, %winTitle3%
        ControlClick, Yes, %winTitle3%
        Break
    }
}

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

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64      = 'https://torguard.net/downloads/new/torguard-setup-latest.exe'
$checksum64 = '25c5fe2e7ab7b2aec63aea858224a4ae9eb72f5537ebed66f1edc32b8417bf4f'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'EXE'
  url64bit       = $url64
  softwareName   = '*TorGuard*'
  checksum64     = $checksum64
  checksumType64 = 'sha256'
  silentArgs     = '/S'
  validExitCodes = @(0, 3010)
}

$ahkFile = Join-Path $toolsDir "chocolateyinstall.ahk"
Start-Process -FilePath "AutoHotkey.exe" -Verb runas -ArgumentList $ahkFile

Install-ChocolateyPackage @packageArgs

Stop-Process -Name "AutoHotkey" -Force
tools\chocolateyuninstall.ahk
#NoEnv
#NoTrayIcon
SendMode Input
DetectHiddenText, off
DetectHiddenWindows, off
SetTitleMatchMode, 2   ;contains

winTitle = TAP-Windows ahk_class #32770
WinWait, %winTitle%, , 300
ControlClick, Uninstall, %winTitle%
Sleep, 1000
ControlClick, Next, %winTitle%
Sleep, 1000
ControlClick, Finish, %winTitle%

ExitApp
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

$packageName = 'torguard-client'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$softwareName = '*TorGuard*'
$installerType = 'EXE' 

$silentArgs = '/S'
$validExitCodes = @(0)

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
  $key | % { 
    $file = "$($_.UninstallString)"

    $ahkFile = Join-Path $toolsDir "chocolateyuninstall.ahk"
    Start-Process -FilePath "AutoHotkey.exe" -Verb runas -ArgumentList $ahkFile
    
    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}

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
TorGuard VPN Client (Install) 4.8.1 56 Friday, November 5, 2021 Approved
TorGuard VPN Client (Install) 4.8.0 63 Monday, November 1, 2021 Approved
TorGuard VPN Client (Install) 4.7.8 69 Tuesday, October 26, 2021 Approved
TorGuard VPN Client (Install) 4.7.7 109 Tuesday, October 5, 2021 Approved
TorGuard VPN Client (Install) 4.7.5 91 Tuesday, September 21, 2021 Approved
TorGuard VPN Client (Install) 4.7.4 86 Tuesday, September 7, 2021 Approved
TorGuard VPN Client (Install) 4.7.3 165 Thursday, July 22, 2021 Approved
TorGuard VPN Client (Install) 4.7.2 134 Thursday, June 17, 2021 Approved
TorGuard VPN Client (Install) 4.7.0 163 Tuesday, May 11, 2021 Approved

Discussion for the TorGuard VPN Client (Install) Package

Ground Rules:

  • This discussion is only about TorGuard VPN Client (Install) and the TorGuard VPN Client (Install) 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 TorGuard VPN Client (Install), 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