diff options
Diffstat (limited to 'win/inspircd.nsi')
-rw-r--r-- | win/inspircd.nsi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi index cafbd38b9..80bd51cc7 100644 --- a/win/inspircd.nsi +++ b/win/inspircd.nsi @@ -133,10 +133,12 @@ FunctionEnd Section "Binary Executable" SEC01 Call IsDotNetInstalled - SetOutPath "$INSTDIR" + SetOutPath "$TEMP" SetOverwrite ifnewer File "vcredist_x86.exe" - ExecWait "$INSTDIR\vcredist_x86.exe" + ExecWait "$TEMP\vcredist_x86.exe" + SetOutPath "$INSTDIR" + SetOverwrite ifnewer File "..\bin\${BUILD}\InspGUI.exe" CreateDirectory "$SMPROGRAMS\InspIRCd" CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe" |