egiroux
Posts: 169
Score: 4 Joined: 4/4/2006 From: Portland, Maine Status: offline
|
try launching it from your TS like this: cmd.exe /c start "MYHTA" "%SCRIPTROOT%\MyHTA.hta" You could use the /wait to have the TS pause until the HTA is finished. You could also call the hta from a vbs file, like a UserExit by referencing it like this: iRetVal = wshShell.Run("cmd.exe /c start ""MYHTA1"" ""%DEPLOYROOT%\Scripts\MYHTA.hta""", 1, true) This example assumes the hta is in the MDT Toolkit package source under scripts. The , true will cause the TS to pause until the hta is finished executing.
|