Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 19th July 2006, 00:34   #1
UVV
Junior Member
 
Join Date: Jan 2006
Location: Russia, Norilsk
Posts: 22
about version compare

should i set this variables manually or there is another method?

!ifndef VERSION
!define VERSION '2.5.7.1'
!define VER_MAJOR "2"
!define VER_MINOR "5"
!define VER_REVISION "7"
!define VER_BUILD "1"
!endif
UVV is offline   Reply With Quote
Old 19th July 2006, 15:19   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
code:
!define VERSION ${VER_MAJOR}.${VER_MINOR}.${VER_REVISION}.${VER_BUILD}

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 21st July 2006, 01:58   #3
UVV
Junior Member
 
Join Date: Jan 2006
Location: Russia, Norilsk
Posts: 22
thanks
UVV is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump