Can I use "Check" programs, instead of scripts?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com First, can I use compiled tools instead of scripts for these? Thanks. Scott ----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... I'm using PackageMaker (v2.1 (122)) to create an installer. I'm trying to use a compiled tool, rather than a script, for the InstallationCheck and VolumeCheck "executable". However, neither executable is called. I have "stdio.h" statements that create and write to a know file, so I know they aren't working. I know the tools work, because I can execute them from the command line, and they create the expected debug files and return the expected return value. Second, what do I need to do to get these to execute? The tools are placed in the proper location in the resulting "xxx.pkg" bundle. No, wait! I just discovered that if I manually edit the "Info.plist" file in the "xxx.pkg" bundle, and remove the "IFRequirementDicts" key/value pair, my Check tools are run. This seems wrong. Even if the Requirements are used instead of the InstallationCheck tool, I would still expect the "VolumeCheck" tool to be executed, because there are no volume-specific Requirements. Now my problem is that I can't seem to delete the last "Package Requirement" from the dialog pane "Edit Package Requirements...". The "-" (minus) button on the last requirement is dimmed and can't be deleted. There is no menu command to delete it. If I change the rule to a blank condition, I get a red exclamation point, and the "Save" button goes dim. No matter what I do, an "IFRequirementDicts" key/value pair is always emitted to the "Info.plist" file. Any suggestions? Do I have to start with a new PackageMaker with a blank list of requirements? This email sent to site_archiver@lists.apple.com
participants (1)
-
Scott Fraser