View Full Version : Controlling execution flow during install phase

12-11-2013, 03:47 PM
During the install phase of my installer, I would like to display a prompt if a certain error condition is met. I would like the user to have an option to retry the step that failed, but it seems that InstallAnywhere does't allow jump actions to jump back to a earlier step. Is there another way of doing this? I want the user to be able to possible recover during the installation instead of crashing out of the installer.


12-12-2013, 05:30 AM

Currently controlling execution flow during install phase or runtime is not possible.
Installanywhere will Rollback if any error occurs during runtime.


12-12-2013, 09:02 AM
Is it possible to write a custom dialog that can be used in the Install phase that is displayed in a loop?

This part of my installer is executing database changes which can't be rolled back by not allowing the user to be able to retry the database script after perhaps correcting the issue the application will be in an inconsistent state.

It seems like a silly restriction to not allow flow control during the install phase.

12-16-2013, 04:28 PM
I was able to get what I needed to work by displaying dialog box during my custom code step. The display of the box is in a loop, if the user click retry the custom code that I want to rerun is executed again. this loops until there are no errors or the user clicks Abort.