PSCI icon indicating copy to clipboard operation
PSCI copied to clipboard

[bug] xDismFeature fails silently when parent features are required

Open mgr32 opened this issue 10 years ago • 1 comments

Set-TargetResource is invoked and ends successfully even though following error is reported: dism /online /enable-feature -featurename:IIS-ASPNET45

Deployment Image Servicing and Management tool Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Enabling feature(s) [==========================100.0%==========================]

Error: 50

The operation is complete but IIS-ASPNET45 feature was not enabled. A required parent feature may not be enabled. You can use the /enable-feature /a ll option to automatically enable each parent feature from the following list. I f the parent feature(s) are already enabled, refer to the log file for further d iagnostics. IIS-NetFxExtensibility45

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

dism /online /enable-feature /featurename:IIS-ASPNET45 /all

Deployment Image Servicing and Management tool Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Enabling feature(s) [==========================100.0%==========================] The operation completed successfully.

mgr32 avatar Apr 29 '15 13:04 mgr32

See https://github.com/PowerShell/xDismFeature/pull/1

mgr32 avatar Sep 28 '15 06:09 mgr32