summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-02-20 17:21:26 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-02-20 17:25:37 (GMT)
commitf7b43132e3602b4f15000191ea5f8e4aefbb8245 (patch)
tree677725d7c216df65553a30718e9a24349696db57 /Swift/Packaging/nsis/swift.nsi
parenta8374bb64e4deb79e061fcce51b5dd0426b5b517 (diff)
downloadswift-contrib-f7b43132e3602b4f15000191ea5f8e4aefbb8245.zip
swift-contrib-f7b43132e3602b4f15000191ea5f8e4aefbb8245.tar.bz2
Adding translation to Windows installer
Diffstat (limited to 'Swift/Packaging/nsis/swift.nsi')
-rw-r--r--Swift/Packaging/nsis/swift.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/Packaging/nsis/swift.nsi b/Swift/Packaging/nsis/swift.nsi
index f8e592d..a5cc71a 100644
--- a/Swift/Packaging/nsis/swift.nsi
+++ b/Swift/Packaging/nsis/swift.nsi
@@ -82,6 +82,9 @@ File "..\..\QtUI\Swift\sounds\message-received.wav"
SetOutPath $INSTDIR\images
File "..\..\QtUI\Swift\images\logo-icon-32.png"
+SetOutPath $INSTDIR\translations
+!include translations-install.nsh
+
# create start menu item
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
@@ -152,7 +155,9 @@ section "Uninstall"
delete $INSTDIR\imageformats\qtiff4.dll
delete $INSTDIR\sounds\message-received.wav
delete $INSTDIR\images\logo-icon-32.png"
+ !include translations-uninstall.nsh
+ RmDir $INSTDIR\translations
RmDir $INSTDIR\Prerequisites
RmDir $INSTDIR\imageformats
RmDir $INSTDIR\images