Answer
This can be done only in an Enterprise or
Architect project.
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 InstallUISequence or as an "UI Custom Action". If it's added as an UI custom action, you can launch it through a "DoAction" 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 InstallUISequence or as an "UI Custom Action". If it's added as an UI custom action, you can launch it through a "DoAction" 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:
- in the Dialogs page select the "Finish" button on the "UserExit" dialog
- in the Control section select the "Published Events" tab
- create a new "DoAction" control event which looks like this:
DoAction StopImageSlideshow 1
- select the "Finish" button on the "FatalError" dialog
- in the "Control" section select the "Published Events" tab
- create a new "DoAction" control event which looks like this:
DoAction 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:
- select the "Finish" button on "ExitDialog"
- in the "Control" section select the "Published Events" tab
- create a new "DoAction" control event which looks like this:
DoAction StopImageSlideshow 1
It is recommended you always create the above control events
when using a custom stop trigger.
The published control event that stops the custom action can be
used by any control you want (you can use the same method).