Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 26-10-2015, 01:35
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
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 := False
else
Result := False;
end;
Thanks for your fast answer. So if i`m right, the feature is already there, but we need a checkbox for the user to change it for himself, right?
Reply With Quote
  #3  
Old 26-10-2015, 16:51
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
Thanks for your fast answer. So if i`m right, the feature is already there, but we need a checkbox for the user to change it for himself, right?
o no mod all language

use 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;
Setup.ini
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=False > Disable BGE
BGE= > Default
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 02:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com