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>
|
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
|
@ -38,11 +38,11 @@ del /F c:\temp\softmaker.log
|
|||||||
cd %OPT%
|
cd %OPT%
|
||||||
|
|
||||||
echo installing desktop icons ...
|
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
|
%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
|
%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
|
%PUBLIC%\Desktop\Textmaker.lnk
|
||||||
|
|
||||||
rem refresh desktop (W10 style)
|
rem refresh desktop (W10 style)
|
||||||
|
@ -122,6 +122,10 @@ rem put vnc in place ...
|
|||||||
call unpack-vnc.cmd
|
call unpack-vnc.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
rem put office deployment tool in place ...
|
||||||
|
call unpack-officedeploymenttool.cmd
|
||||||
|
echo.
|
||||||
|
|
||||||
rem unpack all the other zipfiles ...
|
rem unpack all the other zipfiles ...
|
||||||
call unpack-zipfiles.cmd
|
call unpack-zipfiles.cmd
|
||||||
echo.
|
echo.
|
||||||
|
@ -16,6 +16,7 @@ for %%E in (
|
|||||||
rdp.exe
|
rdp.exe
|
||||||
anydesk.exe
|
anydesk.exe
|
||||||
superuser.exe
|
superuser.exe
|
||||||
|
isodownloader.exe
|
||||||
|
|
||||||
) do (
|
) 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://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://www.donkz.nl/download/remote-desktop-plus/?tmstv=1706629805 rdp.exe
|
||||||
https://download.anydesk.com/AnyDesk.exe anydesk.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://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://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://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