Forum Discussion
cfsen
Oct 31, 2023Copper Contributor
How to install MSIX application into subfolder in Start Menu
I have a WPF .NET 7 application that I am trying to install in a subfolder within the Start menu. I have found this article (https://learn.microsoft.com/en-us/windows/msix/packaging-tool/create-start-group) but it still just puts the application in the main (top) level.
Below is my manifest code. Is there something I am missing?
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap rescap uap3">
<Identity
Name="b620b349-8f26-4acb-8e56-8ce628261ea2"
Publisher="CN=Banner Engineering Corp., O=Banner Engineering Corp., S=Minnesota, C=US" Version="5.5.5.0" />
<Properties>
<DisplayName>DXM Config V5_5</DisplayName>
<PublisherDisplayName>cfoster</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" /> <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap3:VisualElements
DisplayName="DXM Config V5_5"
Description="DXM Configuration SW version 5.5"
BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png"
VisualGroup="SubGroup">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" Square71x71Logo="Images\SmallTile.png" Square310x310Logo="Images\LargeTile.png"/>
<uap:SplashScreen Image="Images\SplashScreen.png" />
<uap:LockScreen BadgeLogo="Images\BadgeLogo.png" Notification="badge"/>
</uap3:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />
</Capabilities>
</Package>
- GrahamGBIron ContributorMight be worth reviewing this in addition to the comments made below about needing at least to shortcuts.
https://www.advancedinstaller.com/group-msix-shortcuts-in-start-menu.html - Edijs_Perkums_MasterPackagerBrass Contributor
The visualGroup subfolder will only work if you have 2 or more applications. It doesn't work if you have only one application in the same visualGroup.
- Peer-AtleBrass ContributorHave now tested once more. Either the MSIX package must contain 2 or more shortcuts to the same start menu folder or 2 msix packages with shortcuts to the same folder must be installed.
- Peer-AtleBrass ContributorI don't know how to fix this in Win10. Maybe a new Win10 build will enable this feature.