Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22-04-2021, 06:15
Newbie-repacker Newbie-repacker is offline
Banned
 
Join Date: Apr 2021
Location: In My Home Sweet Home
Posts: 27
Thanks: 57
Thanked 0 Times in 0 Posts
Newbie-repacker is on a distinguished road
Question Adding splash screen and slideshow to INNO setup

Can anyone provide me with basic idea of
Adding splash screen and slideshow to INNO setup.....

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 22-04-2021, 08:34
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
https://anonfiles.com/B0c435s5u7/
Code:
procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6,p7:integer;p8:boolean;p9:Cardinal;p10:integer);
  external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';

ShowSplashScreen(WizardForm.Handle,ExpandConstant('{tmp}\splash.png'),500,3000,500,0,255,True,$FFFFFF,10);
Replace 3000 with how long you want the splash screen image to show.

Replace either 500 to control fade in / fade out speed.
Reply With Quote
The Following 2 Users Say Thank You to Masquerade For This Useful Post:
Gehrman (29-04-2021), Newbie-repacker (22-04-2021)
  #3  
Old 22-04-2021, 11:02
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
@Newbie-repacker, attached are some examples using isgsg.dll.
With isgsg.dll it is possible to display splashes with .bmp, .gif and .png images, but it is also possible to display slides and has an integrated player interface.
There are other libraries dedicated only to slides with transition effects like IsSlideShow.dll that may be more useful for you.
Attached Files
File Type: rar isgsg_examples.rar (1.83 MB, 128 views)
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
Gehrman (29-04-2021), Harsh ojha (22-04-2021), Newbie-repacker (22-04-2021)
  #4  
Old 30-04-2021, 23:41
Newbie-repacker Newbie-repacker is offline
Banned
 
Join Date: Apr 2021
Location: In My Home Sweet Home
Posts: 27
Thanks: 57
Thanked 0 Times in 0 Posts
Newbie-repacker is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
@Newbie-repacker, attached are some examples using isgsg.dll.
With isgsg.dll it is possible to display splashes with .bmp, .gif and .png images, but it is also possible to display slides and has an integrated player interface.
There are other libraries dedicated only to slides with transition effects like IsSlideShow.dll that may be more useful for you.
Am getting some errors ...........
Can i dm u for further help
Either @Cesar82 or @Masquerade
Reply With Quote
  #5  
Old 01-05-2021, 10:33
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Newbie-repacker View Post
Am getting some errors ...........
Can i dm u for further help
Either @Cesar82 or @Masquerade
Errors in what.
If I can help report the problem!
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Newbie-repacker (01-05-2021)
  #6  
Old 03-05-2021, 10:50
Newbie-repacker Newbie-repacker is offline
Banned
 
Join Date: Apr 2021
Location: In My Home Sweet Home
Posts: 27
Thanks: 57
Thanked 0 Times in 0 Posts
Newbie-repacker is on a distinguished road
These are changes for adding splash screen
Can u suggest me changes for SLIDESHOW

[Installer]
;Set Splash to 1 to enable Splash Image at Start else 0 to disable it
Splash=1

////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////ADVANCED USERS CAN PROCEED/////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
#define i 0
;---------------------------------------- Installer ----------------------------------------;
#if ReadIni(SourcePath + "\WindowsPhone.iss", "Installer", "Splash", "1") == "1"
#define Splash
#endif

[Files]
//Splash
#ifdef Splash
Source: Graphics\Splash\Splash.png; DestDir: {tmp}; Flags: dontcopy;
Source: DllPack\isgsg.dll; DestDir: {tmp}; Flags: dontcopy;
#endif

[Code]

function IntRange(Value,Min,Max: Longint):Longint;
#ifdef Splash
procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6 ,p7:integer;p8:boolean;p9:Cardinal;p10 :integer);
external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';

procedure Splash();
begin
ExtractTemporaryFile('isgsg.dll');
ExtractTemporaryFile('Splash.png');
end;
#endif

function InitializeSetup:Boolean;
var
FontName: String;
begin
SetPriorityClass(GetCurrentProcess, HIGH_PRIORITY_CLASS);
#ifdef Splash
ExtractTemporaryFile('isgsg.dll');
ExtractTemporaryFile('Splash.png');
#endif

procedure InitializeWizard;
var
S: AnsiString;
R: Boolean;
begin
#ifdef Splash
Splash();
ShowSplashScreen(WizardForm.Handle,ExpandConstant( '{tmp}')+'\Splash.png',1000,2000,500,0,255,False, $FFFFFF,10);
#endif
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 16:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com