OLD | NEW |
1 @echo off | 1 @echo off |
2 setlocal | 2 setlocal |
3 set FLAG=%1 | 3 set FLAG=%1 |
4 shift | 4 shift |
5 set LOCALE_ID=%1 | 5 set LOCALE_ID=%1 |
6 shift | 6 shift |
7 set LOCALE_FILE=%1 | 7 set LOCALE_FILE=%1 |
8 shift | 8 shift |
9 set MSI_LOCALE=%1 | 9 set MSI_LOCALE=%1 |
10 shift | 10 shift |
(...skipping 11 matching lines...) Expand all Loading... |
22 shift | 22 shift |
23 set WIXOBJ=%WIXOBJ% %1 | 23 set WIXOBJ=%WIXOBJ% %1 |
24 if "%WIXOBJ%"=="" goto Help | 24 if "%WIXOBJ%"=="" goto Help |
25 if "%FLAG%"=="initial" goto Light | 25 if "%FLAG%"=="initial" goto Light |
26 if "%FLAG%"=="additional" goto Light | 26 if "%FLAG%"=="additional" goto Light |
27 echo First argument must be either 'initial' or 'additional' | 27 echo First argument must be either 'initial' or 'additional' |
28 exit /b 1 | 28 exit /b 1 |
29 goto End | 29 goto End |
30 :Light | 30 :Light |
31 echo on | 31 echo on |
32 light -notidy -nologo -ext WixUIExtension -sval -loc %LOCALE_FILE% -out %MSI_LOC
ALE% %WIXOBJ% | 32 light -notidy -nologo -ext WixUIExtension -ext WixUtilExtension.dll -sval -loc %
LOCALE_FILE% -out %MSI_LOCALE% %WIXOBJ% |
33 if errorlevel 1 GOTO :Error | 33 if errorlevel 1 GOTO :Error |
34 @echo off | 34 @echo off |
35 if "%FLAG%"=="additional" goto Additional | 35 if "%FLAG%"=="additional" goto Additional |
36 :Initial | 36 :Initial |
37 echo on | 37 echo on |
38 copy %MSI_LOCALE% %MSI_INTERIM% | 38 copy %MSI_LOCALE% %MSI_INTERIM% |
39 copy %MSI_LOCALE% %MSI_BASE% | 39 copy %MSI_LOCALE% %MSI_BASE% |
40 @echo off | 40 @echo off |
41 goto End | 41 goto End |
42 :Additional | 42 :Additional |
(...skipping 29 matching lines...) Expand all Loading... |
72 echo Additional build | 72 echo Additional build |
73 echo - Create ^<msi_locale^> | 73 echo - Create ^<msi_locale^> |
74 echo - Generate ^<mst^> by comparing ^<msi_locale^> against ^<msi_base^> | 74 echo - Generate ^<mst^> by comparing ^<msi_locale^> against ^<msi_base^> |
75 echo - Embed ^<mst^> into ^<msi_interim^> with storage identifier ^<locale_id^
> | 75 echo - Embed ^<mst^> into ^<msi_interim^> with storage identifier ^<locale_id^
> |
76 echo. | 76 echo. |
77 | 77 |
78 :Error | 78 :Error |
79 exit /b 1 | 79 exit /b 1 |
80 | 80 |
81 :End | 81 :End |
OLD | NEW |