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
  #1081  
Old 02-07-2014, 20:01
MMR's Avatar
MMR MMR is offline
Registered User
 
Join Date: Mar 2012
Location: CAIRO - EGYPT
Posts: 8
Thanks: 97
Thanked 2 Times in 2 Posts
MMR is on a distinguished road
Send a message via Yahoo to MMR
Hi , I want the installer don't make AppName or DefaultDirName to use installer as abatch like this :
Reply With Quote
Sponsored Links
  #1082  
Old 04-07-2014, 00:29
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
Defaultdirname should be {sd}
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
MMR (04-07-2014)
  #1083  
Old 04-07-2014, 12:30
MMR's Avatar
MMR MMR is offline
Registered User
 
Join Date: Mar 2012
Location: CAIRO - EGYPT
Posts: 8
Thanks: 97
Thanked 2 Times in 2 Posts
MMR is on a distinguished road
Send a message via Yahoo to MMR
Quote:
Originally Posted by Razor12911 View Post
Defaultdirname should be {sd}
thanks Razor12911 but it didn't work well , after opening setup.exe file it work like this :


but if press browse & change the location it dosn't work like this :

please any help .
Reply With Quote
  #1084  
Old 04-07-2014, 14:28
Dante1995 Dante1995 is offline
Banned
 
Join Date: Feb 2014
Location: Black Hole
Posts: 297
Thanks: 116
Thanked 481 Times in 162 Posts
Dante1995 is on a distinguished road
try this

Last edited by Dante1995; 28-12-2014 at 20:54.
Reply With Quote
The Following User Says Thank You to Dante1995 For This Useful Post:
MMR (05-07-2014)
  #1085  
Old 05-07-2014, 07:54
MMR's Avatar
MMR MMR is offline
Registered User
 
Join Date: Mar 2012
Location: CAIRO - EGYPT
Posts: 8
Thanks: 97
Thanked 2 Times in 2 Posts
MMR is on a distinguished road
Send a message via Yahoo to MMR
Quote:
Originally Posted by Dante1995 View Post
try this
thanks but the same problem , you don't understand what I mean ,
I want the setup doesn't make folder to install the files ( setup don't use DefaultDirName ) just install files in any partition or folder
Reply With Quote
  #1086  
Old 09-07-2014, 03:32
Darkangel5 Darkangel5 is offline
Registered User
 
Join Date: Oct 2013
Location: FRANCE
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Darkangel5 is on a distinguished road
hello,

sorry to use google translation to translate.

I made an autorun (see screen).



I would like to know how to make a zoom effect passage of the mouse has on the button readme, manual etc etc.

I post a message there about 2 months and had me help razor12911
but I can not do
So if anyone has a script to help me would be nice ca

thank you
Reply With Quote
  #1087  
Old 11-07-2014, 06: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
One little question, please help me in you can

i have a botva2 button, this:

Quote:
InstallGame1Btn:=BtnCreate(WizardForm.Handle,55,84 ,15,15,'AutorunMainBtn.png',0,False);
BtnSetEvent(InstallGame1Btn,BtnClickEventID,CallBa ckAddr('InstallGame1BtnClick'));
BtnSetEvent(InstallGame1Btn,BtnMouseEnterEventID,C allBackAddr('BtnEnter'));
BtnSetCursor(InstallGame1Btn,GetSysCursorHandle(32 649));
and i have a label for that button. i want to have the same setbounds in the label that the button, but, and this is the problem, i want if i have to positioning the button in another point of the autorun, move the label at the same position automatly.. i hope you understand my problem.

I want something like this, but with button not work.
SetBounds((InstallGame1Btn.Left + InstallGame1Btn.Width) + 10,0,0,0);

This is the label:
Quote:
InstallGame1Label:=TLabel.Create(WizardForm);
InstallGame1Label.Parent:=WizardForm;
InstallGame1Label.SetBounds(75,84,0,0);
InstallGame1Label.Font.Name:='Verdana';
InstallGame1Label.Font.Style:=[fsBold];
InstallGame1Label.Font.Color:=$C0C0C0; //Light Gray;
InstallGame1Label.Font.Size:=9;
InstallGame1Label.Caption:=ExpandConstant('{#Game1 Name}');
InstallGame1Label.OnMouseDown:=@WFMouseDown;
InstallGame1LabelS:=TLabel.Create(WizardForm);
with InstallGame1LabelS do begin
Parent:=WizardForm;
SetBounds(75+1,84+1,0,0);
Font.Name:='Verdana';
Font.Style:=[fsBold];
Font.Color:=clBlack;
Font.Size:=9;
SendToBack;
Caption:=ExpandConstant('{#Game1Name}');
OnMouseDown:=@WFMouseDown;
end;
Thanks

Edit: anyone know how to make a label color semitransparent?

Last edited by Logrim; 11-07-2014 at 06:38.
Reply With Quote
  #1088  
Old 11-07-2014, 15:59
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
@Darkangel5

Fix the lines where there are errors, using phone in bed, not even using a computer.
first create a timer like this:
var
FontTimer: TTimer;
InstallMouseMove: Boolean;

second create the Timer's procedure

procedure FontOnTimer(Sender: TObject);
begin
if InstallMouseMove and (installlabel.font.size < 18) then
installlabel.font.size:=installlabel.font.size:= + 1;
if not InstallMouseMove and (installlabel.font.size > 12) then
installlabel.font.size:=installlabel.font.size:= - 1;
end;

the label's mouse enter and leave

procedure InstallLabelOnEnter(Sender: TObject);
begin
InstallMouseMove:=True;
end;

procedure InstallLabelOnLeave(Sender: TObject);
begin
InstallMouseMove:=False;
end;

now at initializewizard do this

InstallLabel.OnMouseLeave:=@InstallLabelOnLeave;
InstallLabel.OnMouseEnter:=@InstallLabelOnEnter;
FontTimer:=TTimer.Create(WizardForm)
with FontTimer do
begin
OnTimer:=@FontOnTimer;
Interval:=10;
Enabled:=True;
end;

installlabel is the existing label.
Reply With Quote
  #1089  
Old 11-07-2014, 16:09
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
Quote:
Originally Posted by Logrim View Post
One little question, please help me in you can

i have a botva2 button, this:



and i have a label for that button. i want to have the same setbounds in the label that the button, but, and this is the problem, i want if i have to positioning the button in another point of the autorun, move the label at the same position automatly.. i hope you understand my problem.

I want something like this, but with button not work.
SetBounds((InstallGame1Btn.Left + InstallGame1Btn.Width) + 10,0,0,0);

This is the label:


Thanks

Edit: anyone know how to make a label color semitransparent?
these botva2 buttons are longintegers, looks at the functions and the variables, they are longint and longit doesn't have left, nor top and stuff like that but you can get those values by doing this:
var
Pos: TRect;
begin
BtnGetPosition(InstallGame1Btn,Pos.Left,Pos.Top,Po s.Right,Pos.Bottom);
//Right is Width and and Bottom is Height
SetBounds((Pos.Left + Pos.Right) + 10,0,0,0);
end;
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Logrim (11-07-2014)
  #1090  
Old 11-07-2014, 16:20
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
Quote:
Originally Posted by MMR View Post
thanks Razor12911 but it didn't work well , after opening setup.exe file it work like this :


but if press browse & change the location it dosn't work like this :

please any help .
[setup]
defaultdirname={sd}

[code]
procedure DirEditOnChange(Sender:TObject);
begin
WizardForm.DirEdit.Text:=AddBackSlash(ExtractFileD rive(WizardForm.DirEdit.Text));
end;

procedure InitializeWizard;
begin
WizardForm.DirEdit.OnChange:=@DirEditOnChange;
end;
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
MMR (12-07-2014)
  #1091  
Old 12-07-2014, 09:16
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
Quote:
Originally Posted by Logrim View Post
One little question, please help me in you can

i have a botva2 button, this:



and i have a label for that button. i want to have the same setbounds in the label that the button, but, and this is the problem, i want if i have to positioning the button in another point of the autorun, move the label at the same position automatly.. i hope you understand my problem.

I want something like this, but with button not work.
SetBounds((InstallGame1Btn.Left + InstallGame1Btn.Width) + 10,0,0,0);

This is the label:


Thanks

Edit: anyone know how to make a label color semitransparent?
semitransparent font color? I don't think it is possible under VCL well maybe it is but is possible in FMX where color is written in this manner $AARRGGBB where the AA is the alpha/transparent color level but in VCL/Inno Ssetup it is something like this $AABBGGRR where AA is normal when it is < 60 but when it is > 60 it is black.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Logrim (13-07-2014)
  #1092  
Old 13-07-2014, 00:27
aj12345 aj12345 is offline
Registered User
 
Join Date: Oct 2013
Location: bih
Posts: 29
Thanks: 46
Thanked 3 Times in 3 Posts
aj12345 is on a distinguished road
How to add disk space required and avaible.
Reply With Quote
  #1093  
Old 18-07-2014, 19:57
MMR's Avatar
MMR MMR is offline
Registered User
 
Join Date: Mar 2012
Location: CAIRO - EGYPT
Posts: 8
Thanks: 97
Thanked 2 Times in 2 Posts
MMR is on a distinguished road
Send a message via Yahoo to MMR
Quote:
Originally Posted by Razor12911 View Post
[setup]
defaultdirname={sd}

[code]
procedure DirEditOnChange(Sender:TObject);
begin
WizardForm.DirEdit.Text:=AddBackSlash(ExtractFileD rive(WizardForm.DirEdit.Text));
end;

procedure InitializeWizard;
begin
WizardForm.DirEdit.OnChange:=@DirEditOnChange;
end;
thanks "Razor12911" but thier's error ;
i choose the location "C:\fraps\" but it make new folder automatically :

and if i press ok the location change to "C:\" without any dir then it give me error :

please help if you can .
Reply With Quote
  #1094  
Old 09-09-2014, 06:25
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 question, i'm trying to add wintb to my code, and i can add it without errors, but the taskbar preview not show correctly, my code have mask, and only show in preview the picture, but not the welcome letters or the buttons.. how can i solve it? i hope you can understand my problem.

Last edited by Logrim; 09-09-2014 at 06:29.
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
y_thelastknight (09-09-2014)
  #1095  
Old 09-09-2014, 07: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
Quote:
Originally Posted by Logrim View Post
i have a question, i'm trying to add wintb to my code, and i can add it without errors, but the taskbar preview not show correctly, my code have mask, and only show in preview the picture, but not the welcome letters or the buttons.. how can i solve it? i hope you can understand my problem.
it's happening because in task bar shows your "mask" form and not form with text, i have same problem in my Enhanced Installer.
Reply With Quote
The Following User Says Thank You to altef_4 For This Useful Post:
y_thelastknight (09-09-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 11:55.


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