Support installers that close the install process and launch a new process for install

Open
#418 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

No source file or test is named. Start by reproducing the issue with winget install Postman.Postman -e and winget install Insomnia.Insomnia -e, then trace how winget detects installer completion and handles installers that spawn a new process. Done means winget waits for the installation to finish, cleans up the installer, and does not halt subsequent scripts.

Written by the indexing model from the issue text.

Description

Issue-Feature

Brief description of your issue

winget finishes installation before installation finished.

Steps to reproduce

winget install Postman.Postman -e
or
winget install Insomnia.Insomnia -e

Expected behavior

Installs the Package and done.

Actual behavior

"Installs" the Package, but doesnt wait for the Installer to finish and then can't remove the installer and thus halts execution of scripts and itself

Environment

[winget --info]
Windows Package Manager v0.1.41221 Preview
Windows: Windows.Desktop v10.0.18363.535
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

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.

More from microsoft/winget-cli

All issues in microsoft/winget-cli

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.