Hello everyone.
I tried to cancel an installation in two ways:
1) Return value 2 of an attached custom action (using the default config, that is run immediate, etc. pp.):
Return value gets ignored, installer reports success. I found suggestions that only the return value of inline custom actions are being evaluated.
2) Set (new) property in attached custom action, evaluating existence of the property in the condition of an ErrorMessage custom action:
The error messages shows up, user presses "OK", installer shows page informing user about problem and claiming that no files were copied to the computer.
Looking at the installation directory all files are there however.
What would be the correct way to cancel the installation in a way that cleanup is being performed properly?
With best regards
Clemens Anhuth