From 54793a7704c8d2749a86573f04176e1e60169262 Mon Sep 17 00:00:00 2001 From: Ben Hillis Date: Wed, 22 Apr 2026 08:53:24 -0700 Subject: [PATCH] Remove Advertise=yes from MSI shortcuts to fix Warning 1946 Advertised shortcuts use Darwin descriptor .lnk files that cannot store VT_CLSID property types via IPropertyStore. This caused Warning 1946 during install when setting System.AppUserModel.ToastActivatorCLSID. Removing Advertise=yes from all three shortcuts (WSL, WSL Settings non-server, WSL Settings server) allows ShortcutProperty values to be set correctly on standard .lnk files. MSI advertising provided no value in this package since it has a single feature at Level=1 with ARPNOMODIFY=yes. Also removed the IsSystemComponent ShortcutProperty from the WSL Settings non-server shortcut, which was previously silently failing due to the same advertised shortcut limitation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- msipackage/package.wix.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/msipackage/package.wix.in b/msipackage/package.wix.in index a0ec1b700..fbcecd094 100644 --- a/msipackage/package.wix.in +++ b/msipackage/package.wix.in @@ -20,7 +20,7 @@ - + @@ -285,9 +285,7 @@ - - - + @@ -316,7 +314,7 @@ - +