25 lines
461 B
Batchfile
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 #######
|