comparison kdiff3/src/kdiff3.nsi @ 45:42106f54567f

Addition of the source code in the windows distribution Addition of an optional debug distribution
author friseb123
date Thu, 16 Oct 2003 11:41:04 +0000
parents ec4d236b9d1b
children 97f15262ad06
comparison
equal deleted inserted replaced
44:bf8fa177e5a1 45:42106f54567f
5 !include "version.nsi" 5 !include "version.nsi"
6 !ifndef MUI_VERSION 6 !ifndef MUI_VERSION
7 !define MUI_VERSION "" ;Define your own software version here 7 !define MUI_VERSION "" ;Define your own software version here
8 !endif 8 !endif
9 !ifndef QTDIR 9 !ifndef QTDIR
10 !define QTDIR "f:\qt\3.1.2" 10 !define QTDIR "f:\qt\3.2.2"
11 !endif 11 !endif
12 !ifndef WINDOWS_DIR 12 !ifndef WINDOWS_DIR
13 !define WINDOWS_DIR "c:\windows" 13 !define WINDOWS_DIR "c:\windows"
14 !endif 14 !endif
15 !include "MUI.nsh" 15 !include "MUI.nsh"
212 ; WriteRegStr HKCR "Directory\shell\KDiff3\command" "" '"$INSTDIR\kdiff3.exe" "%1"' 212 ; WriteRegStr HKCR "Directory\shell\KDiff3\command" "" '"$INSTDIR\kdiff3.exe" "%1"'
213 CreateShortCut "$SMPROGRAMS\..\..\SendTo\KDiff3.lnk" '"$INSTDIR\kdiff3.exe"' 213 CreateShortCut "$SMPROGRAMS\..\..\SendTo\KDiff3.lnk" '"$INSTDIR\kdiff3.exe"'
214 SectionEnd 214 SectionEnd
215 SubSectionEnd 215 SubSectionEnd
216 216
217 Section "Source"
218
219 DetailPrint "Writing the Source Code"
220 SetOutPath "$INSTDIR\source\"
221 File /r tmp\source
222 SectionEnd
223 !ifdef DEBUG
224 Section "Debug Information"
225 DetailPrint "Writing debug information"
226 SetOutPath "$INSTDIR"
227 File /oname=kdiff3.pdb kdiff3.pdb
228 SectionEnd
229 !endif
230
217 ;Display the Finish header 231 ;Display the Finish header
218 ;Insert this macro after the sections if you are not using a finish page 232 ;Insert this macro after the sections if you are not using a finish page
219 !insertmacro MUI_SECTIONS_FINISHHEADER 233 !insertmacro MUI_SECTIONS_FINISHHEADER
220 234
221 ;-------------------------------- 235 ;--------------------------------