Autoclose application does not work anymore - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

SebastianG
Posts: 3
Joined: Tue Feb 28, 2012 11:30 am

Autoclose application does not work anymore

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
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Autoclose application does not work anymore

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
Follow us: Twitter - Facebook - YouTube
SebastianG
Posts: 3
Joined: Tue Feb 28, 2012 11:30 am

Re: Autoclose application does not work anymore

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.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Autoclose application does not work anymore

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
Follow us: Twitter - Facebook - YouTube
SebastianG
Posts: 3
Joined: Tue Feb 28, 2012 11:30 am

Re: Autoclose application does not work anymore

Oh nice. Which email should i use?
Can you send me a message?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Autoclose application does not work anymore

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

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”