Forum Discussion
Duplication Shortcuts on Win11
- Sep 07, 2023PS: The issue will be resolved using TMEditX 6.5 or above, although Microsoft may have also addressed in in their latest MMPT release which arrived in parellel - I'm not sure.
Hi TIMOTHY_MANGAN
This issue has now been fixed with the latest Windows App SDK - 1.4.2 update.
Thanks,
Fiza
PM, MSIX Team
- Nov 01, 2023Fiza_Azmi As we are repackaging traditional apps, we are not using the Windows App SDK, so I'm not sure that is related to this. Unless,, that is, that the MSIX Packaging Tool is using the SDK; in which case we'd be waiting for a new release of that tool which is built with the fix?
- Fiza_AzmiNov 07, 2023
Microsoft
TIMOTHY_MANGAN
This is mainly required to get Win App SDK runtime.
For packages that want to create Shortcuts, you just need to add Win App SDK (Min Version: 1.4.2) to the dependencies list in your Manifest as below:<PackageDependency Name="Microsoft.WindowsAppRuntime.1.4" MinVersion="4000.1010.1349.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
App Installer will download it for you during installation. If you are using Powershell command or other means to install, you can download Win App SDK from here.
In the upcoming releases, the MSIX Packaging Tool will automatically add this dependency when it detects shortcuts.
- Nov 07, 2023
Fiza_Azmi Thank you for the explanation.
Is it necessary to declare the package dependency, or is it sufficient to ensure that the dependency is already deployed?
The reason for the ask is that currently, traditional desktops apps repackaged into MSIX do not normally declare dependencies (yes, they could -- but we don't usually need to). Such dependencies may lead to deployment issues with tooling not expecting them. For example, MSIX App Attach is believed to ignore explicit dependencies.
Thanks!
Tim