My program can't start normally after boot,but Mark Text can start normally.
Whether I'm replacing it directly or through the Eshell.exe.
Did I miss something?
C++ Application can also start,WPF can't start
What is the reason?
My program can't start normally after boot,but Mark Text can start normally.
Whether I'm replacing it directly or through the Eshell.exe.
Did I miss something?
C++ Application can also start,WPF can't start
What is the reason?
You don't really give much to go on.
I am guessing you want to Enable and Configure a Shell Launcher.
In the link they give the example as follows;
$ShellLauncherClass = [wmiclass]"\\localhost\root\standardcimv2\embedded:WESL_UserSetting"
$ShellLauncherClass.SetDefaultShell("notepad.exe",1)
$ShellLauncherClass.SetEnabled($TRUE)