Re: detect previous installation
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On vendredi, juillet 20, 2007, at 10:38 PM, Michael Watson wrote: On 20 Jul, 2007, at 15:48, Stéphane Sudre wrote: - or you could save it into the Internet Config data base That's why it's a good idea (IMHO). Agreed. Yes, in a Tex Avery cartoon, why? _______________________________________________ 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... Is this really a good idea? Doesn't sound like the proper sort of data to put here. - if your program runs as root, you have plenty of locations to hide it. This is /definitely/ going down the Road to Bad Ideas. Firstly, your program probably shouldn't be running as root. (DEFINITELY not if it's a GUI app.) Secondly, you may be opening yourself up to potentially nasty race conditions just to write some DRM registry file somewhere. I don't see how simply writing and reading a file can lead to a race condition when running as root as opposed to running as another user. Ever seen an exterminator attack a mouse with a nuclear warhead? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre