2021-02-28 15:24:20 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set EXE=..\software\totalcommander-setup.exe
|
2021-03-13 23:32:05 +01:00
|
|
|
set KEY=..\personal\wincmd.key
|
|
|
|
set TARGET=c:\totalcmd
|
2021-02-28 15:24:20 +01:00
|
|
|
|
|
|
|
if NOT EXIST %EXE% (
|
|
|
|
echo ERROR: %EXE% not found!
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
|
|
|
echo installing TotalCommander ...
|
2021-03-06 16:23:00 +01:00
|
|
|
start /wait %EXE% /AHMGDU
|
2021-02-28 15:24:20 +01:00
|
|
|
|
2021-02-28 22:17:02 +01:00
|
|
|
echo renaming and moving TotalCommander desktop link ...
|
2021-03-06 16:23:00 +01:00
|
|
|
move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\TCM.lnk"
|
|
|
|
|
2021-03-13 23:32:05 +01:00
|
|
|
if EXIST %KEY% (
|
|
|
|
echo installing license ...
|
|
|
|
copy /Y %KEY% %TARGET%
|
|
|
|
)
|
|
|
|
|
2021-03-06 16:23:00 +01:00
|
|
|
rem refresh desktop (W10 style)
|
|
|
|
ie4uinit.exe -show
|
2021-02-28 15:24:20 +01:00
|
|
|
|
|
|
|
echo ####### %0 #######
|
2021-03-02 21:47:42 +01:00
|
|
|
pause
|
|
|
|
|