![]() |
Add button in CIU2
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 |
Quote:
Code:
function BGEnabled:Boolean; |
Quote:
|
Quote:
use ini.. example: InstallerScript.iss Code:
function BGEnabled:Boolean;Code:
[InstallOptions]BGE= > Default |
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. |
It's possible but you have to work your a$$ off.
|
I would love to to that, but i can`t speak "pascal" ;) So i need help :)
|
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. |
Possible to give me a hint where to search? ;)
|
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. |
Quote:
|
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.
|
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
|
| All times are GMT -7. The time now is 23:48. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com