We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bluscape
Posts: 3
Joined: Sun Apr 05, 2015 10:17 pm

Splash Screen Dialog

1.)

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?

2.)

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?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Splash Screen Dialog

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
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”