kelly
Posts: 2
Joined: Mon May 05, 2014 12:12 pm
Location: kellyrolls18@gmail.com
Contact: Yahoo Messenger

Finish dialog after Uninstalling from Control Panel

Hello
I want to know if it is possible to display a confirmation dialog after the uninstall took place, something similar with with the finish dialog from the installing sequence.
As I use the "remove" option from Programs and features list, I want to have a confirmation dialog (not message box or whatever) after the uninstall took place.
Thank you.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Finish dialog after Uninstalling from Control Panel

Hello Kelly and welcome to Advanced Installer forums,

In order to achieve that you can follow these steps:
  • Select the Always (install, uninstall and maintenance) option from the Theme Settings tab for the Enhanced User Interface.
  • In the Table Editor page, please change the Value of the UninstallString Registry as following (by default it is [AI_UNINSTALLER] /x [ProductCode] ):

    Code: Select all

    [AI_UNINSTALLER] /i [ProductCode] DO_REMOVE=ALL
    
  • In the Custom Actions page add the predefined Set installer property custom action with sequence in the Install Execution Stage before the Searches stage.
    Edit its property as following:
    Property: REMOVE
    Value: ALL
    Condition: DO_REMOVE="ALL"
  • Using the Show Standard Action toolbar button, display the MaintenanceWelcomeDlg standard action. Add in its condition field the following statement:

    Code: Select all

    DO_REMOVE <> "ALL"
    
The sample project is attached to this thread, so if you are interested to take a look directly at my project, you are more than welcome to download the ZIP file.

Note:
If you change the theme project make sure you condition as well the MaintenanceWelcomeDlg standard action as above.

Best regards,
Dan
Attachments
SampleApp.zip
(3.78 KiB) Downloaded 378 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”