From 8f5368cf3a57f1c66b3883664d9b8138ab8e7752 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 28 Jun 2007 04:57:06 +0000 Subject: [PATCH] set vcredist before the if --- win32utils/BuildSetup.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/win32utils/BuildSetup.bat b/win32utils/BuildSetup.bat index 056e2419f5..bfa2ed1cd5 100644 --- a/win32utils/BuildSetup.bat +++ b/win32utils/BuildSetup.bat @@ -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