mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #1035 from JarnoVgr/develop
Corrected installer version & added basic support for downgrading
This commit is contained in:
commit
3ba5522cea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue