@lainz
I think it is a good idea to create a generic installer.
It can be possible to add some string after the version number but what you propose would be only windows friendly. It would be useful to know what programmers with lazarus on linux think about it.
It would be possible to determine the file to download by getting the web page :
http://sourceforge.net/projects/lazpaint/files/bin/and find a link to an exe file. Maybe this list can be accessed another way, you know like doing "dir" in the online folder. Maybe there is a URL syntax for it.
Otherwise it would be necessary to parse the html file. For example the last setup is in the html element
<tr title="lazpaint4.2_setup_win32.exe" class="file">
It's rather easy to find, provided the html scheme does not change.
I've search the web for lazpaint and wow, LazPaint 4.2 is on many download sites !
They say that the author of the program is Fabien Wang... lol