Skip to content

Auto update does not seem to respect the CheckForUpdatesOnLaunch setting #659

Open
@matthampton-stock2shop

Description

I've got a side-loaded appx that I am trying to disable the check for updates on start - but I do want it to do the background check.

This is what the update settings look like:

PS C:\Users\Administrator> Get-AppxPackageAutoUpdateSettings -PackageFamilyName xxx_yyyy                                                                                                                                                                                                                                  PackageFullName                         : xxxx_0.0.0.9_x64__yyyy                                    
PackageFamilyName                       : xxx_yyyy
AppInstallerUri                         : https://xxxx.xxx.xx/yyyy.AppInstaller
UpdateUris                              : {}
RepairUris                              : {}
OptionalPackageUris                     : {}
DependencyPackageUris                   : {}
CheckForUpdatesOnLaunch                 : False
ShowPromptOnLaunchWhenUpdateIsAvailable : False
UpdateBlocksActivation                  : False
AutomaticBackgroundTaskUpdatesEnabled   : True
ForceUpdateFromAnyVerion                : False
IsAutoRepairEnabled                     : False
HoursBetweenUpdateChecks                : 24
PausedUntil                             :
PolicySource                            : Default
LastCheckedForUpdates                   : 1/24/2025 7:02:44 AM +00:00
Version                                 : 0.0.0.9

But it is still popping up a big dialog box every time I start the app:

Image

This would be ok, except that I would like to run an executable in a Task Scheduler task that needs to be able to run with the user not logged in, and that is failing with some sort of access problem when the check for updates happens.

If I remove the auto update settings entirely it works fine:

i.e.

Remove-AppxPackageAutoUpdateSettings -PackageFamilyName xxx_yyyy

Am I doing something wrong here? Please let me know!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageIssue needs to be triaged by a member of the core team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Auto update does not seem to respect the CheckForUpdatesOnLaunch setting · Issue #659 · microsoft/msix-packaging