View Single Post
  #569  
Old 28-05-2024, 13:29
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
I still need help with this
Earlier to read AppName from .ini file we used to:
Code:
#define AppName ReadIni(SourcePath + "Game\Installer.ini", "Installer", "Name", "")

[Setup]
AppName={#AppName}
Is it possible to do it using the new FNewINI command like:
Code:
[Setup]
AppName=ANewInI.ReadString('Installer', 'Name', '')


this tool is the CLI version of 'FNewINI' and can be used for preprocessing and automating everything at compile-time.

in the attachment, you'll find a simple example of how to read and configure the setup with the following INI file.



.
Attached Images
File Type: png 0a.png (13.7 KB, 130 views)
File Type: png 0b.png (11.7 KB, 135 views)
File Type: png 1.png (31.8 KB, 134 views)
File Type: png 2.png (28.3 KB, 132 views)
File Type: png 3.png (16.0 KB, 130 views)
File Type: png 4.png (22.4 KB, 134 views)
File Type: png 5.png (29.9 KB, 129 views)
File Type: png w.png (23.8 KB, 128 views)
File Type: png x.png (221.3 KB, 134 views)

Last edited by BLACKFIRE69; 10-06-2024 at 11:49.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (28-05-2024), Ele (29-05-2024), Fak Eid (28-05-2024), Jahan1373 (30-05-2024)