Windows: Added vcredist packages from VC8SP1 and VC9SP1 to NSIS installer. They are both included and installed. This is safer and enables both vc8 and vc9 users to build installers. This does increase the size of the installer with ~6.5Mb.

This commit is contained in:
Sorin Sbarnea 2009-04-11 11:18:36 +00:00
parent 94525d9c4c
commit 8cd3c3b948
3 changed files with 10 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -78,6 +78,15 @@ Section "Synergy+ (required)"
SectionIn RO SectionIn RO
; Install VC Redist fiiles
SetOutPath $TEMP
File "dist\nullsoft\files\vcredist_x86_2005sp1.exe"
File "dist\nullsoft\files\vcredist_x86_2008sp1.exe"
Exec '$TEMP\vcredist_x86_2005sp1.exe /q:a /c:"VCREDI~1.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "'
Exec '$TEMP\vcredist_x86_2008sp1.exe /q:a /c:"VCREDI~1.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "'
; Set output path to the installation directory. ; Set output path to the installation directory.
SetOutPath $INSTDIR SetOutPath $INSTDIR