summaryrefslogtreecommitdiff
path: root/packaging/windows/setup.nsi
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-24 14:29:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-24 14:29:57 +0300
commitb0e0666cc11fe62c6dc81a10cfb8f67cc4b8f8db (patch)
treecb76e46bb82d4fbfc7f809b604ca06d7085957b7 /packaging/windows/setup.nsi
parentd684a9bef13752dcbe9c142a6f54bafcba952289 (diff)
downloadmv-b0e0666cc11fe62c6dc81a10cfb8f67cc4b8f8db.tar.gz
mv-b0e0666cc11fe62c6dc81a10cfb8f67cc4b8f8db.tar.bz2
mv-b0e0666cc11fe62c6dc81a10cfb8f67cc4b8f8db.tar.xz
mv-b0e0666cc11fe62c6dc81a10cfb8f67cc4b8f8db.zip
Add evol branding to windows installer.
Diffstat (limited to 'packaging/windows/setup.nsi')
-rw-r--r--packaging/windows/setup.nsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index 1a4beb87c..75aa86bc4 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -353,6 +353,20 @@ Section /o "Portable" SecPortable
File "portable.xml"
SectionEnd
+Section "Evol shortcuts" SecEvol
+ SetOutPath "$INSTDIR"
+ CreateDirectory "$INSTDIR\data\evol"
+ CreateDirectory "$INSTDIR\data\evol\images"
+
+ SetOutPath "$INSTDIR"
+ File "${SRCDIR}\data\evol\evol.manaplus"
+ SetOutPath "$INSTDIR\data\evol\images"
+ File "${SRCDIR}\data\evol\images\*.png"
+
+ CreateShortCut "$SMPROGRAMS\Mana\EvolOnline.lnk" '"$INSTDIR\manaplus.exe"' '"$INSTDIR\evol.manaplus"'
+ CreateShortCut "$DESKTOP\EvolOnline.lnk" '"$INSTDIR\manaplus.exe"' '"$INSTDIR\evol.manaplus"'
+SectionEnd
+
Section "Translations" SecTrans
SetOutPath "$INSTDIR"
File /nonfatal /r "${SRCDIR}\translations"
@@ -364,6 +378,7 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecShortcuts} "Create game shortcuts and register extensions."
!insertmacro MUI_DESCRIPTION_TEXT ${SecMusic} "Background tmw music. (If selected the tmw music will be downloaded from the internet.)"
!insertmacro MUI_DESCRIPTION_TEXT ${SecPortable} "Portable client. (If selected client will work as portable client.)"
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecEvol} "Create shortcuts for Evol Online."
!insertmacro MUI_DESCRIPTION_TEXT ${SecTrans} "Translations for the user interface. Uncheck this component to leave it in English."
!insertmacro MUI_FUNCTION_DESCRIPTION_END