MessageBox MB_OK "Setup cannot continue without the Transport Tycoon Deluxe Location!"
MessageBox MB_OK "Setup cannot continue without the Transport Tycoon Deluxe location!"
Abort
Abort
hasCD:
hasCD:
FunctionEnd
FunctionEnd
@ -495,12 +495,12 @@ Function CheckProcessorArchitecture
IntCmp $R0 64 Win64 0
IntCmp $R0 64 Win64 0
ClearErrors
ClearErrors
IntCmp ${APPBITS} 64 0 Done
IntCmp ${APPBITS} 64 0 Done
MessageBox MB_OKCANCEL|MB_ICONSTOP "You want to install the 64 bits OpenTTD on a 32 bits Operating System. This is not going to work. Please download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_OKCANCEL|MB_ICONSTOP "You are trying to install the 64-bit OpenTTD on a 32-bit operating system. This is not going to work. Please download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
GoTo Done
GoTo Done
Win64:
Win64:
ClearErrors
ClearErrors
IntCmp ${APPBITS} 64 Done 0
IntCmp ${APPBITS} 64 Done 0
MessageBox MB_OKCANCEL|MB_ICONINFORMATION "You want to install the 32 bits OpenTTD on a 64 bits Operating System. This is not adviced, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_OKCANCEL|MB_ICONINFORMATION "You are trying to install the 32-bit OpenTTD on a 64-bit operating system. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
GoTo Done
GoTo Done
Abort:
Abort:
Quit
Quit
@ -516,12 +516,12 @@ Function CheckWindowsVersion
StrCmp $R0 "win9x" 0 WinNT
StrCmp $R0 "win9x" 0 WinNT
ClearErrors
ClearErrors
StrCmp ${APPARCH} "win9x" Done 0
StrCmp ${APPARCH} "win9x" Done 0
MessageBox MB_OKCANCEL|MB_ICONSTOP "You want to install the Windows 2000, XP and Vista version on Windows 95, 98 or ME. This is will not work. Please download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_OKCANCEL|MB_ICONSTOP "You are trying to install the Windows 2000, XP and Vista version on Windows 95, 98 or ME. This is will not work. Please download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
GoTo Done
GoTo Done
WinNT:
WinNT:
ClearErrors
ClearErrors
StrCmp ${APPARCH} "win9x" 0 Done
StrCmp ${APPARCH} "win9x" 0 Done
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "You want to install the Windows 95, 98 and ME version on Windows 2000, XP or Vista. This is not adviced, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "You are trying to install the Windows 95, 98 and ME version on Windows 2000, XP or Vista. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort