How to run application after uninstallation - 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!

jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

How to run application after uninstallation

Hi,

How can I run application after uninstallation?

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

Re: How to run application after uninstallation

Hi,

Are you referring to the application installed by the package or to a custom application? Perhaps this how-to will help you. Note that an uninstall custom action can use the condition:

Code: Select all

REMOVE = "ALL"
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

Re: How to run application after uninstallation

Hi,

Thanks for your reply,

This is what I want:
1. The user can decide if the file will be launched

For this you can follow these steps:

* go to the Dialogs page and select "ExitDialog"
* select the "Finish" button and select the Finish Actions tab in the "Control" section
* enable the "Launch application at the end of the installation" option
* select the file you want to launch

But the problem is, I have one program that I launch after Installation, how can I add one program to launch after uninstallation
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to run application after uninstallation

Hi,

Are you referring to the application installed by the package or to a custom application? Note that the application installed by the package is removed by the uninstall process. Can you please give me more details about what you need to do?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

Re: How to run application after uninstallation

Hi,

Sorry for the misunderstanding

on uninstallation of my application, I need to run another program (separate from the application), and I need to give the user the option to run or not run that applucation after uninstallation.

So, I need to add checkbox on Exit dialog, but I don't want this checkbox to be displayed on installation,
jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

Re: How to run application after uninstallation

Hi Cosmin,

Thanks for your help,

I found that I can set condition on the checkbox to be displayed only on uninstallation Exit dialog.

On other hand, it would be great to have a separate Exit dialogs for Installation and uninstallation.

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

Re: How to run application after uninstallation

Hi,
On other hand, it would be great to have a separate Exit dialogs for Installation and uninstallation.
I'm afraid that this is not supported by Windows Installer. However, you can use the approach explained in the Show a custom ExitDialog for Maintenance how-to.

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

Return to “Common Problems”