|
|
|
#1
|
|||
|
|||
|
Can anyone here tell me how can i direct my setup to install a font without informing the user and the first priority of setup must be installing the font
Thanks |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
|
| The Following User Says Thank You to pratikpatel8982 For This Useful Post: | ||
GaMEr_2077 (28-05-2021) | ||
|
#3
|
|||
|
|||
|
is there any option in inno for example if component A is selected then the setup will extract specified file and if selected B then other specified file
Edit:- Files are embeded in installer |
|
#4
|
|||
|
|||
|
Quote:
Code:
if LowResourceCB.Checked then begin
ExtractTemporaryFile('low_ARC.ini');
ExtractTemporaryFile('low_CLS.ini');
end else begin
ExtractTemporaryFile('ARC.INI');
ExtractTemporaryFile('CLS.INI');
end;
|
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
GaMEr_2077 (07-06-2021) | ||
|
#5
|
|||
|
|||
|
Quote:
__________________
Who's Got Time To Play Games? Huh?? |
|
#6
|
||||
|
||||
|
Try like this
Code:
if LowResourceCB.Checked then begin
ExtractTemporaryFile('low_ARC.ini');
ExtractTemporaryFile('low_CLS.ini');
RenameFile(ExpandConstant('{tmp}\low_ARC.ini', '{tmp}\Arc.ini'));
RenameFile(ExpandConstant('{tmp}\low_CLS.ini', '{tmp}\Cls.ini'));
end else begin
ExtractTemporaryFile('ARC.INI');
ExtractTemporaryFile('CLS.INI');
end;
__________________
Haters gonna hate
|
| The Following 2 Users Say Thank You to KaktoR For This Useful Post: | ||
GaMEr_2077 (08-06-2021), Prince4 (08-06-2021) | ||
|
#7
|
|||
|
|||
|
How to show custom text instead of LABELCURRFILE
I know that we need to put .Hide in front of it to stop showing current file name but what to do to show custom text like Extracting or Unpacking...... etc THANKS |
|
#8
|
|||
|
|||
|
I also need that.....
|
|
#9
|
||||
|
||||
|
LABELCURFILE is not inside InnoSetup Support, maybe you mean 'StatusLabel' instead?
StatusLabel is showing 'Unpacking Files ...', FileNameLabel is showing current file. However, to make a new TLabel or TNewStaticText variable you can do something like this. Code:
var
MyText: TLabel;
procedure InitializeWizard();
begin
MyText := TLabel.Create(WizardForm);
with MyText do begin
Parent := WizardForm.InstallingPage;
Caption := 'My Text here'; // you can also use constants like '{cm:MyText}' with [CustomMessage] section if you like it to make multi langual
Left := ScaleX(1);
Top := ScaleY(1);
Width := ScaleX(150);
Height := ScaleY(12);
Wordwrap := False;
end;
end;
procedure CurPageChanged(CurPageID: integer);
if CurPageID = wpInstalling then begin
//Here you can hide (x.Hide) or show (x.Show) your variable
MyText.Show;
end;
end;
__________________
Haters gonna hate
|
| The Following 2 Users Say Thank You to KaktoR For This Useful Post: | ||
Epic Titan 69 (11-06-2021), GaMEr_2077 (11-06-2021) | ||
|
#10
|
|||
|
|||
|
There was a plugin for Inno Setup that allowed for bat file / console application output to be redirected to the inno Setup memo window instead of producing a cmd window.
The name seems to have slipped my mind - can anyone help? |
|
#11
|
||||
|
||||
|
Quote:
It has other libraries like cmdout.dll (by Ele) but I don't know if it's public. I've also attached here an example using version without libraries. |
| The Following 5 Users Say Thank You to Cesar82 For This Useful Post: | ||
GaMEr_2077 (17-06-2021), Gehrman (24-06-2021), Harsh ojha (02-07-2021), Masquerade (17-06-2021), pratikpatel8982 (17-06-2021) | ||
|
#12
|
|||
|
|||
|
Quote:
RIGHT?? |
|
#13
|
||||
|
||||
|
Quote:
![]() Tested with: Inno 5.5.1.ee2(unicode) Enhanced and Inno 6.2.0(unicode). Note: There're two separate libraries here. One is for Inno and the other is for Delphi. Preview:
__________________
- All life is an experiment. The more experiments you make the better. - |
| The Following 10 Users Say Thank You to Ele For This Useful Post: | ||
:( Sad8669 (17-06-2021), Carldric Clement (26-07-2021), Cesar82 (17-06-2021), ffmla (18-06-2021), GaMEr_2077 (18-06-2021), Gehrman (24-06-2021), Grumpy (18-06-2021), Harsh ojha (02-07-2021), Masquerade (17-06-2021), oo7 (18-09-2021) | ||
|
#14
|
|||
|
|||
|
@Ele, thanks your plugin works great in my tests. I tried the dll by BLACKFIRE69 however I could not get it to work.
Is there a way to stop my memo from echoing the same thing twice? Currently I have it set to echo the file currently being extracted however this means it echoes the same file over and over again until it moves onto the next file. Here's the current code: Code:
function ProgressCallback(OveralPct, CurrentPct: Integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): LongWord;
var
CurTick: DWORD;
begin
Memo.Lines.Add('Unpacking: ' + CurrentFile);
|
|
#15
|
||||
|
||||
|
Quote:
Last edited by Carldric Clement; 26-07-2021 at 08:26. |
![]() |
|
|
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 |