packagemaker

SystemVersion.plistのProductBuildVersionの値

InstallationCheckでよく使われてる /System/Library/CoreServices/SystemVersion.plistのProductBuildVersionの値 version value 10.3.8 7U16 10.3.9 7W98 10.4 8A428 10.4.1 8B15 10.4.5 8H14

インストール時にスクリプトに渡される引数

Modifying an Installation With Scripts $1: the full path to the installation package; for example: /Volumes/Projects/Testing/Simple_Carbon_App.pkg $2: the full path to the installation destination; for example: /Applications $3: the mountp…

Property Lists

Examining and Modifying Property Lists IFPkgFlagFollowLinksがデフォルトでfalseなんだ、、

perlでplistの編集

Mac::PropertyList が何となく使えそう。 #!/usr/bin/perl use Mac::PropertyList; my $my_plist = Mac::PropertyList::create_from_hash( {hoge=>'moge'} ); print $my_plist;実行結果

PackageMakerをターミナルから使う

必要なもの 必須 Files/ インストールするファイルをまとめたもの オプション Info.plist Description.plist Resources/ Japanese.lproj/ 空でも可 License.rtf Welcome.rtf InstallationCheck等のスクリプトファイル background.jpg んで #!/bin/sh PMAKER=…