I created a vbscript custom action which checks for some registry keys and alters them if neccessary. In case a key could not be written or something like that, the setup should be aborted.
In order to achieve this, I set a property which I tried to use as a condition for the next step within the execute sequence but this does not work.
I found out that this can not work since the custom action cannot write the property at the time it is executed.
So the question is: How can I achieve an abort of installation depending on what my custom action says? Is there a method to pass an "abort installation request" to the Installer or something like that?