Conversation
|
Very cool. Does it run the vcredist if necessary? |
|
Vcredist is run in passive mode, but if it already exists, it can be
|
|
Version.txt stores the version as a variable, keeping the .nsi script stable between builds. Could be possible to auto-gen the text file as part of your build process. There is another way, which pulls the version # out of the KeyFinder.exe file automagically to use in the installer, but currently the .exe file doesn't have version info stored in it. |
|
OK, I think the version in the executable comes from the .rc file in Qt. I'll take a look at that at some point. Cheers. |
I put together a quick installer script for KeyFinder, which will create a binary install package (easier to deal with than a zip archive).
One thing to do possibly, is make the version # (line 13 in the script) variable, based off some variable (like VERSION.h or a system environment variable).