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:

108

Downloads of v 10017.0:

68

Last Update:

15 Aug 2019

Package Maintainer(s):

Software Author(s):

  • Lenovo

Tags:

lenovo thinkpad usb-c dock driver

Lenovo ThinkPad USB-C Dock Driver

Downloads:

108

Downloads of v 10017.0:

68

Maintainer(s):

Software Author(s):

  • Lenovo

Lenovo ThinkPad USB-C Dock Driver

  • 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
WARNING

This package was rejected on 24 Sep 2019. The reviewer chocolatey-ops has listed the following reason(s):

ITIGO (maintainer) on 15 Aug 2019 10:20:38 +00:00:

User 'ITIGO' (maintainer) submitted package.

chocolatey-ops (reviewer) on 15 Aug 2019 10:56:27 +00:00:

lenovo-thinkpad-usb-c-driver has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • The licenseUrl should be added if there is one. Please correct this in the nuspec, if applicable. More...
  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

  • The nuspec has been enhanced to allow more information related to the software. More... Please consider adding one or more of the following to the nuspec, if available:
    • docsUrl - points to the location of the wiki or docs of the software
    • mailingListUrl - points to the forum or email list group for the software
    • bugTrackerUrl - points to the location where issues and tickets can be accessed
    • projectSourceUrl - points to the location of the underlying software source

chocolatey-ops (reviewer) on 15 Aug 2019 11:39:18 +00:00:

lenovo-thinkpad-usb-c-driver has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/01ec0b7369d0a52ff2d93be45c92cd57 for details.
This is an FYI only. There is no action you need to take.

Pauby (reviewer) on 20 Aug 2019 18:03:25 +00:00:

Hi, a couple of issues / suggestions / questions:

  1. Can you add a <licenseUrl>?

  2. Can you add a proper <summary>?

  3. The package validator has made suggestions for fields to add. Can you look to add <docsUrl>, <mailingListUrl>, <bugTrackerUrl>, <projectSourceUrl>?

  4. Can you remove helpers.ps1 as it's not being used in the package?

Thanks.

chocolatey-ops (reviewer) on 09 Sep 2019 18:08:21 +00:00:

We've found lenovo-thinkpad-usb-c-driver v10017.0 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 24 Sep 2019 18:13:03 +00:00:

Unfortunately there has not been progress to move lenovo-thinkpad-usb-c-driver v10017.0 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

Lenovo ThinkPad USB-C Dock Driver


tools\chocolateyinstall.ps1
# lenovo-thinkpad-usb-c-driver install

# Globale Settings
$ErrorActionPreference = 'Stop';

$toolsDir               = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$PackageParameters      = Get-PackageParameters
$urlPackage = 'https://download.lenovo.com/pccbbs/mobiles/thinkpad_thunderbolt-3_dock_and_usb-c_dock_driver_v10017.exe'
$checksumPackage = '20b8881050fdf6ec5d594b57dc169878bf7fa5d2095dc29c480355806e8b23bfe16a2fbdccec6f1ab872ce925880c6cd59db11116ae8bf7ae68c612401d3c948'
$checksumTypePackage    = 'SHA512'

Import-Module -Name "$($toolsDir)\helpers.ps1"

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    fileType       = 'EXE'
    url            = $urlPackage
    checksum       = $checksumPackage
    checksumType   = $checksumTypePackage
    silentArgs     = '/verysilent /norestart'
    validExitCodes = @(0)
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyuninstall.ps1
# lenovo-thinkpad-usb-c-driver uninstall

# Globale Settings
$ErrorActionPreference = 'Stop';

# Remove EXE or MSI
$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    softwareName   = ''
    fileType       = ''
    silentArgs     = ''
    validExitCodes = @(0, 3010, 1605, 1614, 1641)
}

if ($key.Count -eq 1) {
    $key | ForEach-Object {
        $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 | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}

# Custome Settings from Package
## Remove files and folders
if (Get-Item -Path "<Path>" -ErrorAction SilentlyContinue) {
    Remove-Item `
        -Path "<Path>" `
        -Recurse
    Write-Output `
        -InputObject "Remove Shortcut <Path>"
}
tools\helpers.ps1
function Test-RegistryValue {

    param (
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Path,
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Value
    )

    try {
        Get-ItemProperty -Path $Path | Select-Object -ExpandProperty $Value -ErrorAction Stop | Out-Null
        return $true
    }
    catch {
        return $false
    }

}

function Remove-FileItem {

    param (
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Path
    )

    try {
        Remove-Item `
            -Path $Path `
            -Recurse
        Write-Output `
            -InputObject "Remove $($Path)"
    
    }
    catch {
        Write-Output `
            -InputObject "Failed remove $($Path)"
    }

}

function Update-RegistryValue {

    param (
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Path,
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Name,
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Value,
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Type,
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Message
    )

    try {
        Set-ItemProperty `
            -Path $Path `
            -Name $Name `
            -Value $Value
        Write-Output `
            -InputObject $Message
      
    
    }
    catch {
        New-ItemProperty `
            -Path $Path `
            -Name $Name`
        -PropertyType $Type `
            -Value $Value
        Write-Output `
            -InputObject $Message
    }

}

function Set-CleanInstall {

    try {
        Get-ChildItem "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)\.." -recurse -Exclude '*.ps1', '*pm1' |
            Where-Object {$_.Length -gt 1gb} |
            Remove-Item
        return $true
    }
    catch {
        return $false
    }

}

function Remove-DesktopIcons {

    param (
        [parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Name,
        [parameter(Mandatory = $false)]$Desktop
    )
    if (!$Desktop) {
        $Desktop = 'All' 
    }
    if ($Desktop -eq 'All') {
        foreach ($User in Get-ChildItem -Path "C:\Users") {
            Remove-FileItem -Path "C:\users\$($User)\desktop\$($Name).lnk"
        }
        Remove-FileItem -Path "C:\Users\default\desktop\$($Name).lnk"
        Remove-FileItem -Path "C:\Users\Public\Desktop\$($Name).lnk"
    }
    elseif ($Desktop -eq 'Public') {

        Remove-FileItem -Path "C:\Users\Public\Desktop\$($Name).lnk"

    }
    elseif ($Desktop -eq 'Default') {

        Remove-FileItem -Path "C:\Users\Default\desktop\$($Name).lnk"

    }

}

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

This package has no dependencies.

Discussion for the Lenovo ThinkPad USB-C Dock Driver Package

Ground Rules:

  • This discussion is only about Lenovo ThinkPad USB-C Dock Driver and the Lenovo ThinkPad USB-C Dock Driver 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 Lenovo ThinkPad USB-C Dock Driver, 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