✅ 手順概要
① ダウンロード用構成ファイルの作成
download.xml という名前で次のように保存します:
download.xml
<Configuration>
<Add SourcePath="C:\OfficeDL" DownloadPath="C:\OfficeDL" OfficeClientEdition="64" Channel="Current" Version="17328.20794">
<Product ID="O365ProPlusRetail">
<Language ID="ja-jp" />
</Product>
</Add>
<Display Level="None" AcceptEULA="TRUE" />
</Configuration>
🔍 補足:
SourcePath および DownloadPath に Office を保存するフォルダ(例:C:\OfficeDL)を指定します。
Version は 2408 に該当するビルド番号(例:17328.20794)を指定します。
https://learn.microsoft.com/ja-jp/officeupdates/update-history-microsoft365-apps-by-date
② ダウンロード実行
コマンドプロンプトを 管理者として実行し、以下のコマンドを入力:
cd C:\ODT
setup.exe /download download.xml
完了すると C:\OfficeDL に Office ファイル群がダウンロードされます。
③ インストール用構成ファイルの作成
install.xml という名前で次のように保存します:
install.xml
<Configuration>
<Add SourcePath="C:\OfficeDL" OfficeClientEdition="64" Channel="Current" Version="16.0.17726.20126">
<Product ID="O365ProPlusRetail">
<Language ID="ja-jp" />
</Product>
</Add>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="AUTOACTIVATE" Value="1" />
</Configuration>
📌 SourcePath を 先ほどダウンロードしたフォルダにします。
④ インストール実行
同様にコマンドプロンプトで以下を実行:
cd C:\ODT
setup.exe /configure install.xml
これにより、ダウンロード済みの Office がインストールされます。