From 16092c084f2c41a99ed1ee22fc400a8c40fc68ee Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 22 Aug 2010 16:09:32 +0100
Subject: Include unbundled sound in Windows installer


diff --git a/Swift/Packaging/nsis/swift.nsi b/Swift/Packaging/nsis/swift.nsi
index 1479ba6..74c987b 100644
--- a/Swift/Packaging/nsis/swift.nsi
+++ b/Swift/Packaging/nsis/swift.nsi
@@ -62,6 +62,9 @@ File "..\..\QtUI\Swift\imageformats\qmng4.dll"
 File "..\..\QtUI\Swift\imageformats\qsvg4.dll"
 File "..\..\QtUI\Swift\imageformats\qtiff4.dll"
 
+SetOutPath $INSTDIR\sounds
+File "..\..\QtUI\Swift\sounds\message-received.wav"
+
 # create start menu item
 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
 	     CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
@@ -127,6 +130,7 @@ section "Uninstall"
     delete $INSTDIR\imageformats\qmng4.dll
     delete $INSTDIR\imageformats\qsvg4.dll
     delete $INSTDIR\imageformats\qtiff4.dll
+    delete $INSTDIR\sounds\message-received.wav
 
     RmDir $INSTDIR\Prerequisites
     RmDir $INSTDIR\imageformats
-- 
cgit v0.10.2-6-g49f6