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
|
2021-03-11 22:16:10 +01:00
|
|
|
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
2021-02-28 14:10:59 +01:00
|
|
|
|
|
|
|
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-11 22:16:10 +01:00
|
|
|
echo copying startmenu shortcut ...
|
|
|
|
copy /Y startmenu\SQLite-DBB.lnk %STARTMENU%
|
2021-02-28 14:10:59 +01:00
|
|
|
|
|
|
|
echo ####### %0 #######
|
2021-03-02 21:47:42 +01:00
|
|
|
pause
|
|
|
|
|