Winform GUI not showing up in WinPE

雨燕双飞 提交于 2020-01-07 08:00:09

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/38766589/winform-gui-not-showing-up-in-winpe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!