Hi Prasanta,

Am Freitag, den 09.02.2018, 11:24 +0530 schrieb Prasanta Sadhukhan:
> I am still not able to reproduce in our WIndows 10 Pro 
> (EN-W10P64- 

I checked my winver and got:
Window 10
Version 1709 (Build 16299.192)

The result from (Get-CimInstance Win32_OperatingSystem).version

If not already checked:
 * There could be group policies in place denying you the necessary
 * There could be updates held back in the organisation

> [... Reproduction fails with ...]
> install:
>       [exec] Add-AppxPackage : Deployment failed with HRESULT: 
> 0x80070005, Access is denied.
>       [exec] Deployment Register operation with target volume C: on 
> Package JDK8189938_1.0.0.0_x64__hz258y3tkez3a from:
>       [exec] (AppxManifest.xml)  failed with error 0x80070005. See 
> http://go.microsoft.com/fwlink/?LinkId=235160 for help
>       [exec] diagnosing app deployment issues.
>       [exec] NOTE: For additional information, look for [ActivityId] 
> 02867602-9e78-0006-8ffb-8802789ed301 in the Event Log or use
>       [exec] the command line Get-AppxLog -ActivityID 
> 02867602-9e78-0006-8ffb-8802789ed301
>       [exec] At line:1 char:1
>       [exec] + Add-AppxPackage -Register dist/appx/AppxManifest.xml
>       [exec] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       [exec]     + CategoryInfo          : SecurityError: 
> (D:\prasanta\818...ppxManifest.xml:String) [Add-AppxPackage], PSSecurityE
>       [exec]    xception
>       [exec]     + FullyQualifiedErrorId : 
> DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
>       [exec]
>       [exec] Result: 1

This is the primary problem. If Add-AppxPackage fails, the global
"alias" for the package is not registered and so the "fake" exe name
"JDK8189938.exe" can't be used.

Could you please run the mentioned command:

Get-AppxLog -ActivityID 02867602-9e78-0006-8ffb-8802789ed301

This results in a log output, about what happend in the background and
should give more pointers about what is wrong.



Reply via email to