set vcredist before the if

This commit is contained in:
Mark Andrews
2007-06-28 04:56:23 +00:00
parent ea40db6143
commit b4845dce99
+5 -2
View File
@@ -57,14 +57,17 @@ echo Copying the OpenSSL DLL.
copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Release\
copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Debug\
rem
rem set vcredist here so that it is correctly expanded in the if body
rem
set vcredist=BootStrapper\Packages\vcredist_x86\vcredist_x86.exe
if Defined FrameworkSDKDir (
rem
rem vcredist_x86.exe path relative to FrameworkSDKDir
rem
set vcredist=BootStrapper\Packages\vcredist_x86\vcredist_x86.exe
if Exist "%FrameworkSDKDir%\%vcredist%" (
echo Copying Visual C x86 Redistributable Installer