[e90b2f]: msvc / util / ecl_nsi.bat Maximize Restore History

Download this file

ecl_nsi.bat    26 lines (22 with data), 956 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
REM @ECHO off
REM Converted from ecl_nsi.sh
SETLOCAL
SET source=%1
SET where=%2
CD %where%
SET dest=ecl.nsi
SET version=%3
type %source%1 | ..\c\cut.exe "@ECLDIR@" "%where%" "@ECLVERSION@" "%version%" > %dest%
dir /b /a:-d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_files
dir /b /a:d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_dirs
echo HOLA
for /f %%i in (../aux_dirs) do @echo %%i
for /f %%i in (../aux_dirs) do @echo File /r "${ECLDIR}\%%i" >> %dest%
for /f %%i in (../aux_files) do @echo File "${ECLDIR}\%%i" >> %dest%
if exist ecl.exe.manifest @echo File "${ECLDIR}\ecl.exe.manifest" >> %dest%
type %source%2 >> %dest%
if exist ecl.exe.manifest @echo Delete "${ECLDIR}\ecl.exe.manifest" >> %dest%
for /f %%i in (../aux_files) do @echo Delete "$INSTDIR\%%i" >> %dest%
for /f %%i in (../aux_dirs) do @echo RMDir /r "$INSTDIR\%%i" >> %dest%
type %source%3 >> %dest%
ENDLOCAL