w10install/optional/install-dbbrowser.cmd

29 lines
449 B
Batchfile
Raw Normal View History

2021-02-28 14:10:59 +01:00
@echo off
2021-03-06 16:23:00 +01:00
set OPT=..\optional
2021-02-28 14:10:59 +01:00
set SOFTWARE=..\software
set MSI=dbbrowser-setup.msi
if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
echo ####### %0 #######
cd %SOFTWARE%
@echo on
msiexec /i %MSI% /passive
@echo off
2021-03-06 16:23:00 +01:00
cd %OPT%
2021-02-28 14:10:59 +01:00
2021-03-02 21:47:42 +01:00
rem copy link to desktop ...
2021-03-06 17:23:30 +01:00
copy /Y "SQLite-DBB.lnk" %PUBLIC%\Desktop
2021-03-06 16:23:00 +01:00
rem refresh desktop (W10 style)
ie4uinit.exe -show
2021-02-28 14:10:59 +01:00
echo ####### %0 #######
2021-03-02 21:47:42 +01:00
pause