Changeset - r24170:83286a5bd213
[Not reviewed]
master
0 4 0
duck - 4 years ago 2020-05-05 20:05:40
me@duck.me.uk
Fix #8102: Update Windows installer strings to reference newer Windows version (#8114)

* Fix #8102: Update Windows installer strings to reference versions newer than 7

* Fix 2c53390: Version strings incorrectly capitalised
4 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
os/windows/installer/install.nsi
Show inline comments
 
@@ -599,12 +599,12 @@ Function CheckWindowsVersion
 
	StrCmp $R0 "win9x" 0 WinNT
 
	ClearErrors
 
	StrCmp ${APPARCH} "win9x" Done 0
 
	MessageBox MB_YESNO|MB_ICONSTOP "You are trying to install the Windows XP SP3, Vista and 7 version on Windows 95, 98, ME, 2000 and XP without SP3. This is will not work. Please download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
 
	MessageBox MB_YESNO|MB_ICONSTOP "You are trying to install the Windows XP SP3 and newer version on Windows 95, 98, ME, 2000, or XP without SP3. This will not work - please download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
 
	GoTo Done
 
WinNT:
 
	ClearErrors
 
	StrCmp ${APPARCH} "win9x" 0 Done
 
	MessageBox MB_YESNO|MB_ICONEXCLAMATION "You are trying to install the Windows 95, 98, 2000 and XP without SP3 version on Windows XP SP3, Vista or 7. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
 
	MessageBox MB_YESNO|MB_ICONEXCLAMATION "You are trying to install the Windows 95, 98, 2000 and XP without SP3 version on Windows XP SP3 or newer. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
 
Abort:
 
	Quit
 
Done:
os/windows/installer/version_win32.txt
Show inline comments
 
!define APPBITS 32          ; Define number of bits for the architecture
 
!define EXTRA_VERSION "XP SP3, Vista and 7"
 
!define EXTRA_VERSION "XP SP3 and newer"
 
!define APPARCH "win32"     ; Define the application architecture
 
!define BINARY_DIR "${PATH_ROOT}objs\win32\Release"
 
InstallDir "$PROGRAMFILES32\OpenTTD\"
os/windows/installer/version_win64.txt
Show inline comments
 
!define APPBITS 64          ; Define number of bits for the architecture
 
!define EXTRA_VERSION "XP, Vista and 7"
 
!define EXTRA_VERSION "XP and newer"
 
!define APPARCH "win64"     ; Define the application architecture
 
!define BINARY_DIR "${PATH_ROOT}objs\x64\Release"
 
InstallDir "$PROGRAMFILES64\OpenTTD\"
os/windows/installer/version_win9x.txt
Show inline comments
 
!define APPBITS 32          ; Define number of bits for the architecture
 
!define EXTRA_VERSION "95, 98, ME, 2000 and XP without SP3"
 
!define EXTRA_VERSION "95, 98, ME, 2000 and XP SP2 or older"
 
!define APPARCH "win9x"     ; Define the application architecture
 
!define BINARY_DIR "${PATH_ROOT}objs\release"
 
InstallDir "$PROGRAMFILES32\OpenTTD\"
0 comments (0 inline, 0 general)