Skip to content

Minimal install error with WinRAR v7.01Β #266

@Olderer

Description

@Olderer

πŸ”΄ Problem
When downloading and installing an NVIDIA driver via TinyNvidiaUpdateChecker, the tool crashes with:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users......\AppData\Local\Temp\582.28\temp'
This occurs in ComponentHandler.ParseComponentData() (line 14), when calling Directory.GetDirectories(tempPath) without first ensuring the directory exists.

The driver .exe is successfully downloaded to ...\Temp\582.28\, but the tool fails when trying to extract into \temp\ β€” which it never creates.

πŸ“ Observed Behavior

  • Driver file (e.g., NVIDIA-xxx.exe) exists in ...\Temp\582.28\
  • No \temp\ subfolder is present
  • Stack trace points to: ComponentHandler.cs:line 14 β†’ Directory.GetDirectories(tempPath)

βœ… Expected Behavior
The tool should either:

  1. Create ...\Temp\<id>\temp automatically before enumeration, or
  2. Handle missing paths gracefully (e.g., log + skip or create on demand).

πŸ›  Workaround (for users)

  • Manually create the folder:
    mkdir "C:\Users...\AppData\Local\Temp\582.28\temp"
  • Or run the downloaded .exe directly:
    "NVIDIA-*.exe" -s -n

πŸ’‘ Root Cause
Missing Directory.CreateDirectory(tempPath) before Directory.GetDirectories(tempPath) in ComponentHandler.cs.

πŸ“Œ Suggested Fix
In ComponentHandler.cs, around line 14:
string tempPath = Path.Combine(driverRootPath, "temp");
Directory.CreateDirectory(tempPath); // ← ADD THIS LINE
var dirs = Directory.GetDirectories(tempPath);

πŸ–₯ Environment

  • OS: Windows 10
  • Tool: TinyNvidiaUpdateChecker v1.23
  • Driver: 582.28
Image

Metadata

Metadata

Assignees

Labels

awaiting-inputawaiting the op to respondbugSomething isn't working (as intended)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions