Forum Discussion
Michael Müller
Nov 13, 2018Copper Contributor
MSIX Instal AppxManifest error 0x80070002
Hello there, i have successfully packaging an Office2003 Word to an MSIX App. When i go to install the MSIX, it runs to 99% and gives following error: Fehler bei der App-Installation. Fehler...
Peyman Zanjani
Microsoft
Nov 20, 2018Hi Michael,
Looks like you are hitting an access violation error with com interface registrations, we are working on a fix and will let you know when it becomes available.
For now, try editing the manifest manually to workaround this by setting the version number to 1.5 on com:interface elements that don't have VersionNumber defined using package editor.
<com:Interface Id="000208d4-0000-0000-c000-000000000046">
<com:TypeLib Id="00020802-0000-0000-c000-000000000046" VersionNumber="1.5" />
</com:Interface>
<com:Interface Id="0002441c-0000-0000-c000-000000000046">
<com:TypeLib Id="00020802-0000-0000-c000-000000000046" VersionNumber="1.5" />
</com:Interface>
With regards to certificate, that is by design. Every time a package is modified in any way the signature goes away and you need to provide the certificate to sign the package again.
- Peyman
Michael Müller
Nov 21, 2018Copper Contributor
Hello,
i changed that info:
problem was at this place i found two registring items, is that correct? If only one item wich?
<com:TypeLib Id="00020802-0000-0000-c000-000000000046">
<com:Version VersionNumber="1.5" LocaleId="7" LibraryFlag="0" HelpDirectory="VFS\ProgramFilesX86\Microsoft Office\OFFICE11\" />
<com:Version VersionNumber="1.5" LocaleId="0" LibraryFlag="0" HelpDirectory="VFS\ProgramFilesX86\Microsoft Office\OFFICE11\">
<com:Win32Path Path="VFS\ProgramFilesX86\Microsoft Office\OFFICE11\GRAPH.EXE" /> </com:Version> </com:TypeLib>
1. If i let both after change first to version 1.5, i have the following error message: 0x80131500
2. if i delete the first item, i can create the MSIX, but if i try to instal:
Fehler bei der App-Installation. Fehlermeldung: AppxManifest.xml(2605,12): Fehler 0x80070003: Das Paket "Word2003MMV_1.0.0.0_x64__0axtw1mbg53sp" kann nicht registriert werden: Der Pfad "VFS\Users\KAS\AppData\Local\Temp\VBE" wurde nicht gefunden. (0x80070003)
Regards Karsten
- Michael MüllerNov 21, 2018Copper Contributor
The VBE issue in Manifest.xml
<com:TypeLib Id="0ed4565c-cf2a-41b8-a6f0-0bce0b5b90d5"> <com:Version VersionNumber="2.0" LocaleId="0" LibraryFlag="6" HelpDirectory="VFS\Users\KAS\AppData\Local\Temp\VBE"> <com:Win32Path Path="VFS\Users\KAS\AppData\Local\Temp\VBE\MSForms.exd" /> </com:Version> </com:TypeLib>
- Michael MüllerNov 21, 2018Copper Contributor
Hi,
Why is that depend at User?
regards Karsten
- Peyman ZanjaniNov 26, 2018
Microsoft
The person doing the packaging needs to ensure the package is properly signed, not the end user. For information about why signing files is important, see Introduction to Code Signing.
Looking at the new error it looks like these paths do not exist in your package:
<com:TypeLib Id="0ed4565c-cf2a-41b8-a6f0-0bce0b5b90d5"> <com:Version VersionNumber="2.0" LocaleId="0" LibraryFlag="6" HelpDirectory="VFS\Users\KAS\AppData\Local\Temp\VBE"> <com:Win32Path Path="VFS\Users\KAS\AppData\Local\Temp\VBE\MSForms.exd" /> </com:Version> </com:TypeLib>
We need your full logs and your installer to investigate this further, looks like you filed a few feedback items about this, but I could not find the logs or installer attached to any of them. Let me know if you already attached them and I will follow up on why I can't see them on our end.
Can you please manually attach them to this feedback item https://aka.ms/AA3afhr?
You can find the logs at %localappdata%\packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\
Thanks,
Peyman
- Michael MüllerNov 21, 2018Copper Contributor
Why is that depend at User?