InstallerSection shouldLoad an NSPrincipalClass
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, My Info.plist for reference: Thanks in advance, - -- Trenton -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkeXSQEACgkQCa9wsxBDBCAQ3wCfRysEitDup2jnqufEOp+N/nku DWEAn2/wBJGkWKQhJHkr9snmy4Em/qKN =o2Hf -----END PGP SIGNATURE----- _______________________________________________ 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... A long time ago, I created an InstallerSection subclass (InstallerSectionSection) and re-implemented shouldLoad because it was easy to figure out when to bother loading the plugin. This worked great in Tiger, but in Leopard (10.5.1) I have problems, in my Info.plist for the plugin, if I set the NSPrincipalClass key to be InstallerSectionSection, then the plugin never loads (I've confirmed this in the debugger). If I change the NSPrincipalClass to be "InstallerSection", the plugin loads, but my InstallerSectionSection class is never instantiated (or at least shouldLoad is never called). I'm suspecting it's a bug, but I'm trying here before I file one. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>InstallerPane</string> <key>CFBundleIdentifier</key> <string>com.example.foo.installerPlugin</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>Installer</string> <key>CFBundlePackageType</key> <string>BNDL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0</string> <key>InstallerSectionTitle</key> <string>InstallerPane</string> <key>NSMainNibFile</key> <string>InstallerPane</string> <key>NSPrincipalClass</key> <string>InstallerSectionSection</string> </dict> </plist> This email sent to site_archiver@lists.apple.com
participants (1)
-
Trenton Schulz