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

DisplayLink

9.2.0

Package test results are passing.

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

This package was approved as a trusted package on 7/18/2019.

DisplayLink is supported by the major PC computer and accessories companies and is designed into docking stations, graphics adapters, and monitors. We are constantly creating new ways to support other platforms and devices, including Ultra HD 4K displays, tablets, and wireless devices.

To install DisplayLink, run the following command from the command line or from PowerShell:

C:\> choco install displaylink

To upgrade DisplayLink, run the following command from the command line or from PowerShell:

C:\> choco upgrade displaylink

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
    . "$toolsPath\helpers.ps1"
    
    $ID = '1371'
    $InitialURL = "https://www.displaylink.com/downloads/file?id=$ID"
    $Formdata = "fileId=$ID&accept_submit=Accept"
    
    $url = Get-WebLocation -URL $InitialURL -FormData $Formdata
    $packageName= $env:ChocolateyPackageName
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    $packageArgs = @{
      packageName    = $packageName
      unzipLocation  = $toolsDir
      softwareName   = 'DisplayLink*'
      url            = $url
      checksum       = '49D97FB8D26D4B636CBD0F122C08297DEE51C1ACAC8F41EB4A7B18898EF0BACA'
      checksumType   = 'sha256'
      checksum64     = '49D97FB8D26D4B636CBD0F122C08297DEE51C1ACAC8F41EB4A7B18898EF0BACA'
      checksumType64 = 'sha256'
      silentArgs     = '-silent -noreboot -suppressUpToDateInfo'
      validExitCodes = @(0)
    }
    
    Install-ChocolateyZIPPackage @packageArgs
  • tools\chocolateyuninstall.ps1 Show
    
    
    $ErrorActionPreference = 'Stop';
    $packageArgs = @{
      packageName   = $env:ChocolateyPackageName
      softwareName  = 'DisplayLink*'
      fileType      = 'EXE'
      silentArgs   = '-uninstall'
      validExitCodes= @(0)
    }
    
    $uninstalled = $false
    [array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
    
    if ($key.Count -eq 1) {
      $key | % { 
        $packageArgs['file'] = "$($_.UninstallString)"
        if ($packageArgs['fileType'] -eq 'MSI') {
          $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
          
          $packageArgs['file'] = ''
        }
    
        Uninstall-ChocolateyPackage @packageArgs
      }
    } 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)"}
    }
    
    
    
  • tools\helpers.ps1 Show
    Function Get-WebLocation {
    [cmdletbinding()]
    param(
        [string]$URL,
        [string]$Formdata
    )
        $Body = [byte[]][char[]]$Formdata
        if (!($Body)) {
            throw "No form data submitted"
        }
        if (!($URL)) {
            throw "No URL submitted"
        }
        $Request = [System.Net.HttpWebRequest]::Create($URL)
        $Request.Method = 'POST'
        $Stream = $Request.GetRequestStream()
        $Stream.Write($Body, 0, $Body.Length)
        $Request.ContentType = "application/x-www-form-urlencoded"
        $Request.AllowAutoRedirect = $false
        $Response = $Request.GetResponse()
        $Location = $Response.Headers.GetValues('location')
        return $Location
    }
  • tools\Tests\helpers.Tests.ps1 Show
    $scriptPath = Join-Path -Path $PSScriptRoot -ChildPath  "..\helpers.ps1" -Resolve
    . $scriptPath
    
    $ID = "1045"
    Describe "Return web address" {
        Context "Return a non null value" {
            It "should return a non null" {
                {
                    Get-WebLocation -URL "http://www.displaylink.com/downloads/file?id=$ID" -FormData "fileId=$ID&accept_submit=Accept"} | should not benullorempty
            }
        }
        Context "Return No form data submitted" {
            Mock Get-WebLocation {
                 throw "No form data submitted"
            }
    
            It "should return No form data submitted" {
                {
                    Get-WebLocation -URL "http://www.displaylink.com/downloads/file?id=$ID"} | should throw "No form data submitted"
            }
        }
        Context "Return No form data submitted" {
            Mock Get-WebLocation {
                throw "No URL submitted"
            }
    
            It "should return No URL submitted" {
                {
                    Get-WebLocation -FormData "fileId=$ID&accept_submit=Accept"} | should throw "No URL submitted"
            }
        }
    }

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)

  • DisplayLink

Tags

Release Notes

Package to install DisplayLink 9.0 Mo released 16 Jul 2019

Version History

Version Downloads Last updated Status
DisplayLink 9.1.2 515 Monday, July 1, 2019 approved
DisplayLink 9.1.1 17 Monday, July 1, 2019 approved
DisplayLink 9.1.0 1497 Thursday, March 28, 2019 approved
DisplayLink 9.0.1 770 Wednesday, February 6, 2019 approved
DisplayLink 9.0.0 707 Saturday, December 15, 2018 approved
DisplayLink 8.6.1 141 Wednesday, December 12, 2018 approved
DisplayLink 8.6.0 59 Wednesday, December 12, 2018 approved
DisplayLink 8.5.2 1268 Monday, July 16, 2018 approved
DisplayLink 8.5.1 362 Wednesday, May 30, 2018 approved
Show More

Discussion for the DisplayLink Package

Ground rules:

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