How to start and stop an Image Slideshow by using custom triggers?

ImportantThe following article uses options that are available starting with the Enterprise edition and project type.

If the predefined start and stop options do not suit your needs for the image slideshow, you can use custom triggers. When the custom trigger option is selected, it's correspondent custom action is enabled in the Custom Actions page. This way, you can add the custom action anywhere in the UI.

Start image slideshow

For starting the image slideshow through a custom trigger you can use the Start image slideshow predefined custom action. This custom action can be added in Wizard Dialogs Stage as a custom action without sequence. This custom action can be launched through an "Execute custom action" control event. Please see the Execute custom action on button push How-To for more details.

Stop image slideshow

The custom actions which stops the image slideshow can be added in Wizard Dialogs Stage or as a custom action without sequence. This custom action can be launched through an "Execute custom action" control event. Please see the Execute custom action on button push How-To for more details.

When using a custom trigger for stopping the slideshow, the cases in which the user cancels the install or the install fails should also be treated. For this, you can try following these steps:

1. in the Dialogs page select the "Finish" button on the "UserExit" dialog

2. in the Control section select the "Published Events" tab

3. create a new "Execute custom action" control event which looks like this:

Execute custom action          StopImageSlideshow          1

4. select the "Finish" button on the "FatalError" dialog

5. in the "Control" section select the "Published Events" tab

6. create a new "Execute custom action" control event which looks like this:

Execute custom action          StopImageSlideshow          1

The same control event should be used for the "Finish" button on "ExitDialog" in order to stop the slideshow for a successful install:

7. select the "Finish" button on "ExitDialog"

8. in the "Control" section select the "Published Events" tab

9. create a new "Execute custom action" control event which looks like this:

Execute custom action          StopImageSlideshow          1

ImportantIt is recommended you always create the above control events when using a custom stop trigger.

NoteThe published control event that stops the custom action can be used by any control you want (you can use the same method).