|
#1
|
||||
|
||||
|
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 |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
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. |
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
mod all languageuse ini.. example: InstallerScript.iss 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
Result:=(GetValBool('InstallOptions', 'BGE', True))
else
Result := False;
end;
Code:
[InstallOptions]
ApplicationName=The LEGO Movie - Videogame
Publisher=Warner Bros. Interactive Entertainment
GameSize=8570
//ProductCode={3FEA6CD1-EA13-4CE7-A74E-A74A4A0A7B5C}
PrecompVer=inside
Lang=en,es,fr,it,da,nl,pl,prbr,ru
SetupVersion=1.0
GameVersion=1.0
BGE=False
BGE= > Default |
|
#5
|
||||
|
||||
|
Ok, but how to add it into the installer, i mean the user should be able to activate/deactivate a checkbox "Show Trailer and Slideshow".
Thanks in advance. |
|
#6
|
||||
|
||||
|
It's possible but you have to work your a$$ off.
|
|
#7
|
||||
|
||||
|
I would love to to that, but i can`t speak "pascal"
So i need help
|
|
#8
|
||||
|
||||
|
I did this feature in asc. Just look at this script.
http://fileforums.com/showpost.php?p...postcount=1401 You can interchange between video, slideshow, music or none of them in one go. |
|
#9
|
||||
|
||||
|
Possible to give me a hint where to search?
|
|
#10
|
||||
|
||||
|
Infostate function. Line 5871. This allows you to see interchange between music and slideshow, and video or none.
First condition is if you have video, slides and music. Video will play, thereafter after clicking video off, slideshow will commance along with video play back, clicking the same button disables music, then another click plays video again. Second condition if you have video and no slides or the other way round, full screen video will play on loop, then once you click video off button, full screen is disabled, you will only have small installer. Meaning with this function, you don't have to add another button because the same button performs all these functions. |
|
#11
|
||||
|
||||
|
Quote:
|
|
#12
|
||||
|
||||
|
There is, the two conditions explain what will happen if you have video, slides, music or whatever. Condition two has slide off/video off. You must not have both else you will still have full screen. If you have slide and music, full screen will disappear.
|
|
#13
|
||||
|
||||
|
to use these functions, you must modify some of this script that, in a lot of code that uses expressions to control functions, you need the checkbox or buttons etc..to control functions such as boolean expressions
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| Tutorial using CI 8.0.0 | yener90 | Conversion Tutorials | 424 | 21-10-2014 09:49 |
| Stranglehold (2x DVD9 to 3x DVD5) | poseden | PC Games - CD/DVD Conversions | 4 | 31-03-2011 15:21 |