This commit is contained in:
Michael H.G. Schmidt 2021-01-12 22:54:02 +01:00
parent ddb134086d
commit cb3840a9a3
3 changed files with 42 additions and 9 deletions

View File

@ -98,6 +98,9 @@ echo.
call install-softmaker.cmd
echo.
call install-gsync.cmd
echo.
call install-antivir.cmd
echo.

View File

@ -3,25 +3,24 @@ set TOOLS=c:\tools
echo ####### %0 #######
echo show workplace icon ...
echo add This PC icon for current user on desktop Windows 10 ...
echo add "This PC" icon for current user on desktop Windows 10 ...
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" ^
/v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f
/v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f 1>nul
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" ^
/v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f
/v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f 1>nul
echo add userhome icon on windows 10 desktop for current user
echo add userhome icon on windows 10 desktop for current user ...
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" ^
/v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f
/v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f 1>nul
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" ^
/v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f
/v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f 1>nul
rem refresh desktop (W10 style)
ie4uinit.exe -show
echo removing wallpaper ...
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f 1>nul
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
echo set desktop colour ...
%TOOLS%\setbgcol

31
scripts/install-gsync.cmd Normal file
View File

@ -0,0 +1,31 @@
@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
set MSI=gsync_enterprise64.msi
echo ####### %0 #######
cd %SOFTWARE%
@echo on
msiexec /i %MSI% /qn
@echo off
cd %SCRIPTS%
echo changing startmenu folder ...
move /Y %STARTMENU%\"Backup and Sync from Google\Backup and Sync from Google.lnk" ^
%STARTMENU%\"Backup and Sync.lnk" 1>nul 2>nul
echo removing gsync startmenu folder ...
rd /S /Q %STARTMENU%\"Backup and Sync from Google" 1>nul 2>nul
echo removing google desktop icons ...
del /F /Q %PUBLIC%\Desktop\Google* 1>nul 2>nul
rem refresh desktop (W10 style)
ie4uinit.exe -show
echo ####### %0 #######