Re: What do "Start xyz" options for "On Failure" do?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UOhQTtuRmAAfGkvWkwhZZbbWkcX+OWmnr5Fxi/vsAzA=; b=qrdmudbhTMlowLt7rQ9uPrUcdHSvyamAxC2h9lWm5tRqoIGs2D1eb/+IiJm7euw2yh RykBJsC8O/LoMmdctE0mTcgi6S1UJkv2fr+EkXwr5dvYE38e2hlg2wPgSg///dUAFgbx FYqYgVKtqOkgtks25JKL9lA1fERtsqWk80IkU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qag1N/a7CmxBjuq/XdcuAoie3UqHM8aWJHa4q8jIe9f8k7Z3ioxBbKbV+CJa/EJPrM SnyEiGHOpEEKfdqOUIZYV2t7GAJ5gH4vBVRJTM9LzKocABRCsiarET/sD9Z+ZywRYCoW p07Lsl0cS4cQ3BXTf81qr25dIdwnaBc4tB2BY= On Mon, Feb 23, 2009 at 5:42 PM, Paul Cook <cook.p.d@comcast.net> wrote:
I don't intend to reward your help with more work. So feel free to ignore these, unless you want to do otherwise. Also, I only ran the installers far enough to see the effect, not to install anything. Although, except for littering up the root of your partition, I don't expect they would do any harm.
Flat Test Case The first, flat, test case has three choices and only choice1 has any requirements. I find the fact that you do things on failure of the test conditions to be a bit confusing. But my goal was to write requirements such that choice1 will become unselected if choice2 or choice3 are selected. Since choice2 and choice3 have no requirements, there is no infinite loop possible.
The one big problem with this test case is that I can't seem to get choice1 to be selected as an initial condition. If the requirements are deleted, the Initial State options of the Configuration pane seem to apply. But when I add these requirements, they do not seem to have any effect. Otherwise, this seems to work largely as expected.
The code generated by PackageMaker is incorrect if the package has not been tampered with after build. The code refers to choice2Property and choice3Property attributes that just do not exist. If you fix the .dist result by replacing them with selected, you get the result you're looking for.
TEST CASE NESTED This test case has two sets of choices. Choicesa with subchoices choice1 through choice3 and Choicesb with subchoices choice4 through choice6.
The choices in choicesa all have requirements that one (or at least I) might expect to implement a radio button behavior. Selecting any one of the three of them causes the other three to become unselected.
As above, I can't figure out how to make one of them selected as an initial condition. But even stranger, selecting any of the choices in Choicesb causes all the choices in Choicesa to become unselected. Since there are no requirements referencing choices in Choicesb, it isn't clear why selecting them should should have this effect.
The distribution script for this case lacks definitions for some functions that are used to determine the state of choices. _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre