-; Script generated by the HM NIS Edit Script Wizard.\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+\r
+ ;;;; SET THE BUILD TO BE PACKAGED HERE ;;;;\r
+\r
+!define BUILD "release"\r
+\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
\r
; HM NIS Edit Wizard helper defines\r
!define PRODUCT_NAME "InspIRCd"\r
Call IsDotNetInstalled\r
SetOutPath "$INSTDIR"\r
SetOverwrite ifnewer\r
- File "..\bin\debug\InspGUI.exe"\r
+ File "..\bin\${BUILD}\InspGUI.exe"\r
CreateDirectory "$SMPROGRAMS\InspIRCd"\r
CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe"\r
SetOutPath "$INSTDIR\bin"\r
SetOverwrite ifnewer\r
- File "..\bin\debug\bin\inspircd.exe"\r
+ File "..\bin\${BUILD}\bin\inspircd.exe"\r
SectionEnd\r
\r
Section "Config Files" SEC02\r
\r
Section "Command Handlers" SEC03\r
SetOutPath "$INSTDIR\lib"\r
- File "..\bin\debug\lib\cmd_*.so"\r
+ File "..\bin\${BUILD}\lib\cmd_*.so"\r
SectionEnd\r
\r
Section "Modules" SEC04\r
SetOutPath "$INSTDIR\modules"\r
- File "..\bin\debug\modules\*.so"\r
+ File "..\bin\${BUILD}\modules\*.so"\r
SectionEnd\r
\r
Section -AdditionalIcons\r