Search code examples
c#.netwinformswinpe

Winform GUI not showing up in WinPE


I'm trying to run a small winform app (code is C#) on WinPE (latest build 14393). Calling the exe starts the application, but the GUI doesn't show up. I injected .NET to PE via dism, so this is not the problem. Found a post where s.o. had the same problem, but I don't understand the solution. .NET GUI Not Displaying in WinPE I don't want to run powershell, because this would size up the PE boot.wim even more. It should be kept as small as possible. Any ideas?


Solution

  • walking through all those MS sites related to WinPE, I found the hint to success in starting my app. It works!

    Dependencies: Install WinPE-WMI before you install WinPE-NetFX.

    source:https://msdn.microsoft.com/de-de/windows/hardware/commercialize/manufacture/desktop/winpe-add-packages--optional-components-reference