Falko Trojahn wrote:
I think, these things should be introduced a bit more customizable, e.g.
as commandline switch:
wpkg.js /shutdownmethod:"%0\..\wpkg\my-shutdown-command.whatever"
If wpkg.js handles this itself it could be shortened to
wpkg.js /shutdownmethod:"wpkg\my-shutdown-command.whatever"
but this is a bit less flexible.
Without this switch the normal behaviour should be as in 0.9.5 of course.
Other projects even do it this way:
... -r"myscript -option1 -option2" -r"myotherscript -option" ...
Just my 2ยข. If I have time on monday I'll send a patch.
I had no time, but here is the patch:
time is a precious commodity these days...
- without option /rebootcmd -> normal behaviour
- with option /rebootcmd:special
-> looks if it can find wpkg\psshutdown.exe and uses the loop from Frank
- with option /rebootcmd:wpkg\myshutdown.bat _or_
option /rebootcmd:\\server\share\myshutdown.bat
it uses this for reboot
looks great, thanks.
Someone confused? Drop me a mail ...
anyone tried this already?
--
Tomasz Chmielewski
http://wpkg.org
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users