LDMS 9.0 SP2. Unfortunately I am using the dreaded 3-24 patch .
Anyway, I am using an autoit script that leverages sdclient /onreboot to continue an installation after a reboot. Following this doc http://community.landesk.com/support/docs/DOC-7751
Attached is my script and a copy of an sdclient log.
The reboot occurs normally, but it doesn't execute the script I'd like it to execute upon reboot. SDClient actually seems to copy the autoit script into a different directory under SDMcache, and executes it from there.
This breaks my deployment because I rely on the directory structure in the original package. I expected, when I passed the path to an exe in sdclient /onreboot, that it would execute the script FROM that location.
Is this expected behavior? In the SDclient log, line 1095 shows the path where the script get's executed from after a reboot. The script actually exists there, but no other resources do so the script fails.
I can hard code the path I would expect the rest of the files to be at, so I can make the the package work, but the behavior is very different from what I was expecting.
Thanks for any assistance.