Downloads:

74

Downloads of v 5.10.127:

74

Last Update:

21 Dec 2021

Package Maintainer(s):

Software Author(s):

  • Logitech International S.A.

Tags:

logitech drivers profiler gaming software rumblepad gamepad joystick wheel

Logitech Gaming Software 5

  • 1
  • 2
  • 3

5.10.127 | Updated: 21 Dec 2021

Downloads:

74

Downloads of v 5.10.127:

74

Maintainer(s):

Software Author(s):

  • Logitech International S.A.

  • 1
  • 2
  • 3
Logitech Gaming Software 5 5.10.127

  • 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 Logitech Gaming Software 5, run the following command from the command line or from PowerShell:

>

To upgrade Logitech Gaming Software 5, run the following command from the command line or from PowerShell:

>

To uninstall Logitech Gaming Software 5, 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 logitechgaming5 -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 logitechgaming5 -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 logitechgaming5
  win_chocolatey:
    name: logitechgaming5
    version: '5.10.127'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'logitechgaming5' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.10.127'
end

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


cChocoPackageInstaller logitechgaming5
{
    Name     = "logitechgaming5"
    Version  = "5.10.127"
    Source   = "INTERNAL REPO URL"
}

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


package { 'logitechgaming5':
  ensure   => '5.10.127',
  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.

This package was approved by moderator flcdrg on 12 Jan 2022.

Description

Logitech Gaming Software 5

Drivers and Logitech Profiler software for older Logitech devices, for supported devices see the compatibility list.

If you have a more recent Logitech device, you may need the newest version of Logitech Gaming provided in logitechgaming, or lghub.

Installation Parameters

  • /Language: - which language edition to install
    • Supported values: da, de, en, el, es, fi, fr, it, ko, nl, no, pt, sv, zh-CN, zh-TW
    • Default value: en

Examples

  • Install French language variant
    choco install logitechgaming5 --params "/Language:fr"
    
  • Install Traditional Chinese language variant
    choco install logitechgaming5 --params "/Language:zh-TW"
    

tools\chocolateybeforemodify.ps1
$profiler = Get-Process -Name "LWEMon" -ErrorAction SilentlyContinue
if($profiler) {
    Stop-Process $profiler -Force
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'
$toolsDir              = Split-Path -parent $MyInvocation.MyCommand.Definition
$ahkFile               = "$toolsDir\install.ahk"

. "$toolsDir\utils.ps1"

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  fileType      = 'EXE'
  url           = "https://download01.logi.com/web/ftp/pub/techsupport/joystick/lgs510.exe"
  url64         = "https://download01.logi.com/web/ftp/pub/techsupport/joystick/lgs510_x64.exe"
  softwareName  = 'Logitech Gaming Software 5.10'
  checksum      = 'e59842d1c4bf1dc9bc9e228fa7d565efec63c2ca525367198cdb59dd091da7e5'
  checksumType  = 'sha256'
  checksum64    = 'e07a278eab65df9fa50b3c454627c7169beb41824015839d2a0368caf284ca76'
  checksumType64= 'sha256'
  validExitCodes= @(0)
}

$additionalArgs = Get-PackageParameters
if($additionalArgs['Language']) {
  Set-AhkVariableValue `
    -FileName $ahkFile `
    -Variable 'selectedLanguage' `
    -NewValue $additionalArgs['Language'] `
    -Escape
}

$ahkProcess = Start-Process `
                -FilePath 'AutoHotKey' `
                -ArgumentList "`"$ahkFile`"" `
                -PassThru

Install-ChocolateyPackage @packageArgs

& "$toolsDir\chocolateybeforemodify.ps1"

Stop-Process $ahkProcess -Force
tools\install.ahk
#NoEnv
#NoTrayIcon
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode, 1
SetControlDelay, 150

installerWindow = ahk_exe MSetup.exe
setupWindow = ahk_exe WMWizard.exe
profilerWindow = ahk_exe LWEMon.exe

selectedLanguage := "en"

language := []

; Simplified Chinese
language["zh-CN"] := 1

; Traditional Chinese
language["zh-TW"] := 2

; Danish
language["da"] := 3

; Dutch
language["nl"] := 4

; English
language["en"] := 5

; Finnish
language["fi"] := 6

; French
language["fr"] := 7

; German
language["de"] := 8

; Greek
language["el"] := 9

; Italian
language["it"] := 10

; Korean
language["ko"] := 11

; Norwegian 
language["no"] := 12

; Portuguese 
language["pt"] := 13

; Spanish 
language["es"] := 14

; Swedish
language["sv"] := 15

WinWait, % installerWindow
IfWinExist, % installerWindow
{
   WinActivate, % installerWindow
   Control, Choose, % language[selectedLanguage], ComboBox1, % installerWindow,,,, NA ; Language select

   ; Software Installer
   Loop
   {
      ControlClick, Button7, % installerWindow,,,, NA ; Next
      ControlGet, isEnabled, Enabled,, Button7, % installerWindow,,,, NA
   } Until !isEnabled

   ControlClick, Button8, % installerWindow,,,, NA ; I accept
   ControlClick, Button7, % installerWindow,,,, NA ; Install

   ; Software Setup
   WinWait, % setupWindow
   IfWinExist, % setupWindow 
   {
      WinActivate, % setupWindow
      ControlClick, Button2, % setupWindow,,,, NA ; Next
      
      ; Loop over all possibly connected devices and click OK
      Loop 
      {
         Loop
         {
            Sleep, 100
            ControlGet, isVisible, Visible,, Button3, % setupWindow,,,, NA
         } Until isVisible

         Loop
         {
            ControlClick, Button3, % setupWindow,,,, NA ; Next
            ControlGet, isVisible, Visible,, Button3, % setupWindow,,,, NA
         } Until !isVisible

         ControlGet, finishEnabled, Enabled,, Button6, % setupWindow,,,, NA
         If !finishEnabled
         {
            Loop
            {
               ControlClick, Button4, % setupWindow,,,, NA ; OK
               ControlGet, isEnabled, Enabled,, Button4, % setupWindow,,,, NA
               ControlGet, finishEnabled, Enabled,, Button6, % setupWindow,,,, NA
            } Until !isEnabled or finishEnabled
         }
      } Until finishEnabled

      ControlClick, Button1, % setupWindow,,,, NA ; Do not view Readme
      ControlClick, Button6, % setupWindow,,,, NA ; Finish
   }

   ; Software Installer
   WinActivate, % installerWindow
   ControlClick, Button7, % installerWindow,,,, NA ; Done
   Sleep, 2000
   
   ; Profiler
   WinWait, % profilerWindow,, 3
   IfWinExist, % profilerWindow
   {
      WinActivate, % profilerWindow
      ControlClick, Button2, % profilerWindow,,,, NA ; Cancel
   }
}
tools\utils.ps1
function Set-AhkVariableValue {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory)]
        [string] $FileName,

        [Parameter(Mandatory)]
        [string] $Variable,

        [Parameter(Mandatory)]
        [string] $NewValue,

        [Parameter(Mandatory=$false)]
        [switch] $Escape
    )
    if($Escape) { $escapeChar = '"' } else { $escapeChar = '' }
    $content = Get-Content $FileName
    $lineToReplace = $content | Select-String "$Variable\s:=" | Select-Object -exp Line
    $content | % { $_.Replace($lineToReplace, "$Variable := $escapeChar$NewValue$escapeChar") } | Set-Content $FileName -Force
}

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
Discussion for the Logitech Gaming Software 5 Package

Ground Rules:

  • This discussion is only about Logitech Gaming Software 5 and the Logitech Gaming Software 5 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 Logitech Gaming Software 5, 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