davidsmith
Posts: 59
Joined: Sun Jul 12, 2009 8:33 pm

source of dialog box on uninstall

Sometimes when I do an uninstall of my product, I get a dialog box that states

"The following applications should be closed before continuing the install:"

it has three buttons on it: Cancel, Retry, Ignore

===

It typically has any FireFox browser instance I have running listed in it, and Outlook.

Is this dialog box from Advanced Installer?

Is there anyway I can customize this dialog box?

I have my own dialog box that is displayed if specific programs are running, and so I'm not sure where this extra dialog box is coming from. See the below GIF image of the dialog box.
Attachments
image.GIF
image.GIF (11.36 KiB) Viewed 6074 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: source of dialog box on uninstall

Hi,

This dialog seems to be integrated in the functionality of Windows Installer. Advanced Installer has no way of changing this. The only editable part seems to be the text it contains ("The following applications should be closed before continuing the install") which can only be changed with Orca. Its user interface seems to be hardcoded and not customizable.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
davidsmith
Posts: 59
Joined: Sun Jul 12, 2009 8:33 pm

Re: source of dialog box on uninstall

Do you have any idea what causes this dialog box to be displayed?

It would be nice if it never displayed because I am displaying my own dialog boxes if specific software is running on uninstall.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: source of dialog box on uninstall

Hello,

It appears that this specific message is displayed during a silent uninstall. It is caused by the fact that the components you are uninstalling are in use by other applications. To avoid this, you should handle the already opened applications that need to be closed before any components are removed. You could do this by placing the custom action that handles this somewhere near the Begin standard action in InstallExecuteSequence.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”