1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Merge pull request #860 from JarnoVgr/develop

Build server friendly installer
This commit is contained in:
Ted John
2015-02-22 22:54:41 +00:00

View File

@@ -1,9 +1,9 @@
# Version numbers to update
!define APPV_MAJOR 0
!define APPV_MINOR 2
!define APPV_MAINT 0
!define APPV_BUILD 0
!define APPV_EXTRA "-beta"
!define /ifndef APPV_MAJOR 0
!define /ifndef APPV_MINOR 2
!define /ifndef APPV_MAINT 0
!define /ifndef APPV_BUILD 0
!define /ifndef APPV_EXTRA "-beta"
!define APPNAME "OpenRCT2" ; Define application name
!define APPVERSION "${APPV_MAJOR}.${APPV_MINOR}.${APPV_MAINT}${APPV_EXTRA}" ; Define application version
@@ -41,7 +41,10 @@ Name "${APPNAMEANDVERSION} ${APPBITS}-bit for Windows ${EXTRA_VERSION}"
; NOTE: Keep trailing backslash!
InstallDirRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenRCT2" "Install Folder"
OutFile "openrct2-${APPVERSION}-${APPARCH}.exe"
!ifndef OUTFILE
!define OUTFILE "openrct2-${APPVERSION}-${APPARCH}.exe"
!endif
OutFile "${OUTFILE}"
CRCCheck force
ShowInstDetails show