How do I enable showing a loading image when user launches my app
compiled with inno setup compiler?
For example if you launch ms word, you will see a loading image before
the main app loads in full.
Can this be done with Inno Setup?
I want my app to show a logo before loading fully, just as most app do?
Thank in advance
Umar, what you are requesting is generally referred to as a splash-screen. The third party Inno Setup Script Includes (ISSI) library contains a function for splash-screens. http://members.home.nl/albartus/inno/ISSI_Functions/issi_splash.htm
Add the functionality by following the three steps found in the general instructions how to implement ISSI functions: http://members.home.nl/albartus/inno/
I have gotten solution to my question above :) . Since I used wxpython for my GUI, there is a demo code on SplashScreen and AdvancedSplash things available within wxpython demo software.
By the way @TLama, thanks for point to me the technical name of this functionality.
Here are the working codes;
#For wx.SplashScreen
bitmap = wx.Bitmap('splashImage.png', wx.BITMAP_TYPE_PNG)
splash = wx.SplashScreen(bitmap, wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT, 10000, None, style = wx.SIMPLE_BORDER | wx.STAY_ON_TOP | wx.SPLASH_CENTRE_ON_PARENT)
wx.Yield()
#wx.AdvancedSplash
import wx
import wx.lib.agw.advancedsplash as AS
app = wx.App(0)
frame = wx.Frame(None, -1, "AdvancedSplash Test")
imagePath = "my_splash_image.png"
bitmap = wx.Bitmap(imagePath, wx.BITMAP_TYPE_PNG)
shadow = wx.WHITE
splash = AS.AdvancedSplash(frame, bitmap=bitmap, timeout=5000, agwStyle=AS.AS_TIMEOUT | AS.AS_CENTER_ON_PARENT | AS.AS_SHADOW_BITMAP, shadowcolour=shadow)
app.MainLoop()