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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------
Easy Software Deployment >> http://wpkg.org
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users