User Profile
Dmitri1285
Copper Contributor
Joined 6 years ago
User Widgets
Recent Discussions
How to add COM component to MSIX installer?
Hello, My WinForms app is using COM component and I am trying to make an installer for it. It would provide a great benefit, because external library is using registry for settings and giving each app that using external SDK would be very nice. The way I use the library is called Registration-Free COM Interop. How it works: 1. I copy external DLL to my exe folder (usually in ExternalLib folder) 2. Copy .manifest for some of those files. 3. Create WinForms app without manifest (my real app) 4. Add custom manifest file from DLL manufacturer and rename it to MyApp.manifest. 5. Add dll to my project. VisualStudio will then create Interop.ExternalLib.dll and add it as reference, And it works with WiX installer etc. Problem: I've created and MSIX installer and it doesn't copy required files. I can see using "files in package": https://docs.microsoft.com/en-us/windows/msix/packaging-tool/package-editor that manifests are not copied and nor the DLL folder. The only file is copied is Interop file, and probably because it is referenced by the studio. Is there any way to tell to MSIX: that folder and those files should always by included? Lib will be updated etc, and there is literally no point to add lib files to the project because i never reference those directly, only via interop. Best regards2.5KViews0likes1Comment
Recent Blog Articles
No content to show