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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
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
 


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 19:14.


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