Using Black Surface theme on startup as a Splash screen - Advanced Installer Community
kkjay
Posts: 5
Joined: Fri Feb 28, 2014 9:12 am

Using Black Surface theme on startup as a Splash screen

I like the look of the Black Surface theme for Advanced Installer. I am using version 10.7.
I would like to know if I can add a splash screen to my Visual Studio Application that will run for a few seconds before the main form shows up.

I would like the splash screen to look something like the below inage with the 3 little boxes flashing.

Any help will be appreciated.
Attachments
Splash Screen
Splash Screen
Untitled.png (13.01 KiB) Viewed 3495 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Using Black Surface theme on startup as a Splash screen

Hello and welcome to Advanced Installer forums,

I'm not sure I fully understand your scenario. Do you want to display the related splash screen before you start your installation process or to display the related splash screen when you start your application (after it has been installed)?

If you want to display the PrepareDlg from the Black Surface theme when your run your installation package, then you can add your own custom action to pause the installation process. You need to add this custom action between the PrepareDlg and AppSearche standard actions. Please take a look on the Standard actions article which may be useful to you.

I've attached a zip archive that contains a sample which implement this scenario. I pause the instllation process and the PrepareDlg is displayed for about 5 seconds. I've used the predefined Execute inline script code custom action with sequence on the Wizard Dialogs Stage. This custom action is basically a small VBScript or JScript that is ran during the install process.

If you create your own cusom action which will display a splash screen when you run your intallation package, then you can use the predefined Launch attached file custom action with sequence to launch it. Using this type of custom action you can execute an application (EXE or DLL) or run a script (VB or Java script) which is not among your project files.  This source file will be embedded in the MSI file but will not be deployed at install time with the other application files. Also, the custom action should be scheduled before "Wizard Dialogs Stage -> Searches" action group.

Please let me know if that helped.

Best regards,
Dan
Attachments
PrepareDialog.zip
(4.39 KiB) Downloaded 301 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kkjay
Posts: 5
Joined: Fri Feb 28, 2014 9:12 am

Re: Using Black Surface theme on startup as a Splash screen

Thanks for your reply Dan. Problem solved.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Using Black Surface theme on startup as a Splash screen

You're welcome.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”