[wpkg-users] 1.0rc1 - reboot
Tomasz Chmielewski
mangoo at wpkg.org
Tue Nov 27 12:23:18 CET 2007
grubi schrieb:
> <?xml version="1.0" encoding="UTF-8"?>
>
> <packages>
> <package
> id="net20-Patches"
> name="NET 2.0 Patches"
> revision="1"
> reboot="delayed"
> priority="150"
> execute="once">
> <install cmd="%PACKAGES%\net20-Patches\install.bat"
> />
> </package>
> </packages>
Umm, right now, it works on a "command level":
NEW: The reboot=true attribute on an exit code forces an immediate
reboot. Unfortunately all following commands are skipped then. Sometimes
(maybe even more often) you might like to just set the package
reboot flag depending on a command exit code. I introduced the
support of reboot='delayed' within the command nodes. This allows to
schedule a reboot instead of immediately executing it. The effect is the
same as setting reboot='true' on package level (reboot after executing
all comands. However it allows you to leave reboot='false' on package
level and schedule a reboot based on command exit codes.
You can see an example here:
http://wpkg.org/Internet_Explorer_6
Rainer, wouldn't it make sense to make "delayed" work on a <package
reboot="delayed"> level as well? And schedule a reboot only after all
packages are installed?
--
Tomasz Chmielewski
http://wpkg.org
Easy Software Deployment >> http://wpkg.org
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list