diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-19 18:45:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-19 18:45:44 +0000 |
commit | 4dec4d125b4c6954ef948b699a814fe5a9059091 (patch) | |
tree | cebdbe96639d08bc15348928142a7e7d94839516 /win/inspircd.nsi | |
parent | 22c771094bfce2700869a319945e278177d3a2f5 (diff) |
Extract and run the vs redistributable to $TEMP, not to install dir. saves us 2.6 megs on install space
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9549 e03df62e-2008-0410-955e-edbf42e46eb7
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" |