views:

51

answers:

0

Hi,

During un-installation, user will be asked "Are you sure to uninstall ...".

Then the user will click either "Yes" or "No".

Is it possible to catch this on the script?

Because I need to execute an application at the end of uninstallation process.

If I execute the application during "InitializeUninstall()", that is not correct because the user could cancel the uninstallation later (the above dialog is displayed AFTER this function).

Same with "DeInitializeUninstall()", this function is still executed even the user cancel the uninstallation.

Basically, I need to execute the application when the user is really un-installing (agreed to uninstall). Because I need to catch the ExitCode of this application to set the UninstallNeedRestart() function.

Thanks.