File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,21 @@ write-host "UICC.exe found: Using $UICCCmd"
9191
9292# Use the provided xml file to Create the .bml, .h and .rc file
9393& $UICCCmd " /W0" " $xmlFilePath " " $bmlFilePath " " /header:$headerFilePath " " /res:$rcFilePath " " /name:$ResourceName "
94+ If ($LASTEXITCODE -ne 0 )
95+ {
96+ exit $LASTEXITCODE
97+ }
9498
9599# Find rc.exe (Use the same locations as UICC.exe)
96100$RCCmd = FindFileInLocation - pLocation $UICCDir - pFileName " rc.exe"
97101write-host " RC.exe found: Using $RCCmd "
98102
99103# Create the .RES resource file
100- rc " $rcFilePath "
104+ & $RCCmd " $rcFilePath "
105+ If ($LASTEXITCODE -ne 0 )
106+ {
107+ exit $LASTEXITCODE
108+ }
101109
102110# Create a new Markup .pas file that will contain the Ribbon command constants.
103111
You can’t perform that action at this time.
0 commit comments