MSIX Start Menu Shortcuts

%3CLINGO-SUB%20id%3D%22lingo-sub-2162713%22%20slang%3D%22en-US%22%3EMSIX%20Start%20Menu%20Shortcuts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162713%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20looking%20at%20repackaging%20all%20my%20apps%20into%20msix%20format%20so%20that%20I%20can%20deploy%20them%20easily%20with%20both%20SCCM%20and%20Intune.%20One%20thing%20I%20cannot%20figure%20out%20is%20how%20to%20manipulate%20the%20start%20menu%20entries%20and%20place%20icons%20into%20sub%20folders%20like%20I%20could%20with%20traditional%20msi%20and%20App-V%20applications.%20I%20work%20at%20quite%20a%20large%20secondary%20school%5Ccollege%20and%20to%20have%20all%20the%20apps%20in%20the%20root%20of%20the%20start%20menu%20wouldn't%20be%20ideal.%20We%20tend%20to%20group%20the%20apps%20into%20sub%20folders%20in%20the%20start%20menu%20by%20department%20i.e.%20C%3A%5CProgramData%5CMicrosoft%5CWindows%5CStart%20Menu%5CPrograms%5CICT%5CPython%203.9%20(64-bit).lnk%20but%20every%20time%20I%20create%20the%20folders%2C%20move%20the%20shortcut%20and%20delete%20any%20previous%20folders%20or%20unwanted%20shortcuts%20and%20then%20install%20the%20captured%20msix%20file%20it%20just%20dumps%20my%20shortcut%20in%20the%20root%20of%20the%20start%20menu%20and%20the%20sub%20folder%20is%20nowhere%20to%20be%20seen.%20Is%20it%20even%20possible%20to%20use%20sub%20folders%20in%20the%20start%20menu%20with%20msix%20packaging%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166977%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Start%20Menu%20Shortcuts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166977%22%20slang%3D%22en-US%22%3EHi%2C%20please%20check%20out%20our%20documentation%20on%20how%20to%20Group%20applications%20under%20a%20folder%20in%20the%20Start%20menu%20-%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fpackaging-tool%2Fcreate-start-group%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fpackaging-tool%2Fcreate-start-group%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2177104%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Start%20Menu%20Shortcuts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177104%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144649%22%20target%3D%22_blank%22%3E%40Dian%20Hartono%3C%2FA%3E%26nbsp%3BHi%20and%20thanks%20for%20your%20reply%20but%20its%20erroring%20out%20when%20i%20try%20and%20do%20this%20saying%20its%20unable%20to%20parse%20the%20manifest%20file.%20Ive%20a%20feeling%20theres%20prob%20an%20issue%20where%20i%20declare%20it%20in%20the%20name%20space.%20Is%20anybody%20able%20to%20point%20out%20where%20I've%20gone%20wrong%20below%20please%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CPACKAGE%20xmlns%3D%22%26quot%3B%26lt%3BA%22%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%3C%2FA%3E%22%20xmlns%3Auap%3D%22%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%3C%2FA%3E%22%20xmlns%3Auap10%3D%22%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%2F10%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%2F10%3C%2FA%3E%22%20xmlns%3Arescap%3D%22%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%2Frestrictedcapabilities%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Ffoundation%2Fwindows10%2Frestrictedcapabilities%3C%2FA%3E%22%20xmlns%3Acom%3D%22%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fcom%2Fwindows10%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fcom%2Fwindows10%3C%2FA%3E%22%20IgnorableNamespaces%3D%22uap%20uap10%20rescap%20com%22%20xmlns%3Auap3%3D%22%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%2F3%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fmanifest%2Fuap%2Fwindows10%2F3%3C%2FA%3E%22%20IgnorableNamespaces%3D%22...%20uap3%22%26gt%3B%3CBR%20%2F%3E%3C!--Package%20created%20by%20MSIX%20Packaging%20Tool%20version%3A%201.2020.1006.0--%3E%3CBR%20%2F%3E%3CIDENTITY%20name%3D%22%26quot%3BMicrosoftSmallBasicv1.2%26quot%3B%22%20publisher%3D%22%26quot%3BCN%3DSJTR%26quot%3B%22%20version%3D%22%26quot%3B1.2.0.0%26quot%3B%22%20processorarchitecture%3D%22%26quot%3Bx64%26quot%3B%22%3E%3C%2FIDENTITY%3E%3CBR%20%2F%3E%3CPROPERTIES%3E%3CBR%20%2F%3E%3CDISPLAYNAME%3EMicrosoft%20Small%20Basic%20v1.2%3C%2FDISPLAYNAME%3E%3CBR%20%2F%3E%3CPUBLISHERDISPLAYNAME%3EMicrosoft%20Corporation%3C%2FPUBLISHERDISPLAYNAME%3E%3CBR%20%2F%3E%3CDESCRIPTION%3EMicrosoft%20Small%20Basic%20v1.2%3C%2FDESCRIPTION%3E%3CBR%20%2F%3E%3CLOGO%3EAssets%5CStoreLogo.png%3C%2FLOGO%3E%3CBR%20%2F%3E%3CPACKAGEINTEGRITY%3E%3CBR%20%2F%3E%3CCONTENT%20enforcement%3D%22%26quot%3Bon%26quot%3B%22%3E%3C%2FCONTENT%3E%3CBR%20%2F%3E%3C%2FPACKAGEINTEGRITY%3E%3CBR%20%2F%3E%3C%2FPROPERTIES%3E%3CBR%20%2F%3E%3CRESOURCES%3E%3CBR%20%2F%3E%3CRESOURCE%20language%3D%22%26quot%3Ben-us%26quot%3B%22%3E%3C%2FRESOURCE%3E%3CBR%20%2F%3E%3C%2FRESOURCES%3E%3CBR%20%2F%3E%3CDEPENDENCIES%3E%3CBR%20%2F%3E%3CTARGETDEVICEFAMILY%20name%3D%22%26quot%3BWindows.Desktop%26quot%3B%22%20minversion%3D%22%26quot%3B10.0.17763.0%26quot%3B%22%20maxversiontested%3D%22%26quot%3B10.0.19041.1%26quot%3B%22%3E%3C%2FTARGETDEVICEFAMILY%3E%3CBR%20%2F%3E%3C%2FDEPENDENCIES%3E%3CBR%20%2F%3E%3CAPPLICATIONS%3E%3CBR%20%2F%3E%3CAPPLICATION%20id%3D%22%26quot%3BAPP%26quot%3B%22%20executable%3D%22%26quot%3BVFS%5CProgramFilesX86%5CMicrosoft%5CSmall%22%20basic%3D%22%22%3E%3CBR%20%2F%3E%3CVISUALELEMENTS%20backgroundcolor%3D%22%26quot%3Btransparent%26quot%3B%22%20displayname%3D%22%26quot%3BMicrosoft%22%20small%3D%22%22%20basic%3D%22%22%3E%3CBR%20%2F%3E%3CDEFAULTTILE%20wide310x150logo%3D%22%26quot%3BAssets%5CWide310x150Logo.png%26quot%3B%22%20square310x310logo%3D%22%26quot%3BAssets%5CSquare310x310Logo.png%26quot%3B%22%20square71x71logo%3D%22%26quot%3BAssets%5CSquare71x71Logo.png%26quot%3B%22%3E%3C%2FDEFAULTTILE%3E%3CBR%20%2F%3E%3C%2FVISUALELEMENTS%3E%3CBR%20%2F%3E%3CEXTENSIONS%3E%3CBR%20%2F%3E%3CEXTENSION%20category%3D%22%26quot%3Bwindows.comServer%26quot%3B%22%3E%3CBR%20%2F%3E%3CCOMSERVER%3E%3CBR%20%2F%3E%3CEXESERVER%20executable%3D%22%26quot%3Bvfs%5Cprogramfilesx86%5Cmicrosoft%5Cedge%5Capplication%5C88.0.705.74%5Cnotification_helper.exe%26quot%3B%22%3E%3CBR%20%2F%3E%3CCLASS%20id%3D%22%26quot%3B628ace20-b77a-456f-a88d-547db6ceedd5%26quot%3B%22%3E%3C%2FCLASS%3E%3CBR%20%2F%3E%3C%2FEXESERVER%3E%3CBR%20%2F%3E%3C%2FCOMSERVER%3E%3CBR%20%2F%3E%3C%2FEXTENSION%3E%3CBR%20%2F%3E%3C%2FEXTENSIONS%3E%3CBR%20%2F%3E%3C%2FAPPLICATION%3E%3CBR%20%2F%3E%3C%2FAPPLICATIONS%3E%3CBR%20%2F%3E%3CEXTENSIONS%3E%3CBR%20%2F%3E%3CEXTENSION%20category%3D%22%26quot%3Bwindows.comInterface%26quot%3B%22%3E%3CBR%20%2F%3E%3CCOMINTERFACE%3E%3CBR%20%2F%3E%3CINTERFACE%20id%3D%22%26quot%3Bc9c2b807-7731-4f34-81b7-44ff7779522b%26quot%3B%22%20useuniversalmarshaler%3D%22%26quot%3Btrue%26quot%3B%22%3E%3CBR%20%2F%3E%3CTYPELIB%20id%3D%22%26quot%3Bc9c2b807-7731-4f34-81b7-44ff7779522b%26quot%3B%22%20versionnumber%3D%22%26quot%3B1.0%26quot%3B%22%3E%3C%2FTYPELIB%3E%3CBR%20%2F%3E%3C%2FINTERFACE%3E%3CBR%20%2F%3E%3CTYPELIB%20id%3D%22%26quot%3Bc9c2b807-7731-4f34-81b7-44ff7779522b%26quot%3B%22%3E%3CBR%20%2F%3E%3CVERSION%20versionnumber%3D%22%26quot%3B1.0%26quot%3B%22%20localeid%3D%22%26quot%3B0%26quot%3B%22%3E%3CBR%20%2F%3E%3CWIN32PATH%20path%3D%22%26quot%3BVFS%5CProgramFilesX86%5CMicrosoft%5CEdge%5CApplication%5C88.0.705.74%5Celevation_service.exe%26quot%3B%22%3E%3C%2FWIN32PATH%3E%3CBR%20%2F%3E%3CWIN64PATH%20path%3D%22%26quot%3BVFS%5CProgramFilesX86%5CMicrosoft%5CEdge%5CApplication%5C88.0.705.74%5Celevation_service.exe%26quot%3B%22%3E%3C%2FWIN64PATH%3E%3CBR%20%2F%3E%3C%2FVERSION%3E%3CBR%20%2F%3E%3C%2FTYPELIB%3E%3CBR%20%2F%3E%3C%2FCOMINTERFACE%3E%3CBR%20%2F%3E%3C%2FEXTENSION%3E%3CBR%20%2F%3E%3C%2FEXTENSIONS%3E%3CBR%20%2F%3E%3CCAPABILITIES%3E%3CBR%20%2F%3E%3CCAPABILITY%20name%3D%22%26quot%3BrunFullTrust%26quot%3B%22%3E%3C%2FCAPABILITY%3E%3CBR%20%2F%3E%3C%2FCAPABILITIES%3E%3CBR%20%2F%3E%3C%2FPACKAGE%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2178807%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Start%20Menu%20Shortcuts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2178807%22%20slang%3D%22en-US%22%3EHi%2C%20can%20you%20share%20the%20exact%20error%3F%3C%2FLINGO-BODY%3E
New Contributor

I am looking at repackaging all my apps into msix format so that I can deploy them easily with both SCCM and Intune. One thing I cannot figure out is how to manipulate the start menu entries and place icons into sub folders like I could with traditional msi and App-V applications. I work at quite a large secondary school\college and to have all the apps in the root of the start menu wouldn't be ideal. We tend to group the apps into sub folders in the start menu by department i.e. C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ICT\Python 3.9 (64-bit).lnk but every time I create the folders, move the shortcut and delete any previous folders or unwanted shortcuts and then install the captured msix file it just dumps my shortcut in the root of the start menu and the sub folder is nowhere to be seen. Is it even possible to use sub folders in the start menu with msix packaging?

4 Replies
Hi, please check out our documentation on how to Group applications under a folder in the Start menu - https://docs.microsoft.com/en-us/windows/msix/packaging-tool/create-start-group

@Dian Hartono Hi and thanks for your reply but its erroring out when i try and do this saying its unable to parse the manifest file. Ive a feeling theres prob an issue where i declare it in the name space. Is anybody able to point out where I've gone wrong below please?

 

<?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:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" IgnorableNamespaces="uap uap10 rescap com" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" IgnorableNamespaces="... uap3">
<!--Package created by MSIX Packaging Tool version: 1.2020.1006.0-->
<Identity Name="MicrosoftSmallBasicv1.2" Publisher="CN=SJTR" Version="1.2.0.0" ProcessorArchitecture="x64" />
<Properties>
<DisplayName>Microsoft Small Basic v1.2</DisplayName>
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
<Description>Microsoft Small Basic v1.2</Description>
<Logo>Assets\StoreLogo.png</Logo>
<uap10:PackageIntegrity>
<uap10:Content Enforcement="on" />
</uap10:PackageIntegrity>
</Properties>
<Resources>
<Resource Language="en-us" />
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.1" />
</Dependencies>
<Applications>
<Application Id="APP" Executable="VFS\ProgramFilesX86\Microsoft\Small Basic\SB.exe" EntryPoint="Windows.FullTrustApplication">
<uap3:VisualElements BackgroundColor="transparent" DisplayName="Microsoft Small Basic" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="Microsoft Small Basic" VisualGroup="ICT">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\Square310x310Logo.png" Square71x71Logo="Assets\Square71x71Logo.png" />
</uap3:VisualElements>
<Extensions>
<com:Extension Category="windows.comServer">
<com:ComServer>
<com:ExeServer Executable="vfs\programfilesx86\microsoft\edge\application\88.0.705.74\notification_helper.exe">
<com:Class Id="628ace20-b77a-456f-a88d-547db6ceedd5" />
</com:ExeServer>
</com:ComServer>
</com:Extension>
</Extensions>
</Application>
</Applications>
<Extensions>
<com:Extension Category="windows.comInterface">
<com:ComInterface>
<com:Interface Id="c9c2b807-7731-4f34-81b7-44ff7779522b" UseUniversalMarshaler="true">
<com:TypeLib Id="c9c2b807-7731-4f34-81b7-44ff7779522b" VersionNumber="1.0" />
</com:Interface>
<com:TypeLib Id="c9c2b807-7731-4f34-81b7-44ff7779522b">
<com:Version VersionNumber="1.0" LocaleId="0">
<com:Win32Path Path="VFS\ProgramFilesX86\Microsoft\Edge\Application\88.0.705.74\elevation_service.exe" />
<com:Win64Path Path="VFS\ProgramFilesX86\Microsoft\Edge\Application\88.0.705.74\elevation_service.exe" />
</com:Version>
</com:TypeLib>
</com:ComInterface>
</com:Extension>
</Extensions>
<Capabilities>
<rescap:Capability Name="runFullTrust" />
</Capabilities>
</Package>

Hi, can you share the exact error?
Actually, I may see the issue. Since you already have an IgnorableNamespaces, you just needs to add “uap3” to the existing list:

IgnorableNamespaces="uap uap10 rescap com"

What was done instead was add a second time the IgnorableNamespace attribute:

IgnorableNamespaces="... uap3"

Also the 3 dots are there just a placeholder to specify that uap3 should go after any other existing namespace.