microsoft / microsoft/WindowsAppSDK

App update should not recreate desktop shortcut

Open
#5,637 5 comments 4 reactions 1 assignee Claimed by @jsidewhite View on GitHub
area-Activation area-External area-PackageManagement area-Shell UX
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

### Describe the bug

App updates recreate desktop shortcuts, which results in frustrating behavior for users not desiring such desktop shortcut. The user clearly told the system they do not want this app shortcut by deleting it. The system should abide this choice.

### Steps to reproduce the bug

1. Install an app that is using `desktop7:Shortcut` to create a desktop shortcut
2. Delete the created desktop shortcut
3. Install an update to the app
4. Observe the shortcut comes back

### Expected behavior

The shortcut should be created during initial install, but not recreated in future updates.

### Screenshots

_No response_

### NuGet package version

None

### Packaging type

Packaged (MSIX)

### Windows version

Windows 11 version 24H2 LTSC (26100, June Update)

### IDE

Visual Studio 2022-preview

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.