View Single Post
Old 6th January 2008, 18:31   #13
Afrow UK
Afrow UK's Avatar
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You're right, that doesn't work.
This does though. Used a bit of a hack to strip the v from the front using /date:

!define VERSION_A 2.34
!define /date VERSION_B %${NSIS_VERSION}
!if `${VERSION_B}` < `${VERSION_A}`
!error `NSIS version ${VERSION_A} or greater required. You are using ${NSIS_VERSION}.`

Afrow UK is offline   Reply With Quote