DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.91k stars 1.45k forks source link

Cannot install on systems with Administrative restrictions #252

Closed jmoleiro closed 2 years ago

jmoleiro commented 2 years ago

Description

Since my computer has administrative restrictions, I've been following the instructions and installed the certifcate under Trusted Root Certification Authorities, then i executed

Add-AppPackage -path "DevToys.Startup_1.0.1.0_x86_x64_arm64.msixbundle"

But i get this error

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. 
error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted.
NOTE: For additional information, look for [ActivityId] 3a09a8c8-11fa-0002-5176-0a3afa11d801 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 3a09a8c8-11fa-0002-5176-0a3afa11d801
At line:1 char:1
+ Add-AppPackage -path "DevToys.Startup_1.0.1.0_x86_x64_arm64.msixbundl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (C:\Users\userr...rm64.msixbundle:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

I've been trying to add the root certificate to Third-Party Root Certification Authorities, Trusted Publishers and to Intermediate Certification Authorities but i get the sme error.

There's any workaround for this problem?

Regards

J

Steps To Reproduce

No response

Expected behavior

I expected that the app woukld install after installing the certificate

DevToys Version

1.0.1.0

Relevant Assets/Logs

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. 
error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted.
NOTE: For additional information, look for [ActivityId] 3a09a8c8-11fa-0002-5176-0a3afa11d801 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 3a09a8c8-11fa-0002-5176-0a3afa11d801
At line:1 char:1
+ Add-AppPackage -path "DevToys.Startup_1.0.1.0_x86_x64_arm64.msixbundl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (C:\Users\userr...rm64.msixbundle:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
ABAG603 commented 2 years ago

Same thing when trying to install via AppInstaller image

veler commented 2 years ago

Hello, Thanks to @rlm96 , DevToys is now available on Chocolatey. Would you be able to give it a try and see if the app can be installed this way on your machine, please? :)

See: https://github.com/veler/DevToys#chocolatey

Thank you !

Related: #183