Respect DESKTOP_SHORTCUT property during silent installs #132
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 246 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.330
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #132"
general
weight: 0.35
freakboy3742
<!--- Describe your changes in detail -->
<!--- What problem does this change solve? -->
<!--- If this PR relates to an issue, include Refs #XXX or Fixes #XXX -->
Running a silent install, the DESKTOP_SHORTCUT property is ignored and a desktop shortcut is always created. For example when passing
DESKTOP_SHORTCUT=""(msiexec /i app.msi /qn DESKTOP_SHORTCUT="") a shortcut is created anyway.DesktopShortcutFeaturepreviously defaulted toLevel="1"and relied on dialog<Publish>events to disable the feature. Since silent installations (/qn) bypass theInstallUISequence, those dialog events do not run and the feature remains atLevel="1".This change
DesktopShortcutFeaturetoLevel="0"<Level Condition="DESKTOP_SHORTCUT = "1" OR UILevel >= 5" Value="1" />so the feature is enabled in silent installs only whenDESKTOP_SHORTCUT="1", while remaining enabled at the start of interactive installs so they work as before.Testing
Tested using a packaged test MSI configured with
create_desktop_shortcut = true:DESKTOP_SHORTCUT=""(msiexec /i app.msi /qn DESKTOP_SHORTCUT=""),msiexec /i app.msi /qn),Note: This is also the case in
beeware/briefcase-windows-app-template. If you feel that these changes are reasonable I'm happy to open a matching PR there.Refs ankitects/anki#5671
PR Checklist:
<!--- Go over all the following points, and put an
xin all the boxes that apply. --><!-- update or delete the next line to reflect your usage -->
Assisted-by: Gemini 4 Argon