[Bug Report] - <your summary here>Ran Unistall Logitech Download Assistant failed.

Open
#5,202 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
56/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
json, powershell
Domain
tooling

Research direction

Start by reproducing the reported parser error while running the WPFTweaksLogiBlock tweak, which invokes the logi_download_assistant command. Trace where that tweak's JSON and embedded PowerShell are parsed and where the complete error output should be logged. Done means the full parser error is retained in the log rather than truncated or interpreted as PowerShell.

Written by the indexing model from the issue text.

Description

bug
I have read the known issues
  • Yes, I did
Version of WinUtil

26.09.29

What part of WinUtil are you having issues with?

None

Description of the issue

Log does not show complete error listing

List of Applied Tweaks

At line:1 char:23

  • "WPFTweaksLogiBlock": {
  •                   ~
    

Unexpected token ':' in expression or statement.
At line:2 char:14

  • "Content": "Logitech Download Assistant Auto-Install - Disable",
    
  •          ~
    

Unexpected token ':' in expression or statement.
At line:8 char:28

  • ... ess -Name "logi_download_assistant" -Force -ErrorAction SilentlyCon ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token 'logi_download_assistant" -Force -ErrorAction SilentlyContinue
$ProgramFiles64 = if ($Env:ProgramW6432) { $Env:ProgramW6432 } else { $Env:ProgramFiles }
$LogiPath = "$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
Remove-Item $LogiPath\* -Recurse -Force
} else {
New-Item -Path $LogiPath -ItemType Directory
}
icacls $LogiPath /deny "*S-1-1-0:' in expression or statement.
At line:22 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
At line:26 char:21

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:26 char:36

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                                ~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:33 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Paste the full error output (if available) or Screenshot or Video.

At line:1 char:23

  • "WPFTweaksLogiBlock": {
  •                   ~
    

Unexpected token ':' in expression or statement.
At line:2 char:14

  • "Content": "Logitech Download Assistant Auto-Install - Disable",
    
  •          ~
    

Unexpected token ':' in expression or statement.
At line:8 char:28

  • ... ess -Name "logi_download_assistant" -Force -ErrorAction SilentlyCon ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token 'logi_download_assistant" -Force -ErrorAction SilentlyContinue
$ProgramFiles64 = if ($Env:ProgramW6432) { $Env:ProgramW6432 } else { $Env:ProgramFiles }
$LogiPath = "$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
Remove-Item $LogiPath\* -Recurse -Force
} else {
New-Item -Path $LogiPath -ItemType Directory
}
icacls $LogiPath /deny "*S-1-1-0:' in expression or statement.
At line:22 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
At line:26 char:21

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '$ProgramFiles64\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:26 char:36

  •   $LogiPath = \"$ProgramFiles64\\LogiDownloadAssistant\"
    
  •                                ~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token '\LogiDownloadAssistant"
if (Test-Path $LogiPath) {
icacls $LogiPath /remove:d "*S-1-1-0"
if ($LASTEXITCODE -ne 0) { throw "icacls' in expression or statement.
At line:33 char:6

  • ],
    
  •  ~
    

Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Dominant language
PowerShell
Stars
67.2k
Forks
4k
Avg merge
2d 7h
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ChrisTitusTech/winutil

All issues in ChrisTitusTech/winutil

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.