App installation failed with error message: AppxManifest.xml (Error 0x80070002)

%3CLINGO-SUB%20id%3D%22lingo-sub-314617%22%20slang%3D%22en-US%22%3EApp%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314617%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20update%20a%20%3CSTRONG%3Eexisting%3C%2FSTRONG%3E%20MSIX%20package%20by%20editing%20the%20manifest.xml.%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20addding%20a%20rule%20to%20add%20a%20File%20Association.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20trying%20to%20install%20the%20update%20i%20get%20the%20following%20error%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EApp%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml(126%2C14)%3A%20error%200x80070002%3A%20Cannot%20register%20the%3C%2FEM%3E%20PowerPDF_1.0.1.0_x64__ek0br79zb2h32%3CEM%3E%20package.%20The%20path%20VFS%5CProgramFilesX86%5CNuance%5CPOWERP~1%5CPDFDRI~1%5COFFICE~1%5CNPDFOF~2.DLL%20was%20not%20found.%20(0x80070002)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20i%20remove%20all%20MSIX%20installations%20and%20just%20install%20the%20%22Updated%20package%22%20it%20works%20fine.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESomeone%20know%20what%20to%20do%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321124%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321124%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stefan%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20packages%20uploaded%20successfully%20and%20that%20will%20help%20us%20review%20your%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EJames%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-320641%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-320641%22%20slang%3D%22en-US%22%3EHere%20is%20the%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FAA3trge%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FAA3trge%3C%2FA%3E%3CBR%20%2F%3Eor%3CBR%20%2F%3Efeedback-hub%3A%3Fcontextid%3D127%26amp%3Bfeedbackid%3D34cbfce3-e514-445c-ad22-acbf93a3f562%26amp%3Bform%3D1%26amp%3Bsrc%3D1%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-320397%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-320397%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20having%20issues%20finding%20your%20feedback%20item.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20open%20Feedback%20Hub%20by%20hitting%20Win%20key%20%2B%20F%2C%20click%20on%20feedback%20on%20the%20left%20nav%2C%20then%20select%20my%20feedback.%20Click%20on%20the%20feedback%20item%20and%20hit%20Share%20on%20the%20top%20right%20corner%2C%20and%20paste%20the%20link%20for%20us%20here.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-319318%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319318%22%20slang%3D%22en-US%22%3EHope%20they%20are%20visbile%2C%20but%20they%20are%20300MB%20each..%20so%20dont%20know%20if%20the%20upload%20has%20succeeded.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-315324%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315324%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20you%20can%20attach%20the%20before%20and%20after%20packages%20that%20would%20be%20great.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJohn.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-315029%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315029%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Peyman%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20changed%20the%20manifest%20by%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EOpen%20Package%20editor%3C%2FLI%3E%3CLI%3ESelect%20package%26nbsp%3B%3C%2FLI%3E%3CLI%3EOpen%20File%20(Manifest%20file)%3C%2FLI%3E%3CLI%3EAdded%20the%20following%3A%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEXTENSIONS%3E%3CBR%20%2F%3E%3CEXTENSION%20category%3D%22%26quot%3Bwindows.fileTypeAssociation%26quot%3B%22%3E%3CBR%20%2F%3E%3CFILETYPEASSOCIATION%20name%3D%22%26quot%3Bpdf%26quot%3B%22%3E%3CBR%20%2F%3E%3CSUPPORTEDFILETYPES%3E%3CBR%20%2F%3E%3CFILETYPE%3E.pdf%3C%2FFILETYPE%3E%3CBR%20%2F%3E%3C%2FSUPPORTEDFILETYPES%3E%3CBR%20%2F%3E%3CLOGO%3EAssets%5Cpdf.png%3C%2FLOGO%3E%3CBR%20%2F%3E%3CSUPPORTEDVERBS%3E%3CBR%20%2F%3E%3CVERB%20id%3D%22%26quot%3Bopen%26quot%3B%22%20parameters%3D%22%26quot%3B%26amp%3Bquot%3B%251%26amp%3Bquot%3B%26quot%3B%22%3Eopen%3C%2FVERB%3E%3CBR%20%2F%3E%3C%2FSUPPORTEDVERBS%3E%3CBR%20%2F%3E%3C%2FFILETYPEASSOCIATION%3E%3CBR%20%2F%3E%3C%2FEXTENSION%3E%3C%2FEXTENSIONS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E5.%20Signed%20the%20package%3C%2FP%3E%3CP%3E6.%20Save%20the%20package.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20i%20install%20the%20package%20with%20no%20previous%20%22installation%22%20it%20works%20fine.%3C%2FP%3E%3CP%3EWill%20also%20submit%20a%20feedback%20request.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-314712%22%20slang%3D%22en-US%22%3ERe%3A%20App%20installation%20failed%20with%20error%20message%3A%20AppxManifest.xml%20(Error%200x80070002)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314712%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stefan%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20please%20explain%20how%20you%20edited%20the%20package%20and%20what%20was%20added%20to%20the%20manifest%20file%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20if%20possible%20please%20submit%20a%20feedback%20item%20through%20Feedback%20tab%20in%20Packaging%20Tool%20settings%20menu%20and%20attach%20your%20MSIX%20packages%20so%20that%20we%20can%20take%20a%20closer%20look.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EPeyman%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

I am trying to update a existing MSIX package by editing the manifest.xml. 

Just addding a rule to add a File Association. 

 

When trying to install the update i get the following error: 

 

App installation failed with error message: AppxManifest.xml(126,14): error 0x80070002: Cannot register the PowerPDF_1.0.1.0_x64__ek0br79zb2h32 package. The path VFS\ProgramFilesX86\Nuance\POWERP~1\PDFDRI~1\OFFICE~1\NPDFOF~2.DLL was not found. (0x80070002)

 

When i remove all MSIX installations and just install the "Updated package" it works fine. 

 

Someone know what to do? 

 

7 Replies

Hi Stefan,

 

Can you please explain how you edited the package and what was added to the manifest file?

 

Also if possible please submit a feedback item through Feedback tab in Packaging Tool settings menu and attach your MSIX packages so that we can take a closer look.

 

Thanks,

Peyman

 

Hi Peyman,

 

i changed the manifest by:

 

  1. Open Package editor
  2. Select package 
  3. Open File (Manifest file)
  4. Added the following:

 

<Extensions>
<uap3:Extension Category="windows.fileTypeAssociation">
<uap3:FileTypeAssociation Name="pdf">
<uap:SupportedFileTypes>
<uap:FileType>.pdf</uap:FileType>
</uap:SupportedFileTypes>
<uap:Logo>Assets\pdf.png</uap:Logo>
<uap2:SupportedVerbs>
<uap3:Verb Id="open" Parameters="&quot;%1&quot;">open</uap3:Verb>
</uap2:SupportedVerbs>
</uap3:FileTypeAssociation>
</uap3:Extension>

 

5. Signed the package

6. Save the package.

 

When i install the package with no previous "installation" it works fine.

Will also submit a feedback request.

 

If you can attach the before and after packages that would be great.

 

John.

Hope they are visbile, but they are 300MB each.. so dont know if the upload has succeeded.

I'm having issues finding your feedback item.

 

Please open Feedback Hub by hitting Win key + F, click on feedback on the left nav, then select my feedback. Click on the feedback item and hit Share on the top right corner, and paste the link for us here.

 

Thanks!

Here is the link: https://aka.ms/AA3trge
or
feedback-hub:?contextid=127&feedbackid=34cbfce3-e514-445c-ad22-acbf93a3f562&form=1&src=1

Hi Stefan,

 

The packages uploaded successfully and that will help us review your issue.

 

Thanks!
James