]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd.nsi
- Fix two minor warnings here (catch (ModuleException& e) -> catch (ModuleException...
[user/henk/code/inspircd.git] / win / inspircd.nsi
index 25b97cd929751d338e694c62d8c245dcbce8959a..40c15053de0faab13532923743aec05acaaad04d 100644 (file)
@@ -1,4 +1,10 @@
-; 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
@@ -118,12 +124,12 @@ Section "Binary Executable" SEC01
   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
@@ -140,12 +146,12 @@ SectionEnd
 \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