Archive: Read Version for Text File


Read Version for Text File
I was wondering if there is a way to read the version from a text file. So for example if I wanted to have version 2.0 all I would have to do is make a txt file so the code would go in and get the version so I would not have to go in and change the code every time a different version is made.

If you need further explanation let me know.


http://nsis.sourceforge.net/Search_for_text_in_file


thanks.. how would you get that to run before you set

!define PRODUCT_VERSION "1.0"

Is that possible? or is there another way it has to be done?


http://nsis.sourceforge.net/Invoking...n_compile-time

-Stu


Cool that worked perfectly thanks