MS-Office integrated

This commit is contained in:
Michael H.G. Schmidt 2024-09-08 19:53:09 +02:00
parent 083564c65c
commit bc7c372d2e
44 changed files with 1862 additions and 1717 deletions

View 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>

View 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

View File

@ -38,11 +38,11 @@ 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" ^
copy /Y %STARTMENU%\"Softmaker Office 2024\PlanMaker 2024.lnk" ^
%PUBLIC%\Desktop\PlanMaker.lnk
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2024\Presentations 2024.lnk" ^
copy /Y %STARTMENU%\"Softmaker Office 2024\Presentations 2024.lnk" ^
%PUBLIC%\Desktop\Presentations.lnk
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2024\TextMaker 2024.lnk" ^
copy /Y %STARTMENU%\"Softmaker Office 2024\TextMaker 2024.lnk" ^
%PUBLIC%\Desktop\Textmaker.lnk
rem refresh desktop (W10 style)

View File

@ -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.

View File

@ -16,6 +16,7 @@ for %%E in (
rdp.exe
anydesk.exe
superuser.exe
isodownloader.exe
) do (

View 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 #######

View File

@ -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

1 https://www.7-zip.org/a/7z1900-x64.msi 7z-setup.msi
55 https://github.com/stascorp/rdpwrap/releases/download/v1.6.2/RDPWrap-v1.6.2.zip rdpwrap.zip
56 https://www.donkz.nl/download/remote-desktop-plus/?tmstv=1706629805 rdp.exe
57 https://download.anydesk.com/AnyDesk.exe anydesk.exe
58 https://www.heidoc.net/php/Windows-ISO-Downloader.exe isodownloader.exe

View 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

View File

@ -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

1 https://gitea.exabyte-systems.com/WINDOWS/snapcontrol/releases/download/V1.13/snapcontrol.exe snapcontrol.exe
38 https://github.com/jgraph/drawio-desktop/releases/download/v21.6.5/draw.io-21.6.5.msi drawio-setup.msi
39 https://2.na.dl.wireshark.org/win64/Wireshark-win64-4.0.7.exe wireshark-setup.exe
40 https://github.com/wez/wezterm/releases/download/20230712-072601-f4abf8fd/WezTerm-20230712-072601-f4abf8fd-setup.exe wezterm-setup.exe
41 https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_17830-20162.exe officedeploymenttool-setup.exe