Inno setup 如何使用innosetup从属性文件读取值?
我正在尝试使用innnosetup从demo.properties文件读取值。这是我的demo.properties文件Inno setup 如何使用innosetup从属性文件读取值?,inno-setup,properties-file,Inno Setup,Properties File,我正在尝试使用innnosetup从demo.properties文件读取值。这是我的demo.properties文件hibernate.connection.username=James hibernate.connection.password=Jack hibernate.connection.url=jdbc:jtds:sqlserver://8080/clientDB hibernate.connection.driver\u class=net.sourceforge.jtds.j
hibernate.connection.username=James
hibernate.connection.password=Jack
hibernate.connection.url=jdbc:jtds:sqlserver://8080/clientDB
hibernate.connection.driver\u class=net.sourceforge.jtds.jdbc.driver
我想读取这个文件,并在用户界面中显示James、Jack和8080的值。
有人能告诉我如何只获取这些特定值吗?这里有一个指南:
- 在
部分使用Pascal脚本[code]
- 使用
()获取文件内容李>LoadStringsFromFile()
- 使用
循环迭代行for
- 使用
()查找Pos()
符号的位置=
- 使用
()从当前行中使用Copy()
=