site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Sure! -pmb _______________________________________________ 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... At 10:33 AM -0700 9/20/06, Kane, Sean (ACS-ETW) wrote: I am getting these errors in the install.log on a distribution package that I am trying to create: Package Authoring Error: Infinite loop between <choice> start_* attributes and mixed state aborted. They don't seem to affect anything, but I don't really understand what is causing them. I'm assuming my logic somewhere is broken. Can anyone out there explain these to me? The installer is evaluating the JavaScript code that you've attached to your various <choice> elements. The installer is also looking at the selected state of nested choices, and using those values to determine if a parent choice should show an "X" or a "-". If you override the 'selected' attribute of a choice that has other choices as children, you can get into a situation where you turn the parent 'off', but turn a child 'on', and then the installer can't figure out what state the parent should actually be in. Since the attribute engine works by evaluating choice attributes in a loop until they stop changing, this situation creates an infinite loop, which the installer detects and logs. The solution is simple. Don't attach dynamic scripts to both parents and children choices. One or the other should suffice. Usually you want to control just the children and let the installer figure out the mixed state of the parents on it's own. This email sent to site_archiver@lists.apple.com