w10install/optional/install-xnview.cmd

20 lines
462 B
Batchfile
Raw Normal View History

2021-02-28 15:24:20 +01:00
@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
2021-02-28 22:17:02 +01:00
echo renaming and moving XnView desktop link ...
move /Y "%USERPROFILE%\Desktop\XnViewMP.lnk" "%PUBLIC%\Desktop"
2021-02-28 15:24:20 +01:00
echo ####### %0 #######
2021-03-02 21:47:42 +01:00
pause