diff --git a/dist/nullsoft/files/vcredist_x86_2005sp1.exe b/dist/nullsoft/files/vcredist_x86_2005sp1.exe new file mode 100644 index 00000000..47f87a0e Binary files /dev/null and b/dist/nullsoft/files/vcredist_x86_2005sp1.exe differ diff --git a/dist/nullsoft/files/vcredist_x86_2008sp1.exe b/dist/nullsoft/files/vcredist_x86_2008sp1.exe new file mode 100644 index 00000000..05d0a05e Binary files /dev/null and b/dist/nullsoft/files/vcredist_x86_2008sp1.exe differ diff --git a/dist/nullsoft/synergy.nsi b/dist/nullsoft/synergy.nsi index f6a38d9f..0da9078c 100644 --- a/dist/nullsoft/synergy.nsi +++ b/dist/nullsoft/synergy.nsi @@ -77,7 +77,16 @@ LicenseData ${OUTPUTDIR}\COPYING.txt Section "Synergy+ (required)" 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. SetOutPath $INSTDIR