w10install/scripts/install-far.cmd

23 lines
379 B
Batchfile
Raw Normal View History

2021-01-30 21:38:46 +01:00
@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
2021-02-27 15:51:47 +01:00
set MSI=far-setup.msi
2021-01-30 21:38:46 +01:00
2021-02-27 20:07:28 +01:00
if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
2021-01-30 21:38:46 +01:00
echo ####### %0 #######
cd %SOFTWARE%
@echo on
2021-02-27 15:51:47 +01:00
msiexec /x %MSI% /passive
msiexec /i %MSI% INSTALLDIR="%ProgramFiles%\FarManager" /passive
2021-01-30 21:38:46 +01:00
@echo off
cd %SCRIPTS%
echo ####### %0 #######