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 26-11-2015, 07:45
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 102
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
StatusMsg: Help

It would be possible to place Status Msg: at StatusLabel I do not use WizardForm.StatusLabel

Filename: {src}\support\{#Soft2}\vcredist_x86.exe; Parameters: /q; StatusMsg: Aguarde: Instalando {#Soft2}...; Check: Soft2 and CheckError

use
StatusLabel := TLabel.Create(WizardForm);
With StatusLabel do begin
Parent := WizardForm;
Caption := 'Extraindo arquivos...';
Font.Size := 10;
Font.Style := [fsBold];
Transparent := true;
SetBounds(90,120,300,30);
end;

I tried

StatusLabel := TLabel.Create(WizardForm);
With StatusLabel do begin
Parent := WizardForm;
Caption := WizardForm.StatusLabel.Caption;
Font.Size := 10;
Font.Style := [fsBold];
Transparent := true;
SetBounds(90,120,300,30);
end;

does not work

there is a way to put StatusMSG in StatusLabel?
without creating WizardForm.StatusLabel
Thanks
Reply With Quote
Sponsored Links
  #2  
Old 27-11-2015, 03:10
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Just change the position of the WizardForm.StatusLabel on CurStepChanged event,
and hide the StatusLabel in ssPostInstall

Code:
Filename: {src}\support\{#Soft2}\vcredist_x86.exe; Parameters: /q; StatusMsg: Aguarde: Instalando {#Soft2}...; Check: Soft2 and CheckError

Code:
StatusLabel := TLabel.Create(WizardForm);
With StatusLabel do 
begin
  Parent := WizardForm;  
  Caption := 'Extraindo arquivos...';
  Font.Size := 10;
  Font.Style := [fsBold];
  Transparent := true;
  SetBounds(90,120,300,30);
end;
Code:
procedure CurStepChanged(CurrentStep: TSetupStep);
var
  StatusLabel: TLabel;
begin
  if (CurrentStep = ssPostInstall) then
  begin
    WizardForm.StatusLabel.Setbounds(StatusLabel.Left, 
    StatusLabel.Top, StatusLabel.Width, StatusLabel.Height);
    StatusLabel.Hide;
  end else
    StatusLabel.Show;
end;
That answer your question?
Reply With Quote
The Following User Says Thank You to JRD! For This Useful Post:
buttignol (27-11-2015)
  #3  
Old 27-11-2015, 05:55
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Check your mp
Reply With Quote
  #4  
Old 27-11-2015, 05:58
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 102
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Thank you friend but could not make it work you can check my script thanks
Attached Files
File Type: rar Installer.rar (5.16 MB, 19 views)
Reply With Quote
  #5  
Old 27-11-2015, 07:10
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Try this:
Attached Files
File Type: rar Installer.rar (4.28 MB, 3 views)
Reply With Quote
The Following User Says Thank You to JRD! For This Useful Post:
buttignol (27-11-2015)
  #6  
Old 27-11-2015, 07:30
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
procedure CurStepChanged(CurStep: TSetupStep);
begin
#ifdef Soft1
if (CurStep = ssInstall) and not ISDoneError and (Soft1 = true) then
begin

StatusLabel.Caption:='Instalando {#Soft1}...';
end;
#endif
#ifdef Soft2
if (CurStep = ssInstall) and not ISDoneError and (Soft2 = true) then
begin

StatusLabel.Caption:='Instalando {#Soft2}...';
end;
#endif
#ifdef Soft3
if (CurStep = ssInstall) and not ISDoneError and (Soft3 = true) then
begin

StatusLabel.Caption:='Instalando {#Soft3}...';
end;
#endif
#ifdef Soft4
if (CurStep = ssInstall) and not ISDoneError and (Soft4 = true) then
begin

StatusLabel.Caption:='Instalando {#Soft4}...';
end;
#endif
end;
Reply With Quote
  #7  
Old 27-11-2015, 07:43
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 102
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Solved thanks "JRD" that's what I wanted
a big hug!
Reply With Quote
  #8  
Old 27-11-2015, 07:52
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
No prob bro
Reply With Quote
  #9  
Old 28-11-2015, 18:02
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
This post is not personal, just to help buttignol.

-Just Add or Remove redist:
Code:
[Redist]
#define DirectX "{src}\Support\DirectX\Jun2010\DXSETUP.exe"
#define VC2005 "{src}\Support\VCRedist\2005\vcredist"
;#define VC2008 "{src}\Support\VCRedist\2008\vcredist" 
;#define VC2010 "{src}\Support\VCRedist\2010\vcredist" 
;#define VC2012 "{src}\Support\VCRedist\2012\vcredist"
;#define VC2013 "{src}\Support\VCRedist\2013\vcredist"
-Custom messages:
Code:
[CustomMessages]
cmDirectX=Instalando Microsoft(R) Directx(R)...
cmVC2005x86=Instalando Microsoft(R) VisualC++ 2005 (x86)...
cmVC2005x64=Instalando Microsoft(R) VisualC++ 2005 (x64)...
cmVC2008x86=Instalando Microsoft(R) VisualC++ 2008 (x86)...
cmVC2008x64=Instalando Microsoft(R) VisualC++ 2008 (x64)...
cmVC2010x86=Instalando Microsoft(R) VisualC++ 2010 (x86)...
cmVC2010x64=Instalando Microsoft(R) VisualC++ 2010 (x64)...
cmVC2012x86=Instalando Microsoft(R) VisualC++ 2012 (x86)...
cmVC2012x64=Instalando Microsoft(R) VisualC++ 2012 (x64)...
cmVC2013x86=Instalando Microsoft(R) VisualC++ 2013 (x86)...
cmVC2013x64=Instalando Microsoft(R) VisualC++ 2013 (x64)...
cmInstallDirectX=Instalar: Microsoft(R) Directx(R)
cmInstallVC2005=Instalar: Microsoft(R) VisualC++ 2005
cmInstallVC2008=Instalar: Microsoft(R) VisualC++ 2008
cmInstallVC2010=Instalar: Microsoft(R) VisualC++ 2010
cmInstallVC2012=Instalar: Microsoft(R) VisualC++ 2012
cmInstallVC2013=Instalar: Microsoft(R) VisualC++ 2013






-Detect x86/x64 redist:





Changes:
-CancelButton is disabled on install redist
-Hand cursor on checkbox redist
Attached Files
File Type: rar Installer.rar (8.65 MB, 33 views)
Reply With Quote
The Following User Says Thank You to JRD! For This Useful Post:
buttignol (28-11-2015)
  #10  
Old 28-11-2015, 18:37
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 102
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Our My friend very good congratulations
I thank for their work
It is perfect
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
-+- COMPLETE - Inno Setup Script -+- Dante1995 Conversion Tutorials 119 30-06-2023 12:42
yener90's Inno Project Source Codes yener90 Conversion Tutorials 1475 21-10-2014 09:50
Frontlines: Fuel of War DCore PC Games - CD/DVD Conversions 6 31-05-2008 18:14



All times are GMT -7. The time now is 14:09.


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