Hello,
I would like to display a splash screen dialog between the prepare and install dialog.
The splash dialog will not have any buttons. It must display for a couple of seconds, close by itself and then continue to the install dialog. How can I accomplish this?
To display the related splash screen you will need to use a custom action that will launch it. For example, you can use the predefined
Launch file custom action.
You may also need to add a delay between the custom action that display the splash screen and the next custom actions. For this you can use a simple code in an
Execute inline script code custom action. For example, the following code waits for 5 seconds:
Code: Select all
'Msgbox "start"
sleep1 5
'MsgBox "stop"
Sub sleep1(strSeconds)
Dim dteWait : dteWait = DateAdd("s", strSeconds, Now())
Do Until (Now() > dteWait)
Loop
End Sub
Depending the theme you are using, you may also need to condition the
PrepareDlg from the
Table Editor view ->
InstallUISequence table. Just add a false condition in the
Condition field so that the
PrepareDlg won't be displayed and the installation starts with the splash screen.
Please take a look on the
Using Black Surface theme on startup as a Splash screen forum thread which debates a similar subject.
I would like to create my own theme based on one of the existing themes. I tried copying one of the existing themes and gave it a new name but AI does not like this.
How can I do this?
In the
Themes page you can choose from Advanced Installer's predefined themes, or change visual styles and customize it by setting custom images and text styles that will be displayed on the install dialogs or controls.
If you have other questions, please let us know.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging