w10install/scripts/install-dbbrowser.cmd
Michael H.G. Schmidt 98a0f86d7e .
2021-02-28 14:10:59 +01:00

25 lines
461 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 icon to desktop ...
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\DB Browser*" ^
%PUBLIC%\Desktop\DB-Browser.lnk
echo ####### %0 #######