microsoft / microsoft/winget-pkgs

[Package Issue]: CGSecurity.TestDisk is not being properly handled

Open
#108,744 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

Installation issue.

Brief description of your issue

Package is not being properly installed/uninstalled.

Steps to reproduce

Run winget install CGSecurity.TestDisk

Check availability of newly created aliases.

They aren't available even after restarting pwsh.

Actual behavior

winget install CGSecurity.TestDisk will show you all new aliases created, but they don't work at all.

After winget uninstall CGSecurity.TestDisk you'll show some files will remain at %LOCALAPPDATA%/Microsoft/WinGet/Packages/

Expected behavior

winget install and winget uninstall should perform proper install/uninstall actions.

Environment
 winget --info
Administrador de paquetes de Windows v1.4.10173
Copyright (c) Microsoft Corporation. Todos los derechos reservados.

Windows: Windows.Desktop v10.0.22621.1778
Arquitectura del sistema: X64
Paquete: Microsoft.DesktopAppInstaller v1.19.10173.0

Registros: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Configuración de usuario: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Vínculos
-----------------------------------------------------------------------------------
Declaración de privacidad   https://aka.ms/winget-privacy
Contrato de licencia        https://aka.ms/winget-license
Avisos de terceros          https://aka.ms/winget-3rdPartyNotice
Página principal            https://aka.ms/winget
Términos de Microsoft Store https://www.microsoft.com/en-us/storedocs/terms-of-sale
Screenshots and Logs

No response

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce winget install CGSecurity.TestDisk and inspect the reported aliases and remaining files under %LOCALAPPDATA%/Microsoft/WinGet/Packages/; the issue provides no source files or tests to begin with. Compare installation and uninstallation behavior with the package manifest, and consider the issue done when aliases work after installation and uninstall removes the package files.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.