MSIX Packaging Tool failure due to non-unique Com:ProxyStub

%3CLINGO-SUB%20id%3D%22lingo-sub-2037465%22%20slang%3D%22en-US%22%3EMSIX%20Packaging%20Tool%20failure%20due%20to%20non-unique%20Com%3AProxyStub%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037465%22%20slang%3D%22en-US%22%3E%3CP%3EAlso%20submitted%20via%20feedback%20hub%20with%20the%20relevant%20log%20and%20manifest.%26nbsp%3B%20This%20post%20contains%20additional%20information%20after%20further%20analysis.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMixTex%20installs%20some%20COM.%26nbsp%3B%20The%20packaging%20tool%20appears%20to%20not%20detect%20the%20duplication%20when%20creating%20the%20manifest%2C%20resulting%20in%20this%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEXTENSION%20category%3D%22%26quot%3Bwindows.comInterface%26quot%3B%22%3E%3CBR%20%2F%3E%3CCOMINTERFACE%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B%26lt%3BSTRONG%22%3E8be9f539-b949-4c7b-991c-db6c6f737ec7%22%20Path%3D%22VFS%5CProgramFilesX64%5CMiKTeX%202.9%5Cmiktex%5Cbin%5Cx64%5CMiKTeX209-core-PS.dll%22%20DisplayName%3D%22PSFactoryBuffer%22%20%2F%26gt%3B%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B%26lt%3BSTRONG%22%3E8be9f539-b949-4c7b-991c-db6c6f737ec7%22%20Path%3D%22VFS%5CProgramFilesX64%5CMiKTeX%202.9%5Cmiktex%5Cbin%5Cx64%5CMiKTeX209-core-PS.dll%22%20DisplayName%3D%22PSFactoryBuffer%22%20%2F%26gt%3B%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3CBR%20%2F%3E%3CPROXYSTUB%20id%3D%22%26quot%3B78ad6d5e-2972-412f-9a58-e57ddde739b2%26quot%3B%22%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FPROXYSTUB%3E%3C%2FPROXYSTUB%3E%3C%2FPROXYSTUB%3E%3C%2FCOMINTERFACE%3E%3C%2FEXTENSION%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20also%20find%20a%20duplication%20issue%20under%20the%20Com%3AInterface%20entries%20of%20the%20package%3A%3C%2FP%3E%0A%3CP%3E%3CINTERFACE%20id%3D%22%26lt%3BSTRONG%22%3E%2249c9f0b8-3df6-4bba-9dcd-3fe289df95d8%22%20ProxyStubClsid%3D%228be9f539-b949-4c7b-991c-db6c6f737ec7%22%26gt%3B%3CBR%20%2F%3E%3CTYPELIB%20id%3D%22%26quot%3B392bfc08-8cd2-487f-87ee-b2da213bbd20%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%3CINTERFACE%20id%3D%22%26quot%3B%26lt%3BSTRONG%22%3E49c9f0b8-3df6-4bba-9dcd-3fe289df95d8%22%20ProxyStubClsid%3D%228be9f539-b949-4c7b-991c-db6c6f737ec7%22%26gt%3B%3CBR%20%2F%3E%3CTYPELIB%20id%3D%22%26quot%3B392bfc08-8cd2-487f-87ee-b2da213bbd20%26quot%3B%22%20versionnumber%3D%22%26quot%3B1.0%26quot%3B%22%3E%3C%2FTYPELIB%3E%3CBR%20%2F%3E%3C%2FINTERFACE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20duplication%20for%20Com%3ATypelib%3A%3C%2FP%3E%0A%3CP%3E%3CTYPELIB%20id%3D%22%26quot%3B%26lt%3BSTRONG%22%3E392bfc08-8cd2-487f-87ee-b2da213bbd20%22%26gt%3B%3CBR%20%2F%3E%3CVERSION%20versionnumber%3D%22%26quot%3B1.0%26quot%3B%22%20localeid%3D%22%26quot%3B0%26quot%3B%22%20libraryflag%3D%22%26quot%3B0%26quot%3B%22%20helpdirectory%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3CBR%20%2F%3E%3CWIN64PATH%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FWIN64PATH%3E%3CBR%20%2F%3E%3C%2FVERSION%3E%3CBR%20%2F%3E%3C%2FTYPELIB%3E%3CBR%20%2F%3E%3CTYPELIB%20id%3D%22%26quot%3B%26lt%3BSTRONG%22%3E392bfc08-8cd2-487f-87ee-b2da213bbd20%22%26gt%3B%3CBR%20%2F%3E%3CVERSION%20versionnumber%3D%22%26quot%3B1.0%26quot%3B%22%20localeid%3D%22%26quot%3B0%26quot%3B%22%20libraryflag%3D%22%26quot%3B0%26quot%3B%22%20helpdirectory%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3CBR%20%2F%3E%3CWIN64PATH%20path%3D%22%26quot%3BVFS%5CProgramFilesX64%5CMiKTeX%22%202.9%3D%22%22%3E%3C%2FWIN64PATH%3E%3CBR%20%2F%3E%3C%2FVERSION%3E%3CBR%20%2F%3E%3C%2FTYPELIB%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Com%3AComInterface%20element%20requires%20unique%20ID%20fields%20in%20the%20ProxyStubs%20(and%20the%20others)%20causing%20the%20tool%20to%20fail%20in%20MakeAppX.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP

Also submitted via feedback hub with the relevant log and manifest.  This post contains additional information after further analysis.

 

MixTex installs some COM.  The packaging tool appears to not detect the duplication when creating the manifest, resulting in this:

 

<com:Extension Category="windows.comInterface">
<com:ComInterface>
<com:ProxyStub Id="8be9f539-b949-4c7b-991c-db6c6f737ec7" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-core-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="8be9f539-b949-4c7b-991c-db6c6f737ec7" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-core-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />
<com:ProxyStub Id="78ad6d5e-2972-412f-9a58-e57ddde739b2" Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-packagemanager-PS.dll" DisplayName="PSFactoryBuffer" />

 

I also find a duplication issue under the Com:Interface entries of the package:

<com:Interface Id="49c9f0b8-3df6-4bba-9dcd-3fe289df95d8" ProxyStubClsid="8be9f539-b949-4c7b-991c-db6c6f737ec7">
<com:TypeLib Id="392bfc08-8cd2-487f-87ee-b2da213bbd20" VersionNumber="1.0" />
</com:Interface>
<com:Interface Id="49c9f0b8-3df6-4bba-9dcd-3fe289df95d8" ProxyStubClsid="8be9f539-b949-4c7b-991c-db6c6f737ec7">
<com:TypeLib Id="392bfc08-8cd2-487f-87ee-b2da213bbd20" VersionNumber="1.0" />
</com:Interface>

 

And duplication for Com:Typelib:

<com:TypeLib Id="392bfc08-8cd2-487f-87ee-b2da213bbd20">
<com:Version VersionNumber="1.0" LocaleId="0" LibraryFlag="0" HelpDirectory="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64">
<com:Win64Path Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-core.dll" />
</com:Version>
</com:TypeLib>
<com:TypeLib Id="392bfc08-8cd2-487f-87ee-b2da213bbd20">
<com:Version VersionNumber="1.0" LocaleId="0" LibraryFlag="0" HelpDirectory="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64">
<com:Win64Path Path="VFS\ProgramFilesX64\MiKTeX 2.9\miktex\bin\x64\MiKTeX209-core.dll" />
</com:Version>
</com:TypeLib>

 

The Com:ComInterface element requires unique ID fields in the ProxyStubs (and the others) causing the tool to fail in MakeAppX.  

0 Replies