summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/inspircd-noextras.nsi2
-rw-r--r--win/inspircd.nsi2
2 files changed, 4 insertions, 0 deletions
diff --git a/win/inspircd-noextras.nsi b/win/inspircd-noextras.nsi
index 8fd0bad23..c8f08cb4a 100644
--- a/win/inspircd-noextras.nsi
+++ b/win/inspircd-noextras.nsi
@@ -135,6 +135,8 @@ Section "Binary Executable" SEC01
Call IsDotNetInstalled
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
+ File "vcredist_x86.exe"
+ ExecWait "$INSTDIR\vcredist_x86.exe"
File "..\bin\${BUILD}\InspGUI.exe"
CreateDirectory "$SMPROGRAMS\InspIRCd"
CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe"
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index 5de8b5519..cafbd38b9 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -135,6 +135,8 @@ Section "Binary Executable" SEC01
Call IsDotNetInstalled
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
+ File "vcredist_x86.exe"
+ ExecWait "$INSTDIR\vcredist_x86.exe"
File "..\bin\${BUILD}\InspGUI.exe"
CreateDirectory "$SMPROGRAMS\InspIRCd"
CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe"