electron-windows-store icon indicating copy to clipboard operation
electron-windows-store copied to clipboard

error 0x80096019

Open utiq opened this issue 8 years ago • 5 comments

I could create the appx file and everything went well. But when I try to install the app, this is the error I get:

error 0x80096019: Opening the package from location myapp.appx failed.

This is how I created the certificates in case the problem is related to that:

makecert -r -pe -n "CN=mycompany.com" -ss CA -sr CurrentUser -a sha1 -sky signature -cy authority -sv CA.pvk CA.cer
pvk2pfx -pvk "CA.pvk" -spc "CA.cer" -pfx "mycompany.com.pfx" -pi mypassword

utiq avatar Oct 20 '17 20:10 utiq

Hello, did you manage to resolve your problem since then ? If yes, how ?

learchamba avatar Apr 11 '19 11:04 learchamba

@learchamba You can use create-self-signed-cert command to generate pfx file. I solved it.

purocean avatar Jul 11 '19 12:07 purocean

Hi @purocean, I can't find any resources on create-self-signed-cert, could you be more accurate?

AlexandreSi avatar Aug 16 '19 14:08 AlexandreSi

@AlexandreSi Try install windows SDK.

https://github.com/microsoft/node-pty#windows

npm install --global --production windows-build-tools

You could find it in some path. Use everything search it.

purocean avatar Aug 17 '19 01:08 purocean

I run into the same error 0x80096019.

But I was able to fix it by following this Tutorial from Microsoft: https://docs.microsoft.com/de-de/windows/win32/appxpkg/how-to-create-a-package-signing-certificate

MakeCert /n CN=YOUR_NAME /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /e "01/01/2040" /sv MyKey.pvk MyKey.cer
Pvk2Pfx /pvk MyKey.pvk /spc MyKey.cer /pfx MyKey.pfx

Creates a certificate with Publisher "CN=YOUR_NAME" valid until "01/01/2040" with no password.

I then installed the certificate in the "Trusted People" Cert-Store using the accepted answer from this stackoverflow question. https://stackoverflow.com/questions/23812471/installing-appx-without-trusted-certificate

tim4724 avatar Jun 06 '22 09:06 tim4724