diff --git a/CMakeModules/NSIS.template.in b/CMakeModules/NSIS.template.in index 959810a9d..186e5070c 100644 --- a/CMakeModules/NSIS.template.in +++ b/CMakeModules/NSIS.template.in @@ -35,12 +35,8 @@ !define NSI_PATH "${SOURCE_PATH}/admin/win/nsi" ;----------------------------------------------------------------------------- -; Increment installer revision number as part of this script. +; Installer version ;----------------------------------------------------------------------------- -!define /file REVISION_LAST ${NSI_PATH}/revision.txt -!define /math REVISION ${REVISION_LAST} + 1 -!delfile revision.txt -!appendfile revision.txt ${REVISION} !define VER_MAJOR "@CPACK_PACKAGE_VERSION_MAJOR@" !define VER_MINOR "@CPACK_PACKAGE_VERSION_MINOR@" diff --git a/admin/win/nsi/revision.txt b/admin/win/nsi/revision.txt deleted file mode 100644 index 3fdc173da..000000000 --- a/admin/win/nsi/revision.txt +++ /dev/null @@ -1 +0,0 @@ -122 \ No newline at end of file