View Single Post
  #81  
Old 05-05-2013, 04:10
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 adiga View Post
1-i wanna make 2 dvd's
setup-1.bin in dvd1
and setup-2.bin in dvd2
how can i edit that in script !!
find this line and
Code:
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
change like this
Code:
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
Quote:
2- how can i make logo.bmp Button in setup
when i click for logo open my website ^__^
in the script find this line
Code:
procedure InitializeWizard1();
and add this script under InitializeWizard1()
Code:
WizardForm.WizardBitmapImage2.Cursor:=crHand;
WizardForm.WizardBitmapImage2.OnClick:=@LogoLabelOnClick;
and add this script above InitializeWizard1()
Code:
procedure LogoLabelOnClick(Sender: TObject);
var
  ErrorCode: Integer;
  begin
  ShellExec('open', 'https://www.google.lk/', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode)
end;
its should be like this
Code:
procedure LogoLabelOnClick(Sender: TObject);
var
  ErrorCode: Integer;
  begin
  ShellExec('open', 'https://www.google.lk/', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode)
end;

procedure InitializeWizard1();
begin
  WizardForm.WizardBitmapImage2.Cursor:=crHand;
  WizardForm.WizardBitmapImage2.OnClick:=@LogoLabelOnClick;
Reply With Quote
The Following 4 Users Say Thank You to y_thelastknight For This Useful Post:
adiga (05-05-2013), amgad_800 (07-05-2013), Kurutucu (05-05-2013), skakmatch (20-05-2013)