windows-nsis-vs2005-20080409
[openafs.git] / src / WINNT / install / NSIS / MakeVCRuntimeMSI.cmd
1 @echo off
2 setlocal
3 if "%1"=="debug" set DR=Debug
4 if "%1"=="retail" set DR=Retail
5 if "%DR%"=="" goto usage
6 if "%2"=="x86" set PL=Intel
7 if "%2"=="x64" set PL=x64
8 if "%PL%"=="" goto usage
9
10 candle vcruntime.wxs -dConfig=%DR% -dPlatform=%PL%
11 light  vcruntime.wixobj
12
13 echo Done!
14 goto done
15
16 :usage
17
18 echo. Usage: MakeVCRuntimeMSI.cmd {debug/retail} {x86/x64}
19
20 :done