khanam
khanam

Reputation: 345

How to read values from property file using innosetup?

I'm trying to read values from demo.properties file using innnosetup.Here is my demo.properties file hibernate.connection.username=James hibernate.connection.password=Jack hibernate.connection.url=jdbc:jtds:sqlserver://8080/clientDB hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver I want to read this file and show values as James,Jack and 8080 in user interface. Can anybody guide me how to get only those particular values?

Upvotes: 0

Views: 2083

Answers (1)

Wosi
Wosi

Reputation: 45263

Here's a guide:

In case you need more functions take a look here: http://www.jrsoftware.org/ishelp/index.php?topic=scriptfunctions

A problem close to yours has been solved here: Find and read specific string from config file with Pascal Script in Inno Setup

Upvotes: 2

Related Questions