[Initial] Message=Installiere das Wireless Display Feature... DefVar $ExitCode$ [Actions] ShowBitmap "%ScriptPath%\logo.png" "Wireless Display Feature" DosInAnIcon_AddFeature Sub_HandleExitCode [DosInAnIcon_AddFeature] @echo off dism /Online /Add-Capability /Quiet /CapabilityName:App.WirelessDisplay.Connect~~~~0.0.1.0 [Sub_HandleExitCode] Set $ExitCode$ = GetLastExitCode comment "DISM exit code: " + $ExitCode$ if not($ExitCode$ = "0") LogError "Fatal: DISM quit with exit code " + $ExitCode$ IsFatalError endif