microsoft / microsoft/msix-packaging

[BUG] AppInstaller ShowPrompt="false" shows "Checking for updates" pop-up when internet is off

Open
#681 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs-Triage
Dominant language
C
Stars
1.1k
Forks
193
Avg merge
2h 16m
Merged PRs (30d)
2

Description

Project
MSIX SDK or Win7Msix

Describe the bug

I have an MSIX application where I want the updates to be checked on every app launch hence I have set HoursBetweenUpdateChecks to 0 in the AppInstaller file.

I want the updates to be done in the background hence I set ShowPrompt to false. However, on every app launch, the users are still seeing a "Checking for updates" pop-up.

The docs don't mention clearly what the behaviour of the ShowPrompt property is. Is there some other way to disable the "Checking for updates" pop-up for users while still checking for updates on every app launch?

To Reproduce
Steps to reproduce the behavior:

Use the following update settings in AppInstaller file:

<UpdateSettings>
  <OnLaunch 
    HoursBetweenUpdateChecks="0"
    ShowPrompt="false"
    UpdateBlocksActivation="false" 
  />
</UpdateSettings>

Turn the internet off then launch the app.

Expected behavior

No pop-ups related to update process.

Screenshots

Image

Platform

Windows 11

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

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 with the MSIX SDK or Win7Msix handling of the AppInstaller UpdateSettings and OnLaunch attributes, using the provided Windows 11 reproduction with the internet disabled. Verify how ShowPrompt="false" behaves when HoursBetweenUpdateChecks="0" and UpdateBlocksActivation="false"; done means the reported popup behavior is fixed or the property behavior is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
devtools, operating-systems
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.