microsoft / microsoft/msix-packaging
[BUG] AppInstaller ShowPrompt="false" shows "Checking for updates" pop-up when internet is off
Nobody has claimed this yet.
- 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
Platform
Windows 11
Additional context
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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