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

Another empty FilesInUse dialog

I have been using my own .exe to close my app upon InstallExecuteSequence/Begin.

With AI 7.2's fix that enables the predefined action CloseApplication to work within InstallexecuteSequence, I thought I'd remove mine and try it.

But now before the CloseApplication takes place, the FilesInUse dialog pops up, and it is empty (like in http://www.advancedinstaller.com/forums ... f=2&t=9747). With my own app closer this does not happen.

I am using the same Custom Action Properties in both scenarios.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Another empty FilesInUse dialog

Hi,

Does the main window of your application use a title bar? If so, can you please send us the .AIP you are using and a verbose log of the install process with the problem to support at advancedinstaller dot com so we can investigate it?

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: Another empty FilesInUse dialog

No, it does not use a titlebar.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Another empty FilesInUse dialog

Hi,

Like explained here, the close application custom action doesn't affect windows which don't have a title bar (caption). This is why it doesn't work for you. However, if you already have a custom action for this, you can use it instead of our predefined one.

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: Another empty FilesInUse dialog

Ah yes, sorry.

But please clarify, does the window need to have a caption, or a titlebar? They are not the same. My main window does have a caption, as that is how the app is identified. But it does not have a titlebar.

I think AI should not use having a titlebar as criteria for anything. Many apps do not use the standard Windows titlebar.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Another empty FilesInUse dialog

Hi,
But please clarify, does the window need to have a caption, or a titlebar? They are not the same.
I'm sorry, I was trying to say visible caption. Basically, the window needs to have a title bar so its caption is visible.
I think AI should not use having a titlebar as criteria for anything. Many apps do not use the standard Windows titlebar.
I added this improvement on our TODO list and it will be available in the 7.3 version. Thank you for your suggestion.

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: Another empty FilesInUse dialog

In addition to that improvement in the FilesInUse dialog, I would suggest that CloseApplication predefined custom action also ignore whether the window has a titlebar. This relates to http://www.advancedinstaller.com/forums ... 569#p25569

And as another suggestion, for the FilesInUse dialog, if AI reverts to process executable filename when the window caption is null, then the list can never be empty.

Thanks as always for your help Cosmin.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Another empty FilesInUse dialog

Hi,
if AI reverts to process executable filename when the window caption is null, then the list can never be empty.
We will consider adding this improvement in a future version. Thank you for your suggestion.
A solution would be to customize the "FilesInUse" dialog to inform the user about your application. Another solution would be to populate the list manually through our listbox custom actions.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”