View Single Post
  #120  
Old 21-02-2012, 03:11
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
Not mine. Just founded on net. Works fine

Code:
[Files]
 Source: "Splash.png"; DestDir: {tmp}; Flags: dontcopy
 Source: "isgsg.dll"; DestDir: {tmp}; Flags: dontcopy

 [*Code]
 // p2:String -- Inno Setup (Kein UNICODE)
 // p2:AnsiString -- Inno Setup (UNICODE)

 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');
 ShowSplashScreen(WizardForm.Handle,ExpandConstant( '{tmp}')+'\Splash.png',1000,3000,1000,0,255,False, $FFFFFF,10);
 end;

 procedure InitializeWizard();
 begin
 Splash();
 end;
Attached Files
File Type: rar issgs.rar (31.3 KB, 64 views)

Last edited by BAMsE; 21-02-2012 at 03:16.
The Following User Says Thank You to BAMsE For This Useful Post:
ramydarkness (09-02-2013)