SOLVED

Context Menu in MSIX packaged application.

%3CLINGO-SUB%20id%3D%22lingo-sub-525478%22%20slang%3D%22en-US%22%3EContext%20Menu%20in%20MSIX%20packaged%20application.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-525478%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20packaged%20an%20application%20using%20the%20MSIX%20packaging%20tool%20and%20after%20installing%2Fpublishing%20the%20application%20i%20found%20out%20that%20the%20application%20lacks%20context%20menu.%20Is%20this%20feature%20still%20not%20available%20in%20MSIX%20packaged%20applications%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-549639%22%20slang%3D%22en-US%22%3ERE%3A%20Context%20Menu%20in%20MSIX%20packaged%20application.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-549639%22%20slang%3D%22en-US%22%3EContext%20Menu%20is%20a%20subset%20of%20the%20Shell%20Extensions.%20Microsoft%20has%20previously%20indicated%20this%20is%20being%20looked%20at%20for%20the%20future.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-558106%22%20slang%3D%22en-US%22%3ERe%3A%20Context%20Menu%20in%20MSIX%20packaged%20application.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-558106%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20more%20details%20on%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fmsix-context-menu.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMSIX%20shell%20support%3C%2FA%3E%2C%20from%20our%20experiments.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-650378%22%20slang%3D%22en-US%22%3ERe%3A%20Context%20Menu%20in%20MSIX%20packaged%20application.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-650378%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F147865%22%20target%3D%22_blank%22%3E%40Bogdan%20Mitrache%3C%2FA%3E%26nbsp%3B%20I%20can%20see%20the%20context%20menu%20when%20i%20re-packaged%20VLC%20media%20player%20and%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F147865%22%20target%3D%22_blank%22%3E%40Bogdan%20Mitrache%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3ESome%20more%20details%20on%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fmsix-context-menu.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMSIX%20shell%20support%3C%2FA%3E%2C%20from%20our%20experiments.%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F147865%22%20target%3D%22_blank%22%3E%40Bogdan%20Mitrache%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3ESome%20more%20details%20on%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fmsix-context-menu.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMSIX%20shell%20support%3C%2FA%3E%2C%20from%20our%20experiments.%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3Eit%20captured%20all%20the%20file%20associations%2C%20same%20thing%20was%20not%20achieved%20with%207Zip%2C%20Notepad%2B%2B%2CWinZip.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-650664%22%20slang%3D%22en-US%22%3ERe%3A%20Context%20Menu%20in%20MSIX%20packaged%20application.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-650664%22%20slang%3D%22en-US%22%3EYes%2C%20in%20VLC%20it%20works%20because%20you%20have%20for%20each%20file%20association%20a%20registered%20.exe%20that%20it%20points%20to.%20For%20example%20you%20point%20.mp3s%20to%20open%20up%20with%20vlc.exe.%3CBR%20%2F%3EBut%20in%20cases%20like%20notepad%2B%2B%2C%20winzip%2Cetc%2C%20you%20have%20a%20shell%20extension%20which%20is%20not%20placed%20on%20a%20specific%20file%20association%20and%20it%20points%20to%20a%20.dll%20file.%3CBR%20%2F%3EAlso%2C%20in%20MSIX%2C%20the%20context%20menu%20is%20not%20placed%20with%20the%20captured%20registry.%20Context%20menu%20is%20added%20inside%20the%20AppManifest.xml%20file.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-694174%22%20slang%3D%22en-US%22%3ERe%3A%20Context%20Menu%20in%20MSIX%20packaged%20application.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-694174%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F325532%22%20target%3D%22_blank%22%3E%40GauravTamkoria%3C%2FA%3E%26nbsp%3B%20What%20tool%20have%20you%20used%20for%20the%20VLC%20package%3F%20I've%20tried%20simple%20capture%20via%20Microsoft%20MSIX%20package%20tool%20and%20I%20get%20no%20context%20menu%20for%20VLC%20(like%20right%20click%20on%20folder%20%22Add%20to%20VLC%20media%20player's%20Playlist%22)%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi Team,

 

I have packaged an application using the MSIX packaging tool and after installing/publishing the application i found out that the application lacks context menu. Is this feature still not available in MSIX packaged applications? 

5 Replies
Context Menu is a subset of the Shell Extensions. Microsoft has previously indicated this is being looked at for the future.

Some more details on MSIX shell support, from our experiments.

@Bogdan Mitrache  I can see the context menu when i re-packaged VLC media player and


@Bogdan Mitrache wrote:

Some more details on MSIX shell support, from our experiments.



@Bogdan Mitrache wrote:

Some more details on MSIX shell support, from our experiments.




it captured all the file associations, same thing was not achieved with 7Zip, Notepad++,WinZip.

best response confirmed by GauravTamkoria (Occasional Contributor)
Solution
Yes, in VLC it works because you have for each file association a registered .exe that it points to. For example you point .mp3s to open up with vlc.exe.
But in cases like notepad++, winzip,etc, you have a shell extension which is not placed on a specific file association and it points to a .dll file.
Also, in MSIX, the context menu is not placed with the captured registry. Context menu is added inside the AppManifest.xml file.

@GauravTamkoria  What tool have you used for the VLC package? I've tried simple capture via Microsoft MSIX package tool and I get no context menu for VLC (like right click on folder "Add to VLC media player's Playlist") Thanks