SOLVED

is COM registration possible ?

%3CLINGO-SUB%20id%3D%22lingo-sub-1373170%22%20slang%3D%22en-US%22%3Eis%20COM%20registration%20possible%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1373170%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20created%20an%20MSIX%20for%20my%20app%20which%20is%20a%2032%20bits%20Desktop%20application.%3C%2FP%3E%3CP%3EI%20have%20done%20it%2C%20the%20application%20install%20and%20launch%20correctly%20but%20I%20have%20one%20problem%20with%20a%20dependency.%3C%2FP%3E%3CP%3EMy%20application%20uses%20a%20video%20filter%20to%20record%20MP4%20files.%20This%20filter%20should%20be%20registered%20(rgsvr32)%20during%20the%20install%20but%20I%20don't%20know%20if%20it%20is%20really%20possible%20with%20MSIX...%20I%20think%20that%20we%20could%20only%20write%20in%20a%20%22private%22%20registry%20area.%3C%2FP%3E%3CP%3ECan%20someone%20explain%20me%20how%20to%20achieve%20that%20or%20why%20it%20is%20not%20possible%20%3F%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1374974%22%20slang%3D%22en-US%22%3ERe%3A%20is%20COM%20registration%20possible%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1374974%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F660686%22%20target%3D%22_blank%22%3E%40Frederic_Paillette%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20expose%20COM%20outside%20of%20your%20msix%20package%2C%20you%20must%20add%20metadata%20to%20your%20msix%20manifest.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ESee%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fuapmanifestschema%2Felement-com-comserver%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fschemas%2Fappxpackage%2Fuapmanifestschema%2Felement-com-comserver%3C%2FA%3E%26nbsp%3Band%20related%20COM%20manifest%20elements.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3EJames%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello,

I created an MSIX for my app which is a 32 bits Desktop application.

I have done it, the application install and launch correctly but I have one problem with a dependency.

My application uses a video filter to record MP4 files. This filter should be registered (rgsvr32) during the install but I don't know if it is really possible with MSIX... I think that we could only write in a "private" registry area.

Can someone explain me how to achieve that or why it is not possible ?

Thank you,

1 Reply
Best Response confirmed by Sharla Akers (Microsoft)
Solution

Hi @Frederic_Paillette,

 

In order to expose COM outside of your msix package, you must add metadata to your msix manifest.


See https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-com-comserver and related COM manifest elements.

 

Thanks!

James