QUOTE (Kelsenellenelvian @ Oct 15 2009, 01:38 AM)

I can help you with most of this. There was a autoscript called taskkills.exe that worked like task kill I will see if I still have it. (yes i do)
I forget what I used to do before I found {TASKKILL}, but I thought it was some tool that came with WPI. Anyhow, this would be good. Thanks
QUOTE (Kelsenellenelvian @ Oct 15 2009, 01:38 AM)

Extract will not work.
It's not there now, but it looks simple enough to add - it depends on 7z in Tools ... is there a reason not to add that? I'm sure it would work on W2K ... no idea about W98 though.
QUOTE (Kelsenellenelvian @ Oct 15 2009, 01:38 AM)

The JScript functions will not work.
A quick peek at WPI suggests that all it does is strip off an inital JSCRIPT and then hope that the function exists. If that's right, then that's probably good enough to get me started. I do only use two JavaScript functions anyway and I'm sure I can dig up the sources for those from somewhere

. That said, the registry writing I can almost as easily substitute back in the nircmd.exe incantation that I used to use. TimedWaitForFile is dirt simple JS that I'm sure I can plonk in there somewhere.
QUOTE (Kelsenellenelvian @ Oct 15 2009, 01:38 AM)

Limited to 6 commandlines per entry.
Yes. But that's not a problem. The one place where I did have more than six (my Start Menu creation stuff) I'd split into multiple entries anyway. But even that I've now hived off into an AutoIt script (for other reasons) so even that's down to just one cmd[]. I'll probably just generate excess cmds and have the ruby spit out a warning at the end. That way I can edit the WPI config.js if things ever do break.
I also noticed that DELDIR seems to be missing, as well as RUNBG (what's that do?), SLEEP, REBOOT, [UN]REGDLL, INSTINF, REGEDIT.
I don't use any of those except DELDIR ... is that just a later addition that never got back-ported or is there some reason it's not there? I think I might try out a little hackery tomorrow ... but stop me now if I'm barking up the wrong tree!