CloseApplication does not work - 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!

stevefal
Posts: 119
Joined: Wed Sep 03, 2008 9:02 pm
Location: Washington USA
Contact: Website

CloseApplication does not work

When using 7.1.1, the CloseApplication predefined custom action does not work or does not work reliably.

Upon my first attempt at using the feature, it worked. But on subsequent repeated installations (using the same settings), my app was not closed.

My app responds correctly to WM_CLOSE in general, and specifically closes correctly when using my own custom action that sends WM_CLOSE to my app's main window.

Please enhance your documentation to explain exactly the logic that is being used by the CloseApplication action, including how windows are identified and whether certain window styles are excluded.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: CloseApplication does not work

Hi,
Upon my first attempt at using the feature, it worked. But on subsequent repeated installations (using the same settings), my app was not closed.
Please make sure that the process name you are passing to the custom action is correct. If the problem persists, can you please send us the AIP you are using and a verbose log of the install process to support at advancedinstaller dot com so we can investigate them?
Please enhance your documentation to explain exactly the logic that is being used by the CloseApplication action, including how windows are identified and whether certain window styles are excluded.
We will improve the custom action help in a future version. Thank you for your suggestion. Note that most of the logic behind the custom action is mentioned here:
http://www.advancedinstaller.com/forums ... 10&p=23253

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stevefal
Posts: 119
Joined: Wed Sep 03, 2008 9:02 pm
Location: Washington USA
Contact: Website

Re: CloseApplication does not work

My main window lacks a system menu, so maybe that was the issue. However that doesn't explain why it worked anyway on my first attempt.

In either case, the info in that post is what I sought in the docs. Thanks.

Return to “Common Problems”