equal
deleted
inserted
replaced
74 ;----------------------------------------------------- |
74 ;----------------------------------------------------- |
75 ; New custom page to show UNICODE and MSLU information |
75 ; New custom page to show UNICODE and MSLU information |
76 Page custom ShowWarningsPage |
76 Page custom ShowWarningsPage |
77 |
77 |
78 !define MUI_FINISHPAGE_RUN "$INSTDIR\openttd.exe" |
78 !define MUI_FINISHPAGE_RUN "$INSTDIR\openttd.exe" |
79 !define MUI_FINISHPAGE_LINK "Visit OpenTTD's homepage" |
79 !define MUI_FINISHPAGE_LINK "Visit the OpenTTD site for latest news, FAQs and downloads" |
80 !define MUI_FINISHPAGE_LINK_LOCATION "${APPURLLINK}" |
80 !define MUI_FINISHPAGE_LINK_LOCATION "${APPURLLINK}" |
81 !define MUI_FINISHPAGE_NOREBOOTSUPPORT |
81 !define MUI_FINISHPAGE_NOREBOOTSUPPORT |
82 !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt" |
82 !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt" |
83 !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED |
83 !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED |
84 |
84 |
111 File ${PATH_ROOT}data\*.grf |
111 File ${PATH_ROOT}data\*.grf |
112 File ${PATH_ROOT}data\opntitle.dat |
112 File ${PATH_ROOT}data\opntitle.dat |
113 ; Copy scenario files (don't choke if they don't exist) |
113 ; Copy scenario files (don't choke if they don't exist) |
114 SetOutPath "$INSTDIR\scenario\" |
114 SetOutPath "$INSTDIR\scenario\" |
115 File /nonfatal ${PATH_ROOT}scenario\*.scn |
115 File /nonfatal ${PATH_ROOT}scenario\*.scn |
|
116 |
|
117 ; Copy heightmap files (don't choke if they don't exist) |
|
118 SetOutPath "$INSTDIR\scenario\heightmap\" |
|
119 File /nonfatal ${PATH_ROOT}scenario\heightmap\*.* |
116 |
120 |
117 ; Copy the rest of the stuff |
121 ; Copy the rest of the stuff |
118 SetOutPath "$INSTDIR\" |
122 SetOutPath "$INSTDIR\" |
119 |
123 |
120 ; Copy text files |
124 ; Copy text files |
212 MessageBox MB_YESNO|MB_ICONQUESTION \ |
216 MessageBox MB_YESNO|MB_ICONQUESTION \ |
213 "Remove the scenario folders located at $\"$INSTDIR\scenario?$\"$\n \ |
217 "Remove the scenario folders located at $\"$INSTDIR\scenario?$\"$\n \ |
214 If you choose Yes, your scenarios will be deleted." \ |
218 If you choose Yes, your scenarios will be deleted." \ |
215 IDYES RemoveScen IDNO NoRemoveScen |
219 IDYES RemoveScen IDNO NoRemoveScen |
216 RemoveScen: |
220 RemoveScen: |
|
221 Delete "$INSTDIR\scenario\heightmap*" |
|
222 RMDir "$INSTDIR\scenario\heightmap" |
217 Delete "$INSTDIR\scenario\*" |
223 Delete "$INSTDIR\scenario\*" |
218 RMDir "$INSTDIR\scenario" |
224 RMDir "$INSTDIR\scenario" |
219 NoRemoveScen: |
225 NoRemoveScen: |
220 |
226 |
221 ; Remove from registry... |
227 ; Remove from registry... |