Quote:
Originally Posted by ShadowEagle
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;