Autoclose application does not work anymore

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Autoclose application does not work anymore

Postby SebastianG » Tue Feb 28, 2012 11:42 am

Hi,

we are using your great software (version 8.0.2) for about 1,5 years now to build Installers for our java software product and we are also using the updater mechanics to keep
the software up-to-date.
The default beahaviour of the update process is like follows:
The updater checks at software startup (with the /checknow parameter) if we have any new installer on the server (using a updates.ini).
If we have a new version the user gets notified and can agree to install it.
To do so, the running software must be terminated. Until now this works really great with the auto close parameters in the updates.ini set to:
AutoCloseApplication=[APPDIR]MySoftware.exe|[APPDIR]MySoftware.exe;Photo Software

But unfortunately we now have problems with our last update. Somehow the updater.exe is not always able to close the software.
in about 6 out of 10 cases the software is not closed and thus the installation of the new version fails.

I try to figure out what could be the problem. The main awt frame of our java application has the window title set to "Photo Software" and implements a windowlistener
which listens to win closing events and closes the software.
Somehow the event gets not send to our application.

Do you have an idea what could be the problem? What is the correct way to listen for your wm:_close events in a java application?

Thanks in advance and best regards
Sebastian
SebastianG
 
Posts: 3
Joined: Tue Feb 28, 2012 11:30 am

Re: Autoclose application does not work anymore

Postby mihai.petcu » Wed Feb 29, 2012 1:21 pm

Hi Sebastian and welcome to Advanced Installer forums,

Thank you for your feedback. I forwarded this issue to our development team and we'll get back to you once our investigation proves conclusive.

Can you please help by specifying the Advanced Installer version you are currently using? Also, on what OS does this behavior manifest?

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am

Re: Autoclose application does not work anymore

Postby SebastianG » Thu Mar 01, 2012 9:02 am

Hi and thank you for your fast response.
I am using Advanced Installer 8.0.2 and the Problem occurs on Windows 7 and also on Windows XP machines.
SebastianG
 
Posts: 3
Joined: Tue Feb 28, 2012 11:30 am

Re: Autoclose application does not work anymore

Postby mihai.petcu » Thu Mar 01, 2012 11:01 am

Hello Sebastian,

It'll really help our investigation if you would contact us by e-mail on this topic. Our development team has prepared a debug updater we can send.

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am

Re: Autoclose application does not work anymore

Postby SebastianG » Thu Mar 01, 2012 11:06 am

Oh nice. Which email should i use?
Can you send me a message?
SebastianG
 
Posts: 3
Joined: Tue Feb 28, 2012 11:30 am

Re: Autoclose application does not work anymore

Postby mihai.petcu » Fri Mar 02, 2012 12:57 pm

Our e-mail adress is support at advancedinstaller dot com.

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Heritrix [Crawler] and 11 guests