Forum Discussion
MSIX Instal AppxManifest error 0x80070002
After Edit the Manifest.xml we have the Log Issue:
[Warning] Unable to detect publisher name from provided certificate: System.Security.Cryptography.CryptographicException: Das angegebene Netzwerkkennwort ist falsch. bei System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) bei System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) bei System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags) bei MsixPackagingTool.ViewModel.Common.ViewModelBase.ValidateCertificatePassword(Byte[] certBytes, SecureString password) [19.11.18 18:10:38] [Warning] Unable to detect publisher name from provided certificate: System.Security.Cryptography.CryptographicException: Das angegebene Netzwerkkennwort ist falsch.
The certificate is up to date.
regards karsten
- Peyman ZanjaniNov 20, 2018Microsoft
Hi 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üllerNov 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>