Merge pull request #1035 from JarnoVgr/develop

Corrected installer version & added basic support for downgrading
This commit is contained in:
Ted John 2015-05-01 12:00:36 +01:00
commit 3ba5522cea
1 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Version numbers to update
!define /ifndef APPV_MAJOR 0
!define /ifndef APPV_MINOR 2
!define /ifndef APPV_MAINT 0
!define /ifndef APPV_MINOR 0
!define /ifndef APPV_MAINT 2
!define /ifndef APPV_BUILD 0
!define /ifndef APPV_EXTRA "-beta"
@ -488,9 +488,14 @@ DoUninstall: ; You have the same version as this installer. This allows you to
Quit
InstallerIsOlder:
MessageBox MB_OK|MB_ICONSTOP \
"You have a newer version of ${APPNAME}.$\nSetup will now exit."
Quit
;MessageBox MB_OK|MB_ICONSTOP \
; "You have a newer version of ${APPNAME}.$\nSetup will now exit."
;Quit
MessageBox MB_OK|MB_ICONSTOP \
"You have a newer version of ${APPNAME}.$\nPlease note downgrading is currently untested."
MessageBox MB_OK|MB_ICONQUESTION \
"Welcome to ${APPNAMEANDVERSION} Setup.$\nThis will allow you to downgrade from version $OLDVERSION."
Goto FinishCallback
FinishCallback:
ClearErrors