Can I use "Check" programs, instead of scripts?
Can I use "Check" programs, instead of scripts?
- Subject: Can I use "Check" programs, instead of scripts?
- From: Scott Fraser <email@hidden>
- Date: Mon, 21 Nov 2005 13:20:02 -0800
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.
First, can I use compiled tools instead of scripts for these?
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?
Thanks.
Scott
-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden