Hello, all, In previous versions of my app, the installer added the app to the system-wide per-user login items list (/Library/Preferences/loginwindow.plist). The app was converted to use launchd a while ago, but installations of the old version are still floating around, so I would like to modify the current installer to be able to remove the old login item. It looks like `defaults` could be used to make the necessary modifications, but the man page says that its behavior regarding non-preferences files is likely to change in the future. Before the app used launchd, it used CoreFoundation to read the file, insert a new entry, and save the file. Theoretically, the same technique could be used to remove the login item. It would be nice to simply add a few lines to the postinstall script in the installer package, but if it would be more reliable to write a CoreFoundation tool, I can do that instead. Any suggestions? Thanks, Andrew Keller _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Keller