OSDN Git Service

Wix3.7に対応した
[completeeraser/CompleteEraser.git] / Installer / build.cmd
1 setlocal\r
2 \r
3 set WIX_PATH=C:\Program Files (x86)\WiX Toolset v3.7\bin\r
4 set OUTPUTX86=completeeraer_setup_x86.msi\r
5 set OUTPUTX64=completeeraer_setup_x64.msi\r
6 set TYPE=%1\r
7 set IDE_PATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\r
8 \r
9 if "%1"=="" set TYPE=Release\r
10 \r
11 "%IDE_PATH%\devenv" /build "%TYPE%|x86" ..\CompleteEraser.sln\r
12 "%IDE_PATH%\devenv" /build "%TYPE%|x64" ..\CompleteEraser.sln\r
13 \r
14 md dist\r
15 copy ..\ShellExtension\%TYPE%\Win32\ShellExtension.dll .\dist\ShellExtension.x86.dll\r
16 copy ..\ShellExtension\%TYPE%\x64\ShellExtension.dll .\dist\ShellExtension.x64.dll\r
17 copy ..\CompleteEraser\bin\%TYPE%\*.* .\dist\r
18 copy ..\Document\help.txt .\dist\r
19 \r
20 "%WIX_PATH%\candle.exe" installer.xml\r
21 "%WIX_PATH%\light.exe" -cultures:ja-jp -ext WiXNetFxExtension -ext WixUIExtension installer.wixobj -out "%OUTPUTX86%"\r
22 \r
23 "%WIX_PATH%\candle.exe" installer.xml -arch x64\r
24 "%WIX_PATH%\light.exe" -cultures:ja-jp -ext WiXNetFxExtension -ext WixUIExtension installer.wixobj -out "%OUTPUTX64%"\r
25 \r
26 endlocal\r
27 pause\r
28 \r