Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: installer/msibuild.cmd

Issue 4565805475823616: Issue 1984 - Do not use VBScript in installer build tools (Closed)
Patch Set: Created April 13, 2015, 10:39 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « installer/emb.vbs ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « installer/emb.vbs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld