mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 07:13:07 +01:00
Merge pull request #1035 from JarnoVgr/develop
Corrected installer version & added basic support for downgrading
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Version numbers to update
|
# Version numbers to update
|
||||||
!define /ifndef APPV_MAJOR 0
|
!define /ifndef APPV_MAJOR 0
|
||||||
!define /ifndef APPV_MINOR 2
|
!define /ifndef APPV_MINOR 0
|
||||||
!define /ifndef APPV_MAINT 0
|
!define /ifndef APPV_MAINT 2
|
||||||
!define /ifndef APPV_BUILD 0
|
!define /ifndef APPV_BUILD 0
|
||||||
!define /ifndef APPV_EXTRA "-beta"
|
!define /ifndef APPV_EXTRA "-beta"
|
||||||
|
|
||||||
@@ -488,9 +488,14 @@ DoUninstall: ; You have the same version as this installer. This allows you to
|
|||||||
Quit
|
Quit
|
||||||
|
|
||||||
InstallerIsOlder:
|
InstallerIsOlder:
|
||||||
MessageBox MB_OK|MB_ICONSTOP \
|
;MessageBox MB_OK|MB_ICONSTOP \
|
||||||
"You have a newer version of ${APPNAME}.$\nSetup will now exit."
|
; "You have a newer version of ${APPNAME}.$\nSetup will now exit."
|
||||||
Quit
|
;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:
|
FinishCallback:
|
||||||
ClearErrors
|
ClearErrors
|
||||||
|
|||||||
Reference in New Issue
Block a user