MS-Office integrated
This commit is contained in:
parent
083564c65c
commit
bc7c372d2e
29
optional/config/office2019-standard.xml
Normal file
29
optional/config/office2019-standard.xml
Normal file
@ -0,0 +1,29 @@
|
||||
<Configuration ID="4c98baea-1ad1-4180-824b-46e81269f4c9">
|
||||
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" SourcePath="C:\TEMP" AllowCdnFallback="FALSE">
|
||||
<Product ID="Standard2019Volume" PIDKEY="6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK">
|
||||
<Language ID="en-us" />
|
||||
<Language ID="de-de" />
|
||||
<ExcludeApp ID="Groove" />
|
||||
<ExcludeApp ID="OneDrive" />
|
||||
<ExcludeApp ID="OneNote" />
|
||||
<ExcludeApp ID="Outlook" />
|
||||
<ExcludeApp ID="Publisher" />
|
||||
</Product>
|
||||
<Product ID="LanguagePack">
|
||||
<Language ID="en-us" />
|
||||
<Language ID="de-de" />
|
||||
</Product>
|
||||
</Add>
|
||||
<Property Name="SharedComputerLicensing" Value="0" />
|
||||
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
|
||||
<Property Name="DeviceBasedLicensing" Value="0" />
|
||||
<Property Name="SCLCacheOverride" Value="0" />
|
||||
<Property Name="AUTOACTIVATE" Value="1" />
|
||||
<Updates Enabled="FALSE" UpdatePath="C:\TEMP" />
|
||||
<AppSettings>
|
||||
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
|
||||
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
|
||||
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
|
||||
</AppSettings>
|
||||
<Display Level="Full" AcceptEULA="TRUE" />
|
||||
</Configuration>
|
@ -1,31 +1,31 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=ausweisapp-setup.msi
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Ausweisapp ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /quiet
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo removing Ausweisapp Desktop icon ...
|
||||
del /F /Q %PUBLIC%\Desktop\AusweisApp.lnk 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=ausweisapp-setup.msi
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Ausweisapp ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /quiet
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo removing Ausweisapp Desktop icon ...
|
||||
del /F /Q %PUBLIC%\Desktop\AusweisApp.lnk 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,50 +1,50 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=chrome-setup.msi
|
||||
set CONFIG=config\chrome.reg
|
||||
set SCRIPTS=..\scripts
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
cd %SOFTWARE%
|
||||
msiexec /uninstall %MSI% /passive
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo importing registry settings ...
|
||||
reg import %CONFIG%
|
||||
|
||||
rem unpin chrome icon from taskbar ...
|
||||
echo.
|
||||
call %SCRIPTS%\unpin-taskbar-icons.cmd
|
||||
echo.
|
||||
|
||||
echo disabling update tasks ...
|
||||
powershell -Command "get-scheduledtask | where TaskName -like 'Google*' | Disable-ScheduledTask"
|
||||
|
||||
echo renaming chrome desktop shortcut ...
|
||||
move /Y %PUBLIC%\Desktop\"Google Chrome.lnk" %PUBLIC%\Desktop\Chrome.lnk 2>nul
|
||||
|
||||
echo sleeping 5 seconds ...
|
||||
ping 127.0.0.1 -n 5 > NUL 2>&1
|
||||
|
||||
echo cleanup ...
|
||||
del /F /Q "%USERPROFILE%\Desktop\Google Chrome.lnk" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=chrome-setup.msi
|
||||
set CONFIG=config\chrome.reg
|
||||
set SCRIPTS=..\scripts
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
cd %SOFTWARE%
|
||||
msiexec /uninstall %MSI% /passive
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo importing registry settings ...
|
||||
reg import %CONFIG%
|
||||
|
||||
rem unpin chrome icon from taskbar ...
|
||||
echo.
|
||||
call %SCRIPTS%\unpin-taskbar-icons.cmd
|
||||
echo.
|
||||
|
||||
echo disabling update tasks ...
|
||||
powershell -Command "get-scheduledtask | where TaskName -like 'Google*' | Disable-ScheduledTask"
|
||||
|
||||
echo renaming chrome desktop shortcut ...
|
||||
move /Y %PUBLIC%\Desktop\"Google Chrome.lnk" %PUBLIC%\Desktop\Chrome.lnk 2>nul
|
||||
|
||||
echo sleeping 5 seconds ...
|
||||
ping 127.0.0.1 -n 5 > NUL 2>&1
|
||||
|
||||
echo cleanup ...
|
||||
del /F /Q "%USERPROFILE%\Desktop\Google Chrome.lnk" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,58 +1,58 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\citrixworkspace-setup.exe
|
||||
set EXE2=..\software\nsepa_setup.exe
|
||||
set MSI=ICAWebWrapper.msi
|
||||
set CITRIXROOT="%ProgramFiles(x86)%\Citrix"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
echo GOTO: https://www.citrix.com/de-de/downloads/workspace-app/workspace-app-for-windows-long-term-service-release
|
||||
echo and save the file as "citrixworkspace-setup.exe" in folder "software"!
|
||||
echo.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
if NOT EXIST %EXE2% (
|
||||
echo ERROR: %EXE2% not found!
|
||||
echo get the file and save it in folder "software"!
|
||||
echo.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Citrix Workspace LTS ...
|
||||
start /wait %EXE% /silent /noreboot /AutoUpdateCheck=disabled
|
||||
|
||||
echo disabling autostart for Citrix Workspace ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
|
||||
/v "ConnectionCenter" /d 0300000065d2d743d402d701 /t REG_BINARY /f
|
||||
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
|
||||
/v "Redirector" /d 030000005e06c842d402d701 /t REG_BINARY /f
|
||||
|
||||
echo installing Citrix gateway endpoint Analysis Plug-in ...
|
||||
start /wait %EXE2%
|
||||
|
||||
echo installing Citrix ICA web wrapper ...
|
||||
cd %CITRIXROOT%\"Citrix Workspace*"
|
||||
|
||||
if NOT EXIST %MSI% (
|
||||
echo ERROR: %MSI% not found!
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
@echo on
|
||||
msiexec /i %MSI% /quiet
|
||||
@echo off
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\citrixworkspace-setup.exe
|
||||
set EXE2=..\software\nsepa_setup.exe
|
||||
set MSI=ICAWebWrapper.msi
|
||||
set CITRIXROOT="%ProgramFiles(x86)%\Citrix"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
echo GOTO: https://www.citrix.com/de-de/downloads/workspace-app/workspace-app-for-windows-long-term-service-release
|
||||
echo and save the file as "citrixworkspace-setup.exe" in folder "software"!
|
||||
echo.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
if NOT EXIST %EXE2% (
|
||||
echo ERROR: %EXE2% not found!
|
||||
echo get the file and save it in folder "software"!
|
||||
echo.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Citrix Workspace LTS ...
|
||||
start /wait %EXE% /silent /noreboot /AutoUpdateCheck=disabled
|
||||
|
||||
echo disabling autostart for Citrix Workspace ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
|
||||
/v "ConnectionCenter" /d 0300000065d2d743d402d701 /t REG_BINARY /f
|
||||
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
|
||||
/v "Redirector" /d 030000005e06c842d402d701 /t REG_BINARY /f
|
||||
|
||||
echo installing Citrix gateway endpoint Analysis Plug-in ...
|
||||
start /wait %EXE2%
|
||||
|
||||
echo installing Citrix ICA web wrapper ...
|
||||
cd %CITRIXROOT%\"Citrix Workspace*"
|
||||
|
||||
if NOT EXIST %MSI% (
|
||||
echo ERROR: %MSI% not found!
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
@echo on
|
||||
msiexec /i %MSI% /quiet
|
||||
@echo off
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,29 +1,29 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=dbbrowser-setup.msi
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing DB-Browser ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo copying startmenu shortcut ...
|
||||
copy /Y startmenu\SQLite-DBB.lnk %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=dbbrowser-setup.msi
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing DB-Browser ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo copying startmenu shortcut ...
|
||||
copy /Y startmenu\SQLite-DBB.lnk %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,34 +1,34 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set SOFTWARE=..\software
|
||||
set MSI=drawio-setup.msi
|
||||
set STARTMENU=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
set STARTMENU_USER=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Draw-IO ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo moving Draw-IO startmenu shortcut ...
|
||||
move /Y "%STARTMENU_USER%\draw.io.lnk" "%STARTMENU%"
|
||||
icacls "%STARTMENU%\draw.io.lnk" /grant Users:R
|
||||
|
||||
echo moving Draw-IO desktop link to public desktop ...
|
||||
move /Y "%USERPROFILE%\Desktop\draw.io.lnk" "%PUBLIC%\Desktop"
|
||||
icacls "%PUBLIC%\Desktop\draw.io.lnk" /grant Users:R
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set SOFTWARE=..\software
|
||||
set MSI=drawio-setup.msi
|
||||
set STARTMENU=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
set STARTMENU_USER=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Draw-IO ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo moving Draw-IO startmenu shortcut ...
|
||||
move /Y "%STARTMENU_USER%\draw.io.lnk" "%STARTMENU%"
|
||||
icacls "%STARTMENU%\draw.io.lnk" /grant Users:R
|
||||
|
||||
echo moving Draw-IO desktop link to public desktop ...
|
||||
move /Y "%USERPROFILE%\Desktop\draw.io.lnk" "%PUBLIC%\Desktop"
|
||||
icacls "%PUBLIC%\Desktop\draw.io.lnk" /grant Users:R
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,57 +1,57 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=emclient-setup.msi
|
||||
set EMSERVERIP=104.22.21.185,172.67.15.154,104.22.20.185
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing em-Client ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /quiet
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo removing autostart for em-Client ...
|
||||
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^
|
||||
/v "eM Client" /f
|
||||
|
||||
taskkill /F /IM SystemSettings.exe 2>nul
|
||||
|
||||
echo copying link to desktop ...
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\eM Client.lnk" ^
|
||||
%PUBLIC%\Desktop
|
||||
|
||||
echo refreshing desktop ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo disabling automatic updates via W10 firewall ...
|
||||
rem delete old rule ...
|
||||
netsh advfirewall firewall delete rule name="block_emclient_updates" 2>nul
|
||||
|
||||
rem create new rule ...
|
||||
netsh advfirewall firewall add rule name="block_emclient_updates" ^
|
||||
dir=out action=block protocol=tcp localip=any remoteip=%EMSERVERIP% ^
|
||||
remoteport=80,443 program="%ProgramFiles(x86)%\eM Client\MailClient.exe" 1>nul 2>nul
|
||||
|
||||
rem show new rule ...
|
||||
netsh advfirewall firewall show rule name="block_emclient_updates"
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=emclient-setup.msi
|
||||
set EMSERVERIP=104.22.21.185,172.67.15.154,104.22.20.185
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing em-Client ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /quiet
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo removing autostart for em-Client ...
|
||||
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^
|
||||
/v "eM Client" /f
|
||||
|
||||
taskkill /F /IM SystemSettings.exe 2>nul
|
||||
|
||||
echo copying link to desktop ...
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\eM Client.lnk" ^
|
||||
%PUBLIC%\Desktop
|
||||
|
||||
echo refreshing desktop ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo disabling automatic updates via W10 firewall ...
|
||||
rem delete old rule ...
|
||||
netsh advfirewall firewall delete rule name="block_emclient_updates" 2>nul
|
||||
|
||||
rem create new rule ...
|
||||
netsh advfirewall firewall add rule name="block_emclient_updates" ^
|
||||
dir=out action=block protocol=tcp localip=any remoteip=%EMSERVERIP% ^
|
||||
remoteport=80,443 program="%ProgramFiles(x86)%\eM Client\MailClient.exe" 1>nul 2>nul
|
||||
|
||||
rem show new rule ...
|
||||
netsh advfirewall firewall show rule name="block_emclient_updates"
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
|
@ -1,30 +1,30 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\hakchi2_config.ini
|
||||
set ZIP=..\software\hakchi2.zip
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ZIP% (
|
||||
echo ERROR: %ZIP% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing hakchi2 processes...
|
||||
taskkill /F /IM hakchi.exe 2>nul
|
||||
|
||||
echo unpacking Hakchi2 ...
|
||||
7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
|
||||
|
||||
echo copying config ...
|
||||
mkdir "%ProgramFiles(x86)%\hakchi2\config" 2>nul
|
||||
copy /Y %CONFIG% "%ProgramFiles(x86)%\hakchi2\config\config.ini"
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\HakChi2.lnk %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\hakchi2_config.ini
|
||||
set ZIP=..\software\hakchi2.zip
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ZIP% (
|
||||
echo ERROR: %ZIP% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing hakchi2 processes...
|
||||
taskkill /F /IM hakchi.exe 2>nul
|
||||
|
||||
echo unpacking Hakchi2 ...
|
||||
7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
|
||||
|
||||
echo copying config ...
|
||||
mkdir "%ProgramFiles(x86)%\hakchi2\config" 2>nul
|
||||
copy /Y %CONFIG% "%ProgramFiles(x86)%\hakchi2\config\config.ini"
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\HakChi2.lnk %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
@ -1,34 +1,34 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-heidisql.txt
|
||||
set EXE=..\software\heidisql-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 Heidi SQL ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo moving HeidiSQL startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"HeidiSQL\HeidiSQL.lnk" %STARTMENU%
|
||||
|
||||
echo moving HeidiSQL desktop shortcut ...
|
||||
move /Y "%USERPROFILE%\Desktop\HeidiSQL.lnk" "%PUBLIC%\Desktop"
|
||||
icacls "%PUBLIC%\Desktop\HeidiSQL.lnk" /grant Users:R 2>nul
|
||||
|
||||
echo cleanup ...
|
||||
rd /S /Q %STARTMENU%\"HeidiSQL"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-heidisql.txt
|
||||
set EXE=..\software\heidisql-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 Heidi SQL ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo moving HeidiSQL startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"HeidiSQL\HeidiSQL.lnk" %STARTMENU%
|
||||
|
||||
echo moving HeidiSQL desktop shortcut ...
|
||||
move /Y "%USERPROFILE%\Desktop\HeidiSQL.lnk" "%PUBLIC%\Desktop"
|
||||
icacls "%PUBLIC%\Desktop\HeidiSQL.lnk" /grant Users:R 2>nul
|
||||
|
||||
echo cleanup ...
|
||||
rd /S /Q %STARTMENU%\"HeidiSQL"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,21 +1,21 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\horizon-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing VMware Horizon client ...
|
||||
start /wait %EXE% /silent /norestart AUTO_UPDATE_ENABLED=0
|
||||
|
||||
echo installing Desktop shortcut ...
|
||||
move /Y "%PUBLIC%\Desktop\VMware Horizon Client.lnk" "%PUBLIC%\Desktop\Horizon.lnk"
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\horizon-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing VMware Horizon client ...
|
||||
start /wait %EXE% /silent /norestart AUTO_UPDATE_ENABLED=0
|
||||
|
||||
echo installing Desktop shortcut ...
|
||||
move /Y "%PUBLIC%\Desktop\VMware Horizon Client.lnk" "%PUBLIC%\Desktop\Horizon.lnk"
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,32 +1,32 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\inkscape-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 INKSCAPE processes...
|
||||
taskkill /F /IM inkscape.exe 2>nul
|
||||
|
||||
echo installing INKSCAPE ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
echo moving Inkscape startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Inkscape\Inkscape.lnk" %STARTMENU%\Inkscape.lnk
|
||||
|
||||
echo removing Inkscape startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Inkscape" 2>nul
|
||||
|
||||
echo installing Inkscape desktop shortcut ...
|
||||
copy /Y %STARTMENU%\"Inkscape.lnk" %PUBLIC%\Desktop 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\inkscape-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 INKSCAPE processes...
|
||||
taskkill /F /IM inkscape.exe 2>nul
|
||||
|
||||
echo installing INKSCAPE ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
echo moving Inkscape startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Inkscape\Inkscape.lnk" %STARTMENU%\Inkscape.lnk
|
||||
|
||||
echo removing Inkscape startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Inkscape" 2>nul
|
||||
|
||||
echo installing Inkscape desktop shortcut ...
|
||||
copy /Y %STARTMENU%\"Inkscape.lnk" %PUBLIC%\Desktop 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\java-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing JAVA ...
|
||||
start /wait %EXE% INSTALL_SILENT=Enable AUTO_UPDATE=0 NOSTARTMENU=1 REBOOT=0 ^
|
||||
INSTALLDIR="%ProgramFiles%\java"
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\java-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing JAVA ...
|
||||
start /wait %EXE% INSTALL_SILENT=Enable AUTO_UPDATE=0 NOSTARTMENU=1 REBOOT=0 ^
|
||||
INSTALLDIR="%ProgramFiles%\java"
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,26 +1,26 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-keepass2.txt
|
||||
set EXE=..\software\keepass2-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing KeePass 2 process ...
|
||||
taskkill /F /IM KeePass.exe 2>nul
|
||||
|
||||
echo installing KeePass 2 ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-keepass2.txt
|
||||
set EXE=..\software\keepass2-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing KeePass 2 process ...
|
||||
taskkill /F /IM KeePass.exe 2>nul
|
||||
|
||||
echo installing KeePass 2 ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,41 +1,41 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
set ZIP=..\software\mame64.7z
|
||||
set TARGET=c:\MAME
|
||||
set CONFIG=config\mame.ini
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ZIP% (
|
||||
echo ERROR: %ZIP% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing MAME64 processes...
|
||||
taskkill /F /IM hakchi.exe 2>nul
|
||||
|
||||
rem create directory ...
|
||||
mkdir %TARGET% 2>nul
|
||||
|
||||
echo unpacking MAME64 ...
|
||||
7z x -y -aoa -o%T%\mame %ZIP%
|
||||
|
||||
echo moving files ...
|
||||
move /Y %T%\mame\mame64.exe %TARGET%
|
||||
move /Y %T%\mame\mame64.sym %TARGET%
|
||||
mkdir %TARGET%\roms 2>nul
|
||||
rd /S /Q %T%\mame
|
||||
echo.
|
||||
|
||||
echo copy ini file ...
|
||||
copy /Y %CONFIG% %TARGET%
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\MAME64.lnk %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
set ZIP=..\software\mame64.7z
|
||||
set TARGET=c:\MAME
|
||||
set CONFIG=config\mame.ini
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ZIP% (
|
||||
echo ERROR: %ZIP% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing MAME64 processes...
|
||||
taskkill /F /IM hakchi.exe 2>nul
|
||||
|
||||
rem create directory ...
|
||||
mkdir %TARGET% 2>nul
|
||||
|
||||
echo unpacking MAME64 ...
|
||||
7z x -y -aoa -o%T%\mame %ZIP%
|
||||
|
||||
echo moving files ...
|
||||
move /Y %T%\mame\mame64.exe %TARGET%
|
||||
move /Y %T%\mame\mame64.sym %TARGET%
|
||||
mkdir %TARGET%\roms 2>nul
|
||||
rd /S /Q %T%\mame
|
||||
echo.
|
||||
|
||||
echo copy ini file ...
|
||||
copy /Y %CONFIG% %TARGET%
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\MAME64.lnk %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
@ -1,36 +1,36 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-moneyplex.txt
|
||||
set EXE=..\software\moneyplex-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 moneyplex processes...
|
||||
taskkill /F /IM moneyplex.exe 2>nul
|
||||
|
||||
echo installing moneyplex ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo moving moneyplex startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"moneyplex\moneyplex.lnk" %STARTMENU%\"MoneyPlex.lnk"
|
||||
|
||||
echo removing moneyplex startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"moneyplex" 2>nul
|
||||
|
||||
echo renaming moneyplex icon on desktop ...
|
||||
move /Y "%PUBLIC%\Desktop\moneyplex.lnk" "%PUBLIC%\Desktop\MoneyPlex.lnk"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-moneyplex.txt
|
||||
set EXE=..\software\moneyplex-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 moneyplex processes...
|
||||
taskkill /F /IM moneyplex.exe 2>nul
|
||||
|
||||
echo installing moneyplex ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo moving moneyplex startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"moneyplex\moneyplex.lnk" %STARTMENU%\"MoneyPlex.lnk"
|
||||
|
||||
echo removing moneyplex startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"moneyplex" 2>nul
|
||||
|
||||
echo renaming moneyplex icon on desktop ...
|
||||
move /Y "%PUBLIC%\Desktop\moneyplex.lnk" "%PUBLIC%\Desktop\MoneyPlex.lnk"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,34 +1,34 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\motorescue-setup.exe
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
set STARTMENU_USER=%APPDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Motorola/Lenovo Smart Assistant ...
|
||||
start /wait %EXE%
|
||||
|
||||
echo removing Desktop icon ...
|
||||
del /F "%USERPROFILE%\Desktop\Rescue and Smart Assistant.lnk" 2>nul
|
||||
|
||||
echo moving Smart Assistant startmenu shortcut ...
|
||||
move /Y %STARTMENU_USER%\"Lenovo\Rescue and Smart Assistant.lnk" %STARTMENU%\"Lenovo Smart Assistant.lnk" 2>nul
|
||||
|
||||
echo removing Smart Assistant startmenu folder ...
|
||||
rd /S /Q %STARTMENU_USER%\"Lenovo" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\motorescue-setup.exe
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
set STARTMENU_USER=%APPDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Motorola/Lenovo Smart Assistant ...
|
||||
start /wait %EXE%
|
||||
|
||||
echo removing Desktop icon ...
|
||||
del /F "%USERPROFILE%\Desktop\Rescue and Smart Assistant.lnk" 2>nul
|
||||
|
||||
echo moving Smart Assistant startmenu shortcut ...
|
||||
move /Y %STARTMENU_USER%\"Lenovo\Rescue and Smart Assistant.lnk" %STARTMENU%\"Lenovo Smart Assistant.lnk" 2>nul
|
||||
|
||||
echo removing Smart Assistant startmenu folder ...
|
||||
rd /S /Q %STARTMENU_USER%\"Lenovo" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
56
optional/install-msoffice.cmd
Normal file
56
optional/install-msoffice.cmd
Normal file
@ -0,0 +1,56 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
set TOOLS=%SystemDrive%\tools
|
||||
set CONFIG=config\office2019-standard.xml
|
||||
set ARCHIVE=..\software\office2019-standard.7z
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ARCHIVE% (
|
||||
echo ERROR: %ARCHIVE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo unpacking office files ...
|
||||
%TOOLS%\7z x -y -aoa -o%T% %ARCHIVE%
|
||||
|
||||
echo starting MS-Office setup ...
|
||||
@echo on
|
||||
%TOOLS%\officedeploymenttool.exe /configure %CONFIG%
|
||||
@echo off
|
||||
|
||||
echo TEMP cleanup ...
|
||||
rd /S /Q %T%\Office 2>nul
|
||||
|
||||
echo renaming folder in startmenu ...
|
||||
move /Y %STARTMENU%\"Microsoft Office Tools" %STARTMENU%\"Microsoft Office" 2>nul
|
||||
|
||||
echo moving links in startmenu ...
|
||||
move /Y %STARTMENU%\Word.lnk %STARTMENU%\"Microsoft Office" 2>nul
|
||||
move /Y %STARTMENU%\Excel.lnk %STARTMENU%\"Microsoft Office" 2>nul
|
||||
move /Y %STARTMENU%\PowerPoint.lnk %STARTMENU%\"Microsoft Office" 2>nul
|
||||
|
||||
echo installing desktop icons ...
|
||||
copy /Y %STARTMENU%\"Microsoft Office\Word.lnk" %PUBLIC%\Desktop
|
||||
copy /Y %STARTMENU%\"Microsoft Office\Excel.lnk" %PUBLIC%\Desktop
|
||||
copy /Y %STARTMENU%\"Microsoft Office\PowerPoint.lnk" %PUBLIC%\Desktop
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo cleaning startmenu ...
|
||||
del /F /Q /A %STARTMENU%\"Microsoft Office\Telemetry*.lnk" 2>nul
|
||||
del /F /Q /A %STARTMENU%\"Microsoft Office\Office Upload Center.lnk" 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
rem if EXIST ..\scripts\set-filetypes.cmd (
|
||||
rem call ..\scripts\set-filetypes.cmd
|
||||
rem )
|
||||
|
||||
pause
|
@ -1,32 +1,32 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-ntlite.txt
|
||||
set EXE=..\software\ntlite-setup.exe
|
||||
set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
set STARTMENU_USER=%APPDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing NTLite ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo moving NTLite startmenu shortcut ...
|
||||
mkdir %STARTMENU%\Tools 2>nul
|
||||
move /Y %STARTMENU%\"NTLite\NTLite.lnk" %STARTMENU%\Tools 2>nul
|
||||
|
||||
echo cleanup ...
|
||||
rd /S /Q %STARTMENU%\"NTLite" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-ntlite.txt
|
||||
set EXE=..\software\ntlite-setup.exe
|
||||
set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
set STARTMENU_USER=%APPDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing NTLite ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo moving NTLite startmenu shortcut ...
|
||||
mkdir %STARTMENU%\Tools 2>nul
|
||||
move /Y %STARTMENU%\"NTLite\NTLite.lnk" %STARTMENU%\Tools 2>nul
|
||||
|
||||
echo cleanup ...
|
||||
rd /S /Q %STARTMENU%\"NTLite" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,29 +1,29 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\obsstudio-setup.exe
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing OBS Studio ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
echo moving OBS Studio startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"OBS Studio\OBS*.lnk" %STARTMENU%
|
||||
|
||||
echo removing OBS Studio startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"OBS Studio" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\obsstudio-setup.exe
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing OBS Studio ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
echo moving OBS Studio startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"OBS Studio\OBS*.lnk" %STARTMENU%
|
||||
|
||||
echo removing OBS Studio startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"OBS Studio" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
@ -1,39 +1,39 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=openvpn-setup.msi
|
||||
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing OpenVPN ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /q
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo moving OpenVPN startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"OpenVPN\OpenVPN GUI.lnk" %STARTMENU%\OpenVPN.lnk
|
||||
|
||||
echo removing Inkscape startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"OpenVPN" 2>nul
|
||||
|
||||
echo removing Desktop icon ...
|
||||
del /F /Q "%PUBLIC%\Desktop\OpenVPN GUI.lnk" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=openvpn-setup.msi
|
||||
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing OpenVPN ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /q
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo moving OpenVPN startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"OpenVPN\OpenVPN GUI.lnk" %STARTMENU%\OpenVPN.lnk
|
||||
|
||||
echo removing Inkscape startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"OpenVPN" 2>nul
|
||||
|
||||
echo removing Desktop icon ...
|
||||
del /F /Q "%PUBLIC%\Desktop\OpenVPN GUI.lnk" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,52 +1,52 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=pdf24-setup.msi
|
||||
set CONFIG=config\pdf24.reg
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing PDF24 ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /q
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo tweaking PDF24 ...
|
||||
reg import %CONFIG%
|
||||
|
||||
echo removing Desktop icons ...
|
||||
del /F /Q "%PUBLIC%\Desktop\PDF24 Toolbox.lnk" 2>nul
|
||||
del /F /Q "%PUBLIC%\Desktop\PDF24 Launcher.lnk" 2>nul
|
||||
|
||||
echo removing a Startmenu icon ...
|
||||
del /F /Q %STARTMENU%"\PDF24 Launcher.lnk" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
rem remove the FAX printer ...
|
||||
call remove-printer.cmd "PDF24 Fax"
|
||||
|
||||
rem ... and remove the Microsoft fax printer ...
|
||||
call remove-printer.cmd "Microsoft Print to PDF"
|
||||
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=pdf24-setup.msi
|
||||
set CONFIG=config\pdf24.reg
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing PDF24 ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /q
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo tweaking PDF24 ...
|
||||
reg import %CONFIG%
|
||||
|
||||
echo removing Desktop icons ...
|
||||
del /F /Q "%PUBLIC%\Desktop\PDF24 Toolbox.lnk" 2>nul
|
||||
del /F /Q "%PUBLIC%\Desktop\PDF24 Launcher.lnk" 2>nul
|
||||
|
||||
echo removing a Startmenu icon ...
|
||||
del /F /Q %STARTMENU%"\PDF24 Launcher.lnk" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
rem remove the FAX printer ...
|
||||
call remove-printer.cmd "PDF24 Fax"
|
||||
|
||||
rem ... and remove the Microsoft fax printer ...
|
||||
call remove-printer.cmd "Microsoft Print to PDF"
|
||||
|
||||
pause
|
||||
|
||||
|
@ -1,78 +1,78 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
|
||||
set CONFIG=config\install-purebasic.txt
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
rem licensed version (exe contains key!)
|
||||
set EXE=..\software\purebasic-setup.exe
|
||||
|
||||
rem demo version (publically accessible)
|
||||
set ZIP=..\software\purebasic.zip
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing PureBasic processes...
|
||||
taskkill /F /IM PureBasic.exe 2>nul
|
||||
taskkill /F /IM pbcompiler.exe 2>nul
|
||||
|
||||
rem YES - this works. It is a "AND" construct...
|
||||
if NOT EXIST %EXE% if NOT EXIST %ZIP% (
|
||||
echo WARNING: no PureBasic zipfile or exe-installer found!
|
||||
goto END
|
||||
)
|
||||
|
||||
if EXIST %EXE% (
|
||||
|
||||
echo INFO: %EXE% found, installing licensed version ...
|
||||
|
||||
echo installing purebasic ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL ^
|
||||
/SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
goto LINK
|
||||
|
||||
)
|
||||
|
||||
if EXIST %ZIP% (
|
||||
|
||||
echo INFO: %ZIP% found, installing demo version ...
|
||||
|
||||
7z e -y -aoa -o%T%\purebasic %ZIP%
|
||||
move /Y %T%\purebasic\PureBasic*.exe %T%\purebasic\purebasic-setup.exe
|
||||
|
||||
echo installing purebasic ...
|
||||
start /wait %T%\purebasic\purebasic-setup.exe ^
|
||||
/LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo cleanup ...
|
||||
rd /S /Q %T%\purebasic 2>nul
|
||||
|
||||
goto LINK
|
||||
|
||||
)
|
||||
|
||||
:LINK
|
||||
echo removing old desktop links ...
|
||||
del /F /Q /A "%PUBLIC%\Desktop\PureBasic*.lnk" 2>nul
|
||||
del /F /Q /A "%USERPROFILE%\Desktop\PureBasic*.lnk" 2>nul
|
||||
|
||||
echo copying new PureBasic link to public desktop ...
|
||||
copy /Y %STARTMENU%\"PureBasic\PureBasic (x64).lnk" %PUBLIC%\Desktop\PureBasic.lnk
|
||||
|
||||
echo moving PureBasic startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"PureBasic\PureBasic (x64).lnk" %STARTMENU%\PureBasic.lnk
|
||||
|
||||
echo removing PureBasic startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\PureBasic 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
:END
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
|
||||
set CONFIG=config\install-purebasic.txt
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
rem licensed version (exe contains key!)
|
||||
set EXE=..\software\purebasic-setup.exe
|
||||
|
||||
rem demo version (publically accessible)
|
||||
set ZIP=..\software\purebasic.zip
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing PureBasic processes...
|
||||
taskkill /F /IM PureBasic.exe 2>nul
|
||||
taskkill /F /IM pbcompiler.exe 2>nul
|
||||
|
||||
rem YES - this works. It is a "AND" construct...
|
||||
if NOT EXIST %EXE% if NOT EXIST %ZIP% (
|
||||
echo WARNING: no PureBasic zipfile or exe-installer found!
|
||||
goto END
|
||||
)
|
||||
|
||||
if EXIST %EXE% (
|
||||
|
||||
echo INFO: %EXE% found, installing licensed version ...
|
||||
|
||||
echo installing purebasic ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL ^
|
||||
/SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
goto LINK
|
||||
|
||||
)
|
||||
|
||||
if EXIST %ZIP% (
|
||||
|
||||
echo INFO: %ZIP% found, installing demo version ...
|
||||
|
||||
7z e -y -aoa -o%T%\purebasic %ZIP%
|
||||
move /Y %T%\purebasic\PureBasic*.exe %T%\purebasic\purebasic-setup.exe
|
||||
|
||||
echo installing purebasic ...
|
||||
start /wait %T%\purebasic\purebasic-setup.exe ^
|
||||
/LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo cleanup ...
|
||||
rd /S /Q %T%\purebasic 2>nul
|
||||
|
||||
goto LINK
|
||||
|
||||
)
|
||||
|
||||
:LINK
|
||||
echo removing old desktop links ...
|
||||
del /F /Q /A "%PUBLIC%\Desktop\PureBasic*.lnk" 2>nul
|
||||
del /F /Q /A "%USERPROFILE%\Desktop\PureBasic*.lnk" 2>nul
|
||||
|
||||
echo copying new PureBasic link to public desktop ...
|
||||
copy /Y %STARTMENU%\"PureBasic\PureBasic (x64).lnk" %PUBLIC%\Desktop\PureBasic.lnk
|
||||
|
||||
echo moving PureBasic startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"PureBasic\PureBasic (x64).lnk" %STARTMENU%\PureBasic.lnk
|
||||
|
||||
echo removing PureBasic startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\PureBasic 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
:END
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,24 +1,24 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=python2-setup.msi
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=python2-setup.msi
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,70 +1,70 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=seafile-setup.msi
|
||||
set CUSTOM_SETTINGS=..\custom\settings.cmd
|
||||
set seafile_server_url=0
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem ===================
|
||||
rem CONFIGFILE CHECK
|
||||
rem ===================
|
||||
|
||||
echo.
|
||||
echo searching for CUSTOM settings ...
|
||||
if NOT EXIST %CUSTOM_SETTINGS% (
|
||||
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
|
||||
) else (
|
||||
echo OK. Loading CUSTOM settings ...
|
||||
call %CUSTOM_SETTINGS%
|
||||
)
|
||||
|
||||
echo installing SeaFile ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /qn
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo restarting explorer ...
|
||||
taskkill /f /im explorer.exe 1>nul 2>nul
|
||||
start explorer.exe
|
||||
|
||||
echo removing SeaFile Desktop icon ...
|
||||
del /F "%Public%\Desktop\SeaFile.lnk" 2>nul
|
||||
|
||||
echo moving SeaFile startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Seafile\Start Seafile.lnk" %STARTMENU%\SeaFile.lnk
|
||||
|
||||
echo removing SeaFile startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Seafile" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
if seafile_server_url == 0 (
|
||||
echo no SeaFile server URL found!
|
||||
) else (
|
||||
|
||||
echo setting SeaFile server URL ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\SeaFile" ^
|
||||
/v "PreconfigureServerAddr" /d "%seafile_server_url%" /t REG_SZ /f 1>nul
|
||||
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\SeaFile" ^
|
||||
/v "PreconfigureServerAddrOnly" /d 1 /t REG_SZ /f 1>nul
|
||||
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=seafile-setup.msi
|
||||
set CUSTOM_SETTINGS=..\custom\settings.cmd
|
||||
set seafile_server_url=0
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem ===================
|
||||
rem CONFIGFILE CHECK
|
||||
rem ===================
|
||||
|
||||
echo.
|
||||
echo searching for CUSTOM settings ...
|
||||
if NOT EXIST %CUSTOM_SETTINGS% (
|
||||
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
|
||||
) else (
|
||||
echo OK. Loading CUSTOM settings ...
|
||||
call %CUSTOM_SETTINGS%
|
||||
)
|
||||
|
||||
echo installing SeaFile ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /qn
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo restarting explorer ...
|
||||
taskkill /f /im explorer.exe 1>nul 2>nul
|
||||
start explorer.exe
|
||||
|
||||
echo removing SeaFile Desktop icon ...
|
||||
del /F "%Public%\Desktop\SeaFile.lnk" 2>nul
|
||||
|
||||
echo moving SeaFile startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Seafile\Start Seafile.lnk" %STARTMENU%\SeaFile.lnk
|
||||
|
||||
echo removing SeaFile startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Seafile" 2>nul
|
||||
|
||||
echo refreshing desktop (W10 style) ...
|
||||
ie4uinit.exe -show
|
||||
|
||||
if seafile_server_url == 0 (
|
||||
echo no SeaFile server URL found!
|
||||
) else (
|
||||
|
||||
echo setting SeaFile server URL ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\SeaFile" ^
|
||||
/v "PreconfigureServerAddr" /d "%seafile_server_url%" /t REG_SZ /f 1>nul
|
||||
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\SeaFile" ^
|
||||
/v "PreconfigureServerAddrOnly" /d 1 /t REG_SZ /f 1>nul
|
||||
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,26 +1,26 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-sharemouse.txt
|
||||
set EXE=..\software\sharemouse-setup.exe
|
||||
|
||||
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
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-sharemouse.txt
|
||||
set EXE=..\software\sharemouse-setup.exe
|
||||
|
||||
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
|
||||
|
||||
|
@ -1,49 +1,49 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set TOOLS=%SystemDrive%\tools
|
||||
set INIFILE=config\snapcontrol.ini
|
||||
set SOFTWARE=..\software
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\tools"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\snapcontrol.exe (
|
||||
echo ERROR: %SOFTWARE%\snapcontrol.exe not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing snapcontrol processes...
|
||||
taskkill /F /IM snapcontrol.exe 2>nul
|
||||
|
||||
echo killing snapshot processes...
|
||||
taskkill /F /IM snapshot64.exe 2>nul
|
||||
|
||||
echo copy snapcontrol binary to [ %windir% ] ...
|
||||
copy /Y %SOFTWARE%\snapcontrol.exe %windir% 2>nul
|
||||
|
||||
if EXIST %SOFTWARE%\snapshot64_licensed.exe (
|
||||
echo copying LICENSED snapshot64 to %windir% ...
|
||||
copy /Y %SOFTWARE%\snapshot64_licensed.exe %windir%\snapshot64.exe
|
||||
) else (
|
||||
echo copying STANDARD snapshot64 to boot image ...
|
||||
copy /Y %SOFTWARE%\snapshot64.exe %windir%
|
||||
)
|
||||
|
||||
if NOT EXIST %windir%\snapcontrol.ini (
|
||||
echo copying STANDARD inifile to %windir% ...
|
||||
copy /Y %INIFILE% %windir%
|
||||
) else (
|
||||
echo inifile already copied. nothing to do!
|
||||
)
|
||||
|
||||
echo creating scheduler task ...
|
||||
%windir%\snapcontrol /I
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y "startmenu\Drive Snapshot.lnk" %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set TOOLS=%SystemDrive%\tools
|
||||
set INIFILE=config\snapcontrol.ini
|
||||
set SOFTWARE=..\software
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\tools"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\snapcontrol.exe (
|
||||
echo ERROR: %SOFTWARE%\snapcontrol.exe not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing snapcontrol processes...
|
||||
taskkill /F /IM snapcontrol.exe 2>nul
|
||||
|
||||
echo killing snapshot processes...
|
||||
taskkill /F /IM snapshot64.exe 2>nul
|
||||
|
||||
echo copy snapcontrol binary to [ %windir% ] ...
|
||||
copy /Y %SOFTWARE%\snapcontrol.exe %windir% 2>nul
|
||||
|
||||
if EXIST %SOFTWARE%\snapshot64_licensed.exe (
|
||||
echo copying LICENSED snapshot64 to %windir% ...
|
||||
copy /Y %SOFTWARE%\snapshot64_licensed.exe %windir%\snapshot64.exe
|
||||
) else (
|
||||
echo copying STANDARD snapshot64 to boot image ...
|
||||
copy /Y %SOFTWARE%\snapshot64.exe %windir%
|
||||
)
|
||||
|
||||
if NOT EXIST %windir%\snapcontrol.ini (
|
||||
echo copying STANDARD inifile to %windir% ...
|
||||
copy /Y %INIFILE% %windir%
|
||||
) else (
|
||||
echo inifile already copied. nothing to do!
|
||||
)
|
||||
|
||||
echo creating scheduler task ...
|
||||
%windir%\snapcontrol /I
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y "startmenu\Drive Snapshot.lnk" %STARTMENU%
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,126 +1,126 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=softmaker-setup-2024.msi
|
||||
set CUSTOM_SETTINGS=..\custom\settings.cmd
|
||||
set softmaker_license=0
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem ===================
|
||||
rem CONFIGFILE CHECK
|
||||
rem ===================
|
||||
|
||||
echo.
|
||||
echo searching for CUSTOM settings ...
|
||||
if NOT EXIST %CUSTOM_SETTINGS% (
|
||||
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
|
||||
) else (
|
||||
echo OK. Loading CUSTOM settings ...
|
||||
call %CUSTOM_SETTINGS%
|
||||
)
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /qb APPLICATIONFOLDER="c:\Program Files\Softmaker Office 2024" ^
|
||||
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
|
||||
@echo off
|
||||
del /F c:\temp\softmaker.log
|
||||
cd %OPT%
|
||||
|
||||
echo installing desktop icons ...
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2024\PlanMaker 2024.lnk" ^
|
||||
%PUBLIC%\Desktop\PlanMaker.lnk
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2024\Presentations 2024.lnk" ^
|
||||
%PUBLIC%\Desktop\Presentations.lnk
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2024\TextMaker 2024.lnk" ^
|
||||
%PUBLIC%\Desktop\Textmaker.lnk
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo cleaning startmenu ...
|
||||
del /F /Q /A %STARTMENU%\"Softmaker Office 2024\Bitte*.*" 2>nul
|
||||
|
||||
echo disabling automatic updates for Softmaker Office 2024 ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "UpdateCheckEnabled" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling WEB help ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "HelpSoftMaker" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling License Management ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "HelpManage" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling the asking for user infos ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "AskUserInfo" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo setting dialog language to US-english ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "DlgLID" /d 409 /t REG_DWORD /f
|
||||
|
||||
echo disabling backups ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
|
||||
echo setting default formats ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
|
||||
echo disabling smart quotes ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
|
||||
if softmaker_license == 0 (
|
||||
echo no softmaker license found!
|
||||
) else (
|
||||
echo adding softmaker license ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "ProductKey" /d "%softmaker_license%" /t REG_SZ /f
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=softmaker-setup-2024.msi
|
||||
set CUSTOM_SETTINGS=..\custom\settings.cmd
|
||||
set softmaker_license=0
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem ===================
|
||||
rem CONFIGFILE CHECK
|
||||
rem ===================
|
||||
|
||||
echo.
|
||||
echo searching for CUSTOM settings ...
|
||||
if NOT EXIST %CUSTOM_SETTINGS% (
|
||||
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
|
||||
) else (
|
||||
echo OK. Loading CUSTOM settings ...
|
||||
call %CUSTOM_SETTINGS%
|
||||
)
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /qb APPLICATIONFOLDER="c:\Program Files\Softmaker Office 2024" ^
|
||||
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
|
||||
@echo off
|
||||
del /F c:\temp\softmaker.log
|
||||
cd %OPT%
|
||||
|
||||
echo installing desktop icons ...
|
||||
copy /Y %STARTMENU%\"Softmaker Office 2024\PlanMaker 2024.lnk" ^
|
||||
%PUBLIC%\Desktop\PlanMaker.lnk
|
||||
copy /Y %STARTMENU%\"Softmaker Office 2024\Presentations 2024.lnk" ^
|
||||
%PUBLIC%\Desktop\Presentations.lnk
|
||||
copy /Y %STARTMENU%\"Softmaker Office 2024\TextMaker 2024.lnk" ^
|
||||
%PUBLIC%\Desktop\Textmaker.lnk
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo cleaning startmenu ...
|
||||
del /F /Q /A %STARTMENU%\"Softmaker Office 2024\Bitte*.*" 2>nul
|
||||
|
||||
echo disabling automatic updates for Softmaker Office 2024 ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "UpdateCheckEnabled" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling WEB help ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "HelpSoftMaker" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling License Management ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "HelpManage" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling the asking for user infos ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "AskUserInfo" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo setting dialog language to US-english ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "DlgLID" /d 409 /t REG_DWORD /f
|
||||
|
||||
echo disabling backups ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
|
||||
echo setting default formats ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
|
||||
echo disabling smart quotes ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2024" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2024" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2024" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
|
||||
if softmaker_license == 0 (
|
||||
echo no softmaker license found!
|
||||
) else (
|
||||
echo adding softmaker license ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2024" ^
|
||||
/v "ProductKey" /d "%softmaker_license%" /t REG_SZ /f
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
|
@ -1,126 +1,126 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=softmaker-setup.msi
|
||||
set CUSTOM_SETTINGS=..\custom\settings.cmd
|
||||
set softmaker_license=0
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem ===================
|
||||
rem CONFIGFILE CHECK
|
||||
rem ===================
|
||||
|
||||
echo.
|
||||
echo searching for CUSTOM settings ...
|
||||
if NOT EXIST %CUSTOM_SETTINGS% (
|
||||
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
|
||||
) else (
|
||||
echo OK. Loading CUSTOM settings ...
|
||||
call %CUSTOM_SETTINGS%
|
||||
)
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /qb APPLICATIONFOLDER="c:\Program Files\Softmaker Office 2021" ^
|
||||
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
|
||||
@echo off
|
||||
del /F c:\temp\softmaker.log
|
||||
cd %OPT%
|
||||
|
||||
echo installing desktop icons ...
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\PlanMaker 2021.lnk" ^
|
||||
%PUBLIC%\Desktop\PlanMaker.lnk
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\Presentations 2021.lnk" ^
|
||||
%PUBLIC%\Desktop\Presentations.lnk
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\TextMaker 2021.lnk" ^
|
||||
%PUBLIC%\Desktop\Textmaker.lnk
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo cleaning startmenu ...
|
||||
del /F /Q /A %STARTMENU%\"Softmaker Office 2021\Bitte*.*" 2>nul
|
||||
|
||||
echo disabling automatic updates for Softmaker Office 2021 ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "UpdateCheckEnabled" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling WEB help ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "HelpSoftMaker" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling License Management ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "HelpManage" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling the asking for user infos ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "AskUserInfo" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo setting dialog language to US-english ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "DlgLID" /d 409 /t REG_DWORD /f
|
||||
|
||||
echo disabling backups ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
|
||||
echo setting default formats ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
|
||||
echo disabling smart quotes ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
|
||||
if softmaker_license == 0 (
|
||||
echo no softmaker license found!
|
||||
) else (
|
||||
echo adding softmaker license ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "ProductKey" /d "%softmaker_license%" /t REG_SZ /f
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set MSI=softmaker-setup.msi
|
||||
set CUSTOM_SETTINGS=..\custom\settings.cmd
|
||||
set softmaker_license=0
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem ===================
|
||||
rem CONFIGFILE CHECK
|
||||
rem ===================
|
||||
|
||||
echo.
|
||||
echo searching for CUSTOM settings ...
|
||||
if NOT EXIST %CUSTOM_SETTINGS% (
|
||||
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
|
||||
) else (
|
||||
echo OK. Loading CUSTOM settings ...
|
||||
call %CUSTOM_SETTINGS%
|
||||
)
|
||||
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /qb APPLICATIONFOLDER="c:\Program Files\Softmaker Office 2021" ^
|
||||
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
|
||||
@echo off
|
||||
del /F c:\temp\softmaker.log
|
||||
cd %OPT%
|
||||
|
||||
echo installing desktop icons ...
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\PlanMaker 2021.lnk" ^
|
||||
%PUBLIC%\Desktop\PlanMaker.lnk
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\Presentations 2021.lnk" ^
|
||||
%PUBLIC%\Desktop\Presentations.lnk
|
||||
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\TextMaker 2021.lnk" ^
|
||||
%PUBLIC%\Desktop\Textmaker.lnk
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo cleaning startmenu ...
|
||||
del /F /Q /A %STARTMENU%\"Softmaker Office 2021\Bitte*.*" 2>nul
|
||||
|
||||
echo disabling automatic updates for Softmaker Office 2021 ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "UpdateCheckEnabled" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling WEB help ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "HelpSoftMaker" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling License Management ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "HelpManage" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo disabling the asking for user infos ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "AskUserInfo" /d 0 /t REG_DWORD /f
|
||||
|
||||
echo setting dialog language to US-english ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "DlgLID" /d 409 /t REG_DWORD /f
|
||||
|
||||
echo disabling backups ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "AutoSave" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "BackupFilesNumber" /d 1 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "BackupFilesPath" /d "" /t REG_SZ /f
|
||||
|
||||
echo setting default formats ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "DefaultFormat" /d 6 /t REG_DWORD /f
|
||||
|
||||
echo disabling smart quotes ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\TextMaker 2021" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\PlanMaker 2021" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\Presentations 2021" ^
|
||||
/v "SmartQuotes" /d 0 /t REG_DWORD /f
|
||||
|
||||
if softmaker_license == 0 (
|
||||
echo no softmaker license found!
|
||||
) else (
|
||||
echo adding softmaker license ...
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\SoftMaker\SoftMaker Office 2021" ^
|
||||
/v "ProductKey" /d "%softmaker_license%" /t REG_SZ /f
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
|
@ -1,29 +1,29 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\sonos2-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 SONOS 2 client ...
|
||||
start /wait %EXE% /L1031 /S /v/qn
|
||||
|
||||
echo moving SONOS startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Sonos\Sonos.lnk" %STARTMENU%\Sonos.lnk
|
||||
|
||||
echo removing SONOS startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Sonos" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\sonos2-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 SONOS 2 client ...
|
||||
start /wait %EXE% /L1031 /S /v/qn
|
||||
|
||||
echo moving SONOS startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Sonos\Sonos.lnk" %STARTMENU%\Sonos.lnk
|
||||
|
||||
echo removing SONOS startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Sonos" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,29 +1,29 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\steam-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 STEAM processes...
|
||||
taskkill /F /IM steam.exe 2>nul
|
||||
|
||||
echo installing STEAM ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
echo moving STEAM startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Steam\Steam.lnk" %STARTMENU%
|
||||
|
||||
echo removing Steam startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Steam" 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\steam-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 STEAM processes...
|
||||
taskkill /F /IM steam.exe 2>nul
|
||||
|
||||
echo installing STEAM ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
echo moving STEAM startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Steam\Steam.lnk" %STARTMENU%
|
||||
|
||||
echo removing Steam startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Steam" 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,42 +1,42 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\totalcommander-setup.exe
|
||||
set KEY=..\software\wincmd.key
|
||||
set TARGET=c:\totalcmd
|
||||
set STARTMENU=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
set STARTMENU_USER=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing TotalCommander ...
|
||||
start /wait %EXE% /AHMGDU
|
||||
|
||||
echo renaming and moving TotalCommander desktop link to public desktop ...
|
||||
move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\Total Commander.lnk"
|
||||
icacls "%PUBLIC%\Desktop\Total Commander.lnk" /grant Users:R
|
||||
|
||||
echo moving Total Commander startmenu shortcut ...
|
||||
move /Y "%STARTMENU_USER%\Total Commander\Total Commander 64 bit.lnk" "%STARTMENU%\Tools\Total Commander.lnk"
|
||||
icacls "%STARTMENU%\Tools\Total Commander.lnk" /grant Users:R
|
||||
|
||||
echo removing Total Commander startmenu folder ...
|
||||
rd /S /Q "%STARTMENU_USER%\Total Commander" 2>nul
|
||||
|
||||
if EXIST %KEY% (
|
||||
echo installing license ...
|
||||
copy /Y %KEY% %TARGET%
|
||||
)
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\totalcommander-setup.exe
|
||||
set KEY=..\software\wincmd.key
|
||||
set TARGET=c:\totalcmd
|
||||
set STARTMENU=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
set STARTMENU_USER=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing TotalCommander ...
|
||||
start /wait %EXE% /AHMGDU
|
||||
|
||||
echo renaming and moving TotalCommander desktop link to public desktop ...
|
||||
move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\Total Commander.lnk"
|
||||
icacls "%PUBLIC%\Desktop\Total Commander.lnk" /grant Users:R
|
||||
|
||||
echo moving Total Commander startmenu shortcut ...
|
||||
move /Y "%STARTMENU_USER%\Total Commander\Total Commander 64 bit.lnk" "%STARTMENU%\Tools\Total Commander.lnk"
|
||||
icacls "%STARTMENU%\Tools\Total Commander.lnk" /grant Users:R
|
||||
|
||||
echo removing Total Commander startmenu folder ...
|
||||
rd /S /Q "%STARTMENU_USER%\Total Commander" 2>nul
|
||||
|
||||
if EXIST %KEY% (
|
||||
echo installing license ...
|
||||
copy /Y %KEY% %TARGET%
|
||||
)
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-vcesimulator.txt
|
||||
set EXE=..\software\vce_exam_simulator_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 VCE Simulator 2 ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo cleanup ...
|
||||
del /F /Q %STARTMENU%\"VCE Exam Simulator\VCE Exam Simulator on the Web.url" 2>nul
|
||||
del /F /Q %STARTMENU%\"VCE Exam Simulator\Uninstall VCE Exam Simulator.lnk" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-vcesimulator.txt
|
||||
set EXE=..\software\vce_exam_simulator_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 VCE Simulator 2 ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo cleanup ...
|
||||
del /F /Q %STARTMENU%\"VCE Exam Simulator\VCE Exam Simulator on the Web.url" 2>nul
|
||||
del /F /Q %STARTMENU%\"VCE Exam Simulator\Uninstall VCE Exam Simulator.lnk" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,49 +1,49 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\virtualbox-setup.exe
|
||||
set VBOXMANAGE="%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe"
|
||||
set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing VirtualBox ...
|
||||
%EXE% --silent --ignore-reboot
|
||||
|
||||
echo renaming Desktop shortcut ...
|
||||
move /Y "%PUBLIC%\Desktop\Oracle VM VirtualBox.lnk" ^
|
||||
"%PUBLIC%\Desktop\VirtualBox.lnk"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo disabling VirtualBox update search ...
|
||||
%VBOXMANAGE% setextradata global GUI/UpdateDate never
|
||||
|
||||
echo moving VirtualBox startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Oracle VM VirtualBox\Oracle VM VirtualBox.lnk" %STARTMENU%
|
||||
|
||||
echo removing VirtualBox startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Oracle VM VirtualBox" 2>nul
|
||||
|
||||
echo enabling VirtualBox bridging protocol ...
|
||||
powershell -Command "Enable-NetAdapterBinding -Name '*' -ComponentID oracle_VBoxNetLwf"
|
||||
|
||||
echo disabling VirtualBox bridging protocol on Host-Only network adapter ...
|
||||
powershell -Command "Disable-NetAdapterBinding -Name 'VirtualBox Host-Only Network' -ComponentID oracle_VBoxNetLwf"
|
||||
|
||||
echo disabling VirtualBox Host-Only network adapter ...
|
||||
powershell -Command "Disable-NetAdapter -Name 'VirtualBox Host-Only Network' -Confirm:$false"
|
||||
|
||||
echo showing network state:
|
||||
powershell -Command "Get-NetAdapterBinding -ComponentID oracle_VBoxNetLwf"
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set EXE=..\software\virtualbox-setup.exe
|
||||
set VBOXMANAGE="%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe"
|
||||
set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing VirtualBox ...
|
||||
%EXE% --silent --ignore-reboot
|
||||
|
||||
echo renaming Desktop shortcut ...
|
||||
move /Y "%PUBLIC%\Desktop\Oracle VM VirtualBox.lnk" ^
|
||||
"%PUBLIC%\Desktop\VirtualBox.lnk"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo disabling VirtualBox update search ...
|
||||
%VBOXMANAGE% setextradata global GUI/UpdateDate never
|
||||
|
||||
echo moving VirtualBox startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Oracle VM VirtualBox\Oracle VM VirtualBox.lnk" %STARTMENU%
|
||||
|
||||
echo removing VirtualBox startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Oracle VM VirtualBox" 2>nul
|
||||
|
||||
echo enabling VirtualBox bridging protocol ...
|
||||
powershell -Command "Enable-NetAdapterBinding -Name '*' -ComponentID oracle_VBoxNetLwf"
|
||||
|
||||
echo disabling VirtualBox bridging protocol on Host-Only network adapter ...
|
||||
powershell -Command "Disable-NetAdapterBinding -Name 'VirtualBox Host-Only Network' -ComponentID oracle_VBoxNetLwf"
|
||||
|
||||
echo disabling VirtualBox Host-Only network adapter ...
|
||||
powershell -Command "Disable-NetAdapter -Name 'VirtualBox Host-Only Network' -Confirm:$false"
|
||||
|
||||
echo showing network state:
|
||||
powershell -Command "Get-NetAdapterBinding -ComponentID oracle_VBoxNetLwf"
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,55 +1,55 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-vscode.txt
|
||||
set EXE=..\software\vscode-setup.exe
|
||||
set MARKDOWNTABLE=..\software\markdowntable.vsix
|
||||
set SFTP=..\software\sftp.vsix
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing VisualStudio code processes...
|
||||
taskkill /F /IM Code.exe 2>nul
|
||||
|
||||
echo cleanup ...
|
||||
del /F /Q "%PUBLIC%\Desktop\VScode.lnk" 2>nul
|
||||
|
||||
echo installing Visual Studio CODE ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo installing Desktop shortcut ...
|
||||
copy /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" "%PUBLIC%\Desktop"
|
||||
move /Y "%PUBLIC%\Desktop\Visual*.lnk" "%PUBLIC%\Desktop\VScode.lnk"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo moving VScode startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" %STARTMENU%
|
||||
|
||||
echo removing VScode startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Visual Studio Code" 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
rem IMPORTANT! THIS must be the last action
|
||||
rem - for some reason stupid VScode is killing the script after executing ...
|
||||
|
||||
echo adding VScode plugins ...
|
||||
"%ProgramFiles%\Microsoft VS Code\bin\code" ^
|
||||
--extensions-dir "%ProgramFiles%\Microsoft VS Code\resources\app\extensions" ^
|
||||
--install-extension %MARKDOWNTABLE% --install-extension %SFTP% 2>nul
|
||||
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-vscode.txt
|
||||
set EXE=..\software\vscode-setup.exe
|
||||
set MARKDOWNTABLE=..\software\markdowntable.vsix
|
||||
set SFTP=..\software\sftp.vsix
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing VisualStudio code processes...
|
||||
taskkill /F /IM Code.exe 2>nul
|
||||
|
||||
echo cleanup ...
|
||||
del /F /Q "%PUBLIC%\Desktop\VScode.lnk" 2>nul
|
||||
|
||||
echo installing Visual Studio CODE ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo installing Desktop shortcut ...
|
||||
copy /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" "%PUBLIC%\Desktop"
|
||||
move /Y "%PUBLIC%\Desktop\Visual*.lnk" "%PUBLIC%\Desktop\VScode.lnk"
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo moving VScode startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" %STARTMENU%
|
||||
|
||||
echo removing VScode startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"Visual Studio Code" 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
rem set filetypes ...
|
||||
if EXIST ..\scripts\set-filetypes.cmd (
|
||||
call ..\scripts\set-filetypes.cmd
|
||||
)
|
||||
|
||||
rem IMPORTANT! THIS must be the last action
|
||||
rem - for some reason stupid VScode is killing the script after executing ...
|
||||
|
||||
echo adding VScode plugins ...
|
||||
"%ProgramFiles%\Microsoft VS Code\bin\code" ^
|
||||
--extensions-dir "%ProgramFiles%\Microsoft VS Code\resources\app\extensions" ^
|
||||
--install-extension %MARKDOWNTABLE% --install-extension %SFTP% 2>nul
|
||||
|
||||
|
||||
|
@ -1,31 +1,31 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-wezterm.txt
|
||||
set EXE=..\software\wezterm-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 WezTerm processes...
|
||||
taskkill /F /IM wezterm-gui.exe 2>nul
|
||||
|
||||
echo installing WezTerm ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\WezTerm.lnk %STARTMENU%
|
||||
copy /Y startmenu\WezTerm.lnk %PUBLIC%\Desktop
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set CONFIG=config\install-wezterm.txt
|
||||
set EXE=..\software\wezterm-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 WezTerm processes...
|
||||
taskkill /F /IM wezterm-gui.exe 2>nul
|
||||
|
||||
echo installing WezTerm ...
|
||||
start /wait %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\WezTerm.lnk %STARTMENU%
|
||||
copy /Y startmenu\WezTerm.lnk %PUBLIC%\Desktop
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set ZIP=..\software\winauth.zip
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ZIP% (
|
||||
echo ERROR: %ZIP% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing WinAuth processes...
|
||||
taskkill /F /IM winauth.exe 2>nul
|
||||
|
||||
echo unpacking WinAuth ...
|
||||
7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\WinAuth.lnk %STARTMENU%
|
||||
copy /Y startmenu\WinAuth.lnk %PUBLIC%\Desktop
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set ZIP=..\software\winauth.zip
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %ZIP% (
|
||||
echo ERROR: %ZIP% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo killing WinAuth processes...
|
||||
taskkill /F /IM winauth.exe 2>nul
|
||||
|
||||
echo unpacking WinAuth ...
|
||||
7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
|
||||
|
||||
echo copy startmenu link ...
|
||||
copy /Y startmenu\WinAuth.lnk %STARTMENU%
|
||||
copy /Y startmenu\WinAuth.lnk %PUBLIC%\Desktop
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,31 +1,31 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
set EXE=..\software\wireshark-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo extracting npcap ...
|
||||
7z e -aoa -o%T% %EXE% npcap*.exe 1>nul 2>nul
|
||||
move /Y %T%\npcap*.exe %T%\npcap.exe
|
||||
|
||||
echo installing npcap ...
|
||||
start /wait %T%\npcap.exe
|
||||
del /F /Q %T%\npcap.exe 2>nul
|
||||
|
||||
echo installing WireShark ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set T=%SystemDrive%\TEMP
|
||||
set EXE=..\software\wireshark-setup.exe
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo extracting npcap ...
|
||||
7z e -aoa -o%T% %EXE% npcap*.exe 1>nul 2>nul
|
||||
move /Y %T%\npcap*.exe %T%\npcap.exe
|
||||
|
||||
echo installing npcap ...
|
||||
start /wait %T%\npcap.exe
|
||||
del /F /Q %T%\npcap.exe 2>nul
|
||||
|
||||
echo installing WireShark ...
|
||||
start /wait %EXE% /S
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
||||
|
@ -1,212 +1,212 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
|
||||
echo ####### %0 #######
|
||||
rem most of this was took from:
|
||||
rem https://forum.level1techs.com/t/take-back-your-windows-10-privacy/143097/2
|
||||
rem THANKS!
|
||||
|
||||
echo.
|
||||
echo WARNING: executing this script may cripple some important functions in windows!
|
||||
echo especially the STORE APP will not work anymore - and it will be removed by this script!
|
||||
|
||||
echo.
|
||||
echo WARNING: system will be REBOOTED after modify!
|
||||
echo SAVE YOUR WORK AND COME BACK!
|
||||
echo.
|
||||
|
||||
set answer=
|
||||
:ask
|
||||
set /p answer="REALLY remove all Microsoft telemetry (Y/N)? "
|
||||
if /i "%answer:~,1%" EQU "Y" (
|
||||
GOTO CONT
|
||||
)
|
||||
if /i "%answer:~,1%" EQU "N" (
|
||||
echo ABORTED.
|
||||
exit /b
|
||||
)
|
||||
echo Please type Y or N.
|
||||
goto ask
|
||||
:CONT
|
||||
|
||||
echo.
|
||||
echo OK ... trying to remove ALL the stupid fucking microsoft TELEMETRY BULLSHIT!
|
||||
|
||||
echo.
|
||||
echo ADDING some registry keys to disable telemetry ...
|
||||
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" ^
|
||||
/v "EnabledV9" /t REG_DWORD /d "0" /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v AITEnable /t REG_DWORD /d 0 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableInventory /t REG_DWORD /d 1 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisablePCA /t REG_DWORD /d 1 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableUAR /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SpyNetReporting /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SubmitSamplesConsent /t REG_DWORD /d 2 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v DontReportInfectionInformation /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowGameDVR /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 2 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableSoftLanding /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightFeatures /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontReportInfectionInformation" /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\WindowsStore" /v RemoveWindowsStore /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\WindowsStore" /v DisableStoreApps /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\PushToInstall" /v DisablePushToInstall /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableConfig" /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /v NoGenTicket /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableConfig" /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SecHealthUI.exe" /v Debugger ^
|
||||
/t REG_SZ /d "%windir%\System32\taskkill.exe" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe" /v Debugger ^
|
||||
/t REG_SZ /d "%windir%\System32\taskkill.exe" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DeviceCensus.exe" /v Debugger ^
|
||||
/t REG_SZ /d "%windir%\System32\taskkill.exe" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SmartScreenEnabled /t REG_SZ /d "Off" /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d "0" /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance" ^
|
||||
/v "Enabled" /t REG_DWORD /d 0 /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d 0 /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SilentInstalledAppsEnabled /t REG_DWORD /d 0 /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoRecentDocsHistory" /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
|
||||
reg add "HKCU\Software\Microsoft\Internet Explorer\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v DoNotShowFeedbackNotifications /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\WindowsInkWorkspace" /v AllowSuggestedAppsInWindowsInkWorkspace /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallDay /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallTime /t REG_DWORD /d 3 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSync /t REG_DWORD /d 2 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSyncUserOverride /t REG_DWORD /d 1 /f
|
||||
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v Start /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "{2765E0F4-2918-4A46-B9C9-43CDD8FCBA2B}" ^
|
||||
/t REG_SZ /d "BlockCortana|Action=Block|Active=TRUE|Dir=Out|App=C:\windows\systemapps\microsoft.windows.cortana_cw5n1h2txyewy\searchui.exe|Name=Search and Cortana application|AppPkgId=S-1-15-2-1861897761-1695161497-2927542615-642690995-327840285-2659745135-2630312742|" /f
|
||||
|
||||
echo.
|
||||
echo DELETING some registry keys to disable telemetry ...
|
||||
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /f
|
||||
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\xbgm" /f
|
||||
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Sense" /f
|
||||
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /f
|
||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f
|
||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "SecurityHealth" /f
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "wscsvc" ^| find /i "wscsvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "OneSyncSvc" ^| find /i "OneSyncSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "MessagingService" ^| find /i "MessagingService"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "PimIndexMaintenanceSvc" ^| find /i "PimIndexMaintenanceSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "UserDataSvc" ^| find /i "UserDataSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "UnistoreSvc" ^| find /i "UnistoreSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "BcastDVRUserService" ^| find /i "BcastDVRUserService"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "Sgrmbroker" ^| find /i "Sgrmbroker"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "ClipSVC" ^| find /i "ClipSVC"') do (reg delete %%I /f)
|
||||
|
||||
echo.
|
||||
echo DELETING some services ...
|
||||
sc delete PushToInstall
|
||||
sc delete XblAuthManager
|
||||
sc delete XblGameSave
|
||||
sc delete XboxNetApiSvc
|
||||
sc delete XboxGipSvc
|
||||
sc delete MapsBroker
|
||||
sc delete lfsvc
|
||||
sc delete DiagTrack
|
||||
sc delete dmwappushservice
|
||||
sc delete WerSvc
|
||||
sc delete OneSyncSvc
|
||||
sc delete MessagingService
|
||||
sc delete wercplsupport
|
||||
sc delete PcaSvc
|
||||
sc delete wisvc
|
||||
sc delete RetailDemo
|
||||
sc delete diagsvc
|
||||
sc delete shpamsvc
|
||||
sc delete TermService
|
||||
sc delete UmRdpService
|
||||
sc delete SessionEnv
|
||||
sc delete TroubleshootingSvc
|
||||
sc delete diagnosticshub.standardcollector.service
|
||||
|
||||
echo.
|
||||
echo RECONFIGURING some services ...
|
||||
sc config wlidsvc start=demand
|
||||
|
||||
echo.
|
||||
echo DISABLING some tasks ...
|
||||
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /disable
|
||||
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTaskLogon" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Maps\MapsUpdateTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Maps\MapsToastTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\HelloFace\FODCleanupTask" /Disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\SystemRestore\SR" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\AitAgent" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\BthSQM" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefresh" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Clip\License Validation" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\ApplicationData\DsSvcCleanup" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\PushToInstall\LoginCheck" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\PushToInstall\Registration" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyMonitor" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyMonitorToastTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyRefreshTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Subscription\EnableLicenseAcquisition" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Subscription\LicenseAcquisition" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Diagnosis\Scheduled" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /disable
|
||||
|
||||
echo.
|
||||
echo DELETING shadow copies ...
|
||||
vssadmin delete shadows /all /Quiet
|
||||
|
||||
echo.
|
||||
echo DELETING some files ...
|
||||
del /F /Q "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\*"
|
||||
|
||||
echo.
|
||||
echo REMOVING the store ...
|
||||
powershell -Command ./uninstall-store.ps1
|
||||
|
||||
echo.
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
shutdown -g -t 0
|
||||
|
||||
@echo off
|
||||
call check-for-admin
|
||||
|
||||
echo ####### %0 #######
|
||||
rem most of this was took from:
|
||||
rem https://forum.level1techs.com/t/take-back-your-windows-10-privacy/143097/2
|
||||
rem THANKS!
|
||||
|
||||
echo.
|
||||
echo WARNING: executing this script may cripple some important functions in windows!
|
||||
echo especially the STORE APP will not work anymore - and it will be removed by this script!
|
||||
|
||||
echo.
|
||||
echo WARNING: system will be REBOOTED after modify!
|
||||
echo SAVE YOUR WORK AND COME BACK!
|
||||
echo.
|
||||
|
||||
set answer=
|
||||
:ask
|
||||
set /p answer="REALLY remove all Microsoft telemetry (Y/N)? "
|
||||
if /i "%answer:~,1%" EQU "Y" (
|
||||
GOTO CONT
|
||||
)
|
||||
if /i "%answer:~,1%" EQU "N" (
|
||||
echo ABORTED.
|
||||
exit /b
|
||||
)
|
||||
echo Please type Y or N.
|
||||
goto ask
|
||||
:CONT
|
||||
|
||||
echo.
|
||||
echo OK ... trying to remove ALL the stupid fucking microsoft TELEMETRY BULLSHIT!
|
||||
|
||||
echo.
|
||||
echo ADDING some registry keys to disable telemetry ...
|
||||
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" ^
|
||||
/v "EnabledV9" /t REG_DWORD /d "0" /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v AITEnable /t REG_DWORD /d 0 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableInventory /t REG_DWORD /d 1 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisablePCA /t REG_DWORD /d 1 /f
|
||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableUAR /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SpyNetReporting /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SubmitSamplesConsent /t REG_DWORD /d 2 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v DontReportInfectionInformation /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowGameDVR /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 2 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableSoftLanding /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightFeatures /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontReportInfectionInformation" /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\WindowsStore" /v RemoveWindowsStore /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\WindowsStore" /v DisableStoreApps /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\PushToInstall" /v DisablePushToInstall /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableConfig" /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /v NoGenTicket /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableConfig" /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SecHealthUI.exe" /v Debugger ^
|
||||
/t REG_SZ /d "%windir%\System32\taskkill.exe" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe" /v Debugger ^
|
||||
/t REG_SZ /d "%windir%\System32\taskkill.exe" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DeviceCensus.exe" /v Debugger ^
|
||||
/t REG_SZ /d "%windir%\System32\taskkill.exe" /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SmartScreenEnabled /t REG_SZ /d "Off" /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d "0" /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance" ^
|
||||
/v "Enabled" /t REG_DWORD /d 0 /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d 0 /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SilentInstalledAppsEnabled /t REG_DWORD /d 0 /f
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoRecentDocsHistory" /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
|
||||
reg add "HKCU\Software\Microsoft\Internet Explorer\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v DoNotShowFeedbackNotifications /t REG_DWORD /d 1 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\WindowsInkWorkspace" /v AllowSuggestedAppsInWindowsInkWorkspace /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallDay /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallTime /t REG_DWORD /d 3 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSync /t REG_DWORD /d 2 /f
|
||||
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSyncUserOverride /t REG_DWORD /d 1 /f
|
||||
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v Start /t REG_DWORD /d 0 /f
|
||||
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "{2765E0F4-2918-4A46-B9C9-43CDD8FCBA2B}" ^
|
||||
/t REG_SZ /d "BlockCortana|Action=Block|Active=TRUE|Dir=Out|App=C:\windows\systemapps\microsoft.windows.cortana_cw5n1h2txyewy\searchui.exe|Name=Search and Cortana application|AppPkgId=S-1-15-2-1861897761-1695161497-2927542615-642690995-327840285-2659745135-2630312742|" /f
|
||||
|
||||
echo.
|
||||
echo DELETING some registry keys to disable telemetry ...
|
||||
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /f
|
||||
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\xbgm" /f
|
||||
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Sense" /f
|
||||
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /f
|
||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f
|
||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "SecurityHealth" /f
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "wscsvc" ^| find /i "wscsvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "OneSyncSvc" ^| find /i "OneSyncSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "MessagingService" ^| find /i "MessagingService"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "PimIndexMaintenanceSvc" ^| find /i "PimIndexMaintenanceSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "UserDataSvc" ^| find /i "UserDataSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "UnistoreSvc" ^| find /i "UnistoreSvc"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "BcastDVRUserService" ^| find /i "BcastDVRUserService"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "Sgrmbroker" ^| find /i "Sgrmbroker"') do (reg delete %%I /f)
|
||||
for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" ^
|
||||
/k /f "ClipSVC" ^| find /i "ClipSVC"') do (reg delete %%I /f)
|
||||
|
||||
echo.
|
||||
echo DELETING some services ...
|
||||
sc delete PushToInstall
|
||||
sc delete XblAuthManager
|
||||
sc delete XblGameSave
|
||||
sc delete XboxNetApiSvc
|
||||
sc delete XboxGipSvc
|
||||
sc delete MapsBroker
|
||||
sc delete lfsvc
|
||||
sc delete DiagTrack
|
||||
sc delete dmwappushservice
|
||||
sc delete WerSvc
|
||||
sc delete OneSyncSvc
|
||||
sc delete MessagingService
|
||||
sc delete wercplsupport
|
||||
sc delete PcaSvc
|
||||
sc delete wisvc
|
||||
sc delete RetailDemo
|
||||
sc delete diagsvc
|
||||
sc delete shpamsvc
|
||||
sc delete TermService
|
||||
sc delete UmRdpService
|
||||
sc delete SessionEnv
|
||||
sc delete TroubleshootingSvc
|
||||
sc delete diagnosticshub.standardcollector.service
|
||||
|
||||
echo.
|
||||
echo RECONFIGURING some services ...
|
||||
sc config wlidsvc start=demand
|
||||
|
||||
echo.
|
||||
echo DISABLING some tasks ...
|
||||
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /disable
|
||||
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTaskLogon" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Maps\MapsUpdateTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Maps\MapsToastTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\HelloFace\FODCleanupTask" /Disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\SystemRestore\SR" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\AitAgent" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\BthSQM" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefresh" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /disable
|
||||
schtasks /Change /TN "Microsoft\Windows\Clip\License Validation" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\ApplicationData\DsSvcCleanup" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\PushToInstall\LoginCheck" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\PushToInstall\Registration" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyMonitor" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyMonitorToastTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyRefreshTask" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Subscription\EnableLicenseAcquisition" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Subscription\LicenseAcquisition" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\Diagnosis\Scheduled" /disable
|
||||
schtasks /Change /TN "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /disable
|
||||
|
||||
echo.
|
||||
echo DELETING shadow copies ...
|
||||
vssadmin delete shadows /all /Quiet
|
||||
|
||||
echo.
|
||||
echo DELETING some files ...
|
||||
del /F /Q "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\*"
|
||||
|
||||
echo.
|
||||
echo REMOVING the store ...
|
||||
powershell -Command ./uninstall-store.ps1
|
||||
|
||||
echo.
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
shutdown -g -t 0
|
||||
|
||||
|
@ -122,6 +122,10 @@ rem put vnc in place ...
|
||||
call unpack-vnc.cmd
|
||||
echo.
|
||||
|
||||
rem put office deployment tool in place ...
|
||||
call unpack-officedeploymenttool.cmd
|
||||
echo.
|
||||
|
||||
rem unpack all the other zipfiles ...
|
||||
call unpack-zipfiles.cmd
|
||||
echo.
|
||||
|
@ -16,6 +16,7 @@ for %%E in (
|
||||
rdp.exe
|
||||
anydesk.exe
|
||||
superuser.exe
|
||||
isodownloader.exe
|
||||
|
||||
) do (
|
||||
|
||||
|
29
scripts/unpack-officedeploymenttool.cmd
Normal file
29
scripts/unpack-officedeploymenttool.cmd
Normal file
@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
|
||||
set SCRIPTS=..\scripts
|
||||
set SOFTWARE=..\software
|
||||
set T=%SystemDrive%\TEMP
|
||||
set TOOLS=%SystemDrive%\tools
|
||||
set EXE=officedeploymenttool-setup.exe
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%EXE% (
|
||||
echo ERROR: %SOFTWARE%\%EXE% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo unpacking office deployment tool (Microsoft) ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
%EXE% /extract:%T% /quiet /passive
|
||||
@echo off
|
||||
cd %SCRIPTS%
|
||||
|
||||
echo moving binary to tools folder ...
|
||||
move /Y %T%\setup.exe %TOOLS%\officedeploymenttool.exe
|
||||
del /F /Q %T%\setup.exe 1>nul 2>nul
|
||||
del /F /Q %T%\configuration*.xml 1>nul 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
|
@ -55,3 +55,4 @@ https://github.com/massgravel/Microsoft-Activation-Scripts/archive/refs/heads/ma
|
||||
https://github.com/stascorp/rdpwrap/releases/download/v1.6.2/RDPWrap-v1.6.2.zip rdpwrap.zip
|
||||
https://www.donkz.nl/download/remote-desktop-plus/?tmstv=1706629805 rdp.exe
|
||||
https://download.anydesk.com/AnyDesk.exe anydesk.exe
|
||||
https://www.heidoc.net/php/Windows-ISO-Downloader.exe isodownloader.exe
|
||||
|
|
24
software/download-msoffice-from-source.cmd
Normal file
24
software/download-msoffice-from-source.cmd
Normal file
@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
set T=%SystemDrive%\TEMP
|
||||
set EXE=officedeploymenttool-setup.exe
|
||||
set CONFIG=..\optional\config\office2019-standard.xml
|
||||
|
||||
if NOT EXIST %EXE% (
|
||||
echo ERROR: %EXE% not found!
|
||||
echo HINT: use "download-from-source optional"
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo unpacking office deployment tool ...
|
||||
%EXE% /extract:%T% /quiet /passive
|
||||
|
||||
echo starting download ...
|
||||
%T%\setup.exe /download %CONFIG%
|
||||
|
||||
echo packing files with 7zip...
|
||||
7z a -aoa -r -y -mx0 -sdel office2019-standard %T%\Office
|
||||
|
||||
rem cleanup ...
|
||||
del /F /Q %T%\setup.exe 1>nul 2>nul
|
||||
del /F /Q %T%\configuration*.xml 1>nul 2>nul
|
||||
rd /S /Q %T%\Office 2>nul
|
@ -38,3 +38,4 @@ https://www.heidisql.com/installers/HeidiSQL_12.3.0.6589_Setup.exe heidisql-setu
|
||||
https://github.com/jgraph/drawio-desktop/releases/download/v21.6.5/draw.io-21.6.5.msi drawio-setup.msi
|
||||
https://2.na.dl.wireshark.org/win64/Wireshark-win64-4.0.7.exe wireshark-setup.exe
|
||||
https://github.com/wez/wezterm/releases/download/20230712-072601-f4abf8fd/WezTerm-20230712-072601-f4abf8fd-setup.exe wezterm-setup.exe
|
||||
https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_17830-20162.exe officedeploymenttool-setup.exe
|
||||
|
|
Loading…
Reference in New Issue
Block a user