create Script for Share Mouse #35
This commit is contained in:
parent
7ccd7c04a9
commit
6ed2a610ec
6
optional/config/install-sharemouse.txt
Normal file
6
optional/config/install-sharemouse.txt
Normal file
@ -0,0 +1,6 @@
|
||||
[Setup]
|
||||
Lang=en
|
||||
Dir=C:\Program Files\ShareMouse
|
||||
Group=ShareMouse
|
||||
NoIcons=0
|
||||
Tasks=
|
25
optional/install-sharemouse.cmd
Normal file
25
optional/install-sharemouse.cmd
Normal file
@ -0,0 +1,25 @@
|
||||
@echo off
|
||||
|
||||
set CONFIG=config\install-sharemouse.txt
|
||||
set EXE=..\software\sharemouse-setup.exe
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing ShareMouse processes...
|
||||
taskkill /F /IM sharemouse.exe 2>nul
|
||||
|
||||
echo installing ShareMouse ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
Loading…
Reference in New Issue
Block a user