w10install/scripts/install-xnview.cmd
Michael H.G. Schmidt 09bd6f5e4b .
2021-02-28 22:17:02 +01:00

18 lines
453 B
Batchfile

@echo off
set CONFIG=config\install-xnview.txt
set EXE=..\software\xnview-setup.exe
echo ####### %0 #######
echo killing XnView processes...
taskkill /F /IM xnviewmp.exe 2>nul
echo installing XnView ...
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
echo renaming and moving XnView desktop link ...
move /Y "%USERPROFILE%\Desktop\XnViewMP.lnk" "%PUBLIC%\Desktop"
echo ####### %0 #######