Office 365

Generické klíče

EditionId          Key                            ProductKeyType  ProductDescription                     ActConfigId
O365ProPlusRetail  2N382-D6PKK-QTX4D-2JJYK-M96P2  Retail:TB:Sub   Office16_O365ProPlusR_Subscription1    149DBCE7-A48E-44DB-8364-A53386CD4580
O365ProPlusRetail  H8DN8-Y2YP3-CR9JT-DHDR9-C7GP3  Retail:TB:Sub   Office16_O365ProPlusR_Subscription2    E3DACC06-3BC2-4E13-8E59-8E05F3232325
ProjectProRetail   WPY8N-PDPY4-FC7TF-KMP7P-KWYFY  Retail:TB:Sub   Office16_ProjectProO365R_Subscription  2F72340C-B555-418D-8B46-355944FE66B8
VisioProRetail     NVK2G-2MY4G-7JX2P-7D6F2-VFQBR  Retail:TB:Sub   Office16_VisioProO365R_Subscription    A56A3B37-3A35-4BBB-A036-EEE5F1898EEE

Aktualizační kanál

AudienceId                            AudienceData
492350F6-3A01-4F97-B9C0-C7C6DDF67D60  Production::CC

Instalace pomocí ODT

ODT

setup.cs-cz.exe

configuration.xml

<Configuration>
  <Add OfficeClientEdition="64" Channel="Current">
    <Product ID="O365ProPlusRetail" PIDKEY="H8DN8-Y2YP3-CR9JT-DHDR9-C7GP3">
      <Language ID="cs-cz" />
      <!--  <ExcludeApp ID="Word" />           -->
      <!--  <ExcludeApp ID="Excel" />          -->
      <!--  <ExcludeApp ID="Outlook" />        -->
      <!--  <ExcludeApp ID="PowerPoint" />     -->
      <!--  <ExcludeApp ID="Access" />         -->
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Publisher" />
      <ExcludeApp ID="Teams" />
      <ExcludeApp ID="Bing" />
    </Product>
    <!--  <Product ID="VisioProRetail" PIDKEY="NVK2G-2MY4G-7JX2P-7D6F2-VFQBR">    -->
    <!--    <Language ID="cs-cz" />                                               -->
    <!--    <ExcludeApp ID="Groove" />                                            -->
    <!--    <ExcludeApp ID="OneDrive" />                                          -->
    <!--  </Product>                                                              -->
    <!--  <Product ID="ProjectProRetail" PIDKEY="WPY8N-PDPY4-FC7TF-KMP7P-KWYFY">  -->
    <!--    <Language ID="cs-cz" />                                               -->
    <!--    <ExcludeApp ID="Groove" />                                            -->
    <!--    <ExcludeApp ID="OneDrive" />                                          -->
    <!--  </Product>                                                              -->
  </Add>
  <Updates Enabled="TRUE" />
  <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>

Instalace (online)

pushd "%~dp0"
setup.cs-cz.exe /configure
pause

Instalace (offline)

Stažení souborů online a instalace offline.

setup.cs-cz.exe /download
pause
pushd "%~dp0"
setup.cs-cz.exe /configure
pause

Aktivace (ohook)

pushd "%~dp0"
mklink "%programfiles%\Microsoft Office\root\vfs\System\sppcs.dll" "%windir%\System32\sppc.dll"
copy /y sppc64.dll "%programfiles%\Microsoft Office\root\vfs\System\sppc.dll"
reg add HKCU\Software\Microsoft\Office\16.0\Common\Licensing\Resiliency /v "TimeOfLastHeartbeatFailure" /t REG_SZ /d "2040-01-01T00:00:00Z" /f
pause

Nainstalované licence

Get-CimInstance SoftwareLicensingProduct | select ID, LicenseFamily, LicenseStatus, PartialProductKey

Použité licence

Get-CimInstance SoftwareLicensingProduct -Filter "PartialProductKey is not null" | select ID, LicenseFamily, LicenseStatus, PartialProductKey

Instalace licence

Instalace licencí a klíčů pomocí integrator.exe

"%ProgramFiles%\Microsoft Office\root\integration\integrator.exe" /I /License PRIDName=O365ProPlusRetail.16,ProjectProRetail.16,VisioProRetail.16 PidKey=2N382-D6PKK-QTX4D-2JJYK-M96P2,WPY8N-PDPY4-FC7TF-KMP7P-KWYFY,NVK2G-2MY4G-7JX2P-7D6F2-VFQBR

Instalace licence pomocí slmgr.vbs nebo ospp.vbs

Licence (xrm-ms) lze instalovat pomocí slmgr.vbs nebo ospp.vbs

Instalace klíče pomocí powershellu

(Get-WmiObject -query "select * from SoftwareLicensingService").InstallProductKey("2N382-D6PKK-QTX4D-2JJYK-M96P2")

Funguje pokud je nainstalovaná příslušná licence.

Odinstalace klíče

Odinstalace klíče pomocí ID

(Get-WmiObject -Class SoftwareLicensingProduct -Filter "ID='149dbce7-a48e-44db-8364-a53386cd4580'").UninstallProductKey()

Odinstalace klíče pomocí PartialProductKey (posledních pěti znaků klíče)

(Get-WmiObject -Class SoftwareLicensingProduct -Filter "PartialProductKey='M96P2'").UninstallProductKey()

Odkazy

Office Deployment Tool (ODT):
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/setup.cs-cz.exe

Online instalačka:
https://c2rsetup.officeapps.live.com/c2r/download.aspx?productReleaseID=O365ProPlusRetail&platform=x64&language=cs-cz

Offline instalačka:
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/cs-cz/O365ProPlusRetail.img

Soubory instalačky:
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/v64.cab
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/v64_[aktuální verze v kanálu].cab
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/i640.cab
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/i640.cab.cat
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/s640.cab
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/s641029.cab
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/stream.x64.x-none.dat
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/stream.x64.x-none.dat.cat
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/stream.x64.cs-CZ.dat
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/[aktuální verze v kanálu]/stream.x64.cs-cz.dat.cat

API:
https://clients.config.office.net/releases/v1.0/OfficeReleases
https://mrodevicemgr.officeapps.live.com/mrodevicemgrsvc/api/v2/C2RReleaseData
https://mrodevicemgr.officeapps.live.com/mrodevicemgrsvc/api/v2/C2RReleaseData?audienceFFN=492350F6-3A01-4F97-B9C0-C7C6DDF67D60
https://clients.config.office.net/releases/v1.0/filelist?Channel=Current&Arch=x64&Lid=cs-cz
https://clients.config.office.net/releases/v1.0/filelist/skus
https://clients.config.office.net/releases/v1.0/filelist/channels

Info:
https://officecdn.microsoft.com/db/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/Office/Data/c2rfireflydata.xml

WSUS:
http://officecdn.microsoft.com/db/wsus/setup.exe
http://officecdn.microsoft.com/db/wsus/ofl.cab
http://officecdn.microsoft.com/db/wsus/skus.cab
http://officecdn.microsoft.com/db/wsus/releasehistory.cab

alternativy:
/pr/ ... us
/db/ ... europe
/sg/ ... asia 

Konfigurace:
HKLM\Software\Microsoft\Office\ClickToRun\Configuration

Poznámky

Oprava PST = scanpst.exe

Log defaultně instalátor ukládá v profilové temp složce.