And i registered this VBS to Task Manager through NSIS Script.
The Problem is..
If The Task Manger start this VBS, then i always see the console window.
Is it relevant with NSIS?
if yes, How can i hide this taskeng.exe Console Window??
code for registering to Task Manager:
..
ExpandEnvStrings $0 %COMSPEC%
nsExec::ExecToStack '"$0" /C if 1==1 SchTasks /Create /SC DAILY /ST $SchedulerHour:$SchedulerMin:00 /TN "${GISSCHEDULER_TASK_NAME}" /TR "$InstallDir_Short_scheduler"'
..
VBS contents:
..
..
Set ShellWSH = WScript.CreateObject("WScript.Shell")
MSG_String = """" & InstallDir & "\test\test.exe"" "
Ret = ShellWSH.Run (MSG_String,0,False)
Set ShellWSH = Nothing
..
..