microsoft_office
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
Microsoft Office
Installation
-
- Erstellen/Bearbeiten einer Konfigurationsdatei (Import/Export)
-
- Installieren von MS Office mithilfe von dem ODT und dem Skript (siehe unten)
- Aktivierung (nur für Volume License):
- Windows mit HWID und Office mit KMS: https://github.com/massgravel/Microsoft-Activation-Scripts.git
- Windows und Office mit KMS: https://github.com/kkkgo/KMS_VL_ALL.git
Installationsskript
https://github.com/Masterflitzer/ms-activation.git
PowerShell Skript:
- office-install.ps1
param ( [Parameter(Mandatory = $false, Position = 0)] [string] $config = $null ) $ErrorActionPreference = "Stop" function IsNullOrWhiteSpace ([string]$s) { return [string]::IsNullOrWhiteSpace($s) } function IsPathFullyQualified ([string]$path) { return [System.IO.Path]::IsPathFullyQualified($path) } function NormalizePath ([string]$path) { return $path.Replace('\', '/').ToLower() } function GetFilePath { param ( [Parameter(Mandatory = $true)] [string]$initialDir ) #[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") $_file = New-Object System.Windows.Forms.OpenFileDialog $_file.InitialDirectory = $initialDir $_file.Multiselect = $false $_file.ShowDialog() | Out-Null if (IsNullOrWhiteSpace($_file.FileName)) { return $_file.FileName } } $_config = $config $_dir = NormalizePath([System.IO.Path]::Combine([Environment]::GetFolderPath('Personal'), "office-deployment-tool")) $_home = NormalizePath([Environment]::GetFolderPath('UserProfile')) $_url = "https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_14326-20404.exe" if (IsNullOrWhiteSpace($_config)) { $_config = GetFilePath($_home) } if (IsNullOrWhiteSpace($_config) -or !IsPathFullyQualified($_config)) { exit 1 } $_config = NormalizePath($_config) New-Item -ItemType Directory "$_dir" | Out-Null Invoke-WebRequest -Uri "$_url" -OutFile "$_dir/odt.exe" Start-Process "$_dir/odt.exe" "/quiet /passive /extract:$_dir" -Wait Remove-Item "$_dir/configuration-office*.xml" -Force & "$_dir/setup.exe" "/download $_config" & "$_dir/setup.exe" "/configure $_config"
Konfigurationsdatei für Microsoft 365 Apps for enterprise (Aktivierung über MS Account z.B. Schulkonto)
- odt-365.xml
<Configuration ID="3cb94803-a68b-43fb-a9a3-d3316685da80"> <Add OfficeClientEdition="64" Channel="Current"> <Product ID="O365ProPlusRetail"> <Language ID="MatchOS" /> <Language ID="en-us" /> <Language ID="de-de" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="Lync" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="Teams" /> <ExcludeApp ID="Bing" /> </Product> <Product ID="LanguagePack"> <Language ID="MatchOS" /> <Language ID="en-us" /> <Language ID="de-de" /> <ExcludeApp ID="Bing" /> </Product> <Product ID="ProofingTools"> <Language ID="en-us" /> <Language ID="de-de" /> </Product> </Add> <Property Name="SharedComputerLicensing" Value="0" /> <Property Name="SCLCacheOverride" Value="0" /> <Property Name="AUTOACTIVATE" Value="0" /> <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" /> <Property Name="DeviceBasedLicensing" Value="0" /> <Updates Enabled="TRUE" /> <RemoveMSI /> <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>
Konfigurationsdatei für Microsoft Office Professional Plus (Aktivierung über Volume License z.B. KMS)
- odt-vl.xml
<Configuration ID="ca4d526b-2b0c-4c1c-ab8e-c3c2d3474e9e"> <Add OfficeClientEdition="64" Channel="PerpetualVL2021"> <Product ID="ProPlus2021Volume" PIDKEY="FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH"> <Language ID="MatchOS" /> <Language ID="en-us" /> <Language ID="de-de" /> <ExcludeApp ID="Lync" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="Teams" /> </Product> <Product ID="LanguagePack"> <Language ID="MatchOS" /> <Language ID="en-us" /> <Language ID="de-de" /> </Product> <Product ID="ProofingTools"> <Language ID="en-us" /> <Language ID="de-de" /> </Product> </Add> <Property Name="SharedComputerLicensing" Value="0" /> <Property Name="SCLCacheOverride" Value="0" /> <Property Name="AUTOACTIVATE" Value="0" /> <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" /> <Property Name="DeviceBasedLicensing" Value="0" /> <Updates Enabled="TRUE" /> <RemoveMSI /> <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>
/home/http/wiki/data/attic/microsoft_office.1633437826.txt · Zuletzt geändert: von david
