Skip to content

[Package Issue]: Nheko won't upgrade #81984

Open
@Witchilich

Description

@Witchilich

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

This probably applies to all qt based installers. Nheko simply can't be upgraded through winget.

Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1

If I use the CLI to directly install from the latest installer(without winget) I got this error

[132] TargetDirectoryInUse : Error : The directory you selected already exists and contains an installation. Choose a different target for installation.

So I added this to the local version of the manifest

  ProductCode: "{20565ade-3edd-4c9a-a9ca-0825c2c55e92}"
  UpgradeBehavior: uninstallPrevious

Ofcourse I have to use winget upgrade -m 0.10.2 and not winget install -m 0.10.2( If I just normally install the manifest through winget while having an old install, I will just run into the old issue). And then I ran into this issue

Turns out the uninstallation(while upgrading to a newer version of nheko) is not completely silent and I have to interact with a GUI. Because winget does not have custom uninstallation arguments.

Steps to reproduce

upgrade nhheko

Actual behavior

it won't upgrade

Expected behavior

it would upgrade

Environment

Windows Package Manager (Preview) v1.4.2161-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.2006
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.2161.0

Screenshots and Logs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Area-ManifestThis may require a change to the manifestIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @Witchilich@denelon

      Issue actions

        [Package Issue]: Nheko won't upgrade · Issue #81984 · microsoft/winget-pkgs