Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #886  
Old 21-01-2014, 02:39
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
how to create a quick install button for normal installer.
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
Sponsored Links
  #887  
Old 21-01-2014, 03:16
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
how to create a quick install button for normal installer.
try this
function shouldskippage(pageid: integer):boolean;
begin
case pageid of
wplicense,wppassword: //add or remove skiped pages
result:=true;
else result:=false;
end;
end;
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
papas (02-09-2016), y_thelastknight (21-01-2014)
  #888  
Old 21-01-2014, 03:40
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
thanks. used like this

Code:
function shouldskippage(pageid: integer):boolean;
begin
  If RadioButton1.Checked=true then
    case pageid of
    wpSelectDir,wpSelectProgramGroup,wpReady: //add or remove skiped pages
    result:=true;
    else
    result:=false;
  end;
end;
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #889  
Old 21-01-2014, 05:04
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
thanks. used like this

Code:
function shouldskippage(pageid: integer):boolean;
begin
  If RadioButton1.Checked=true then
    case pageid of
    wpSelectDir,wpSelectProgramGroup,wpReady: //add or remove skiped pages
    result:=true;
    else
    result:=false;
  end;
end;
little edit
Code:
function shouldskippage(pageid: integer):boolean;
begin
  If RadioButton1.Checked then
    case pageid of
      wpSelectDir,wpSelectProgramGroup,wpReady: result:=true;
    else
      result:=false;
  else result:=false;
end;
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
papas (02-09-2016), y_thelastknight (21-01-2014)
  #890  
Old 21-01-2014, 06:08
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #891  
Old 21-01-2014, 06:36
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
uuups, sorry little error, i think you already fix it yourself, but if no - hare edited code
Code:
function shouldskippage(pageid: integer):boolean;
begin
  If RadioButton1.Checked then
    case pageid of
      wpSelectDir,wpSelectProgramGroup,wpReady: result:=true;
    else
      result:=false;
    end
  else result:=false;
end;
i dont check but must work

Last edited by altef_4; 21-01-2014 at 06:39.
Reply With Quote
The Following User Says Thank You to altef_4 For This Useful Post:
papas (02-09-2016)
  #892  
Old 21-01-2014, 06:49
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by altef_4 View Post
uuups, sorry little error, i think you already fix it yourself, but if no - hare edited code
Code:
function shouldskippage(pageid: integer):boolean;
begin
  If RadioButton1.Checked then
    case pageid of
      wpSelectDir,wpSelectProgramGroup,wpReady: result:=true;
    else
      result:=false;
    end
  else result:=false;
end;
i dont check but must work
hehe works now. i use my old code before
thank Bro..
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #893  
Old 21-01-2014, 07:35
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
y_thelastknight, i dont know if this method is valid to you, but in mine work .

my installer have only welcome screen.. All i do its create a config button like this:

Quote:
procedure ConfigBtnClick(h: HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\click.wav'), $0002);
img2:=ImgLoad(WizardForm.Handle,ExpandConstant('{t mp}\Directorio.png'),0,0,600,375,True,True);
ImgApplyChanges(WizardForm.Handle);
WizardForm.DirEdit.Show;
WizardForm.DirBrowseButton.Show;
CoderLabel.Show;
TaskLabel.Show;
DirLabel.Show;
WizardForm.DirEdit.Show;
DiskSpaceLablel.Show;
WizardForm.NextButton.Show;
WizardForm.NextButton.Caption := 'Instalar';
WizardForm.DirBrowseButton.Show;
DiskSpaceLablel.Show;
ShortcutCB.Show;
CreateDLabel.Show;
DirectXCB.Visible:=ExpandConstant('{code:Redist1Na me}') <> '';
DirectXLabel.Visible:=ExpandConstant('{code:Redist 1Name}') <> '';
VisualCCB.Visible:=ExpandConstant('{code:Redist2Na me}') <> '';
VisualCLabel.Visible:=ExpandConstant('{code:Redist 2Name}') <> '';
NvidiaPhysxCB.Visible:=ExpandConstant('{code:Redis t3Name}') <> '';
NvidiaPhysxLabel.Visible:=ExpandConstant('{code:Re dist3Name}') <> '';
LiveCB.Visible:=ExpandConstant('{code:Redist4Name} ') <> '';
LiveLabel.Visible:=ExpandConstant('{code:Redist4Na me}') <> '';
CreateDLabel.Visible:=ExpandConstant('{code:GameEx e}') <> '';
ShortcutCB.Visible:=ExpandConstant('{code:GameExe} ') <> '';
ShortcutCB.Checked:= True;
GameNameLabel.Caption:='Directorio de instalación';
end;
Quote:
hConfigBtn:=BtnCreate(WizardForm.Handle,400,259,10 0,40,ExpandConstant('{tmp}\Button.png'),18,False);
BtnSetEvent(hConfigBtn,BtnClickEventID,WrapBtnCall back(@ConfigBtnClick,1));
BtnSetCursor(hConfigBtn,GetSysCursorHandle(32649)) ;
BtnSetText(hConfigBtn,'CONFIGURAR');
BtnSetFont(hConfigBtn,Font.Handle);
BtnSetFontColor(hConfigBtn,clGray,clSilver,clGray, clSilver);
And i have the quick install button wich is the next button, and custom config button

Without botva its the same, create config button and leave next how quick install..

i hope if its not valid to you, be valid for other..

Last edited by Logrim; 21-01-2014 at 07:39.
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
y_thelastknight (21-01-2014)
  #894  
Old 21-01-2014, 07:56
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
thanks logrim.
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #895  
Old 21-01-2014, 09:05
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
One question.. how can i call a custom form in a button?
Reply With Quote
  #896  
Old 21-01-2014, 09:18
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
One question.. how can i call a custom form in a button?
can't understand it.
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #897  
Old 21-01-2014, 09:20
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
yup.. i try to explain . i create a custom form for task. i want to call it when I click "Task" button, created with botva. But i dont know how to call it.

Last edited by Logrim; 21-01-2014 at 09:24.
Reply With Quote
  #898  
Old 21-01-2014, 09:23
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
yup.. i try to explain . i create a custom form for task. i want to call it when I click "Task" button, created with botva. But i dont know how to call it.
did you add (formname).Showmodel; ???
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #899  
Old 21-01-2014, 09:28
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
mmm, no, i have another custom form for the search button, and i call it in initializeWizard with "CreateDirBrowseForm";

p.d. i forget to say.. i work with inno 5.5.4 not with innoultra

Last edited by Logrim; 21-01-2014 at 09:33.
Reply With Quote
  #900  
Old 21-01-2014, 09:44
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
mmm, no, i have another custom form for the search button, and i call it in initializeWizard with "CreateDirBrowseForm";

p.d. i forget to say.. i work with inno 5.5.4 not with innoultra

check your personal msg
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
Reply


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
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 22:55.


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