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
  #1  
Old 05-05-2014, 07:46
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
Work fine,, but i need the two messages OnEnter. I need something similar to your new EI demo altef,, for example when mouse down on option button, display two text.. one with "options text title" and one with "options text description". ohh,, i forget,, and when not button on mouse down, i like the text dissapears.. sorry for the disturb

Last edited by Logrim; 05-05-2014 at 07:49.
Reply With Quote
Sponsored Links
  #2  
Old 05-05-2014, 08:21
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
procedure MessageOnEnter(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\mouseover.wav') , $0001);
case hBtn of

NextBtn:
begin
MessageTitleLabel.Caption:=ExpandConstant('{cm:Sta rtInstallTitle}');
MessageLabel.Caption:=ExpandConstant('{cm:StartIns tall}');
end;

end;
end;

procedure MessageOnLeave(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\mouseleave.wav' ), $0001);
case hBtn of

NextBtn:
begin
MessageTitleLabel.Caption:='';
MessageLabel.Caption:='';
end;

end;
end;
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
Logrim (05-05-2014), papas (02-09-2016)
  #3  
Old 05-05-2014, 08:52
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
Thanks man,, work perfectly.. i look newbie on this... BEGIN, END... ains.. thanks a lot again man.
Reply With Quote
  #4  
Old 06-05-2014, 02:40
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
Altef,, the MessageOnEnter procedure works fine, but how change the finish button caption? i mean when finish, the caption is the StartTittle but i need to change to FinishTittle..
Reply With Quote
  #5  
Old 06-05-2014, 03:06
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
procedure MessageOnEnter(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\mouseover.wav') , $0001);
if WizardForm.CurPageID = wpFinished then
begin
case hBtn of
NextBtn:
begin
MessageTitleLabel.Caption:=ExpandConstant('Whateve r, blah, write here');
MessageLabel.Caption:=ExpandConstant('Whatever, blah, write here');
end;
end else begin
case hBtn of
NextBtn:
begin
MessageTitleLabel.Caption:=ExpandConstant('{cm:Sta rtInstallTitle}');
MessageLabel.Caption:=ExpandConstant('{cm:StartIns tall}');
end;
end;
end;
end;

Last edited by Razor12911; 06-05-2014 at 03:09.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Logrim (06-05-2014)
  #6  
Old 06-05-2014, 03:17
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
Thanks razor,, work like a charm :d.. i forgot to include wizardform in curpageid... ains..

Another problem... i hope,, really i hope is the last.. when i cancel the installation (external compression) even in 1% or 2%, the correct message of rollingback appears, but the setup dont quit.. i dont know why.. this is my cancel procedure:

Quote:
procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
sndPlaySound(ExpandConstant('{tmp}\click.wav'), $0001);
Confirm:=False;
if CurPageID=wpInstalling then SuspendProc;
if CurPageID=wpInstalling then
begin
ISDoneError:=True;
ISDoneCancel:=1;
CoderLabel.Hide;
PercentageLabel.Hide;
WizardForm.Progressgauge.Hide;
FileStatusLabel.Setbounds(350,325,500,15);
FileStatusLabel.Font.Color:=clRed;
FileStatusLabel.Caption:=ExpandConstant('{cm:Rolli ngFileStatusLabel}');
DelTree(ExpandConstant('{app}'), True, True, True);
end;
if CurPageID=wpInstalling then ResumeProc;
end;
Reply With Quote
  #7  
Old 06-05-2014, 03:23
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
begin
sndPlaySound(ExpandConstant('{tmp}\click.wav'), $0001);
Confirm:=False;
Cancel:=True;
if CurPageID=wpInstalling then SuspendProc;
if CurPageID=wpInstalling then
begin
ISDoneError:=True;
ISDoneCancel:=1;
CoderLabel.Hide;
PercentageLabel.Hide;
WizardForm.Progressgauge.Hide;
FileStatusLabel.Setbounds(350,325,500,15);
FileStatusLabel.Font.Color:=clRed;
FileStatusLabel.Caption:=ExpandConstant('{cm:Rolli ngFileStatusLabel}');
DelTree(ExpandConstant('{app}'), True, True, True);
end;
if CurPageID=wpInstalling then ResumeProc;
end;
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Logrim (06-05-2014)
  #8  
Old 07-05-2014, 08:58
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
i have a little problem.. i want the destock shorcut checked in the setup, but i dont find a way to work..

this is my shorcut procedures:

Quote:
procedure DesktopClick(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\Click.wav'), $0001);
if BtnGetChecked(hBtn) then CreateDLabel.Font.Color:=$20A5DA else CreateDLabel.Font.Color:=$008CFF;
end;

procedure DesktopLabelClick(Sender:TObject);
begin
BtnSetChecked(DesktopCheck, not BtnGetChecked(DesktopCheck));
DesktopClick(DesktopCheck);
end;
Thanks

P.D. Problem solved,, was easy... ains.. only adding " BtnSetChecked(DesktopCheck,True)" to wpwelcome in CurPageChanged..

Last edited by Logrim; 08-05-2014 at 15:49. Reason: solved
Reply With Quote
  #9  
Old 11-05-2014, 14:19
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
i need to know how see the installer in the taskbar please thanks for your help.

Last edited by Logrim; 15-05-2014 at 13:47. Reason: solved
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
Danik1B9 (19-06-2014)
  #10  
Old 15-05-2014, 13:49
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
hi, i would like to know if there is a way to show the installer pages in the taskbar when mousedown in the taskbar icon. thanks.
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
Danik1B9 (19-06-2014)
  #11  
Old 16-05-2014, 02:05
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
hi, i would like to know if there is a way to show the installer pages in the taskbar when mousedown in the taskbar icon. thanks.
use this dll bro.

WinTB 1.0.0.8 by David.D.Rocco
Attached Files
File Type: zip wintb.zip (23.9 KB, 41 views)
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
The Following 2 Users Say Thank You to y_thelastknight For This Useful Post:
Danik1B9 (19-06-2014), Logrim (16-05-2014)
  #12  
Old 16-05-2014, 02:51
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
Thanks y_thelastknight... the problem with wintb is that when i mousedown in taskbar setup icon, dont show the buttons and text, only de png that i set in background. My installer have a bmp mask.
Reply With Quote
  #13  
Old 16-05-2014, 23:08
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
How to make a botva button visible or invisible in ini file? i have botva buttons for redist checkboxes, and redist names in ini. i want that when i set not visible the directX label for example, the directx button not visible too. Now i have this in CuPageChanged and work well,, but i have to hide the label in the ini and the button in the script..

Quote:
//BtnSetVisibility(DirectXCheck,False);
DirectXLabel.Visible:=ExpandConstant('{code:Redist 1Name}') <> '';
Help please.. Thanks

Last edited by Logrim; 16-05-2014 at 23:12.
Reply With Quote
  #14  
Old 17-05-2014, 02:05
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
@logrim Contact me in fb.. i have to confirm something.
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #15  
Old 17-05-2014, 09:54
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
How to make a botva button visible or invisible in ini file? i have botva buttons for redist checkboxes, and redist names in ini. i want that when i set not visible the directX label for example, the directx button not visible too. Now i have this in CuPageChanged and work well,, but i have to hide the label in the ini and the button in the script..



Help please.. Thanks
BtnSetVisibility(DirectXCheck,ExpandConstant('{cod e:Redist 1Name}') <> '');
DirectXLabel.Visible:=ExpandConstant('{code:Redist 1Name}') <> '';
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
The Following User Says Thank You to y_thelastknight For This Useful Post:
Danik1B9 (19-06-2014)
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 20:06.


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