tags:

views:

29

answers:

1

I would like to set the exit code for my uninstallation in Inno Setup. By doing this I want the Inno Setup to show some sort of "uninstallation failed" dialog box to the user.

I know that defining custom exit code for installation can be done via GetCustomSetupExitCode function.

Is it possible to notify Inno Setup that the custom uninstallation procedure has failed and to prevent Inno Setup from showing the silly "Uninstall Successful" message no matter what happens?

A: 

I did a code review of the Uninstall.pas in InnoSetup and there is currently no way to do what you would like to do.

Robert Love