Archive: Can i read .properties file with nsis?


Can i read .properties file with nsis?
Can i read .properties file with nsis,i mean not full file,only the specific property?


Do you mean java properties files?
These looks like ini files, but since they don't have sections, you can't use ReadINIStr.
So as far as I can see, the only way is to read each line in the file until you find the specified property.

(You can actually trick it by copying the property file, adding "[dummy-section]" at the beginning of the file, and then using ReadINIStr with "dummy-section" as section name...)


Or try ConfigRead from the manual.

Stu