microsoft / microsoft/winget-create

Cannot update if name of EXE file has changed inside ZIP

Open
#530 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Description

Brief description of your issue

wingetcreate cannot update if the name of the EXE file inside the ZIP has changed.

Steps to reproduce
wingetcreate update -u https://download.gigabyte.com/FileList/Utility/GCC_24.05.01.01.zip -v 24.05.01.01 GIGABYTE.GigabyteControlCenter
Expected behavior

Manifest successfully creates.

Actual behavior

Error: Nested installer not found in zip archive: GIGABYTE Control Center_2024_Mar_release_All_Setup_B24032901.exe. Please use the interactive mode to update this package.

Environment
Windows Package Manager Manifest Creator v1.6.1.0
Operating System: Microsoft Windows NT 10.0.22631.0
System Architecture: X64

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

Start by reproducing the wingetcreate update command with the reported ZIP and inspect the update path that resolves the nested installer name. Done means the manifest is created successfully when the EXE name inside the ZIP has changed, without requiring interactive mode.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.