OS Xのインストーラーパッケージをまとめていますが、インストール先のボリュームをユーザーに尋ねる画面を無効にする方法がわかりません。/
プロンプトなしでインストールしたい。
パッケージの作成方法は次のとおりです。
pkgbuild--root build/staging/ --identifier xxxx --scripts InstallerOSX/resources/ --scripts InstallerOSX/scripts/ ${OBJROOT}/AgentPayload.pkg
productbuild--distribution InstallerOSX/distribution.dist --package-path ${OBJROOT} --resources InstallerOSX/resources/ ${BUILT_PRODUCTS_DIR}/AgentInstaller.pkg
これが私の配布ファイルです:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
<title>xxxx</title>
<background file="background.png" mime-type="image/png" scaling="tofit"/>
<pkg-ref id="xxxx"/>
<options customize="never" require-scripts="false"/>
<choices-outline>
<line choice="xxxx"/>
</choices-outline>
<choice id="xxxx" title="title" description="desc">
<pkg-ref id="xxxx"/>
</choice>
<domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
<pkg-ref id="xxxx" version="0" onConclusion="none">AgentPayload.pkg</pkg-ref>
</installer-gui-script>
要素は<domains>
トリックをしていないようです...