summaryrefslogtreecommitdiff
path: root/packaging/windows/setup.nsi
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2011-01-07 17:21:08 +0200
committerBernd Wachter <bwachter-tmw@lart.info>2011-01-07 17:21:08 +0200
commitdfca3c3aa8144a1b1fbae49fbeaa94ed1307c067 (patch)
tree77f0c99feff2b910ec5a0a02508685b31d43a695 /packaging/windows/setup.nsi
parent7f944f5af98927f57484ef5273a25fd92180efb4 (diff)
downloadmana-dfca3c3aa8144a1b1fbae49fbeaa94ed1307c067.tar.gz
mana-dfca3c3aa8144a1b1fbae49fbeaa94ed1307c067.tar.bz2
mana-dfca3c3aa8144a1b1fbae49fbeaa94ed1307c067.tar.xz
mana-dfca3c3aa8144a1b1fbae49fbeaa94ed1307c067.zip
Add win32 package helper scripts, change README to README.txt for NSIS
Diffstat (limited to 'packaging/windows/setup.nsi')
-rw-r--r--packaging/windows/setup.nsi8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index 602fc29f..221b60d6 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -13,6 +13,8 @@
; -DPRODUCT_VERSION=0.1.`date +%Y%m%d`
; -DUPX=upx
; -DEXESUFFIX=/src
+;
+; Make sure that README has DOS line endings, and copy it to README.txt
CRCCheck on
SetCompress off
@@ -83,7 +85,7 @@ SetCompressor /SOLID lzma
; Finish page
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION RunMana
-!define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README$\""'
+!define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README.txt$\""'
!define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishImage
!define MUI_FINISHPAGE_LINK "Visit Mana website for the latest news, FAQs and support"
!define MUI_FINISHPAGE_LINK_LOCATION "http://themanaworld.org"
@@ -200,7 +202,7 @@ Section "Core files (required)" SecCore
File "${SRCDIR}\AUTHORS"
File "${SRCDIR}\COPYING"
File "${SRCDIR}\NEWS"
- File "${SRCDIR}\README"
+ File "${SRCDIR}\README.txt"
SetOutPath "$INSTDIR\data\fonts"
File "${SRCDIR}\data\fonts\*.ttf"
SetOutPath "$INSTDIR\data\graphics\gui"
@@ -252,7 +254,7 @@ SectionEnd
Section -AdditionalIcons
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\Mana\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
- CreateShortCut "$SMPROGRAMS\Mana\Readme.lnk" "notepad.exe" "$INSTDIR\README"
+ CreateShortCut "$SMPROGRAMS\Mana\Readme.lnk" "notepad.exe" "$INSTDIR\README.txt"
CreateShortCut "$SMPROGRAMS\Mana\FAQ.lnk" "$INSTDIR\docs\FAQ.txt"
CreateShortCut "$SMPROGRAMS\Mana\Uninstall.lnk" "$INSTDIR\uninst.exe"
SectionEnd