[izpack-devel] Restart computer
Vladimir Ralev
vralev at redhat.com
Fri Mar 30 17:44:24 CEST 2007
It's also possible to use a shell command
http://www.ss64.com/nt/shutdown.html. Call this from an ant script
conditionally when the last pack (or a dummy pack) is installed and it
should work (very ugly though).
Tino Schwarze wrote:
> On Fri, Mar 30, 2007 at 08:01:01AM -0800, Elmar Grom wrote:
>
>
>> at this point I can only recommend using a message panel that instructs the
>> user to restart the computer manually.
>>
>> If you know your way around this API and are willing to contribute a native
>> library, along with a Java wrapper class, I or someone else in the group
>> would be happy to add a special panel for this purpose.
>>
>
> Somewhere in the back of my head it says "rundll32", so this sounds like
> a special Reboot-Panel which simply does a "System.exec (rundll32
> someparameters)"...
>
> Tino.
>
>
More information about the izpack-devel
mailing list