summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-01 16:13:17 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-01 16:13:37 (GMT)
commitc77f6df6091983dab9bea211de366f6c81f7ef90 (patch)
tree63b50225f2ce9cb6d43d896f0553b0332f97227e /Swift
parent847e2e0e5f3e4009e2b96d7f7c77c00b7f70fc38 (diff)
downloadswift-contrib-c77f6df6091983dab9bea211de366f6c81f7ef90.zip
swift-contrib-c77f6df6091983dab9bea211de366f6c81f7ef90.tar.bz2
Fix for previous NSIS commit
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Packaging/nsis/swift.nsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Packaging/nsis/swift.nsi b/Swift/Packaging/nsis/swift.nsi
index 6d6b907..ce108c4 100644
--- a/Swift/Packaging/nsis/swift.nsi
+++ b/Swift/Packaging/nsis/swift.nsi
@@ -33,13 +33,13 @@ SetCompressor lzma
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
-section "isrunning"
+Function .onInit
FindProcDLL::FindProc "Swift.exe"
IntCmp $R0 1 0 notRunning
MessageBox MB_OK|MB_ICONEXCLAMATION "Swift is running. Please close it first" /SD IDOK
Abort
notRunning:
-SectionEnd
+FunctionEnd
# default section start
section "Main install"