Sampron
Full Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору NightW0lf [Files] Source: splash.bmp; DestDir: {tmp}; Flags: dontcopy Source: splash1.bmp; DestDir: {tmp}; Flags: dontcopy Source: splash1.wav; DestDir: {tmp}; Flags: dontcopy Source: callnsis.dll; DestDir: {tmp}; Flags: dontcopy Source: AdvSplash.dll; DestDir: {tmp}; Flags: dontcopy [code] procedure callplug(parentwnd: Integer; pluginname,funcname,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10: PChar); external 'callplug@files:callnsis.dll stdcall'; function InitializeSetup(): Boolean; begin ExtractTemporaryFile('splash.bmp') ExtractTemporaryFile('splash1.bmp') ExtractTemporaryFile('splash1.wav') ExtractTemporaryFile('AdvSplash.dll') callplug(0,ExpandConstant('{tmp}\AdvSplash.dll'),'show','400','2000','600','0xFFFF00',ExpandConstant('{tmp}\splash'),'','','','','') callplug(0,ExpandConstant('{tmp}\AdvSplash.dll'),'show','400','7000','600','0xFFFF00',ExpandConstant('{tmp}\splash1'),'','','','','') Result:=True end; |