We've noticed that, if a Java-based application made with Advanced Installer is still running when you shut down Windows XP, it appears to "hang". That is, Windows warns you that the application hasn't exited, and starts the timer to kill it.
So far as I'm aware, Sun's JVM responds correctly to shutdown messages. So, the logical suspect is the thin "wrapper" .exe that Advanced Installer uses to launch the program. Does it listen for shutdown messages, and pass them along to the JVM? If not, is there a workaround?