devyani
Posts: 4
Joined: Tue Dec 04, 2007 10:22 am

Message box to appear after uninstall successfully uninstall

We have created the installer which runs successfully, and even uninstalls propoerly but i would like to display a message box at the end of uninstall process so how do i do that.
but when Can anyone help me achieve this.

Thanks
Devyani
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Can you please give more details about this? When exactly do you need to show the custom action? Also, will this message box show only text or it needs other controls(edit box, combo etc.)?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
devyani
Posts: 4
Joined: Tue Dec 04, 2007 10:22 am

I need to just show the message at the end of the process informing the user that uninstall has been completed successfully.

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This can be done by using a "ScriptInline" custom action in the "Custom Actions" page. The custom action will be scheduled under the "InstallFinalize" standard action (you can show this standard action by using the "Show Standard Action" button on the toolbar).

You will make these modifications to the custom action:

Code: Select all

Script Text: MsgBox "Uninstall complete"
Expression: (REMOVE="ALL") (this field is in the "Execution Condition" section)
If you have any other questions, don't hesitate to ask.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
devyani
Posts: 4
Joined: Tue Dec 04, 2007 10:22 am

I have done this but the action gets triggered before completion of uninstallation. I want the message to flash after the progress bar ends and just before the setup dialog box disappears.
Can this be possible.


Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please make sure that you scheduled the custom action under the "InstallFinalize" standard action. With this configuration the message box will be shown right after the progress bar ends.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
devyani
Posts: 4
Joined: Tue Dec 04, 2007 10:22 am

Thankyou very much. This is working now.
vmfrt
Posts: 8
Joined: Thu Mar 24, 2022 2:57 pm

Re: Message box to appear after uninstall successfully uninstall

Anyone please guide how to display Installation Successful message after installation. There is no InstallFinalize in Custom Action. Advanced Installer v19.0
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Message box to appear after uninstall successfully uninstall

Hello,
There is no InstallFinalize in Custom Action. Advanced Installer v19.0
There is. However, the UI has changed since this was posted.

In order to show the "InstallFinalize" action in the "Custom Actions" page, please proceed as it follows:

- under "Install Execution Stage", right click on any action group --> "Show Standard Action" --> "FinishExecution" --> click "InstallFinalize"

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”