How to programmatically return to previous page?
I'm sure this question is already answered, but spent some time and couldn't find anything on this topic.
The issue is that on some conditions my installer should return to one of previous pages (so the cycle could potentially be infinite).
Say it, we have custom pages A and B and B is the next page to A:
page custom A
page custom B
If the weather is fine (what is determined in leave function for B) we should automatically move back to A.
I've tried to call A creator function from B leave function but this seems to be incorrect and leads to strange errors.
Any ideas?