Forum Discussion
Context Menu in MSIX package broken in Windows 11 24H2
Context Menu in MSIX package broken in Windows 11 24H2
NOTE: Please don't reply on this message with other broken issues with 24h2; start a new issue!
A package of NotePad++ with the shell extension context menu that works on Windows 11 22H2 and 23H2 fails to produce the context menu when installed on 24h2. It is not on the main right-click nor the show more options display.
1 Reply
- CrazylarryCopper Contributor
I've MSIXed Notepad++ 8.7.6 on Windows 10 and got the right-click menu on 24H2. I had to change the value MaxVersionTested= to '10.0.26100.1', if that helps. Here's my Appxmanifest xml:
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4" xmlns:desktop5="http://schemas.microsoft.com/appx/manifest/desktop/windows10/5" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:desktop7="http://schemas.microsoft.com/appx/manifest/desktop/windows10/7" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" IgnorableNamespaces="uap uap10 desktop7 rescap com desktop4 desktop5">
<!--Package created by MSIX Packaging Tool version: unknown_version-->
<Identity Name="NotepadPlusPlus" Publisher="CN=MSIX Testing" Version="8.7.6.0" ProcessorArchitecture="x64" />
<Properties>
<DisplayName>NotepadPlusPlus</DisplayName>
<PublisherDisplayName>FOS</PublisherDisplayName>
<Description>None</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.16299.0" MaxVersionTested="10.0.26100.1" />
</Dependencies>
<Applications>
<Application Id="NOTEPAD" Executable="VFS\ProgramFilesX64\Notepad++\notepad++.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements BackgroundColor="transparent" DisplayName="Notepad++" Square150x150Logo="Assets\NOTEPAD-Square150x150Logo.png" Square44x44Logo="Assets\NOTEPAD-Square44x44Logo.png" Description="Notepad++">
<uap:DefaultTile Wide310x150Logo="Assets\NOTEPAD-Wide310x150Logo.png" Square310x310Logo="Assets\NOTEPAD-Square310x310Logo.png" Square71x71Logo="Assets\NOTEPAD-Square71x71Logo.png" />
</uap:VisualElements>
<Extensions>
<desktop7:Extension Category="windows.shortcut">
<desktop7:Shortcut File="[{Common Programs}]\Notepad++.lnk" Icon="[{Package}]\VFS\ProgramFilesX64\Notepad++\notepad++.exe" />
</desktop7:Extension>
<desktop4:Extension Category="windows.fileExplorerContextMenus">
<desktop4:FileExplorerContextMenus>
<desktop5:ItemType Type="*">
<desktop5:Verb Id="EditWithNotepadPlusPlus" Clsid="E6950302-61F0-4FEB-97DB-855E30D4A991" />
</desktop5:ItemType>
</desktop4:FileExplorerContextMenus>
</desktop4:Extension>
<com:Extension Category="windows.comServer">
<com:ComServer>
<com:SurrogateServer DisplayName="Notepad++ Shell Extension">
<com:Class Id="E6950302-61F0-4FEB-97DB-855E30D4A991" Path="VFS\ProgramFilesX64\Notepad++\contextMenu\NppShell.dll" ThreadingModel="STA" />
</com:SurrogateServer>
</com:ComServer>
</com:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities><rescap:Capability Name="runFullTrust" /></Capabilities></Package>