Error makepri.exe failed, exit code = -2146958844

%3CLINGO-SUB%20id%3D%22lingo-sub-277090%22%20slang%3D%22en-US%22%3EError%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277090%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20I%20convert%20MSI%20to%20MSIX%2C%20I%20received%20error%20on%20makepri.exe.%20The%20same%20error%20occur%20both%20command%20line%20and%20UI.%20Anyone%20experience%20this%20error%3F%20Any%20suggestion%20to%20solve%20this%20error%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-277090%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edooyoul.chung%40autodesk.com%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324701%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324701%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Anamay%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMakepri%20errors%20tend%20to%20be%20a%20catch%20all%20for%20something%20went%20awry%20in%20our%20conversion%20logic.%26nbsp%3B%20If%20you%20can%20share%20your%20full%20logs%20or%20file%20feedback%2C%20I%20may%20be%20able%20to%20give%20you%20more%20specifics%20or%20workarounds%20for%20your%20problem.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20meantime%2C%20consider%20giving%20the%20latest%20update%20of%20the%20tool%20a%20try.%20It%20has%20addressed%20many%20issues%20that%20folks%20were%20experiencing%20as%20Makepri%20failures.%20I%20know%20there%20are%20still%20some%20problems%20especially%20around%20COM%20translations%20and%20behavior%20though.%26nbsp%3B%20We%20are%20working%20to%20address%20those%20in%20future%20updates%20to%20the%20tool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20still%20hit%20a%20problem%20using%20the%20January%20update%2C%20please%20do%20send%20me%20your%20logs!%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%3CLINGO-SUB%20id%3D%22lingo-sub-323563%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-323563%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20a%20MSI%20package%20along%20with%20MST%20and%20MSP%2C%20the%20tool%20in%20capturing%20everything%20but%20I%20am%20facing%20the%20same%20issue.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%3Emakepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%3ELog%20file%20shows%20this%20%3A%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%3EAbout%20to%20start%20process%3CBR%20%2F%3E%5B1%2F7%2F2019%206%3A49%3A20%20PM%5D%20%5BDebug%5D%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20File%20name%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20makepri.exe%3CBR%20%2F%3E%5B1%2F7%2F2019%206%3A49%3A20%20PM%5D%20%5BDebug%5D%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20Arguments%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20new%20%2Fcf%20%22C%3A%5CUsers%5CWin10%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CLogs_2%5CPriConfig.xml%22%20%2Fpr%20%22C%3A%5CUsers%5CWin10%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CLogs_2%5CVisualAssetsRoot%22%20%2Fmn%20%22C%3A%5CUsers%5CWin10%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CLogs_2%5Cgxcsy0yd.fj5.Manifest%22%20%2Fo%20%2Fof%20%22C%3A%5CUsers%5CWin10%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CLogs_2%5Cresources.pri%22%20%2Fmf%20Appx%3CBR%20%2F%3E%5B1%2F7%2F2019%206%3A49%3A21%20PM%5D%20%5BInfo%5D%20M%20i%20c%20r%20o%20s%20o%20f%20t%26nbsp%3B%26nbsp%3B%20(%20R%20)%26nbsp%3B%26nbsp%3B%20M%20a%20k%20e%20P%20R%20I%26nbsp%3B%26nbsp%3B%20T%20o%20o%20l%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%3EAny%20update%20and%20resolution%3F%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-285116%22%20slang%3D%22en-US%22%3ERE%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-285116%22%20slang%3D%22en-US%22%3EGood%20to%20know%20you%20can%20attach%20files%20to%20feedback%20items.%20I%20didn't%20know%20that%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-284883%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-284883%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Dooyoul%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApologies%20for%20the%20slow%20response.%26nbsp%3B%20We%20identified%20the%20issue%20you%20ran%20into%20and%20will%20be%20fixing%20it%20as%20soon%20as%20time%20allows.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGiven%20that%20you%20ran%20into%20additional%20problems%20even%20when%20you%20tried%20limiting%20the%20entry%20points%20to%20one%2C%20I'm%20concerned%20your%20particular%20application%20might%20be%20running%20into%20additional%20problems.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20it%20would%20be%20possible%20to%20share%20the%20installer%20in%20question%20with%20us%2C%20we%20can%20be%20more%20certain%20we%20have%20identified%20all%20the%20issues%20at%20play.%20From%20the%20manifest%20it%20looks%20like%20you%20were%20testing%20with%20Autodesk%20Inventor%3F%26nbsp%3B%20If%20I%20try%20the%20version%20available%20from%20the%20Autodesk%20website%20would%20that%20give%20me%20a%20good%20repro%20of%20the%20issue%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EJames%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279744%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279744%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20James%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20update.%20I%20had%20the%20same%20idea%20and%20tried%20out%20with%20only%20one%20entry%20point%20on%20the%20'First%20Launch%20tasks'%20from%20wizard%20page%20but%20received%20the%20same%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EDooyoul.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279487%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279487%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Dooyoul%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20looking%20into%20the%20issue%20you%20reported.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENo%20updates%20yet%2C%20but%20I%20will%20let%20you%20know%20as%20soon%20as%20we%20have%20a%20resolution%20for%20you.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20meantime%2C%20you%20may%20have%20some%20luck%20if%20you%20manually%20limit%20the%20number%20of%20entry%20points%20added%20on%20the%20'First%20Launch%20tasks'%20wizard%20page%20to%20one.%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%3CLINGO-SUB%20id%3D%22lingo-sub-279144%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279144%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Cory%2C%3C%2FP%3E%3CP%3EI've%26nbsp%3Breviewed%20associated%20COM%20component%20again%20but%20nothing%20unusual.%26nbsp%3B%20I've%20also%20noticed%20that%20the%20same%20error%20happen%20other%20MSI%20too.%26nbsp%3B%26nbsp%3BIs%20there%20any%20chance%20you%20have%20looking%20into%20Schema%20definition%20%3F%3CBR%20%2F%3EAny%20update%20is%20appreciated.%3CBR%20%2F%3EThanks%2C%3C%2FP%3E%3CP%3EDooyoul.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-277152%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277152%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20Cory%20for%20your%20review.%20I've%20attached%20manifest%20file%20for%20your%20review.%26nbsp%3B%3CBR%20%2F%3EI%20will%20also%20take%20a%20look%20that%20ID%20associated%20COM%20class.%3CBR%20%2F%3ERegards%2C%3C%2FP%3E%3CP%3EDooyoul.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-277125%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277125%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20entry%20in%20the%20log%20file%20points%20to%20the%20(automatically%20generated)%20manifest%20invalid%20entry.%26nbsp%3B%20There's%20something%20about%20this%20COM%20object%20that%20we%20don't%20handle%20correctly.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%5B10%2F22%2F2018%208%3A06%3A18%20AM%5D%20%5BError%5D%26nbsp%3B%20e%20r%20r%20o%20r%26nbsp%3B%26nbsp%3B%20C%200%200%20C%20E%201%20A%201%20%3A%26nbsp%3B%26nbsp%3B%20A%20p%20p%26nbsp%3B%26nbsp%3B%20m%20a%20n%20i%20f%20e%20s%20t%26nbsp%3B%26nbsp%3B%20v%20a%20l%20i%20d%20a%20t%20i%20o%20n%26nbsp%3B%26nbsp%3B%20e%20r%20r%20o%20r%20%3A%26nbsp%3B%26nbsp%3B%20T%20h%20e%26nbsp%3B%26nbsp%3B%20a%20p%20p%26nbsp%3B%26nbsp%3B%20m%20a%20n%20i%20f%20e%20s%20t%26nbsp%3B%26nbsp%3B%20m%20u%20s%20t%26nbsp%3B%26nbsp%3B%20b%20e%26nbsp%3B%26nbsp%3B%20v%20a%20l%20i%20d%26nbsp%3B%26nbsp%3B%20a%20s%26nbsp%3B%26nbsp%3B%20p%20e%20r%26nbsp%3B%26nbsp%3B%20s%20c%20h%20e%20m%20a%20%3A%26nbsp%3B%26nbsp%3B%20L%20i%20n%20e%26nbsp%3B%26nbsp%3B%201%209%20%2C%26nbsp%3B%26nbsp%3B%20C%20o%20l%20u%20m%20n%26nbsp%3B%26nbsp%3B%203%208%206%206%20%2C%26nbsp%3B%26nbsp%3B%20R%20e%20a%20s%20o%20n%20%3A%26nbsp%3B%26nbsp%3B%20'%200%204%203%20f%209%208%200%20a%20-%20e%20d%20a%203%20-%204%200%20b%202%20-%209%202%209%204%20-%202%20b%20a%20c%203%20f%201%209%205%20b%204%208%20'%26nbsp%3B%26nbsp%3B%20i%20s%26nbsp%3B%26nbsp%3B%20a%26nbsp%3B%26nbsp%3B%20d%20u%20p%20l%20i%20c%20a%20t%20e%26nbsp%3B%26nbsp%3B%20k%20e%20y%26nbsp%3B%26nbsp%3B%20f%20o%20r%26nbsp%3B%26nbsp%3B%20t%20h%20e%26nbsp%3B%26nbsp%3B%20u%20n%20i%20q%20u%20e%26nbsp%3B%26nbsp%3B%20I%20d%20e%20n%20t%20i%20t%20y%26nbsp%3B%26nbsp%3B%20C%20o%20n%20s%20t%20r%20a%20i%20n%20t%26nbsp%3B%26nbsp%3B%20'%20%7B%20h%20t%20t%20p%20%3A%20%2F%20%2F%20s%20c%20h%20e%20m%20a%20s%20.%20m%20i%20c%20r%20o%20s%20o%20f%20t%20.%20c%20o%20m%20%2F%20a%20p%20p%20x%20%2F%20m%20a%20n%20i%20f%20e%20s%20t%20%2F%20f%20o%20u%20n%20d%20a%20t%20i%20o%20n%20%2F%20w%20i%20n%20d%20o%20w%20s%201%200%20%7D%20C%20l%20a%20s%20s%20_%20I%20d%20'%20.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20send%20us%20the%20manifest%20file%2C%20which%20should%20be%20here%20(from%20your%20log%20file)%3A%3C%2FP%3E%0A%3CP%3Ec%3A%5Cusers%5C%3CUSER%3E%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CLogs_1%5Cvojtyqe4.fcc.Manifest%3C%2FUSER%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20anything%20unique%20about%26nbsp%3Bthe%20COM%20object%20with%20that%20GUID%20in%20the%20application%20you're%20packaging%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-277121%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277121%22%20slang%3D%22en-US%22%3E%3CP%3EI%20missed%20you%20attached%20the%20log.%20We%20will%20take%20a%20look%20at%20that%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThx!%3C%2FP%3E%0A%3CP%3EJohn%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-277119%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20makepri.exe%20failed%2C%20exit%20code%20%3D%20-2146958844%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277119%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20this%20just%20happening%20as%20part%20of%20conversion%20or%20in%20package%20editor%3F%26nbsp%3B%20The%20error%26nbsp%3B%3CSPAN%3EThe%20App%20package's%20manifest%20is%20invalid.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECan%20you%20file%20a%20feedback%20hub%20item%2C%20attach%20the%20MSI%2C%20command%20line%20template%2C%20and%20send%20me%20the%20URI%20to%20the%20item.%26nbsp%3B%20We%20can%20look%20at%20it.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EJohn.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

When I convert MSI to MSIX, I received error on makepri.exe. The same error occur both command line and UI. Anyone experience this error? Any suggestion to solve this error?

11 Replies

Is this just happening as part of conversion or in package editor?  The error The App package's manifest is invalid.

 

Can you file a feedback hub item, attach the MSI, command line template, and send me the URI to the item.  We can look at it.

 

John.

I missed you attached the log. We will take a look at that as well.

 

Thx!

John

This entry in the log file points to the (automatically generated) manifest invalid entry.  There's something about this COM object that we don't handle correctly.  

 

[10/22/2018 8:06:18 AM] [Error]  e r r o r   C 0 0 C E 1 A 1 :   A p p   m a n i f e s t   v a l i d a t i o n   e r r o r :   T h e   a p p   m a n i f e s t   m u s t   b e   v a l i d   a s   p e r   s c h e m a :   L i n e   1 9 ,   C o l u m n   3 8 6 6 ,   R e a s o n :   ' 0 4 3 f 9 8 0 a - e d a 3 - 4 0 b 2 - 9 2 9 4 - 2 b a c 3 f 1 9 5 b 4 8 '   i s   a   d u p l i c a t e   k e y   f o r   t h e   u n i q u e   I d e n t i t y   C o n s t r a i n t   ' { h t t p : / / s c h e m a s . m i c r o s o f t . c o m / a p p x / m a n i f e s t / f o u n d a t i o n / w i n d o w s 1 0 } C l a s s _ I d ' .

 

Could you send us the manifest file, which should be here (from your log file):

c:\users\<user>\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_1\vojtyqe4.fcc.Manifest

 

 

Is there anything unique about the COM object with that GUID in the application you're packaging?

 

 

Thank you Cory for your review. I've attached manifest file for your review. 
I will also take a look that ID associated COM class.
Regards,

Dooyoul.

Hi Cory,

I've reviewed associated COM component again but nothing unusual.  I've also noticed that the same error happen other MSI too.  Is there any chance you have looking into Schema definition ?
Any update is appreciated.
Thanks,

Dooyoul.

Hi Dooyoul,

 

I am looking into the issue you reported.  

No updates yet, but I will let you know as soon as we have a resolution for you.

 

In the meantime, you may have some luck if you manually limit the number of entry points added on the 'First Launch tasks' wizard page to one.

 

Thanks!

James

Hi James,

 

Thanks for the update. I had the same idea and tried out with only one entry point on the 'First Launch tasks' from wizard page but received the same error.

 

Thanks,

Dooyoul.

Hi Dooyoul,

 

Apologies for the slow response.  We identified the issue you ran into and will be fixing it as soon as time allows.

 

Given that you ran into additional problems even when you tried limiting the entry points to one, I'm concerned your particular application might be running into additional problems. 

If it would be possible to share the installer in question with us, we can be more certain we have identified all the issues at play. From the manifest it looks like you were testing with Autodesk Inventor?  If I try the version available from the Autodesk website would that give me a good repro of the issue?

 

Thanks!
James

 

Good to know you can attach files to feedback items. I didn't know that?

Hi, 

I have a MSI package along with MST and MSP, the tool in capturing everything but I am facing the same issue. 

makepri.exe failed, exit code = -2146958844

 

Log file shows this : 

About to start process
[1/7/2019 6:49:20 PM] [Debug]     - File name:                 makepri.exe
[1/7/2019 6:49:20 PM] [Debug]     - Arguments:                 new /cf "C:\Users\Win10\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_2\PriConfig.xml" /pr "C:\Users\Win10\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_2\VisualAssetsRoot" /mn "C:\Users\Win10\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_2\gxcsy0yd.fj5.Manifest" /o /of "C:\Users\Win10\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_2\resources.pri" /mf Appx
[1/7/2019 6:49:21 PM] [Info] M i c r o s o f t   ( R )   M a k e P R I   T o o l

 

Any update and resolution?

Hi Anamay,

 

Makepri errors tend to be a catch all for something went awry in our conversion logic.  If you can share your full logs or file feedback, I may be able to give you more specifics or workarounds for your problem.

 

In the meantime, consider giving the latest update of the tool a try. It has addressed many issues that folks were experiencing as Makepri failures. I know there are still some problems especially around COM translations and behavior though.  We are working to address those in future updates to the tool.

 

If you still hit a problem using the January update, please do send me your logs!

 

Thanks!

James