w10install/drivers/install-logitech-options.cmd
Michael H.G. Schmidt 8ed58cef1a typo
2022-06-08 23:16:13 +02:00

25 lines
578 B
Batchfile

@echo off
set EXE=..\software\logitech-options-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 #######
echo installing logitech options ...
start /wait %EXE% /quiet /analytics:0 /flow:0 /sso:0 /updates:0
echo moving logibolt startmenu entry to logitech folder ...
move /Y %STARTMENU%\"Logi\Logi Bolt.lnk" %STARTMENU%\"Logitech"
echo removing logibolt startmenu folder ...
rd /S /Q %STARTMENU%\"Logi" 2>nul
echo ####### %0 #######
pause