mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
Also check for the presence of RCT Classic
This commit is contained in:
@@ -555,10 +555,15 @@ Function un.onInit
|
||||
FunctionEnd
|
||||
|
||||
Function DoNotInstallInRCT2Folder
|
||||
IfFileExists "$INSTDIR\Data\g1.dat" exists notexists
|
||||
exists:
|
||||
IfFileExists "$INSTDIR\Data\g1.dat" datag1exists datag1notexists
|
||||
datag1exists:
|
||||
MessageBox MB_OK|MB_ICONSTOP `You cannot install OpenRCT2 to the same directory as RollerCoaster Tycoon 2.`
|
||||
Abort
|
||||
notexists:
|
||||
datag1notexists:
|
||||
IfFileExists "$INSTDIR\Assets\g1.dat" assetsg1exists assetsg1notexists
|
||||
assetsg1exists:
|
||||
MessageBox MB_OK|MB_ICONSTOP `You cannot install OpenRCT2 to the same directory as RollerCoaster Classic.`
|
||||
Abort
|
||||
assetsg1notexists:
|
||||
FunctionEnd
|
||||
; eof
|
||||
|
||||
Reference in New Issue
Block a user