is_KeyFinder icon indicating copy to clipboard operation
is_KeyFinder copied to clipboard

Nullsoft Installer script for Win32

Open bkpsu opened this issue 13 years ago • 4 comments
trafficstars

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).

bkpsu avatar Apr 01 '12 23:04 bkpsu

Very cool. Does it run the vcredist if necessary? And yeah, making the version number variable would be preferable.

ibsh avatar Apr 02 '12 08:04 ibsh

Vcredist is run in passive mode, but if it already exists, it can be cancelled..ill work on making version number variable.. On Apr 2, 2012 4:22 AM, "Ibrahim Sha'ath" < [email protected]> wrote:

Very cool. Does it run the vcredist if necessary? And yeah, making the version number variable would be preferable.


Reply to this email directly or view it on GitHub: https://github.com/ibsh/is_KeyFinder/pull/54#issuecomment-4874172

bkpsu avatar Apr 02 '12 10:04 bkpsu

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.

bkpsu avatar Apr 03 '12 01:04 bkpsu

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.

ibsh avatar Apr 03 '12 08:04 ibsh