Spec: Named NoDesktopIcon installer switch for suppressing desktop shortcuts - #6539
Draft
Quan Wei (dakehero) wants to merge 2 commits into
Draft
Quan Wei (dakehero) wants to merge 2 commits into
Quan Wei (dakehero) wants to merge 2 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
This comment has been minimized.
This comment has been minimized.
Author
|
@microsoft-github-policy-service agree |
JohnMcPMS
reviewed
Sep 29, 2026
| | COM (`InstallOptions`) | `Boolean NoIcon` | | ||
| | PowerShell | `-NoIcon` switch on `Install-WinGetPackage` / `Update-WinGetPackage` | | ||
|
|
||
| "Icon" follows the existing installer terminology (Inno's `desktopicon` task; the `--no-icon` name suggested by the maintainer). It specifically means the **desktop** shortcut; Start Menu shortcuts are out of scope (tracked by #6429). |
Member
There was a problem hiding this comment.
Should the name be more specific then? It seems likely that it will cause confusion if it still creates an icon somewhere. Maybe it should reference desktop specifically.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Summary
Specification for a first-class, named installer switch following the direction given by Demitrius Nelon (@denelon) on 2026-07-27 in #1045:
Switches.NoDesktopIconfield declaring the exact installer argument that suppresses a desktop shortcut; new minor manifest version (1.31.0).--no-desktop-iconflag oninstall/upgrade, independent of--silent/--interactive; fails when no applicable installer supports it.installBehavior.preferences.noDesktopIcon/requirements.noDesktopIcon(prefer/require), applied to install and upgrade./MERGETASKS=!desktopiconfor Inno Setup, so the capability works immediately for the Inno family; no heuristics and no deletion of desktop content.InstallOptions.NoDesktopIconand-NoDesktopIconswitch.Spec PR only; no implementation code, per the spec workflow. Validation:
git diff --checkpassed; all three JSON examples parsed successfully; naming consistency checked across the specification. Documentation-only change, no build/tests applicable.PR Checklist
doc/specs/spec-template.mdand.github/instructions/specs.instructions.md.github/actions/spelling/expect.txtMicrosoft Reviewers: Open in CodeFlow