]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
copy vcredist_x86.exe to the release/debug directories
authorMark Andrews <marka@isc.org>
Thu, 28 Jun 2007 04:53:53 +0000 (04:53 +0000)
committerMark Andrews <marka@isc.org>
Thu, 28 Jun 2007 04:53:53 +0000 (04:53 +0000)
win32utils/BuildSetup.bat

index edb03ef48d5b4e6f5238774ca4ff3995e4528f6f..cfc1ea67a342a93106abf31e614d35573195dc1c 100644 (file)
@@ -57,4 +57,31 @@ 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
 
+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
+
+rem
+rem Use /Y so we allways have the current version of the installer.
+rem
+
+copy /Y "%FrameworkSDKDir%\%vcredist%" ..\Build\Release\
+copy /Y "%FrameworkSDKDir%\%vcredist%" ..\Build\Debug\
+
+) else (
+       echo "**** %FrameworkSDKDir%\%vcredist% not found ****"
+)
+) else (
+       echo "**** Warning FrameworkSDKDir not defined ****"
+       echo "****         Run vsvars32.bat            ****"
+)
+
 rem Done