Office アプリの設定、プロダクト キーの引き換え、ライセンス認証を行うことに関する Microsoft 365 のプロセス。
問題自己解決しました!
ダンプログでエラーログを分析
#sudo installer -dumplog -pkg Microsoft_365_and_Office_16.72.23040900_Installer.pkg -target /
ファイル抽出にエラーということでDropboxで同期していると
ダウンロードフォルダが何故かDropbox配下になってしまっている。これが原因ではないか?
/Library/CloudStorage/Dropbox/Mac%20(2)/Downloads/
と推測して、Dropboxで同期されない
~/tmp
にpkgファイルを移動したところうまくファイル展開されてインストールできました。
なぜかDropboxの配下だとpkgファイルインストール出来ないようです。
Officeだけでなく全てのpkgがエラーとなります。
ありがとうございました。
エラーログ
May 10 00:24:18 installer[1693] <Error>: IFJS: Package Authoring Error: access to path "/Library/Managed Preferences/com.microsoft.office.plist" requires <options allow-external-scripts='true'>
...
May 10 00:24:18 installer[1693] <Error>: IFJS: Package Authoring Error: access to path "/Library/Managed Preferences/com.microsoft.office.plist" requires <options allow-external-scripts='true'>
installer: Package name is Microsoft 365 and Office for Mac
May 10 00:24:18 installer[1693] <Debug>: Product archive /Users/monmon/Library/CloudStorage/Dropbox/Mac (2)/Downloads/Microsoft_365_and_Office_16.72.23040900_Installer.pkg trustLevel=350
May 10 00:24:18 installer[1693] <Debug>: External component packages (1) trustLevel=350
installer: Installing at base path /
May 10 00:24:18 installer[1693] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
May 10 00:24:18 installer[1693] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/monmon/Library/CloudStorage/Dropbox/Mac%20(2)/Downloads/Microsoft_365_and_Office_16.72.23040900_Installer.pkg#Microsoft_Word_Internal.pkg
May 10 00:24:18 installer[1693] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]:
May 10 00:24:18 installer[1693] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/monmon/Library/CloudStorage/Dropbox/Mac%20(2)/Downloads/Microsoft_365_and_Office_16.72.23040900_Installer.pkg#Office_proofing.pkg
May 10 00:24:18 installer[1693] <Info>: Set authorization level to root for session
May 10 00:24:18 installer[1693] <Info>: Authorization is being checked, waiting until authorization arrives.
May 10 00:24:18 installer[1693] <Info>: Administrator authorization granted.
May 10 00:24:18 installer[1693] <Info>: Packages have been authorized for installation.
May 10 00:24:18 installer[1693] <Debug>: Will use PK session
May 10 00:24:18 installer[1693] <Debug>: Using authorization level of root for IFPKInstallElement
May 10 00:24:21 installer[1693] <Info>: Starting installation:
May 10 00:24:21 installer[1693] <Notice>: Configuring volume "Macintosh HD"
May 10 00:24:21 installer[1693] <Info>: Preparing disk for local booted install.
May 10 00:24:21 installer[1693] <Notice>: Free space on "Macintosh HD": 386.32 GB (386320769024 bytes).
May 10 00:24:21 installer[1693] <Notice>: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.16930EKQgj"
May 10 00:24:21 installer[1693] <Notice>: IFPKInstallElement (11 packages)
May 10 00:24:21 installer[1693] <Info>: Current Path: /usr/sbin/installer
May 10 00:24:21 installer[1693] <Info>: Current Path: /usr/bin/sudo
May 10 00:24:21 installer[1693] <Notice>: PackageKit: Enqueuing install with framework-specified quality of service (utility)
May 10 00:24:22 installer[1693] <Debug>: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 "パッケージ“Microsoft_365_and_Office_16.72.23040900_Installer.pkg”からファイルを抽出中にエラーが起きました。" UserInfo={NSUnderlyingError=0x6000023bc000 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive open failed" UserInfo={NSURL=file:///Users/monmon/Library/CloudStorage/Dropbox/Mac%20(2)/Downloads/Microsoft_365_and_Office_16.72.23040900_Installer.pkg, NSFileOwnerAccountID=501, NSFileHFSTypeCode=0, NSFileSystemFileNumber=24175704, NSFileExtensionHidden=false, NSFileSystemNumber=16777230, NSFileSize=2155960077, NSFileGroupOwnerAccountID=20, NSFileHFSCreatorCode=0, NSFileOwnerAccountName=monmon, NSFilePosixPermissions=420, NSFileCreationDate=2023-05-09 15:05:31 +0000, NSFileType=NSFileTypeRegular, NSFileProtectionKey=NSFileProtectionCompleteUntilFirstUserAuthentication, NSFileGroupOwnerAccountName=staff, NSFileReferenceCount=1, NSFileModificationDate=2023-05-09 15:06:15 +0000, NSLocalizedDescription=archive open failed}}, NSURL=file://localhost/Users/monmon/Library/CloudStorage/Dropbox/Mac%20(2)/Downloads/Microsoft_365_and_Office_16.72.23040900_Installer.pkg#Microsoft_Word_Internal.pkg, PKInstallPackageIdentifier=com.microsoft.package.Microsoft_Word.app, NSLocalizedDescription=パッケージ“Microsoft_365_and_Office_16.72.23040900_Installer.pkg”からファイルを抽出中にエラーが起きました。}
May 10 00:24:22 installer[1693] <Error>: Install failed: エラーによってインストールできませんでした。ソフトウェアの製造元に問い合わせてください。
installer: The install failed. (エラーによってインストールできませんでした。ソフトウェアの製造元に問い合わせてください。 パッケージ“Microsoft_365_and_Office_16.72.23040900_Installer.pkg”からファイルを抽出中にエラーが起きました。)