You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ba2c561
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: install/win/installer.nsi
+26-40Lines changed: 26 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,24 @@
1
1
;NSIS OpenXcom Windows Installer
2
2
3
+
;--------------------------------
4
+
;Defines
5
+
6
+
!define GAME_NAME "OpenXcom"
7
+
!define GAME_VERSION "0.9"
8
+
!define GAME_AUTHOR "OpenXcom Developers"
9
+
3
10
;--------------------------------
4
11
;Includes
5
12
6
13
!include"MUI2.nsh"
7
14
!include"ZipDLL.nsh"
8
15
!include"FileFunc.nsh"
9
16
!include"x64.nsh"
17
+
!include"oxlang.nsh"; Language strings
10
18
11
19
;--------------------------------
12
20
;General
13
21
14
-
!define GAME_NAME "OpenXcom"
15
-
!define GAME_VERSION "0.9"
16
-
!define GAME_AUTHOR "OpenXcom Developers"
17
-
18
22
;Name and file
19
23
Name"${GAME_NAME} ${GAME_VERSION}"
20
24
OutFile"openxcom-v${GAME_VERSION}-win.exe"
@@ -67,14 +71,8 @@ FunctionEnd
67
71
;--------------------------------
68
72
;Pages
69
73
70
-
;Language strings
71
-
LangString PAGE_UfoFolder ${LANG_ENGLISH}"${GAME_NAME} requires a copy of UFO: Enemy Unknown / X-Com: UFO Defense. You can skip this step if you're upgrading an existing installation.$\n$\nSetup will copy the required files from the following folder. To copy from a different folder, click Browse and select another folder. Click Next to continue."
LangString DESC_SecMain ${LANG_ENGLISH}"Files required to run ${GAME_NAME}."
293
-
LangString DESC_SecPatch ${LANG_ENGLISH}"Fixes errors in the original X-Com data. Recommended for first installations. (requires an internet connection)"
294
-
LangString DESC_SecMusic ${LANG_ENGLISH}"Adlib/SoundBlaster music recording. Fixes Windows playback issues. (requires an internet connection)"
295
-
LangString DESC_SecDesktop ${LANG_ENGLISH}"Creates a shortcut in the desktop to play ${GAME_NAME}."
LangString PAGE_UfoFolder ${LANG_ENGLISH}"${GAME_NAME} requires a copy of UFO: Enemy Unknown / X-Com: UFO Defense. You can skip this step if you're upgrading an existing installation.$\n$\nSetup will copy the required files from the following folder. To copy from a different folder, click Browse and select another folder. Click Next to continue."
LangString DESC_SecPatch ${LANG_ENGLISH}"Fixes errors in the original X-Com data. Recommended for first installations. (requires an internet connection)"
0 commit comments