I'm trying to use Add-AppxProvisionedPackage
to install a dependency appx package
on my win10
tablet, but failed.
My win10's
edition is enterprise and the version is 1803.
The script as below:
Add-AppxProvisionedPackage -Online -PackagePath
C:\Appx\SMP.UWP_10.7.1.1\Dependencies\x64\Microsoft.NET.CoreRuntime.1.1.appx" -SkipLicense
The error message like below:
Add-AppxProvisionedPackage : Unspecified error At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Add-AppxProvisionedPackage], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand
Please give me some advice, thank you very much.
Microsoft.NET.CoreRuntime.1.1.appx
is DependencyPackage, not the application package.
Try this:
Add-AppxProvisionedPackage -Online -DependencyPackagePath "all_dependency_package_path" -PackagePath "appxbundle_or_msixbundle_path" -SkipLicense
Note:
A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
, please install the certificate which in the package folder to Trusted Root Certification Authorities
Best regards.