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.
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
- ravishroshanNov 07, 2023
Microsoft
TIMOTHY_MANGAN It's not necessary to have the package dependency if you can ensure that the dependency is already deployed.