w10install/scripts/install-emclient.cmd

25 lines
502 B
Batchfile
Raw Normal View History

2021-01-12 22:04:21 +01:00
@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
2021-01-27 22:05:17 +01:00
set MSI=emclient-v8.1.1054.msi
2021-01-12 22:04:21 +01:00
echo ####### %0 #######
cd %SOFTWARE%
@echo on
msiexec /i %MSI% /quiet
@echo off
cd %SCRIPTS%
2021-02-13 10:46:20 +01:00
rem create icon on desktop ...
2021-01-12 22:04:21 +01:00
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\eM Client.lnk" ^
%PUBLIC%\Desktop
2021-02-13 10:46:20 +01:00
rem remove autostart for em-Client ...
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "eM Client" /f
2021-01-12 22:04:21 +01:00
echo ####### %0 #######