I can't get a custom script to execute in an LTI deployment. I've added a few custom panes to the deployment wizard to collect some info specific to my scenario and all was going great until now... I simply need to add my own script in a task sequence... uh MDT 101 right? Here is my 'run command line' task: wscript.exe "%SCRIPTROOT%\Z-test.vbs" for testing the Z-test.vbs simply does a Wscript.Echo("hello world") it seems to just get ignored? no errors. I have it right after a standard 'partition and format' task. I then tried to add it as an application with source files and in that case I got this error: Environment Error! Please restart wizard again ZTIERROR - Non-zero return code by ZTIApplications.rc = 1 Non-zero return code executing command "X:\Deploy\Tools\X86\TsmBootstrap.exe" /env:SAStart, rc = -2147467259 I also tried it as a 'run command line as' task and specified user credentials, still no go. What the heck am I missing here? the file is in the deployment point. I named it starting with a 'z' in the main distribution share and did an 'update (files only)', and verified it was copied to the appropriate deployment point. driving me nuts at the moment. Help is needed, I can't think straight on this anymore today. |