Archive: Version Stamping


Version Stamping
Okay I have tried searching the forums for this answer before posting and came up with this thread however its not working.

That code is working correctly and im getting the version number however when i do

OutFile "Program_Setup_${Version}.exe"


i end up with a file named
Program_Setup_${Version}.exe
anyone have any ideas as to why this isn't working. I have the newest version of NSIS (2.11)

First you need to describe Version-constant:
!define Version 1.1


Have you checked the whole script through?
You need this at the top of your script:

!system "GetVersion.exe"
!include "Version.txt"

-Stu


yeah I fixed it its cause it wasn't at the top was in the oninit. moved it and it worked.

thanks.