Matthew Beermann

Responding to shutdown messages

Wed Apr 07, 2004 9:16 pm

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?

Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact:  Website

Fri Apr 09, 2004 9:10 am

Thanks Matthew, we'll investigate.

For all I know though, the message loop is inside the Java VM, and the launcher exists when the VM exists. So I suspect it is the java app's resposability.

Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”