added visual studio redist to installer

This commit is contained in:
Volker Fischer 2009-08-19 15:22:50 +00:00
parent b8932bd3e1
commit f37f28fc93

View file

@ -4,6 +4,8 @@
!define APP_EXE "llcon.exe"
!define UNINSTALL_EXE "Uninstall.exe"
!define INSTALLER_NAME "llconinstaller.exe"
!define VS_REDIST_PATH "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\"
!define VS_REDIST_EXE "vcredist_x86.exe"
SetCompressor lzma
@ -32,6 +34,12 @@ Section
; other files
File "..\COPYING"
; temporarily create Microsoft Visual Studio redistributable,
; call it, and delete it afterwards
File "${VS_REDIST_PATH}${VS_REDIST_EXE}"
ExecWait '"$INSTDIR\${VS_REDIST_EXE}" /Q'
Delete $INSTDIR\${VS_REDIST_EXE}
; uninstaller
WriteUninstaller $INSTDIR\${UNINSTALL_EXE}