mscoville
22nd November 2005 13:35 UTC
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)
glory_man
22nd November 2005 14:09 UTC
First you need to describe Version-constant:
!define Version 1.1
Afrow UK
22nd November 2005 14:20 UTC
Have you checked the whole script through?
You need this at the top of your script:
!system "GetVersion.exe"
!include "Version.txt"
-Stu
mscoville
22nd November 2005 14:56 UTC
yeah I fixed it its cause it wasn't at the top was in the oninit. moved it and it worked.
thanks.