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_NAME=%1 | 7 set LOCALE_NAME=%1 |
8 shift | 8 shift |
9 set LOCALE_FILE=%1 | 9 set LOCALE_FILE=%1 |
10 shift | 10 shift |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 :Initial | 49 :Initial |
50 echo on | 50 echo on |
51 copy %MSI_LOCALE% %MSI_INTERIM% | 51 copy %MSI_LOCALE% %MSI_INTERIM% |
52 copy %MSI_LOCALE% %MSI_BASE% | 52 copy %MSI_LOCALE% %MSI_BASE% |
53 @echo off | 53 @echo off |
54 goto End | 54 goto End |
55 :Additional | 55 :Additional |
56 echo on | 56 echo on |
57 msitran -g %MSI_BASE% %MSI_LOCALE% %MST% | 57 msitran -g %MSI_BASE% %MSI_LOCALE% %MST% |
58 if errorlevel 1 GOTO :Error | 58 if errorlevel 1 GOTO :Error |
59 cscript ..\..\emb.vbs %LOCALE_ID% %MSI_INTERIM% %MST% | 59 python ..\..\emb.py %LOCALE_ID% %MSI_INTERIM% %MST% |
60 if errorlevel 1 GOTO :Error | 60 if errorlevel 1 GOTO :Error |
61 @echo off | 61 @echo off |
62 goto End | 62 goto End |
63 | 63 |
64 :Help | 64 :Help |
65 echo msibuild - A single-language step to create a multi-language MSI | 65 echo msibuild - A single-language step to create a multi-language MSI |
66 echo Must be run from an architecture-specific build directory, such as instal
ler/build/ia32 | 66 echo Must be run from an architecture-specific build directory, such as instal
ler/build/ia32 |
67 echo. | 67 echo. |
68 echo usage: msibuild ^<flag^> ^<locale_id^> ^<locale_file^> ^<msi_locale^> ^<mst
^> ^<msi_base^> ^<msi_interim^> ^<wix_objects^> | 68 echo usage: msibuild ^<flag^> ^<locale_id^> ^<locale_file^> ^<msi_locale^> ^<mst
^> ^<msi_base^> ^<msi_interim^> ^<wix_objects^> |
69 echo flag - either 'initial' or 'additional' | 69 echo flag - either 'initial' or 'additional' |
(...skipping 15 matching lines...) Expand all Loading... |
85 echo Additional build | 85 echo Additional build |
86 echo - Create ^<msi_locale^> | 86 echo - Create ^<msi_locale^> |
87 echo - Generate ^<mst^> by comparing ^<msi_locale^> against ^<msi_base^> | 87 echo - Generate ^<mst^> by comparing ^<msi_locale^> against ^<msi_base^> |
88 echo - Embed ^<mst^> into ^<msi_interim^> with storage identifier ^<locale_id^
> | 88 echo - Embed ^<mst^> into ^<msi_interim^> with storage identifier ^<locale_id^
> |
89 echo. | 89 echo. |
90 | 90 |
91 :Error | 91 :Error |
92 exit /b 1 | 92 exit /b 1 |
93 | 93 |
94 :End | 94 :End |
OLD | NEW |