View Single Post
  #1  
Old 26-10-2015, 01:16
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Quote:
Originally Posted by ShadowEagle View Post
Hi,

how to add a button for switching between fullscreen (small installer + background images + video) and normal installer (no small installer + no background images + no video).

I know if there are no images or videos in background folder there will be no small installer, but a feature, where the user can choose on option using a checkbox before starting installation would be very nice.

Hope someone with good skills, can help me.

Greetz
Replace True to False = no Video no Slideshow

Code:
function BGEnabled:Boolean;
begin
if (FileExistsI(ExpandConstant('{tmp}\SmallInstaller.png'))) and (FileExistsI(ExpandConstant('{tmp}\1.jpg')) or (FileExists(ExpandConstant('{tmp}\FlashBG.swf'))) and IsFlashInstalled) then
Result := True //to False
else
Result := False;
end;

Last edited by rinaldo; 26-10-2015 at 02:06.
Reply With Quote
Sponsored Links