I have a Windows 8 app that I would like to deploy to my Windows RT 2. I only have the .appx
, and I would like to just install it for testing by bypassing the store. However, when I run the command:
Add-AppxPackage <project.appx>
I get the following error:
In-line script returned error output: Add-AppxPackage : Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. (Exception from HRESULT: 0x800B0109) error 0x800B0109: The root certificate of the signature in the app package must be trusted.*
Google says that I need the certificate or PowerShell script, but surely there is a way that I can just bypass all of this. Ideally, I would like to just install the application for testing.
Otherwise, what is the easiest method to fix this issue? What else do I need with the .appx
, so that I can install it with no problem?
The certificate is probably self-signed, so you need to install it to trust it.
Obtain the Certificate that signed the App
If this is your own app, you should be able to find it in your IDE ( e.g. Visual Studio) otherwise use these steps:
- Right click on APPX file
- Click Properties
- Click Digital Signatures
- Select Signature from the list
- Click Details
- Click View Certificate
- Click Install Certificate
Install the Certificate
Quote from Installing developer packages on Windows RT:
- From the Windows RT PC, either map the network share or connect the USB drive where you can access the AppPackages folder that contains the app package to install. Use Windows Explorer to open that folder.
- Double-tap the certificate file in the folder and then tap Install Certificate. This displays the Certificate Import Wizard.
- In the Store Location group, tap the radio button to change the selected option to Local Machine.
- Click Next. Tap OK to confirm the UAC dialog.
- In the next screen of the Certificate Import Wizard, change the selected option to Place all certificates in the following store.
- Tap the Browse button. In the Select Certificate Store pop-up window, scroll down and select Trusted People, and then tap OK.
- Tap the Next button; a new screen appears. Tap the Finish button.
- A confirmation dialog should appear; if so, click OK. (If a different dialog indicates that there is some problem with the certificate, you may need to do some certificate troubleshooting. However, describing what to do in that case is beyond the scope of this topic.)
See also:
- Installing developer packages on Windows RT
Doesn't work for me. I still get the error after installing the
certificate
If you received the message,
Either you need a new certificate installed for this app package, or
you need a new app package with trusted certificates. Your system
administrator or the app developer can help. A certificate chain
processed, but terminated in a root certificate which isn't trusted
(0x800B0109)
after renew your certificate, than probably your certificate is a temporary one and the simple way to solve it is make it usable.
To correct this error you need to change the position of certificate to root trusted certificates folder. When you click in your certificate, appear a page that ask you where you want to install it. So, there, you need to change to root trusted certificate folder and not use the default.
Regards
If you're getting this error: App installation failed with error message: Install failed. Please contact your software vendor. (0x80073cf9)
Please check you might already installed this app.
Please uninstall and try again
For me this was occurring when trying to install Side-load HockeyApp version
Fix:
Before installing: Enable Developer mode at
Settings ➔ Update & Security ➔ For Developers ➔ Use Developer
features : Developer Mode
Install certificate (.cer file) to Trusted root certificates.
- Store location = Local machine
- Place all certificates in the following store = Third-Party Root Certification Authorities
Then retry