w10install/optional/install-dbbrowser.cmd
Michael H.G. Schmidt f48ed62dc2 .
2021-03-02 21:47:42 +01:00

27 lines
470 B
Batchfile

@echo off
set SCRIPTS=..\scripts
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
cd %SCRIPTS%
rem copy link to desktop ...
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\DB Browser*" ^
%PUBLIC%\Desktop\DB-Browser.lnk
echo ####### %0 #######
pause